Overview of PocketSphinx example types
mainThe PocketSphinx examples demonstrate three primary modes of operation:
- Simplest possible example (
simple.c,simple.py): Reads an entire WAV audio file and recognizes it as a single utterance. - Segmentation (
segment.py): Uses voice activity detection (VAD) to segment an input stream into speech-like regions. - Live recognition (
live.c,live.py): Performs online segmentation and recognition (real-time processing).