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 }

 

posted @ 2014-04-29 14:01  yiyi_xuechen  Views(113)  Comments(0Edit  收藏  举报