public generateQueries ( string question ) : List |
||
question | string | Question String |
리턴 | List |
public List<questionAnswer> GetAnswerWithQuestionStructure(string question) { Lexicon mylexicon = new Lexicon(); answerGenerator answerGenerator = new answerGenerator(); List<QueryBucket> queries = answerGenerator.generateQueries(question); List<questionAnswer> answers = answerGenerator.executeQueries(queries); return answers; }
public List <questionAnswer> GetAnswerWithQuestionStructure(string question) { Lexicon mylexicon = new Lexicon(); answerGenerator answerGenerator = new answerGenerator(); List <QueryBucket> queries = answerGenerator.generateQueries(question); List <questionAnswer> answers = answerGenerator.executeQueries(queries); return(answers); }