The Sphinx service wraps the Spinx 4 Java speech recognizer project, and allows speech recognition to be incorporated with other services.
References
JSGF Example Diagram (Source )
- Spinx main site
- JSGF Grammar info
- Wikipedia JSGF entry
- Swapping Grammars Dynamically
- http://cmusphinx.sourceforge.net/
- JSGF Grammar
- Interactive JSGF generator
- JSFG JavaDoc
[[service/Sphinx.py]]
[[toSort/Sphinx.Arduino.py]]
From JSGF to Grammar Graph
After the JSGF grammar is read in, it is converted to a graph of words representing the grammar. Lets call this the grammar graph. It is from this grammar graph that the eventual search structure used for speech recognition is built. Below, we show the grammar graphs created from the above JSGF grammars. The nodes "<sil>"
means "silence".
Figure 3: Grammar graph created from the Hello World grammar.