From deccf7f2b550c34006fa447c4e36485d2efcb03d Mon Sep 17 00:00:00 2001 From: Edward <43848523+thomashacker@users.noreply.github.com> Date: Thu, 19 Jan 2023 11:09:03 +0100 Subject: [PATCH] Update website/docs/usage/saving-loading.mdx Co-authored-by: Adriane Boyd --- website/docs/usage/saving-loading.mdx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/website/docs/usage/saving-loading.mdx b/website/docs/usage/saving-loading.mdx index e91cc2a72..a07f469d4 100644 --- a/website/docs/usage/saving-loading.mdx +++ b/website/docs/usage/saving-loading.mdx @@ -308,7 +308,8 @@ installed in the same environment – that's it. You can load a probability table from [spacy-lookups-data](https://github.com/explosion/spacy-lookups-data) into an existing spaCy model like `en_core_web_sm`. -```python {title="load_table.py"} +```python +# Requirements: pip install spacy-lookups-data import spacy from spacy.lookups import load_lookups nlp = spacy.load("en_core_web_sm")