www.wikidata.de-de.nina.az
Die Speech Recognition Grammar Specification SRGS ist ein W3C Standard der beschreibt wie Spracherkennungs Grammatiken engl speech recognition grammars spezifiziert werden Eine Spracherkennungs Grammatik ist eine Reihe von Wortschemen die dem Spracherkennungssystem mitteilen was ein Mensch sagen wurde Zum Beispiel wurde wenn man ein automatisches Vermittlungssystem aufruft das Spracherkennungssystem nach dem Namen der Person fragen mit der man sprechen mochte Danach wird ein Spracherkennungsprogramm aufgerufen dem eine Spracherkennungs Grammatik vorliegt Diese Grammatik enthalt die Namen aller Personen im Verzeichnis und die verschiedenen Satzmuster mit denen Anrufer typischerweise anrufen SRGS spezifiziert zwei verschiedene aber logisch gleichwertige Syntaxen eine XML basiert die andere benutzt die angereicherte Backus Naur Form In der Praxis wird allerdings die XML Syntax ofter eingesetzt Wurde das Spracherkennungsprogramm nur eine Zeichenkette der gesprochenen Worter zuruckgeben wurde die Sprachsoftware die sehr muhsame Arbeit ubernehmen mussen den Wortern die semantische Bedeutung zu entnehmen Aus diesem Grund konnen SRGS Grammatiken mit tag Elementen ausgestaltet werden die wenn sie ausgefuhrt werden das semantische Ergebnis erzeugen SRGS spezifiziert nicht den Inhalt dieser Tagelemente dies wird in Zusammenarbeit mit dem W3C Standard Semantic Interpretation for Speech Recognition SISR durchgefuhrt SISR basiert auf ECMAScript und ECMAScript Statements innerhalb der SRGS Tags erzeugen ein ECMAScript semantisches Ergebnisobjekt das von der Voice Application leicht verarbeitet werden kann Sowohl SRGS als auch SISR sind W3C Empfehlungen also auf der finalen Stufe auf dem Weg zum W3C Standard Der W3C VoiceXML Standard der definiert wie Voice Dialoge spezifiziert werden basiert stark auf SRGS und SISR Beispiele BearbeitenHier ist ein Beispiel der Augmented BNF Form von SRGS wie sie in einer Sprachverzeichnis Applikation vorkommen konnte ABNF 1 0 ISO 8859 1 Standard Grammatiksprache ist US Englisch language en US Single language attachment to tokens Note that fr CA Canadian French is applied to only the word oui because of precedence rules yes yes oui fr CA Single language attachment to an expansion people1 Michel Tremblay Andre Roy fr CA Handling language specific pronunciations of the same word A capable speech recognizer will listen for Mexican Spanish and US English pronunciations people2 Jose en US Jose es MX Multi lingual input possible example may I speak to Andre Roy example may I speak to Jose public request may I speak to people1 people2 Hier ist dasselbe SRGS Beispiel als XML Formular lt xml version 1 0 encoding ISO 8859 1 gt lt DOCTYPE grammar PUBLIC W3C DTD GRAMMAR 1 0 EN http www w3 org TR speech grammar grammar dtd gt lt the default grammar language is US English gt lt grammar xmlns http www w3 org 2001 06 grammar 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 xml lang en US version 1 0 gt lt single language attachment to tokens yes inherits US English language oui is Canadian French language gt lt rule id yes gt lt one of gt lt item gt yes lt item gt lt item xml lang fr CA gt oui lt item gt lt one of gt lt rule gt lt Single language attachment to an expansion gt lt rule id people1 gt lt one of xml lang fr CA gt lt item gt Michel Tremblay lt item gt lt item gt Andre Roy lt item gt lt one of gt lt rule gt lt Handling language specific pronunciations of the same word A capable speech recognizer will listen for Mexican Spanish and US English pronunciations gt lt rule id people2 gt lt one of gt lt item xml lang en US gt Jose lt item gt lt item xml lang es MX gt Jose lt item gt lt one of gt lt rule gt lt Multi lingual input is possible gt lt rule id request scope public gt lt example gt may I speak with Andre Roy lt example gt lt example gt may I speak with Jose lt example gt may I speak with lt one of gt lt item gt lt ruleref uri people1 gt lt item gt lt item gt lt ruleref uri people2 gt lt item gt lt one of gt lt rule gt lt grammar gt Siehe auch BearbeitenSISR VoiceXMLWeblinks BearbeitenSRGS Specification W3C Recommendation SISR Specification W3C Recommendation VoiceXML ForumV DStandards des World Wide Web Consortiums W3C Empfehlungen ActivityPub ARIA Canonical XML CDF CSS DOM Geolocation API HTML HTML5 InkML ITS JSON LD MathML OWL P3P PLS PNG RDF RDF Schema RIF SCXML SISR SKOS SMIL SOAP SRGS SSML SVG SPARQL Timed Text Turtle VoiceXML WSDL XForms XHTML XHTML RDFa XInclude XLink XML XML Base XML Encryption XML Events XML Information Set XML Namespace XML Schema XML Signature XPath XPointer XProc XQuery XSL XSL FO XSLT Elemente nbsp Arbeitsentwurfeund Kandidaten CCXML CURIE SMIL Timesheets sXBL WICD XFrames XBL XHTML MathML SVG XMLHttpRequestAnmerkungen XAdES XFDL XHTML SMIL XUPRichtlinien Web Content Accessibility Guidelines Multimodal Interaction Activity Markup Validation ServiceInitiativen Web Accessibility Initiative Abgerufen von https de wikipedia org w index php title Speech Recognition Grammar Specification amp oldid 228523798