From bbda5f9d90cd03944aa3cd8e042e426bc1d4418e Mon Sep 17 00:00:00 2001 From: Adriane Boyd Date: Mon, 7 Nov 2022 14:43:02 +0100 Subject: [PATCH] Update docs --- website/docs/api/cli.md | 11 +++++------ website/docs/usage/projects.md | 14 +++++++------- 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/website/docs/api/cli.md b/website/docs/api/cli.md index fc2c46022..89f4d35bd 100644 --- a/website/docs/api/cli.md +++ b/website/docs/api/cli.md @@ -474,8 +474,7 @@ report span characteristics such as the average span length and the span (or span boundary) distinctiveness. The distinctiveness measure shows how different the tokens are with respect to the rest of the corpus using the KL-divergence of the token distributions. To learn more, you can check out Papay et al.'s work on -[*Dissecting Span Identification Tasks with Performance Prediction* (EMNLP -2020)](https://aclanthology.org/2020.emnlp-main.396/). +[_Dissecting Span Identification Tasks with Performance Prediction_ (EMNLP 2020)](https://aclanthology.org/2020.emnlp-main.396/). @@ -1353,11 +1352,11 @@ obsolete files is left up to you. Remotes can be defined in the `remotes` section of the [`project.yml`](/usage/projects#project-yml). Under the hood, spaCy uses the -[`smart-open`](https://github.com/RaRe-Technologies/smart_open) library to +[`cloudpathlib`](https://github.com/drivendataorg/cloudpathlib/) library to communicate with the remote storages, so you can use any protocol that -`smart-open` supports, including [S3](https://aws.amazon.com/s3/), -[Google Cloud Storage](https://cloud.google.com/storage), SSH and more, although -you may need to install extra dependencies to use certain protocols. +`cloudpathlib` supports, including [S3](https://aws.amazon.com/s3/), +[Google Cloud Storage](https://cloud.google.com/storage) and more, although you +may need to install extra dependencies to use certain protocols. ```cli $ python -m spacy project push [remote] [project_dir] diff --git a/website/docs/usage/projects.md b/website/docs/usage/projects.md index 90b612358..a656644b5 100644 --- a/website/docs/usage/projects.md +++ b/website/docs/usage/projects.md @@ -259,9 +259,9 @@ pipelines. > This can be used in a project command like so: > > ```yaml -> - name: "echo-path" -> script: -> - "echo ${env.ENV_PATH}" +> - name: 'echo-path' +> script: +> - 'echo ${env.ENV_PATH}' > ``` | Section | Description | @@ -644,11 +644,11 @@ locally. You can list one or more remotes in the `remotes` section of your [`project.yml`](#project-yml) by mapping a string name to the URL of the storage. Under the hood, spaCy uses the -[`smart-open`](https://github.com/RaRe-Technologies/smart_open) library to +[`cloudpathlib`](https://github.com/drivendataorg/cloudpathlib/) library to communicate with the remote storages, so you can use any protocol that -`smart-open` supports, including [S3](https://aws.amazon.com/s3/), -[Google Cloud Storage](https://cloud.google.com/storage), SSH and more, although -you may need to install extra dependencies to use certain protocols. +`cloudpathlib` supports, including [S3](https://aws.amazon.com/s3/), +[Google Cloud Storage](https://cloud.google.com/storage) and more, although you +may need to install extra dependencies to use certain protocols. > #### Example >