Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## edu.wpi.cetask.guide
Interface SpeechGuide.Recognizer

All Known Implementing Classes:
  Sphinx4

Enclosing class:
  SpeechGuide

    public static interface SpeechGuide.Recognizer

Simple wrapper for speech recognition system

Method Summary
`void` | `deallocate()` Free up threads, etc., so can exit cleanly
`Object` | `interpret(String utterance)`
`void` | `loadGrammar(String uri)` Load and start using specified grammar (replaces current grammar)
`String` | `recognize()` Turn on microphone for one utterance (automatic endpointing)

Method Detail

### recognize

    String recognize()

  Turn on microphone for one utterance (automatic endpointing)

  Returns:
    recognized string

### interpret

    Object interpret(String utterance)

  Parameters:
    `utterance` - - natural language string
  Returns:
    semantics of utterance

### loadGrammar

    void loadGrammar(String uri)
                     throws IOException

  Load and start using specified grammar (replaces current grammar)

  Throws:
    `IOException`

### deallocate

    void deallocate()

  Free up threads, etc., so can exit cleanly

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD