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 }
SentenceGeneration,布布扣,bubuko.com
原文:http://www.cnblogs.com/yiyi-xuechen/p/3699075.html