1.
Dictionary.addWords,当添加的词库太大(我这里是将近30万)时��
�会出现bug,20万左右时没有这个问题
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at org.wltea.analyzer.dic.DictSegment.lookforSegment(DictSegment.java:228)
at org.wltea.analyzer.dic.DictSegment.fillSegment(DictSegment.java:199)
at org.wltea.analyzer.dic.DictSegment.fillSegment(DictSegment.java:204)
at org.wltea.analyzer.dic.DictSegment.fillSegment(DictSegment.java:204)
at org.wltea.analyzer.dic.DictSegment.fillSegment(DictSegment.java:170)
at org.wltea.analyzer.dic.Dictionary.addWords(Dictionary.java:119)
2.
当词库从20万跃至30万时,分词速度急剧下降,这是什么原因�
��
环境为:win7 + jdk1.6
version: IKAnalyzer2012_u3.zip
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by jaysoona...@gmail.com on 27 Mar 2012 at 11:05
Original issue reported on code.google.com by
jaysoona...@gmail.com
on 27 Mar 2012 at 11:05