From 0f5fbdae2115de73aec86c13feecdc9bf4af2420 Mon Sep 17 00:00:00 2001 From: svlandeg Date: Thu, 19 Oct 2023 16:54:10 +0200 Subject: [PATCH] prettier --- website/docs/usage/linguistic-features.mdx | 88 ++++++++++++++++++++-- 1 file changed, 82 insertions(+), 6 deletions(-) diff --git a/website/docs/usage/linguistic-features.mdx b/website/docs/usage/linguistic-features.mdx index d611678cb..30f1b49e6 100644 --- a/website/docs/usage/linguistic-features.mdx +++ b/website/docs/usage/linguistic-features.mdx @@ -290,10 +290,7 @@ for token in doc: | toward | `prep` | shift | `NOUN` | manufacturers | | manufacturers | `pobj` | toward | `ADP` | | - + Because the syntactic relations form a tree, every word has **exactly one head**. You can therefore iterate over the arcs in the tree by iterating over @@ -709,7 +706,85 @@ displacy.serve(doc, style="ent") ``` -
When Sebastian Thrun PERSON started working on self-driving cars at Google ORG in 2007 DATE, few people outside of the company took him seriously.
+
+ When{' '} + + Sebastian Thrun{' '} + + PERSON + + {' '} + started working on self-driving cars at{' '} + + Google{' '} + + ORG + + {' '} + in{' '} + + 2007{' '} + + DATE + + + , few people outside of the company took him seriously. +
## Entity Linking {id="entity-linking"} @@ -721,7 +796,8 @@ identifier from a knowledge base (KB). You can create your own [`EntityLinker`](/api/entitylinker) using that custom knowledge base. As an example on how to define a KnowledgeBase and train an entity linker model, -see this [`this tutorial`](https://github.com/explosion/projects/blob/v3/tutorials/nel_emerson) +see this +[`this tutorial`](https://github.com/explosion/projects/blob/v3/tutorials/nel_emerson) using [spaCy projects](/usage/projects). ### Accessing entity identifiers {id="entity-linking-accessing",model="entity linking"}