Comments (4)
Did you get any chance to implement this functionality ?
from jfasttext.
How can you use nn command for specific word? i'm trying something like:
`public void printSimilars(String x) {
jft.runCmd(new String[] {
String.format("echo %s |", x),
"nn",
MODEL_BIN,
});
}`
to get 10 similar words for a given word in model.
I get this error: "usage: fasttext
The commands supported by fasttext are:
Thanks in advance.
from jfasttext.
Bump - can this please be added? Shouldn't be too hard as most other functions are supported and this is a pretty important one
from jfasttext.
Similar issue I have created in one of forked repo, hope it gives some idea.
If anyone interested, we can work on this to bring it as Java APIs.
from jfasttext.
Related Issues (20)
- Cannot rebuilt jfasttext wrapper with Fasttext version 0.1.0 HOT 2
- This project has a bug that bothers me for many days
- How to build for multiple platforms?
- Dimension of pretrained vectors does not match -dim option HOT 1
- ERROR
- Model file has wrong file format!
- print-word-vectors command does not work HOT 1
- error C2664: cannot convert parameter from "std::istringstream" to "int32_t"
- JVM crashed when load model on Ubuntu HOT 2
- Different results from command line tool HOT 3
- Support for test-label command
- Is the Fasttext dump supported in this wrapper ?
- the prediction is not same as predicted using official c++ HOT 2
- fastText ver 0.9.1 released HOT 1
- Perform unit test on JFastText
- Model file's format is not compatible with this JFastText version!
- Unable to build using mvn
- do not support get sentence vector HOT 1
- Error when building on Mac OS 10.15
- loading gensim fasttext with JFastText
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jfasttext.