Add docs on collapse_punct option

This commit is contained in:
ines 2017-05-15 13:51:33 +02:00
parent 98354be150
commit d7244ae72d

View File

@ -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