Welcome to the Product Data Analysis Application repository! This repository contains a Python application designed to process and analyze product-related data. The application focuses on user views, product details, and text descriptions.
This application is built to perform various tasks related to product data analysis, including preprocessing product data, analyzing user views, performing text analysis, and translating sentences. It consists of Python scripts that demonstrate these functionalities.
The application includes the following main functions:
prepareData()
: Processes product data from a JSON file, extracting relevant details and organizing them into structured dictionaries.mostFoundProducts()
: Analyzes user views on products, sorting views by user and date.create_tokens()
: Analyzes text descriptions by tokenizing them, counting token occurrences, and retaining frequently occurring tokens.create_combinations()
: Analyzes text descriptions for frequently occurring word combinations, merging adjacent combinations if necessary.translate_sentence(sent)
: Translates a sentence from an unknown source language to German using the Google Translate API.
To use this application, follow these steps:
- Clone this repository to your local machine.
- Make sure you have the necessary requirements (see Requirements).
- Modify the code or input data as needed.
- Run the Python scripts to perform the desired analyses.
To install the application, follow these steps:
git clone https://github.com/YouBM/prod2vec.git
cd product-data-analysis
pip install -r requirements.txt
Contributions to this repository are welcome! If you have suggestions, improvements, or bug fixes, feel free to submit a pull request. For major changes, please open an issue to discuss the changes beforehand.
This project is licensed under the MIT License.