diff --git a/README.md b/README.md index 76365a0..29d1927 100644 --- a/README.md +++ b/README.md @@ -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