SentenceGeneration

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 }
原文地址:https://www.cnblogs.com/yiyi-xuechen/p/3699075.html