public interface GrammarEvaluator
GrammarEvaluator is responsible to evaluate input for
the associated active grammar.| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getSemanticInterpretation(DataModel model,
java.lang.String utterance)
Processes the given utterance and retrieves the corresponding semantic
interpretation.
|
java.net.URI |
getURI()
Retrieves the base URI of this grammar.
|
java.net.URI getURI()
java.lang.Object getSemanticInterpretation(DataModel model, java.lang.String utterance)
This method is also called to check if the associated grammar accepts the given utterance.
model - the data model in useutterance - the current utterancenull if
the utterance is not valid