adhearsion / adhearsion-asr

Adds speech recognition support to Adhearsion as a plugin.
http://adhearsion.com
MIT License
6 stars 6 forks source link

Allow setting the GRXML language #2

Closed bklang closed 11 years ago

bklang commented 11 years ago

Per LumenVox:

[11/11/12 1:15:42 PM] Stephen Keller: And then can you verify that the grammars themselves have en-GB in their language declaration?
[11/11/12 1:16:20 PM] Ben Klang: hm, we're passing the grammars with en-US it appears
[11/11/12 1:16:37 PM] Ben Klang: 18:20:19 call_controller.1 |     <grammar content-type="application/srgs+xml"><![CDATA[ <grammar xmlns="http://www.w3.org/2001/06/grammar" version="1.0" xml:lang="en-US" root="main">
18:20:19 call_controller.1 |   <rule id="main" scope="public">
18:20:19 call_controller.1 |     <one-of>
18:20:19 call_controller.1 |       <item>continue</item>
18:20:19 call_controller.1 |       <item>listen</item>
18:20:19 call_controller.1 |       <item>cancel</item>
18:20:19 call_controller.1 |     </one-of>
18:20:19 call_controller.1 |   </rule>
18:20:19 call_controller.1 | </grammar>
[11/11/12 1:16:45 PM] Ben Klang: ok so I need to change xml:lang?
[11/11/12 1:16:48 PM] Stephen Keller: Yes

So I think this branch is necessary. However two of the specs still appear to deadlock and I have no idea why.