A new approach and algorithm of sentiment analysis and product rating
-
Upload
nidhi-baranwal -
Category
Education
-
view
142 -
download
1
Transcript of A new approach and algorithm of sentiment analysis and product rating
![Page 1: A new approach and algorithm of sentiment analysis and product rating](https://reader034.fdocuments.us/reader034/viewer/2022052706/5884e9d41a28abf76f8b4775/html5/thumbnails/1.jpg)
By- Nidhi Baranwal MCA-5th sem
![Page 2: A new approach and algorithm of sentiment analysis and product rating](https://reader034.fdocuments.us/reader034/viewer/2022052706/5884e9d41a28abf76f8b4775/html5/thumbnails/2.jpg)
Project involves
• Shopping portal for some specific product (Smart phones)• Make facility to comment• Analyze the comment• Do sentiment analysis using keywords• Rate the product automatically using algorithm
![Page 3: A new approach and algorithm of sentiment analysis and product rating](https://reader034.fdocuments.us/reader034/viewer/2022052706/5884e9d41a28abf76f8b4775/html5/thumbnails/3.jpg)
Approach for Sentiment Analysis
• Make a dictionary type database• Store keywords related to positive ,negative and neutral
sentiments• Search the proper words in the comments given by the user
similar to that stored in the database• Compare it with the keywords already stored in database to
find its polarity and corresponding polarity value
![Page 4: A new approach and algorithm of sentiment analysis and product rating](https://reader034.fdocuments.us/reader034/viewer/2022052706/5884e9d41a28abf76f8b4775/html5/thumbnails/4.jpg)
Algorithm for rating of the Product
1. Make a table having field ‘comment’, ‘point’, ‘temp’, ‘percent’, and ‘rate’ to store data
2. If “not rated” 2.1 search the keyword in comment and assign the point
correspondingly 2.2 convert it in percentage form and Put this value in ‘temp’
and ‘percent’ field 2.3 allot the rate value to ‘rate’ field on percentage basis3. Else 3.1 search the keyword in comment and assign the point correspondingly
![Page 5: A new approach and algorithm of sentiment analysis and product rating](https://reader034.fdocuments.us/reader034/viewer/2022052706/5884e9d41a28abf76f8b4775/html5/thumbnails/5.jpg)
Contd…
3.2 convert it in percentage form and take the previously stored value of ‘temp’ which is float value and already in percentage form
3.3 calculate the mean of both these values and assign it in ‘temp’ field3.4 now find out specific value for mean value within range and
convert it in percent form3.5 assign it in ‘percent’ field3.6 allot the rate value to rate field on percentage basis
![Page 6: A new approach and algorithm of sentiment analysis and product rating](https://reader034.fdocuments.us/reader034/viewer/2022052706/5884e9d41a28abf76f8b4775/html5/thumbnails/6.jpg)
Implementation
• Fetch the comment• Tokenize it• Remove irrelevant and noisy data• Feature extraction• Opinion word extraction• Opinion word polarity extraction• Summary generation• Scaling and rating
![Page 7: A new approach and algorithm of sentiment analysis and product rating](https://reader034.fdocuments.us/reader034/viewer/2022052706/5884e9d41a28abf76f8b4775/html5/thumbnails/7.jpg)
Technology used
• Front end- asp.net• Back end- microsoft sql database• Coding language- C#• IDE- visual studio 2010• Type- web application
![Page 8: A new approach and algorithm of sentiment analysis and product rating](https://reader034.fdocuments.us/reader034/viewer/2022052706/5884e9d41a28abf76f8b4775/html5/thumbnails/8.jpg)
Pictorial view
![Page 9: A new approach and algorithm of sentiment analysis and product rating](https://reader034.fdocuments.us/reader034/viewer/2022052706/5884e9d41a28abf76f8b4775/html5/thumbnails/9.jpg)
![Page 10: A new approach and algorithm of sentiment analysis and product rating](https://reader034.fdocuments.us/reader034/viewer/2022052706/5884e9d41a28abf76f8b4775/html5/thumbnails/10.jpg)
![Page 11: A new approach and algorithm of sentiment analysis and product rating](https://reader034.fdocuments.us/reader034/viewer/2022052706/5884e9d41a28abf76f8b4775/html5/thumbnails/11.jpg)
![Page 12: A new approach and algorithm of sentiment analysis and product rating](https://reader034.fdocuments.us/reader034/viewer/2022052706/5884e9d41a28abf76f8b4775/html5/thumbnails/12.jpg)
![Page 13: A new approach and algorithm of sentiment analysis and product rating](https://reader034.fdocuments.us/reader034/viewer/2022052706/5884e9d41a28abf76f8b4775/html5/thumbnails/13.jpg)
![Page 14: A new approach and algorithm of sentiment analysis and product rating](https://reader034.fdocuments.us/reader034/viewer/2022052706/5884e9d41a28abf76f8b4775/html5/thumbnails/14.jpg)
Scope
• This system is useful for the users who need reviews about a product• This system can be used with little investment and is
economically feasible• This application also works as an advertisement which makes
many people aware about the product• User can easily find out correct product for his usage
![Page 15: A new approach and algorithm of sentiment analysis and product rating](https://reader034.fdocuments.us/reader034/viewer/2022052706/5884e9d41a28abf76f8b4775/html5/thumbnails/15.jpg)