/// <summary> /// 英译汉联想查询 /// </summary> /// <param name="words">分词得到的关键词组</param> /// <param name="querySize">最大查询联想结果数量</param> /// <returns></returns> public static IEnumerable <DictRecord> DictE2cExtendQueryWithWords(IEnumerable <string> words, int querySize) { List <string> sourceWordList = words.ToList(); if (sourceWordList.Count == 1) { string word = sourceWordList[0]; return(MaterialData.DictE2cExtendQueryWithSingleWords(word, word[0].ToString(), querySize)); } return(MaterialData.DictE2cExtendQueryWithWords(words, querySize)); }