Giter Site home page Giter Site logo

Comments (5)

cjhutto avatar cjhutto commented on July 2, 2024

The NLTK administrators may not keep their vader module as up to date (or maybe not as quickly as I make updates to vaderSentiment). This repo will always have the latest version, and I push regularly to PyPi (so pip install upgrade vaderSentiment should work to get you the latest, most of the time, with maybe just a little lag behind this repo).

from vadersentiment.

jisnatitech avatar jisnatitech commented on July 2, 2024

Could not find a version that satisfies the requirement upgrade (from versions: )

from vadersentiment.

sohumsachathamakul avatar sohumsachathamakul commented on July 2, 2024

@cjhutto - Emoji's seem to be only outputting neutral score as if it's not taking it into account emojis. Please find reproducible steps below:

  1. In terminal: pip install --upgrade vaderSentiment
  2. In Jupyter notebook:

Screen Shot 2563-03-07 at 15 50 01

from vadersentiment.

cjhutto avatar cjhutto commented on July 2, 2024

So, NLTK lags PyPi (pip), which lags this repo...

If you use
pip install --upgrade vaderSentiment
then make sure to import that version instead of the one from NLTK, e.g.,

from vaderSentiment import SentimentIntensityAnalyzer
vader = SentimentIntensityAnalyzer()
print(vader.polarity_scores("💋 and 😁 "))

{'neg': 0.0, 'neu': 0.508, 'pos': 0.492, 'compound': 0.7003}

from vadersentiment.

rezabrizi avatar rezabrizi commented on July 2, 2024

@cjhutto What can I do to use newly added emojis?
As you can see below, sentence 2 and 3 have the same score, so seems like it is not recognizing the second emoji in sentence 3.
Screen Shot 2023-02-04 at 10 22 10 AM

from vadersentiment.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.