nickumia / world

Example applications for NLP Framework
https://kamutiv.com
GNU General Public License v3.0
1 stars 0 forks source link
nlp utterances

codecov Tests Deployment

nlp-web

Example applications for PLaN Framework

Live Test Site: https://kamutiv.com

Backup Site: https://offline.kamutiv.com/

Intro

The Processing Language in a Natural way (PLaN) Framwork is an abstraction of how to approach NLP problems and isolate the various aspects that influence the success of an NLP application. More info can be found at https://nlp.kamutiv.com/.

Installation / Dev Environment

All of the source code can be found within the /src folder.

To build the front-end, run:

  # sudo apt install nodejs npm
  make install-front  # Install npm dependencies
  make build-front    # Builds and bundles front-end into /src/app/static/js/bundle.js

There are two images that can be built from the Dockerfile, nlp-web:latest and nlp-web:debug. The latest tag denotes the more production-ready version of the web app. The debug tag represents the dev test image equipped with pytest dependencies. To build either image, run:

  make build        # Build 'latest'
  make build-test   # Build 'debug'

To start the application at http://localhost:8000, run:

  make up

To stop and remove the application, run:

  make clean

To run tests, run:

  make test         # Run pytests
  make test-front   # Run cypress tests

Useful Resources

AWS Resources