Skip to content

amineabdaoui/python-sentiment-classification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

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.

import predictSentiment as ps

print(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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages