Merge pull request #8477 from themrmax/patch-1 [ci skip]

Fix broken link
This commit is contained in:
Ines Montani 2021-06-23 10:41:22 +10:00 committed by GitHub
commit ed1ba13439
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1248,7 +1248,7 @@ hyperparameters, pipeline and tokenizer used for constructing and training the
pipeline. The `[nlp.tokenizer]` block refers to a **registered function** that pipeline. The `[nlp.tokenizer]` block refers to a **registered function** that
takes the `nlp` object and returns a tokenizer. Here, we're registering a takes the `nlp` object and returns a tokenizer. Here, we're registering a
function called `whitespace_tokenizer` in the function called `whitespace_tokenizer` in the
[`@tokenizers` registry](/api/registry). To make sure spaCy knows how to [`@tokenizers` registry](/api/top-level#registry). To make sure spaCy knows how to
construct your tokenizer during training, you can pass in your Python file by construct your tokenizer during training, you can pass in your Python file by
setting `--code functions.py` when you run [`spacy train`](/api/cli#train). setting `--code functions.py` when you run [`spacy train`](/api/cli#train).