From 80f022c12960db834d95ff0de667e000a1bec9ae Mon Sep 17 00:00:00 2001 From: Adam Leskis Date: Wed, 26 Feb 2020 06:09:11 +0000 Subject: [PATCH] fix simple typos --- README.md | 2 +- docker/README.md | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 803ba26d..baca9720 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ to specify the input language (but tokenization is language specific). According to our experience, the sentence encoder also supports code-switching, i.e. the same sentences can contain words in several different languages. -We have also some evidence that the encoder can generalizes to other +We have also some evidence that the encoder can generalize to other languages which have not been seen during training, but which are in a language family which is covered by other languages. diff --git a/docker/README.md b/docker/README.md index 57e18c82..a25945c0 100644 --- a/docker/README.md +++ b/docker/README.md @@ -1,13 +1,13 @@ ## Docker -An image docker has been created to help you with the settings of an environment here are the step to follow : +A docker image has been created to help you with the settings of an environment. Here are the steps to follow: -* Open a command prompt on the root of your LASER project +* Open a command prompt in the root of your LASER project * Execute the command `docker build --tag=laser docker` * Once the image is built run `docker run -it laser` A REST server on top of the embed task is under developement, -to run it you'll have to expose a local port [CHANGEME_LOCAL_PORT] by executing the next line instead of the last command. It'll overinde the command line entrypoint of your docker container. +to run it you'll have to expose a local port [CHANGEME_LOCAL_PORT] by executing the next line instead of the last command. It'll override the command line entrypoint of your docker container. * `docker run -p [CHANGEME_LOCAL_PORT]:80 -it laser python app.py` @@ -24,4 +24,4 @@ url = "http://127.0.0.1:[CHANGEME_LOCAL_PORT]/vectorize" params = {"q": "Hey, how are you?\nI'm OK and you?", "lang": "en"} resp = requests.get(url=url, params=params).json() print(resp["embedding"]) -``` \ No newline at end of file +```