SentenceGeneration

时间:2014-04-30 18:48:43   收藏:0   阅读:433
bubuko.com,布布扣
1 public String SentenceGerneration(String pattern, ArrayList<String> candSlotList, ArrayList<Argument> argList){
2     ArrayList<String> candSentenceList = new ArrayList<String>();
3     for(String candSlot : candSlotList) 
4         candSentenceList.add(FillInPattern(pattern,candSlot,argList));
5     return SelectBestSolutions(candSentenceList,argList);
6 }
bubuko.com,布布扣

 

SentenceGeneration,布布扣,bubuko.com

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!