Reference articles on history, science, culture and more
Encyclopedia

JSGF

JSGF stands for Java Speech Grammar Format or the JSpeech Grammar Format (in a W3C Note). Developed by Sun Microsystems, it is a textual representation of grammars for use in speech recognition for technologies like XHTML+Voice. JSGF adopts the style and conventions of the Java programming language in addition to use of traditional grammar notations.

The Speech Recognition Grammar Specification was derived from this specification.

01Example

The following JSGF grammar will recognize the words coffee, tea, and milk.

#JSGF V1.0; grammar numbers; public <drinks> = coffee | tea | milk;
Watch videos about JSGFExplainers and documentaries on YouTube (opens in a new tab)

Sources and credits

This article is adapted from the Wikipedia article JSGF, written by its contributors and licensed under CC BY-SA 4.0. Fathomly has changed the layout, removed citation markers, navigation and maintenance notices, and adjusted punctuation. This adapted version is shared under the same license. For references, see the original article.

Fathomly is not affiliated with or endorsed by the Wikimedia Foundation. Spotted a problem? Tell us.