Examples of NBestConfirmerFlow


Examples of org.speakright.core.flows.NBestConfirmerFlow

  TrailWrapper createApp(boolean doConfirm, boolean doSkipList)
  {
        SRApp flow = new SRApp();
        flow.add(new PromptFlow("doing NBEST"));
    if (doConfirm) {
      NBestConfirmerFlow confirmer = new NBestConfirmerFlow("yn.grxml");
      if (doSkipList) {
        confirmer.enableSkipList();
      }
      ConfirmationWrapper cw = new ConfirmationWrapper(new CityQuestion(true), confirmer);
      flow.add(cw);
    }       
    else {
View Full Code Here

Examples of org.speakright.core.flows.NBestConfirmerFlow

   * override the main prompt of the NBest confirmer with the prompt id
   * "AskTickets_confirmer.main1"
   */
  @Override
  public void enableNBest(int maxNBest) {
    NBestConfirmerFlow confirmer = new NBestConfirmerFlow(m_subjectWord);
    confirmer.setName(this.name() + "_confirmer");
    setConfirmer(confirmer);
    super.enableNBest(maxNBest);
  }
View Full Code Here

Examples of org.speakright.core.flows.NBestConfirmerFlow

//  boolean m_finished;

  public SROConfirmNBest(String subject)
  {
    super(subject);
    m_confirmer = new NBestConfirmerFlow("notused.gsl");
  }
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.