Name: spice-hate_speech_detection
Owner: Futurice
Description: A SPICE-program funded project where the goal is to detect hate speech in social media.
Created: 2017-03-14 08:07:30.0
Updated: 2018-05-21 23:35:04.0
Pushed: 2017-10-29 20:00:47.0
Homepage: null
Size: 33
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
usage:
`collector.py [-h] [–user USER] [–password PASSWORD]
[--hostname HOSTNAME] [--outdir OUTDIR]
[--startdate STARTDATE] [--enddate ENDDATE]
optional arguments: -h, –help show this help message and exit –user USER Username –password PASSWORD Password –hostname HOSTNAME Hostname –outdir OUTDIR Directory to store data –startdate STARTDATE
Startdate as YYYY-MM-DD
–enddate ENDDATE Enddate as YYYY-MM-DD`
Example:
./collector.py --startdate 2017-03-01 --enddate 2017-03-15
Example:
./predict.py --inputdir data/incoming --outdir data/output/ --featurename bow --featurefile data/models/feature_extractor_bow.pkl --predictor data/models/fasttext_svm.pkl
Example:
./predict.py --inputdir data/incoming --outdir data/output/ --featurename bow --featurefile data/models/feature_extractor_bow.pkl --predictor data/models/bow_svm.pkl
Example:
./sync.py --inputdir data/output/