Python Forum
How to recognize negative in a text?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to recognize negative in a text?
With word2vec I can vectorize both individual words and whole texts (as the arithmetic mean of all words included in the text). But at the same time, positive and negative text receive one vector representation, although they talk about mutually opposite things. Searching for the particles "no" or "not" in the text to reveal negation is not always effective, because many words have antonyms and such pairs are not recognized as opposites.

How to recognize negation in a text?
There appears to be an interface available for word2vec that allows interface with NLTK
it's located here:

then with NLTK, you have the sentiment package that will find all of the negation for you

I don't know enough about your project, or about word2vec to know if this will be of use or not, but looks like a possibility at any rate.

There's also this article about doing it all, including thesentiment analysis with NLTK, perhaps of vaue to you:

Possibly Related Threads…
Thread Author Replies Views Last Post
  negative selection algorithm mohammed 0 1,083 May-17-2020, 09:27 PM
Last Post: mohammed
  Read data, recognize trends and send report vin0001 1 1,110 Oct-02-2019, 06:08 AM
Last Post: buran
  Recognize text from number plate Sheheryar 4 2,159 Aug-27-2019, 04:00 AM
Last Post: Sheheryar

Forum Jump:

User Panel Messages

Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020