mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 09:26:27 +03:00
add type
This commit is contained in:
parent
94929c2b98
commit
7cda5605a0
|
@ -544,7 +544,7 @@ label sets.
|
|||
| ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `path` | The path to the labels file generated with [`init labels`](/api/cli#init-labels). ~~Path~~ |
|
||||
| `require` | Whether to require the file to exist. If set to `False` and the labels file doesn't exist, the loader will return `None` and the `initialize` method will extract the labels from the data. Defaults to `False`. ~~bool~~ |
|
||||
| **CREATES** | The list of labels |
|
||||
| **CREATES** | The list of labels. ~~List[str]~~ |
|
||||
|
||||
### Corpus readers {#corpus-readers source="spacy/training/corpus.py" new="3"}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user