From d7244ae72d4402afb1c79550afc9d96fed6a1607 Mon Sep 17 00:00:00 2001 From: ines Date: Mon, 15 May 2017 13:51:33 +0200 Subject: [PATCH] Add docs on collapse_punct option --- website/docs/api/displacy.jade | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/website/docs/api/displacy.jade b/website/docs/api/displacy.jade index bcdde6bd0..92b1543fd 100644 --- a/website/docs/api/displacy.jade +++ b/website/docs/api/displacy.jade @@ -131,6 +131,14 @@ p displacy.serve(doc, style='dep', options=options) +table(["Name", "Type", "Description", "Default"]) + +row + +cell #[code collapse_punct] + +cell bool + +cell + | Attach punctuation to tokens. Can make the parse more readable, + | as it prevents long arcs to attach punctuation. + +cell #[code True] + +row +cell #[code compact] +cell bool