dariowho / TDM-lu

The Language Unit is a Natural Language Understanding module, meant to serve as a replacement for the Grammatical Framework in TRINDI-kit-based Dialogue Managers (prototype)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TDM-lu

The Language Unit is a Natural Language Understanding module, meant to serve as a replacement for the Grammatical Framework in TRINDI-kit-based Dialogue Managers (early developement stage!)

System requirements

The code requires Python 2.7 (http://www.python.org/download/releases/2.7/) and the NLTK (http://nltk.org/)

The temporary chunk enforcement modification requires a modified version of the pyStatParser package, as it is shipped in the 3rdparty/ directory.

Running the code

A test client (lu_client.py) is provided. It can be run with:

python2 lu_client.py > lu/_out/lu_client.out.html

The script produces an HTML file containing the detail of a sentence scored against all the meanings in a grammar.

Temporarily, the output folder will also contain the exported indices of the Machine Learning module.

About

The Language Unit is a Natural Language Understanding module, meant to serve as a replacement for the Grammatical Framework in TRINDI-kit-based Dialogue Managers (prototype)


Languages

Language:Python 97.6%Language:CSS 2.3%Language:Shell 0.1%