Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

对文件进行分词 计算分词速度 java.lang.ArithmeticException: / by zero #68

Open
julyking0 opened this issue Jun 27, 2018 · 2 comments

Comments

@julyking0
Copy link

报错信息:
java.lang.ArithmeticException: / by zero
at org.apdplat.word.util.Utils.seg(Utils.java:156) ~[word-1.3.jar:na]
at org.apdplat.word.WordFrequencyStatistics.seg(WordFrequencyStatistics.java:155) ~[word-1.3.jar:na]
代码位置:
image

org.apdplat.word.util.Utils#seg(java.io.File, java.io.File, boolean, org.apdplat.word.segmentation.SegmentationAlgorithm, org.apdplat.word.util.Utils.FileSegmentationCallback)

@yjy123123
Copy link

请问这个报错该怎么解决呢?

@BoshCHEN
Copy link

请问解决了吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants