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
经过停用词过滤之后。再次调用别的发现器
比如:
Result modifResult = DicAnalysis.parse(str,DicLibrary.gets(Dictionary.userDic,DicLibrary.DEFAULT)).recognition(Dictionary.getStopFilter()).recognition(new EmailRecognition());
System.out.println(modifResult);
报错如下:
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 37
at org.ansj.util.Graph.getMaxTerm(Graph.java:174)
at org.ansj.util.Graph.rmLittlePath(Graph.java:144)
at org.ansj.app.extracting.Extracting.parse(Extracting.java:130)
at org.ansj.app.extracting.Extracting.parse(Extracting.java:113)
at org.ansj.recognition.impl.EmailRecognition.recognition(EmailRecognition.java:38)
at org.ansj.domain.Result.recognition(Result.java:53)
at varyag.WordEngine.ansj_analysis(WordEngine.java:54)
at varyag.WordEngine.main(WordEngine.java:48)
The text was updated successfully, but these errors were encountered:
经过停用词过滤之后。再次调用别的发现器
比如:
Result modifResult = DicAnalysis.parse(str,DicLibrary.gets(Dictionary.userDic,DicLibrary.DEFAULT)).recognition(Dictionary.getStopFilter()).recognition(new EmailRecognition());
System.out.println(modifResult);
报错如下:
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 37
at org.ansj.util.Graph.getMaxTerm(Graph.java:174)
at org.ansj.util.Graph.rmLittlePath(Graph.java:144)
at org.ansj.app.extracting.Extracting.parse(Extracting.java:130)
at org.ansj.app.extracting.Extracting.parse(Extracting.java:113)
at org.ansj.recognition.impl.EmailRecognition.recognition(EmailRecognition.java:38)
at org.ansj.domain.Result.recognition(Result.java:53)
at varyag.WordEngine.ansj_analysis(WordEngine.java:54)
at varyag.WordEngine.main(WordEngine.java:48)
The text was updated successfully, but these errors were encountered: