mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 01:46:28 +03:00
Correct documentation of '+' and '*' ops
This commit is contained in:
parent
d55992bdf0
commit
daefed0a34
|
@ -161,11 +161,7 @@ p
|
||||||
|
|
||||||
p
|
p
|
||||||
| The #[code +] and #[code *] operators are usually interpretted
|
| The #[code +] and #[code *] operators are usually interpretted
|
||||||
| "greedily", i.e. longer matches are returned where possible. However, if
|
| "greedily", i.e. longer matches are returned where possible.
|
||||||
| you specify two #[code +] and #[code *] patterns in a row and their
|
|
||||||
| matches overlap, the first operator will behave non-greedily. This quirk
|
|
||||||
| in the semantics makes the matcher more efficient, by avoiding the need
|
|
||||||
| for back-tracking.
|
|
||||||
|
|
||||||
+h(3, "adding-phrase-patterns") Adding phrase patterns
|
+h(3, "adding-phrase-patterns") Adding phrase patterns
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user