Skip to content

Commit

Permalink
Merge pull request #484 from JohnGiorgi/patch-1
Browse files Browse the repository at this point in the history
Add a note about make_serializable argument
  • Loading branch information
dakinggg authored Aug 16, 2023
2 parents a5276f1 + 6aabe58 commit 2081f77
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 2081f77

Please sign in to comment.