Author Message
vinothrajendran2
Joined: Nov 12, 2013
Messages: 101
Offline
Hi,

Today I have a grammar which is generated based on the table entries. It is direct grammar and they can speak only the actual word configured in table.

For example Balance. They can only say "balance" . cant say "I want to know my " "balance" "Please".


We wanted to create text file with fillers and include before and after the items generated based on the table.

is it possible to include the fillers in Dynamic grammar?..I dont see any method to do .

Please advice

Thanks
Vinoth
RossYakulis
Joined: Nov 6, 2013
Messages: 2652
Offline

GrammarRule rule =new GrammarRule();
rule.add( new com.avaya.sce.runtime.GrammarItem( "FILLER" ) );
add( rule );

rule =new GrammarRule();
rule.add( new com.avaya.sce.runtime.GrammarItem( "balance" ) );
rule.add( new com.avaya.sce.runtime.GrammarItem( "credit limit" ) );
add( rule );
Go to:   
Mobile view