两个问题:1.第一个 string DictPath = Path.Combine(Environment.CurrentDirectory, "Data") + Path.DirectorySeparatorChar;
//Console.WriteLine("初始化字典库...");
WordSegmentSample sample = new WordSegmentSample(DictPath, 2);
List<WordResult[]> result = sample.Segment(@"给大家带来自己首张专辑中的歌曲");
//PrintResult(result);我已经屏蔽所有Console.WriteLine输出了,怎么还会自动输出分词的一些信息呢,是不是ICTCLAS默认是Debug模式呢?
2.第二个:
SharpICTCLAS如何获得一个词的词性?
//Console.WriteLine("初始化字典库...");
WordSegmentSample sample = new WordSegmentSample(DictPath, 2);
List<WordResult[]> result = sample.Segment(@"给大家带来自己首张专辑中的歌曲");
//PrintResult(result);我已经屏蔽所有Console.WriteLine输出了,怎么还会自动输出分词的一些信息呢,是不是ICTCLAS默认是Debug模式呢?
2.第二个:
SharpICTCLAS如何获得一个词的词性?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货