Question
Help a leading mobile brand understand the voice of the customer by analyzing the reviews of their product on Amazon and the topics that customers
Help a leading mobile brand understand the voice of the customer by analyzing the reviews of their product on Amazon and the topics that customers are talking about. You will perform topic modeling on specific parts of speech. Youll finally interpret the emerging topics.
Problem Statement:
A popular mobile phone brand, Lenovo has launched their budget smartphone in the Indian market. The client wants to understand the VOC (voice of the customer) on the product. This will be useful to not just evaluate the current product, but to also get some direction for developing the product pipeline. The client is particularly interested in the different aspects that customers care about. Product reviews by customers on a leading e-commerce site should provide a good view.
Domain: Amazon reviews for a leading phone brand
Analysis to be done: POS tagging, topic modeling using LDA, and topic interpretation
Content:
Dataset: K8 Reviews v0.2.csv
Columns:
Sentiment: The sentiment against the review (4,5 star reviews are positive, 1,2 are negative)
Reviews: The main text of the review
Steps to perform:
Discover the topics in the reviews and present it to business in a consumable format. Employ techniques in syntactic processing and topic modeling.
Perform specific cleanup, POS tagging, and restricting to relevant POS tags, then, perform topic modeling using LDA. Finally, give business-friendly names to the topics and make a table for business.
Tasks:
-
Read the .csv file using Pandas. Take a look at the top few records.
-
Normalize casings for the review text and extract the text into a list for easier manipulation.
-
Tokenize the reviews using NLTKs word_tokenize function.
-
Perform parts-of-speech tagging on each sentence using the NLTK POS tagger.
-
For the topic model, we should want to include only nouns.
-
Find out all the POS tags that correspond to nouns.
-
Limit the data to only terms with these tags.
-
-
Lemmatize.
-
Different forms of the terms need to be treated as one.
-
No need to provide POS tag to lemmatizer for now.
-
-
Remove stopwords and punctuation (if there are any).
-
Create a topic model using LDA on the cleaned up data with 12 topics.
-
Print out the top terms for each topic.
-
What is the coherence of the model with the c_v metric?
-
-
Analyze the topics through the business lens.
-
Determine which of the topics can be combined.
-
-
Create topic model using LDA with what you think is the optimal number of topics
-
What is the coherence of the model?
-
-
The business should be able to interpret the topics.
-
Name each of the identified topics.
-
Create a table with the topic name and the top 10 terms in each to present to the business.
-
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started