Skip to content

Commit

Permalink
Add a note about make_serializable argument
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnGiorgi authored Jun 25, 2023
1 parent a5276f1 commit 6aabe58
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@ for abrv in doc._.abbreviations:
>>> SBMA (6, 7) Spinal and bulbar muscular atrophy
>>> AR (29, 30) androgen receptor
```
> **Note**
> If you want to be able to [serialize your `doc` objects](https://spacy.io/usage/saving-loading), load the abbreviation detector with `make_serializable=True`, e.g. `nlp.add_pipe("abbreviation_detector", config={"make_serializable": True})`
### EntityLinker
The `EntityLinker` is a SpaCy component which performs linking to a knowledge base. The linker simply performs
Expand Down

0 comments on commit 6aabe58

Please sign in to comment.