Exemple #1
0
 /// <summary>
 /// 从数据库查询词语翻译结果
 /// </summary>
 /// <param name="word"></param>
 /// <param name="isChinese"></param>
 /// <returns></returns>
 public static DictRecord GetDictRecord(string word, bool isChinese)
 {
     if (isChinese)
     {
         return(MaterialData.QueryC2EDict(word));
     }
     return(MaterialData.QueryE2CDict(word));
 }