For Example:
IKSegmenter iks = new IKSegmenter(new StringReader("uml Just test"), true);
List<String> words = new ArrayList<String>();
words.add("uml");
Dictionary.disableWords(words);
Lexeme exeme = null;
do {
exeme = iks.next();
if (exeme != null) {
System.out.println(exeme.getLexemeText());
}
} while (exeme != null);
是使用方法不对吗?
Original issue reported on code.google.com by sjw_...@126.com on 30 Mar 2012 at 6:27
Original issue reported on code.google.com by
sjw_...@126.com
on 30 Mar 2012 at 6:27