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:
- gen_train_data.py
- convert_to_training_form.py
- cd OpenKE/benchmarks/FAKE_NEWS
- n-n.py
- train_transe_fakenews.py
- predict_news.py