Word2VEC_java icon indicating copy to clipboard operation
Word2VEC_java copied to clipboard

Number Format Exception from loadGoogleModel

Open siminou opened this issue 7 years ago • 1 comments

I got a corpus.bin from https://pan.baidu.com/s/1dFKevtv . When i tried to run the test program , shows error as Exception in thread "main" java.lang.NumberFormatException: For input string: "中共中央" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:580) at java.lang.Integer.parseInt(Integer.java:615) at com.ansj.vec.Word2VEC.loadGoogleModel(Word2VEC.java:80)

siminou avatar Apr 24 '18 09:04 siminou

我遇见了类似的问题,请问解决了吗

sakura182 avatar Dec 21 '20 03:12 sakura182