hate_detector:一个nlp框架,可从评论语料库中找到仇恨言论评论

时间:2024-02-24 19:10:38
【文件属性】:

文件名称:hate_detector:一个nlp框架,可从评论语料库中找到仇恨言论评论

文件大小:170.94MB

文件格式:ZIP

更新时间:2024-02-24 19:10:38

nlp machine-learning scikit-learn python3 hatespeech

仇恨语音检测框架 使用Docker运行框架 docker build -t hate_speech_framework . docker run -t hate_speech_framework 直接运行框架 # Setup virtualenv with python 3 python3 -m venv venv source venv/bin/activate # assumes using bash # Install requirements pip install -r requirements.txt # Install nltk data mkdir -p nltk NLTK_D


【文件预览】:
hate_detector-master
----figures()
--------.gitkeep(0B)
----results()
--------.gitkeep(0B)
----model()
--------ldamodel()
--------word2vec()
----feature()
--------character_ngram_features.py(711B)
--------simple_text_features.py(1KB)
--------word2vec.py(2KB)
--------ngram_features.py(776B)
--------textfeatures()
--------db_interface.py(5KB)
--------user_features.py(655B)
----Dockerfile(169B)
----requirements.txt(715B)
----analysis()
--------roc.py(1KB)
----scheduler.py(313B)
----__main__.py(2KB)
----README.md(699B)
----classifier()
--------random_forest.py(299B)
--------logistic_regression.py(368B)
--------classifier.py(3KB)
--------mlp.py(297B)
--------svr.py(255B)
--------naive_bayes.py(228B)
--------ensemble.py(660B)
--------svc.py(223B)
----predictor.py(5KB)
----create_topic_model.py(212B)
----data()
--------stopwords_de.txt(4KB)
--------test()
----.gitignore(209B)
----trained_classifiers()
--------.gitkeep(0B)
----augmentation.py(8KB)

网友评论