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.

Example1

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

#JSGF V1.0;
   
grammar numbers;
    
public <drinks> = coffee | tea | milk;
gollark: They are part of the weekend. They occur at the end of the week. After the end of the week, it is a new week, and also Monday.
gollark: I think it's conventionally Monday here. Sunday would be silly.
gollark: I think in a thousand years you might struggle to find working playback hardware, but oh well.
gollark: Fancier blu-ray discs which allegedly last a thousand years.
gollark: > implying OOP good

See also

This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.