You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I could not be able to test print-word-vectors command. While the original is ./fasttext print-word-vectors model.bin < queries.txt, according to JFastText documentation it should be something like:
I checked the compiled version and the command receives 3 arguments. The same command works using linux terminal: cat queries.txt | java -jar /PATH/JFastText/target/jfasttext-0.4-SNAPSHOT-jar-with-dependencies.jar print-word-vectors ../models/cbow.model.bin > queries.txt
Is there something wrong with the number of parameters on JFastText implementation ?
The text was updated successfully, but these errors were encountered:
I believe the runCmd() method passes arguments to fasttext. The last two arguments you're trying to use ("<" and "src/test/resources/data/queries.txt") are shell parameters, not fasttext parameters.
I could not be able to test print-word-vectors command. While the original is
./fasttext print-word-vectors model.bin < queries.txt
, according to JFastText documentation it should be something like:I checked the compiled version and the command receives 3 arguments. The same command works using linux terminal:
cat queries.txt | java -jar /PATH/JFastText/target/jfasttext-0.4-SNAPSHOT-jar-with-dependencies.jar print-word-vectors ../models/cbow.model.bin > queries.txt
Is there something wrong with the number of parameters on JFastText implementation ?
The text was updated successfully, but these errors were encountered: