How to split positive & negative comments?

Firefox users' opinions collected in a text file, I want to write codes in Matlab to split them into positive & negative comments. I'll be grateful to have your opinions.

7 Comments

My opinion is you'll have to share more about what the data actually look like in order to get any specific help...
I can generally recommend the Text Analytics Toolbox. Using that in combination with the Deep Learning Toolbox to tell you which comments are positive and which are negative should help.
There are a few examples on how to train a network to classify text, but I imagine that this problem is a little more complicated than those examples. They should help to get you started though.
Sentiment analysis is a rich and complicated field. Exactly how much of it do you need us to explain to you?
@dpb Thanks greatly I attached the excel file.
@Cam Salzberger Thanks greatly for your attention,yes I read about teh text analytics toolbox before and tried to insall in my matlab program,but I couldn't understand it enough.May I have your more explenation about working with these toolboxes.
@the cyclist Thanks greatly, I want to preprocess the data based on removing stopwords, splitting to positive & negative, classifying the data and finally, presenting a new knowledge about it.
Text Analytics Toolbox does not ship with some ready-cooked sentimen analysis function. But you can build your own; have you seen the examples listed at https://www.mathworks.com/discovery/sentiment-analysis.html?

Sign in to comment.

Answers (0)

Categories

Tags

Asked:

on 31 Oct 2018

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!