Train your own Natural Language Processor from a browser (Prototype)
JavaScript Python Other

Icon by simpleicons

Train your own Natural Language Processor straight from your browser!


Laice allows you to build, train, and classify your own sentences via a Web UI. Laice can also communicate with your applications through a RESTful API.

In other words, laice aims to be a free, open sourced alternative to,, and

Laice turns words into meanings (with enough training data), for example:

  • Jack lives in Berlin -> {'person': 'Jack', 'location': 'Berlin'}
  • Tutu really likes bananas -> {'person': 'Tutu', 'food': 'bananas'}
  • Close the door -> {'action': 'close', 'object': 'door'}

Getting started

git clone
cd laice

npm install -g bower
bower install

pip3 install -r requirements.txt

# Optional, doing this will yeild more accurate
# predictions, however will have a slower startup
# time. Its downloading pre-processed data.
python3 -m --force all 
python3 migrate
python3 runserver

Then navigate to to view your own Natural Language Processor!


Currently we're using React frontend coupled with a django backend. JavaScript files are written in jsx and then compiled to js using gulp.


To get started with frontend development, make sure you have npm, bower, gulp installed globally.

npm install -g bower
npm install -g gulp
npm install
bower install


To get started with backend development, make sure you have installed everything in the requirements installed

pip install -r requirements