public void Test1Word2Properties(string sentence, string word, string property) { //DictionaryService service = new ViconDictionaryService(); //var dic = service.GetChineseMeanInDict(word); var r = new SentenceParse().RemarkWord(sentence,word,word); Assert.AreEqual(r.DefaultMean.Property, property); }
public void TestVerbIng(string sentence, string word,string originalWord,string decideWord, string property) { //DictionaryService service=new ViconDictionaryService(); //var dic = service.GetChineseMeanInDict(word); //var dic2 = service.GetChineseMeanInDict(originalWord); var r = new SentenceParse().RemarkWord(sentence,word,originalWord); Assert.AreEqual(r.DefaultMean.Property, property); Assert.AreEqual(r.Word,decideWord); }