Package org.speakright.core

Examples of org.speakright.core.ConfirmationWrapper


    if (doConfirm) {
      NBestConfirmerFlow confirmer = new NBestConfirmerFlow("yn.grxml");
      if (doSkipList) {
        confirmer.enableSkipList();
      }
      ConfirmationWrapper cw = new ConfirmationWrapper(new CityQuestion(true), confirmer);
      flow.add(cw);
    }       
    else {
      CityQuestion quest = new CityQuestion(false);
      flow.add(quest);
View Full Code Here


    return new PromptFlow("id:welcome");
  }
  @Override
  protected void initMainLoop(LoopFlow loop)
  {
    ConfirmationWrapper cw = new ConfirmationWrapper(new AskCharacter(), new MyConfirmer());
    loop.add(cw); //ask-character with nbest confirmation

    loop.add(new CharacterDescription());
    loop.add(new VoteYesNo());
    loop.add(new RelatedCharacterYesNo());
View Full Code Here

TOP

Related Classes of org.speakright.core.ConfirmationWrapper

Copyright © 2018 www.massapicom. 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.