|
Grammar
Apr 26, 2006 11:31:37 GMT -5
Post by Rick Price on Apr 26, 2006 11:31:37 GMT -5
Determines how a vocabulary can be put together to achieve higher recognition accuracy.
|
|
goros
New Member
Posts: 4
|
Post by goros on May 7, 2007 8:18:58 GMT -5
Hello, I am using VoiceIn-4.1.0 with linux-FC6 kernel 2.6.20-1.2948.fc6. I use the SDK for C language. I have made lots of tryes of using $Any system variable, but I don't notice its presence in a grammar. What I want to do is a grammar that is sensible to a specific combination of a set of concrete words within another words that I don't car. For example: $grammar = can you give me that $Any; will be sensible to utterance like "Can you give me that please" "Can you give me that pencil", etc. But it does not. That is, when I review UtteranceScore parameter of the SDK function "FnxcoreGetAllResults" I get "0" value. Can anybody give me an example of the using of $Any variable? In any case, can anybody say something about grammars that includes "what else" word or noise? Thank you all in advance /J
|
|
cshay
New Member
Posts: 2
|
Grammar
Oct 30, 2007 9:18:03 GMT -5
Post by cshay on Oct 30, 2007 9:18:03 GMT -5
Hi, I am currently implementing Fonix into an Xbox360 product. So far the results are good and I have had no problems except for the use of Grammar which i cannot generate the .xvocab files for no matter what i try....
There seems to be a distinct lack of documentation for the Grammar support. The only syntax reference for generating the grammar i could find was as follows:
"$who = (team%27 | able%28 | bravo%29);" "$what = (\"hold fire\"%1 | \"fire at will\"%2 | \"cover area\"%3 | deploy%4 | ambush%6 | \"run to\"%7 | \"lead to\"%8 | \"attack to\"%9 | \"stealth to\"%10 | regroup%11 | follow%12 | \"hold position\"%13);" "$where = (frag%14 | smoke%15 | bang%16 | crosshairs%17 | charlie%18 | delta%19 | echo%20 | foxtrot%21 | juliet%22 | romeo%23 | whiskey%24 | ex ray%25 | zulu%26);" "$grammar = $who $what [$where];"
Even If i run this exact code through VocabBld.exe the application bombs with an illegal operation. The problem seems to be with the variable $grammar.
Is there any more documentation available for the syntax of defining grammar or any working examples i could use as reference ?
Cheers, Chris.
|
|
cshay
New Member
Posts: 2
|
Post by cshay on Nov 2, 2007 6:41:15 GMT -5
Ah, i see. the very little example documentation given was completely wrong.
actually goes more like this.....
$who = "team"%27 | "able"%28 | "bravo"%29; $what = "hold fore"%1 | "fire at will"%2; $grammar = $who $what
Fonix, might be a good idea to remove or correct this documentation.
Cheers, Chris.
|
|