我在GoogleNews-vectors-negative300.bin库中找到了,但只针对ENG单词,在word2vec中有类似单词的波兰语实现吗?
我已经尝试过使用cc.pl.300.bin和NKJP PodkorpusMilionowy库。。。
public Word2Vec getWord2Vec() {
File gModel = new File("C:/Users/user/Desktop/GoogleNews-vectors-negative300.bin.gz");
return WordVectorSerializer.readWord2VecModel(gModel);
}
文件。。。
https://dl.fbaipublicfiles.com/fasttext/vectors-wiki/wiki.pl.vec
链接自。。。
https://fasttext.cc/docs/en/pretrained-vectors.html
如果您的库加载了用于交换单词矢量的简单"text"格式,则可能对您有用。(它不是Facebook FastText特定的二进制格式,就像你的cc.pl.300.bin
文件一样。(