Comments (17)
Hey @LemonAndroid, we can't fix this without steps to reproduce the bug. Please include them and we will look into it π.
from cli.
from cli.
I'm sorry? I don't understand.
from cli.
from cli.
from cli.
I'm sorry, there's not enough information here for our team to reliably reproduce a bug. If you can give a description of the bug and the exact steps (i.e. a minimal example) to recreate it ourselves we can certainly help. This includes a list of steps for us to follow and / or example code that will generate the bug you're encountering, including expected output and actual (buggy) output.
@notoriaga and / or @jacoblee93 will be able to fix it from there. πThanks!
from cli.
from cli.
It seems to work fine for me: http://jacoblee.lib.id/word2vec@dev/?word=test
Is there something else you're expecting here?
from cli.
from cli.
Oh, I just reread your comment and you tried uploading your code from code.stdlib.com. Yes, I'm seeing Could not find vector for word test
, is this what you're seeing?
If you just need to get unblocked for now, I tried successfully from the CLI first.
from cli.
from cli.
Odd. Here's the working code I deployed with the CLI:
const word2vec = require('word2vec-pure-js');
/**
* A simple "hello world" function
*/
module.exports = async (word = 'test') => {
word2vec.load('./test-text8-vector.bin');
let result = word2vec.getSimilarWords(word);
return result;
};
The output is: ["testing","tests","stoppage","tested","upshot","termination","piggyback","primality","flight","standby"]
(https://jacoblee.lib.id/word2vec@dev/)
And I'm using "word2vec-pure-js": "0.0.2"
Is this the way you expect it to be used?
from cli.
I just tried the above successfully on code.stdlib.com as well, I think I may have had a typo in my initial attempt, especially if the error I was getting was different from what you're seeing.
from cli.
from cli.
from cli.
from cli.
from cli.
Related Issues (20)
- 'Bad Request: could not update cache' HOT 2
- Using stdlib behind corporate proxy HOT 4
- pulling(lib get) my service causing error HOT 12
- Error running lib . after lib get HOT 3
- Specify request method in CLI HOT 2
- Publish key in package.json should be set to false by default HOT 4
- Can't publish my lib HOT 2
- HTTP POST request on stdlib function returns ParameterError HOT 6
- lib up dev throws "access token is invalid" error HOT 2
- Calling slack Webhooks on external event HOT 2
- Permission to send an SMS has not been enabled for the region indicated by the 'To' number HOT 7
- Creating service from existing dev release of own account HOT 2
- Deployment fails with a specific npm package
- ValidateSamFile
- User must restart the init process if the password is wrong HOT 3
- Use a development resource in a release (production)
- Link New Development Resource - Twitch Account Fails
- undefined@undefined when downloading
- Request for Custom Icons for Discord, Twitter, and GitHub
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 cli.