You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On 13 August 2018 at 14:51, gzcqy ***@***.***> wrote:
JiebaNet.Segmenter.WordDictionary.Instance.DeleteWord("北京");
JiebaNet.Segmenter.WordDictionary.Instance.DeleteWord("北京市");
JiebaNet.Segmenter.WordDictionary.Instance.DeleteWord("海淀区");
JiebaNet.Segmenter.WordDictionary.Instance.AddWord("北京", 6000, "city");
JiebaNet.Segmenter.WordDictionary.Instance.AddWord("北京市", 6000, "city");
JiebaNet.Segmenter.WordDictionary.Instance.AddWord("海淀区", 6000, "town");
//seg.LoadUserDict(AppDomain.CurrentDomain.SetupInformation.ApplicationBase + "userdict.txt");
JiebaNet.Segmenter.WordDictionary.Instance.ContainsWord("北京");
JiebaNet.Segmenter.WordDictionary.Instance.ContainsWord("北京市");
var tokens = posSeg.Cut("北京市海淀区",true);
按道理说cut之后得到的结果应该是
北京市 city
海淀区 town
但实际得到的结果是
北京市 ns
海淀区 ns
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#52>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADppxwCi2SeOnZCctIrF6AbsYq2Om2Ppks5uQSIHgaJpZM4V5-Ni>
.
JiebaNet.Segmenter.WordDictionary.Instance.DeleteWord("北京");
JiebaNet.Segmenter.WordDictionary.Instance.DeleteWord("北京市");
JiebaNet.Segmenter.WordDictionary.Instance.DeleteWord("海淀区");
按道理说cut之后得到的结果应该是
北京市 city
海淀区 town
但实际得到的结果是
北京市 ns
海淀区 ns
The text was updated successfully, but these errors were encountered: