From 6aaf575488ee038a3bd6282f3f427c7a5b5fb2e0 Mon Sep 17 00:00:00 2001 From: richardpaulhudson Date: Thu, 26 Jan 2023 20:46:35 +0100 Subject: [PATCH] Improve example --- website/docs/api/doc.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/docs/api/doc.mdx b/website/docs/api/doc.mdx index 30d78d958..2a4c5b88d 100644 --- a/website/docs/api/doc.mdx +++ b/website/docs/api/doc.mdx @@ -535,8 +535,8 @@ is displayed. > doc = nlp("All we have to decide is what to do with the time that is given us. Nobody knows how much time that is.") > doc.inspect() > doc.inspect("lemma_", "give") -> doc.inspect("lemma_", "time", start_i=18) -> doc.inspect("lemma_", "time", length=20) +> doc.inspect("text", "time", start_i=18) +> doc.inspect("text", "time", length=20) > ``` | Name | Description |