roht20
roht20

Reputation: 3

Any specific python library to perform sentiment analysis for reviews written in german or french please?

We have reviews written in German and French which needs to be analysed and classified either as positive, neutral or negative based on the sentiment it reflects. We tried some tools which translate the reviews to English but the accuracy wasnt that great since the meaning is lost during translation. Any specific library that can be used in such a case? Any help is highly appreciated. Thanks in advance.

Upvotes: 0

Views: 1018

Answers (1)

Julien Salinas
Julien Salinas

Reputation: 1139

The best Python library for sentiment analysis in German and French is Hugging Face Transformers in my opinion.

Today, you have very good Hugging Face Transformer based models, fine-tuned for sentiment analysis in many languages. In my opinion, the best one for German is https://huggingface.co/oliverguhr/german-sentiment-bert and the best one for French is https://huggingface.co/tblard/tf-allocine

If you can't or don't want to run your own NLP model, you can also use an API like this API I developed recently: NLP Cloud. I recently added the above German and French models for sentiment analysis.

Non-English NLP is still far from perfect. Most datasets are in English only but the ecosystem is gradually making progress.

Upvotes: 1

Related Questions