jmNL

Home Page 

 

About

jmNL is a modular NL platform for dialogue agents.

jmNL integrates NLU(s), DM(s) and NLG(s). It provides a GUI to debug the characters and it’s compatible with the VH protocol for communication with external components.

This project implements a framework to build the classic NL infrastructure needed by dialogue agents. It allows people to extend it by implementing their own external communication protocols, NLU, NLG and DM modules. It comes with several implemented classification based NLUs, the FLoReS DM and some simple NLG modules including a template based one.

if you plan to use clearnlp you’ll need to separately download the models: https://github.com/clir/clearnlp-guidelines/blob/master/md/quick_start/models.md

to use wikidata (see this demo character) you need to create lucene local indexes. For that you need to:

  1. download a recent wikidata json dump
  2. run edu.usc.ict.nl.nlu.wikidata.dumps.WikidataJsonProcessing.createItemsFile(8, new File(json_dump_file)) (adjust parameters as needed)
  3. run edu.usc.ict.nl.nlu.wikidata.dumps.WikidataJsonProcessing.createPropertiesFile(8, new File(json_dump_file)) (adjust parameters as needed)