mirror of https://github.com/explosion/spaCy.git
Fix argument type in PhraseMatcher.add docs (closes #4496) [ci skip]
This commit is contained in:
parent
3ee15fce0d
commit
4659435573
|
@ -151,7 +151,7 @@ overwritten.
|
||||||
| ---------- | ------------------ | --------------------------------------------------------------------------------------------- |
|
| ---------- | ------------------ | --------------------------------------------------------------------------------------------- |
|
||||||
| `match_id` | unicode | An ID for the thing you're matching. |
|
| `match_id` | unicode | An ID for the thing you're matching. |
|
||||||
| `on_match` | callable or `None` | Callback function to act on matches. Takes the arguments `matcher`, `doc`, `i` and `matches`. |
|
| `on_match` | callable or `None` | Callback function to act on matches. Takes the arguments `matcher`, `doc`, `i` and `matches`. |
|
||||||
| `*docs` | list | `Doc` objects of the phrases to match. |
|
| `*docs` | `Doc` | `Doc` objects of the phrases to match. |
|
||||||
|
|
||||||
## PhraseMatcher.remove {#remove tag="method" new="2.2"}
|
## PhraseMatcher.remove {#remove tag="method" new="2.2"}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue