mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-03 03:13:08 +03:00
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)
|
displacy.serve(doc, style='dep', options=options)
|
||||||
|
|
||||||
+table(["Name", "Type", "Description", "Default"])
|
+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
|
+row
|
||||||
+cell #[code compact]
|
+cell #[code compact]
|
||||||
+cell bool
|
+cell bool
|
||||||
|
|
Loading…
Reference in New Issue
Block a user