I'm stuck in sentiment analysis and I found Vader solution which is the best I could find so far. My issue is that I don't find any doc on how to feed it with languages other than English.
Is Vader SentimentIntensityAnalyzer Multilingual?
16k Views Asked by Curcuma_ At
2
There are 2 best solutions below
1
FrancoSwiss
On
I tried NLTK Vader in another language. It works fairly well with German - after all, the languages are not too far from each other.
There is some work involved - we can't just translate the lexicon:
- Change the vader_lexicon.txt
- Change the NEGATE words in the code
- Change the BOOSTER words in the code
- Change SPECIAL_CASE_IDIOMS in the code
In general, negations work, but there are cases which involve some additional work which I haven't figured out yet.
Related Questions in PYTHON
- new thread blocks main thread
- Extracting viewCount & SubscriberCount from YouTube API V3 for a given channel, where channelID does not equal userID
- Display images on Django Template Site
- Difference between list() and dict() with generators
- How can I serialize a numpy array while preserving matrix dimensions?
- Protractor did not run properly when using browser.wait, msg: "Wait timed out after XXXms"
- Why is my program adding int as string (4+7 = 47)?
- store numpy array in mysql
- how to omit the less frequent words from a dictionary in python?
- Update a text file with ( new words+ \n ) after the words is appended into a list
- python how to write list of lists to file
- Removing URL features from tokens in NLTK
- Optimizing for Social Leaderboards
- Python : Get size of string in bytes
- What is the code of the sorted function?
Related Questions in MACHINE-LEARNING
- How to cluster a set of strings?
- Enforcing that inputs sum to 1 and are contained in the unit interval in scikit-learn
- scikit-learn preperation
- Spark MLLib How to ignore features when training a classifier
- Increasing the efficiency of equipment using Amazon Machine Learning
- How to interpret scikit's learn confusion matrix and classification report?
- Amazon Machine Learning for sentiment analysis
- What Machine Learning algorithm would be appropriate?
- LDA generated topics
- Spectral clustering with Similarity matrix constructed by jaccard coefficient
- Speeding up Viterbi execution
- Memory Error with Classifier fit and partial_fit
- How to find algo type(regression,classification) in Caret in R for all algos at once?
- Difference between weka tool's correlation coefficient and scikit learn's coefficient of determination score
- What are the approaches to the Big-Data problems?
Related Questions in SENTIMENT-ANALYSIS
- Naive Bayes Sentiment Analysis of Facebook Post
- Amazon Machine Learning for sentiment analysis
- keywords in NEGATIVE Sentiment using sentiment Analysis(stanfordNLP)
- Stanford Parser - Factored model and PCFG
- Lazy parsing with Stanford CoreNLP to get sentiment only of specific sentences
- How to capture iterated output variable into list for analysis
- How to separate text from twitter streaming JSON responses and run analysis on text with python?
- Word2Vec Sentiment Classification with R and H2O
- How to decode ascii from stream for analysis
- How to pass each row as an argument to R script from Tableau calculated field
- Is there way to influence AlchemyAPI sentiment analysis
- Function decode_short_URL from twitteR package not working
- How can I extract 2-4 words on each side of a specific term in R?
- Pre-processing before running sentiment analysis
- Why isn't my classifier predicting any positive classes?
Related Questions in VADER
- Using fully custom lexicon for VADER sentiment analyzer
- VaderSentiment: emoji analyzer does not work in Jupyter Notebook
- What pre-processing does VADER sentiment analysis use?
- VADER: Sentiment for each sentence
- NLTK Vader SentimentIntensityAnalyzer Bigram
- how do i solve AttributeError: 'float' object has no attribute 'encode'
- vaderSentiment TypeError: 'float' object is not iterable
- Vader lexicon results don't add up to 1.0
- How to get nicer data from vaderSentiment?
- How to print valence score for each lexicon in vader?
- Vader sentiment analysis
- Accuracy of lexicon-based sentiment analysis
- Pandas code running but not doing anything
- positive phrase has negative score in vader function polarity_scores
- Example of NLTK's Vader Scoring Text
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
The short answer is "no".
The README file on the github page states
but if you take a look at what is actually done for this demonstration (beginning at line 552 in the current version of vaderSentiment.py), this is based entirely on using a machine-translation web service to automatically translate the text into English. As such, the results are reliant not only upon the accuracy of the sentiment analysis tool but also upon the accuracy of whichever translation tool you use to create the English version of the input.
Vader only performs sentiment analysis on English texts, but that workaround (automatic translation) may be a viable option. Sentiment analysis is less sensitive to common machine translation problems than other usages*, but you'll certainly still have to keep the limitations in mind if you choose to use that workaround.
*To give an example, the service used in the demo translates "Das Internet funktioniert heute nicht. Ist eine Störung bekannt?" to "The Internet was not working today. Is a disorder known?", which would be more accurately translated as "The internet isn't working today. Is a disruption known?". It's got the tense wrong in the first sentence, and while there are several legitimate translations of "Störung" in this context, "disorder" is an awkward choice at best. Nevertheless, while this makes it quite a bad translation in general, the errors are unlikely to affect a sentiment analysis significantly.