Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 1.51 KB

File metadata and controls

23 lines (16 loc) · 1.51 KB

framework-code

Core Framework code for NLU system, can be extended for different tasks.

System requirements:

Running the system:

  • analyzer.sh: This will run the grammars/Analyzer on an RPC server. If you’d like this to run as a background process, you can modify the “jython” command to add a “&” at the end. By default, it runs the “research” grammar from ecg-grammars.
  • ntuples.sh: This will run the Specializer (as a separate process/Terminal tab). This will open up a prompt, in which you can enter sentences and view the resulting n-tuples, printed in a cleaner visualization.
  • ui.sh: This will run both the grammars/Analyzer and the Agent-UI in one tab.
  • setup.sh: this will run the Problem Solver as a background process. In the “core” framework system, the problem solver simply prints out n-tuples.
  • tests.sh: This runs a suite of sentences and makes sure they match ‘gold standard’ n-tuples. Note that analyzer.sh must already be running.

NOTE: You’ll also need to set your PYTHONPATH in your bash_profile to point to {dir_path}/framework-code/src/main.