Word2VEC_java icon indicating copy to clipboard operation
Word2VEC_java copied to clipboard

word2vec java版本的一个实现

Results 36 Word2VEC_java issues
Sort by recently updated
recently updated
newest added

我用gensim训练的Word2Vec用这个程序加载时发现词的编码不对。请教一下是什么问题呢?

Greetings sir. Sorry when I run the Test class it returns Cannot invoke "java.io.BufferedInputStream.close()" because "bis" is null at com.ansj.vec.Word2VEC.loadGoogleModel(Word2VEC.java:104) at test.Test.main(Test.java:10) What should I do? Can you please get...

where can I find "library/javaSkip1" and "library/corpus.bin"?

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)...

有如下报错 Exception in thread "main" java.lang.NumberFormatException: For input string: "�cgensim.models.word2vec" at java.lang.NumberFormatException.forInputString(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at com.ansj.vec.Word2VEC.loadGoogleModel(Word2VEC.java:81) at test.Test.main(Test.java:12)

非常感谢分享。 你好,请问一下love.cq是什么包

请问 File[] files = new File("corpus/sport/").listFiles();这个句子的作用是什么?谢谢!

Exception in thread "main" java.lang.NumberFormatException: For input string: " �1 � 2.2万吨��`6=+f>o��>�;b>�R=~"2�W6=��)�%������E�=s��l" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:569) at java.lang.Integer.parseInt(Integer.java:615) at com.ansj.vec.Word2VEC.loadGoogleModel(Word2VEC.java:80) at test.Test.main(Test.java:10)