Skip to content

AITestingOrg/aide--spacy-nlp-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)))

Run Tests

cd src/
python -m pytest tests/

About

Spacy based NLP service for AI Domain Expert

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors