HiiamCong / fakenews_detection

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

INSTALL:

pip install spacy==2.1.3 python -m spacy download en_core_web_sm

import nltk nltk.download('wordnet')

install StanfordCoreNLP: https://stanfordnlp.github.io/CoreNLP/ java -mx8g -cp "*" edu.stanford.nlp.pipeline.StanfordCoreNLPServer -annotators "tokenize,ssplit,pos,lemma,parse,sentiment" -port 9000 -timeout 30000

OpenKE doc

http://139.129.163.161//static/notes/installation.html

RUN STEP BY STEP:

  1. gen_train_data.py
  2. convert_to_training_form.py
  3. cd OpenKE/benchmarks/FAKE_NEWS
  4. n-n.py
  5. train_transe_fakenews.py
  6. predict_news.py

About

License:GNU General Public License v3.0


Languages

Language:Python 73.1%Language:C++ 10.5%Language:C 10.0%Language:Jupyter Notebook 5.2%Language:Objective-C 1.0%Language:Shell 0.1%