Package org.speakright.core.flows

Examples of org.speakright.core.flows.QuestionFlow.addBinding()


//      flow.addBinding("confirm", "city");
//      InlineGrammar gram = new InlineGrammar("yes no");
//      gram.setSlotName("confirm");
//      flow.addGrammar(gram);
      flow.addGrammar("grammar/gram1.grxml");
      flow.addBinding("MySlot", "city"); //must be after add gram
     
      add(flow);
//      SRAskNumber ask  = new SRAskNumber("how many bottles?", "bottles", 3, 10);
//      ask.setMin(3);
//      ask.setMax(10);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.