
Public Member Functions | |
| String | retrieveMeaningOfWord (String action, List< String > meanings, Instruction instruction) |
Interface for an Entity which serves as an 'oracle' for the disambiguator. An Implementation of IDisambiguatorOracle communicates with the disambiguator via callback-methods that are invoked by the disambiguator.
Definition at line 15 of file IDisambiguationOracle.java.
| String instruction.disambiguator.IDisambiguationOracle.retrieveMeaningOfWord | ( | String | action, |
| List< String > | meanings, | ||
| Instruction | instruction | ||
| ) |
Returns the correct meaning of the word word in the Instruction instruction. This meaning must be one of the Cyc-Concepts contained in the meanings list. If null is returned the first meaning in the list is assumed to be correct.
| action | |
| meanings | |
| sentence |
Implemented in instruction.gui.internal.DisambiguationOracle.