Skip to content

nlp-api/nlp-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nlp-api

Coming soon www.nlp-api.org

Natural Language Processing API. The goal is to allow anyone to use features of pythons nltk library with any language. Usage will be as simple as spinning up the docker container and sending a POST with JSON formatted data to an endpoint. Eventually we want to have nlp-api running at www.nlp-api.org for anyone to use.

Get flask running:

  • clone repo and cd nlp-api/web/.
  • start venv (download if you dont have it)
  • export FLASK_APP=api.py
  • flask run
  • You should now have the api running! * Running on http://0.0.0.0:5000/

Run using docker

  • clone repo and cd nlp-api/web/.
  • if you don't have them, install docker
  • docker build -t nlp-api:latest .
  • docker run -p 5000:5000 nlp-api
  • You should now have the api running! * Running on http://0.0.0.0:5000/ http://localhost:5000/ also works.

Run using docker-compose

  • clone repo and cd nlp-api/.
  • if you don't have them, install docker and docker-compose
  • docker-compose build
  • docker-compose up
  • You should now have the api running! * Running on http://0.0.0.0:5000/ http://localhost:5000/ also works.