Semantic Interpretation for Speech Recognition
{{Short description|World Wide Web Consortium recommendation}}
{{More citations needed|date=February 2015}}
Semantic Interpretation for Speech Recognition (SISR) defines the syntax and semantics of annotations to grammar rules in the Speech Recognition Grammar Specification (SRGS). Since 5 April 2007, it is a World Wide Web Consortium recommendation.[http://www.w3.org/TR/semantic-interpretation/ Semantic Interpretation for Speech Recognition (SISR) Version 1.0]
By building upon SRGS grammars, it allows voice browsers via ECMAScript to semantically interpret complex grammars and provide the information back to the application. For example, it allows utterances like "I would like a Coca-cola and three large pizzas with pepperoni and mushrooms." to be interpreted into an object that can be understood by an application. For example, the utterance could produce the following object named {{mono|order}}:
{
drink: {
liquid:"coke",
drinksize:"medium"
},
pizza: {
number: "3",
pizzasize: "large",
topping: [ "pepperoni", "mushrooms" ]
}
}
If used against this grammar that includes SISR markup in addition to the standard SRGS grammar in XML format:
"http://www.w3.org/TR/speech-grammar/grammar.dtd">
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3.org/2001/06/grammar http://www.w3.org/TR/speech-grammar/grammar.xsd" version="1.0" mode="voice" tag-format="semantics/1.0" root="order"> I would like a out.drink.drinksize=rules.drink.drinksize; and and pizzas with
See also
References
{{reflist}}
External links
- [http://www.w3.org/TR/speech-grammar/ SRGS Specification (W3C Recommendation)]
- [http://www.w3.org/TR/semantic-interpretation/ SISR Specification (W3C Recommendation)]
- [http://www.w3.org/Voice/ W3C's Voice Browser Working Group]
{{W3C Standards}}