All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends
Public Member Functions | Static Public Attributes | Private Attributes
instruction.disambiguator.Disambiguator Class Reference

List of all members.

Public Member Functions

void disambiguateAction (Action action, List< String > prepositions, Instruction inst) throws AmbiguityException, InstructionException, UnknownHostException, CycApiException, IOException
void disambiguateInstruction (SemanticObject so, String action, List< String > prepositions, Instruction inst) throws UnknownHostException, IOException, CycApiException, AmbiguityException, InstructionException
void disambiguateInstructions (List< Instruction > instructions) throws AmbiguityException, InstructionException, UnknownHostException, CycApiException, IOException
void disambiguateObject (ObjectX o, String action, Instruction inst) throws InstructionException, AmbiguityException, UnknownHostException, CycApiException, IOException
 Disambiguator ()
IDisambiguationOracle getDisambiguationOracle ()
void load (String fileName) throws Exception
void save (String fileName) throws IOException
void setDisambiguationOracle (IDisambiguationOracle oracle)
void setRunMode (int mode)

Static Public Attributes

static int MODE_APPLY = 0
static int MODE_TRAIN = 1

Private Attributes

DisambiguatorKB kb
IDisambiguationOracle oracle = null
int runMode

Detailed Description

Definition at line 19 of file Disambiguator.java.


Constructor & Destructor Documentation

Definition at line 30 of file Disambiguator.java.


Member Function Documentation

void instruction.disambiguator.Disambiguator.disambiguateAction ( Action  action,
List< String >  prepositions,
Instruction  inst 
) throws AmbiguityException, InstructionException, UnknownHostException, CycApiException, IOException [inline]

Trys to disambiguate the Action by asking OpenCyc, whether there is a meaning of the action that can be executed by the Robot.

Parameters:
action
Exceptions:
AmbiguityException
InstructionException
IOException
CycApiException
UnknownHostException

Definition at line 177 of file Disambiguator.java.

void instruction.disambiguator.Disambiguator.disambiguateInstruction ( SemanticObject  so,
String  action,
List< String >  prepositions,
Instruction  inst 
) throws UnknownHostException, IOException, CycApiException, AmbiguityException, InstructionException [inline]

Definition at line 84 of file Disambiguator.java.

void instruction.disambiguator.Disambiguator.disambiguateInstructions ( List< Instruction instructions) throws AmbiguityException, InstructionException, UnknownHostException, CycApiException, IOException [inline]

Definition at line 64 of file Disambiguator.java.

void instruction.disambiguator.Disambiguator.disambiguateObject ( ObjectX  o,
String  action,
Instruction  inst 
) throws InstructionException, AmbiguityException, UnknownHostException, CycApiException, IOException [inline]

Definition at line 216 of file Disambiguator.java.

Definition at line 39 of file Disambiguator.java.

void instruction.disambiguator.Disambiguator.load ( String  fileName) throws Exception [inline]

Definition at line 58 of file Disambiguator.java.

void instruction.disambiguator.Disambiguator.save ( String  fileName) throws IOException [inline]

Definition at line 53 of file Disambiguator.java.

Definition at line 35 of file Disambiguator.java.

Definition at line 43 of file Disambiguator.java.


Member Data Documentation

Definition at line 24 of file Disambiguator.java.

Definition at line 21 of file Disambiguator.java.

Definition at line 22 of file Disambiguator.java.

Definition at line 28 of file Disambiguator.java.

Definition at line 26 of file Disambiguator.java.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


comp_ehow
Author(s): Moritz Tenorth, Daniel Nyga
autogenerated on Tue Apr 16 2013 00:18:07