Examples of explainAnswer()


Examples of org.sf.mustru.search.SearchQuestion.explainAnswer()

//  String question = "What did Richard Feynman say upon hearing he would receive the Nobel Prize in Physics?";
   String question = "What is the capital of Italy ?";
   System.out.println("Question: " + question);  
  
   int ranks[] = {0, 1, 2, 3};
   String explanation = sq.explainAnswer(question, ranks);
//  String explanation = sq.explainAnswer(question);
   System.out.println("Exp: " + explanation);
   System.out.println("Ended testQuestion");
  }
 
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.