JFastText icon indicating copy to clipboard operation
JFastText copied to clipboard

Java interface for fastText

Results 49 JFastText issues
Sort by recently updated
recently updated
newest added

Hi, I encountered the following error in building the project, any advice would be greatly appreciated. \jfasttext\src\main\cpp\fasttext_wrapper.cc(77): error C2664: “void fasttext::FastText::predict(std::istream &,int32_t,bool,fasttext::real)”: cannot convert parameter 1 from "std::istringstream" to "int32_t"

java.lang.UnsatisfiedLinkError: no jniFastTextWrapper in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867) ~[?:1.8.0_91] at java.lang.Runtime.loadLibrary0(Runtime.java:870) ~[?:1.8.0_91] at java.lang.System.loadLibrary(System.java:1122) ~[?:1.8.0_91] at org.bytedeco.javacpp.Loader.loadLibrary(Loader.java:945) ~[stormjar.jar:?] at org.bytedeco.javacpp.Loader.load(Loader.java:750) ~[stormjar.jar:?] at org.bytedeco.javacpp.Loader.load(Loader.java:657) ~[stormjar.jar:?] at com.github.jfasttext.FastTextWrapper.(FastTextWrapper.java:10) ~[stormjar.jar:?] at java.lang.Class.forName0(Native Method) ~[?:1.8.0_91]...

I have built a classifier model using the original FastText binary, compiled from the Git branch from August 8th, 2018. When I try to run this model with JFastText (v0.3),...

Use the same model weibo.bin test one: ``` admindeiMac:fastText admin$ ./fasttext supervised -input weibo1.txt -output weibo -lr 1.0 -epoch 35 -wordNgrams 2 -bucket 200000 -dim 50 -loss hs admindeiMac:fastText admin$...

ERROR ApplicationMaster: User class threw exception: java.lang.UnsupportedClassVersionError: com/github/jfasttext/JFastText : Unsupported major.minor version 52.0

Hi, I try to use with the supervised command a pretrainedVector. This vector has this first line: 170830 100 And I have this message: Dimension of pretrained vectors does not...

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.rangeCheck(ArrayList.java:653) at java.util.ArrayList.get(ArrayList.java:429) at com.github.jfasttext.JFastText.predictProba(JFastText.java:60)

Hi when my java code calls .close() before destroy the bean in spring container, I got the jvm crashed with the error as blow, ============== # A fatal error has...

When I execute mvn package it creates a jar with only the library related to the building platform. Is there a way to build fasttext for all platforms (macos, linux,...

This project has a bug that bothers me for many days If you use this function(loadModel) many times, Dynamic loading model cyclicity, the process will be hung up