Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Lexical Analysis libraries

I would like to make a piece of software able to regognize whether a sentence is positive or negative.

Is there any Lexical Analysis libraries arround?

I don't really know where I should start.

like image 947
Roch Avatar asked Jun 27 '26 01:06

Roch


2 Answers

The standard name for this task is sentiment analysis

like image 65
Joseph Turian Avatar answered Jun 29 '26 15:06

Joseph Turian


This field is called Natural Language Processing, and it's an incredibly complex subject - not only do you have to parse the words that are positive/negative, but you need to parse modifiers, too (e.g. "Something is not bad").

As usual Wikipedia has some information. If you're just having a bit of fun with this, I suggest trying out a simple system (e.g. recognize "good" and "bad" and "not") and build it up.

like image 28
DisgruntledGoat Avatar answered Jun 29 '26 15:06

DisgruntledGoat



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!