private string GetTag(string word, string sentence)
{
var wordList = Parse(sentence) + " ";
Regex regex = new Regex("\\b" + word + @"/(.*?)\s");
var match = regex.Match(wordList);
if (match.Success) //知道单词的词性
{
var p = match.Groups[1].Value;
var pro = ConvertTag(p);
return pro;
}
return null;
}