mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-13 10:46:29 +03:00
Fix broken link
change /api/registry to /api/top-level#registry
This commit is contained in:
parent
31504f5982
commit
d96c422cfc
|
@ -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).
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user