This is just a project of NLP demos. Most demos are from here : https://github.com/Madhu009/Deep-math-machine-learning.ai https://github.com/SimmerChan/KG-demo-for-movie
-
install python 3.6+
-
install packages
pip install matplotlib
pip install nltk
pip install pandas
pip install refo
pip install sklearn
pip install SPARQLWrapper
pip install tensorflow
- download nlth data
import nltk
nltk.download('book')
nltk.download('punkt')
nltk.download('words')
nltk.download('wordnet')
nltk.download('stopwords')
nltk.download('maxent_ne_chunker')
nltk.download('averaged_perceptron_tagger')
https://medium.com/deep-math-machine-learning-ai https://zhuanlan.zhihu.com/knowledgegraph