Skip to content

Unsupervised key phrase extraction from Amazon reviews for products

License

Notifications You must be signed in to change notification settings

Solvve/ml_keyphrase_extraction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reviews keyphrase extraction

License Python 3.7 Solvve

Description

Unsupervised keyphrase extraction from Amazon reviews for each product. For solving this problem we follow the next steps:

  • Exploratory data analysis
  • Data clean-up
  • Modeling
  • Show keyphrases for each product

Example of output

Product asin: B01AHB9CN2

  • Topic number 1: great tablet, tablet price, great tablet price, tablet love, great tablet tablet
  • Topic number 2: kindle fire, fire hd, kindle fire hd, love kindle, love kindle fire
  • Topic number 3: easy use, tablet easy, tablet easy use, easy use great, easy use tablet
  • Topic number 4: tablet great, great tablet great, great price, tablet great price, tablet great tablet
  • Topic number 5: fire hd8, amazon fire hd8, amazon fire, fire hd8 tablet, hd8 tablet

Download data

With Kaggle API download dataset:

kaggle datasets download -d datafiniti/consumer-reviews-of-amazon-products

Install all dependencies

Main dependencies:

pip install -r requirements.txt

Optional:

python -m spacy download en_core_web_lg

About

Unsupervised key phrase extraction from Amazon reviews for products

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published