A server that supplies web-services for NLU (Natural Language Understanding) and NLG (Natural Language Generation) for a negotiation agent.
Tested on Ubuntu 12.04.
Powered by Limdu.
git clone https://github.com/erelsgl/nlu-server.git
cd nlu-server
npm install
npm test
Open the file classifiers.js. Select the classifier you want to use (at the bottom), or create a new classifier.
Open the file train.js. Edit the flags (at the top). Edit the datasets or. Run and watch the performance results.
Check the "trainedClassifiers/Employer" and "trainedClassifiers/Candidate" folders. Each should contain a new file - MostRecentClassifier.json - that contains the trained classifier.
These folders MAY also contain another file - RetrainedClassifier.json - from a previous run of the server. If this file exists, it takes precedence over the MostRecentClassifier.json . If you want to use your MostRecentClassifier, delete the RetrainedClassifier.
node servertranslate
Wait several seconds until the server loads the classifiers.
http://localhost:9995