aigents / aigents-java

Aigents Java Core Platform
MIT License
30 stars 12 forks source link

Sentiment analysis support #17

Open akolonin opened 4 years ago

akolonin commented 4 years ago

Need to provide sentiment analysis support for English, Russian and Chinese

Sources:

English:

  1. https://github.com/aesuli/SentiWordNet https://raw.githubusercontent.com/aesuli/SentiWordNet/master/data/SentiWordNet_3.0.0.txt https://creativecommons.org/licenses/by-sa/4.0/
  2. https://www.cs.uic.edu/~liub/FBS/sentiment-analysis.html#lexicon [Bing Liu]
  3. https://www.kaggle.com/c/tweet-sentiment-extraction/overview/description

Russian:

  1. RuSentiLex: https://www.labinform.ru/pub/rusentilex/index.htm
  2. Linis-Crowd: http://www.linis-crowd.org/

DONE:

TODO:

P.S.: File merging tips: https://stackoverflow.com/questions/4366533/how-to-remove-the-lines-which-appear-on-file-b-from-another-file-a

akolonin commented 4 years ago

In order to get sentiment computed on backend, need to add four files to installation root: https://github.com/aigents/aigents-java/commit/574e6a16050b87a7535ce45b0c4df1611f0f5d87 To get per-news-item sentiment updated, need:

  1. Call "you think!" to enforce sentiment update in a news feed
  2. Retrieve sentiment with request like "What new true sources, text, times, trust, relevance, social relevance, image, is, sentiment?"