Public Member Functions | |
DisambiguationOracle (JPanel parent) | |
String | retrieveMeaningOfWord (String word, List< String > meanings, Instruction instruction) |
Private Attributes | |
JPanel | parent = null |
Definition at line 9 of file DisambiguationOracle.java.
instruction.gui.internal.DisambiguationOracle.DisambiguationOracle | ( | JPanel | parent | ) | [inline] |
Definition at line 13 of file DisambiguationOracle.java.
String instruction.gui.internal.DisambiguationOracle.retrieveMeaningOfWord | ( | String | action, |
List< String > | meanings, | ||
Instruction | instruction | ||
) | [inline] |
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 |
Implements instruction.disambiguator.IDisambiguationOracle.
Definition at line 17 of file DisambiguationOracle.java.
JPanel instruction.gui.internal.DisambiguationOracle.parent = null [private] |
Definition at line 11 of file DisambiguationOracle.java.