Skip to content

Latest commit

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Python Sentiment Classification for French

This repository contains a pre-trained SVM model for french sentiment classification. The model has been learned on more than 10000 french tweets released in DEFT 2015 and DEFT 2017 chanllenges.

Installing dependencies

The code runs under python 3.6.

pip install -r requirements.txt

Using the model

You just need to import the module and call the predictFrench function.

importpredictSentimentaspsprint(ps.predictFrench('Je suis content, il fait beau c\'est super ! '))
print(ps.predictFrench('Je suis triste, il pleut c\'est horrible ! '))

About

A simple model for french sentiment classification

Resources

Stars

7 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages