mirror of
https://github.com/explosion/spaCy.git
synced 2025-05-30 18:53:36 +03:00
Fix v3 overview [ci skip]
This commit is contained in:
parent
1c4df8fd09
commit
019a1dd5e8
|
@ -433,7 +433,7 @@ The following methods, attributes and commands are new in spaCy v3.0.
|
||||||
| Name | Description |
|
| Name | Description |
|
||||||
| ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
| ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
||||||
| [`Token.lex`](/api/token#attributes) | Access a token's [`Lexeme`](/api/lexeme). |
|
| [`Token.lex`](/api/token#attributes) | Access a token's [`Lexeme`](/api/lexeme). |
|
||||||
| [`Token.morph`](/api/token#attributes), [`Token.morph_`](/api/token#attributes) | Access a token's morphological analysis. |
|
| [`Token.morph`](/api/token#attributes) | Access a token's morphological analysis. |
|
||||||
| [`Doc.has_annotation`](/api/doc#has_annotation) | Check whether a doc has annotation on a token attribute. |
|
| [`Doc.has_annotation`](/api/doc#has_annotation) | Check whether a doc has annotation on a token attribute. |
|
||||||
| [`Language.select_pipes`](/api/language#select_pipes) | Context manager for enabling or disabling specific pipeline components for a block. |
|
| [`Language.select_pipes`](/api/language#select_pipes) | Context manager for enabling or disabling specific pipeline components for a block. |
|
||||||
| [`Language.disable_pipe`](/api/language#disable_pipe), [`Language.enable_pipe`](/api/language#enable_pipe) | Disable or enable a loaded pipeline component (but don't remove it). |
|
| [`Language.disable_pipe`](/api/language#disable_pipe), [`Language.enable_pipe`](/api/language#enable_pipe) | Disable or enable a loaded pipeline component (but don't remove it). |
|
||||||
|
@ -1032,9 +1032,9 @@ change your names and imports:
|
||||||
Thanks to everyone who's been contributing to the spaCy ecosystem by developing
|
Thanks to everyone who's been contributing to the spaCy ecosystem by developing
|
||||||
and maintaining one of the many awesome [plugins and extensions](/universe).
|
and maintaining one of the many awesome [plugins and extensions](/universe).
|
||||||
We've tried to make it as easy as possible for you to upgrade your packages for
|
We've tried to make it as easy as possible for you to upgrade your packages for
|
||||||
spaCy v3.0. The most common use case for plugins is providing pipeline components
|
spaCy v3.0. The most common use case for plugins is providing pipeline
|
||||||
and extension attributes. When migrating your plugin, double-check the
|
components and extension attributes. When migrating your plugin, double-check
|
||||||
following:
|
the following:
|
||||||
|
|
||||||
- Use the [`@Language.factory`](/api/language#factory) decorator to register
|
- Use the [`@Language.factory`](/api/language#factory) decorator to register
|
||||||
your component and assign it a name. This allows users to refer to your
|
your component and assign it a name. This allows users to refer to your
|
||||||
|
|
Loading…
Reference in New Issue
Block a user