- Install requirements from requirements.txt
- Change path of "tokensregex_ner_rules" to absolute path.
- Download CoreNLP (https://stanfordnlp.github.io/CoreNLP/download.html) and start server (https://stanfordnlp.github.io/CoreNLP/corenlp-server.html):
java -mx4g -cp "<path to CoreNLP>/*" edu.stanford.nlp.pipeline.StanfordCoreNLPServer -port 9000 -timeout 15000 -ner.model 4class -ner.applyFineGrained false -ner.statisticalOnly true
- Create directories
logging/graphs
andlogging/metadata
.
python website/server.py
- Type in messages.
- Save graph.
- Load latest graph file.