Class Interpreter

java.lang.Object
  |
  +--Interpreter

public class Interpreter
extends java.lang.Object

This is the interpreter for parsed constituents. It tries to use logic to break down a parse into a logical form, derive a new goal for the system, and extract salience information.


Constructor Summary
Interpreter(SalienceManager sal, java.lang.String[] prologFiles)
          Create a new interpreter.
 
Method Summary
 DiscourseEvent interpret(Constituent cons)
          Interpret a constituent by deriving a logical structure for it and querying against prolog.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Interpreter

public Interpreter(SalienceManager sal,
                   java.lang.String[] prologFiles)
Create a new interpreter.

Parameters:
sal - the salience manager to use.
Method Detail

interpret

public DiscourseEvent interpret(Constituent cons)
Interpret a constituent by deriving a logical structure for it and querying against prolog.

Parameters:
cons - the constituent to interpret.
Returns:
a new discourse goal with associated information.