AI Domain Expert

alt text

Setup

Requirements

  • Python 3.x

NLP Setup

Install NLTK

  • pip install -U nltk
  • python
  •   import nltk
      nltk.download()
  • Choose whichever Corpora.

Install SpaCy

Install Neo4j

Setup Flask

  • pip install -U flask

Setup the path to the app

  • UNIX export FLASK_APP=src/app.py
  • WINDOWS set FLASK_APP=src/app.py

Run the backend

  • Flask run

Pre-seed DB

  • Add the lines below to the app.py file
for sent in brown.sents():
    NLP().find_useful_stuff(re.sub(r'[^\w]', ' ', ' '.join(sent)))