Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
add google sample
  • Loading branch information
johndpope authored Dec 22, 2016
1 parent 6239b2c commit 5cfd092
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,12 @@ pip2 install -r requirements.txt
* Launching the service
```
python word2vec-api --model path/to/the/model [--host host --port 1234]
or
python word2vec-api.py --model /path/to/GoogleNews-vectors-negative300.bin --binary BINARY --path /algorithm --host 0.0.0.0 --port 5000
```



* Example calls
```
curl http://127.0.0.1:5000/word2vec/n_similarity?ws1=Sushi&ws1=Shop&ws2=Japanese&ws2=Restaurant
Expand Down

0 comments on commit 5cfd092

Please sign in to comment.