mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-24 17:06:29 +03:00
parent
9cf965c260
commit
1137420840
|
@ -1303,7 +1303,7 @@ with doc.retokenize() as retokenizer:
|
|||
### Overwriting custom extension attributes {#retokenization-extensions}
|
||||
|
||||
If you've registered custom
|
||||
[extension attributes](/usage/processing-pipelines##custom-components-attributes),
|
||||
[extension attributes](/usage/processing-pipelines#custom-components-attributes),
|
||||
you can overwrite them during tokenization by providing a dictionary of
|
||||
attribute names mapped to new values as the `"_"` key in the `attrs`. For
|
||||
merging, you need to provide one dictionary of attributes for the resulting
|
||||
|
|
|
@ -641,7 +641,7 @@
|
|||
"tags": ["chatbots"]
|
||||
},
|
||||
{
|
||||
"id": "tochtext",
|
||||
"id": "torchtext",
|
||||
"title": "torchtext",
|
||||
"slogan": "Data loaders and abstractions for text and NLP",
|
||||
"github": "pytorch/text",
|
||||
|
|
Loading…
Reference in New Issue
Block a user