From f377c483e4caad212187e516d8aa121d8f957b50 Mon Sep 17 00:00:00 2001 From: ines Date: Wed, 7 Feb 2018 01:08:42 +0100 Subject: [PATCH] Add note on manual entity order in displaCy [ci skip] --- website/usage/_visualizers/_html.jade | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/website/usage/_visualizers/_html.jade b/website/usage/_visualizers/_html.jade index 648a6de80..e95b3527a 100644 --- a/website/usage/_visualizers/_html.jade +++ b/website/usage/_visualizers/_html.jade @@ -74,7 +74,8 @@ p | #[+a("https://github.com/tensorflow/models/tree/master/research/syntaxnet") SyntaxNet]. | Simply convert the dependency parse or recognised entities to displaCy's | format and set #[code manual=True] on either #[code render()] or - | #[code serve()]. + | #[code serve()]. When setting #[code ents] manually, make sure to supply + | them in the right order, i.e. starting with the lowest start position. +aside-code("Example"). ex = [{'text': 'But Google is starting from behind.',