mirror of https://github.com/explosion/spaCy.git
Add docs on collapse_punct option
This commit is contained in:
parent
98354be150
commit
d7244ae72d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue