mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-04 12:20:20 +03:00
small backslash fixes
This commit is contained in:
parent
1bae1f9f60
commit
6364d59b02
|
@ -126,7 +126,7 @@ file.
|
|||
{"text": "My cynical view on this is that it will never be free to the public. Reason: what would be the draw of joining the military? Right now their selling point is free Healthcare and Education. Ironically both are run horribly and most, that I've talked to, come out wishing they never went in."}
|
||||
```
|
||||
|
||||
### JsonlCorpus.\_\init\_\_ {id="jsonlcorpus",tag="method"}
|
||||
### JsonlCorpus.\_\_init\_\_ {id="jsonlcorpus",tag="method"}
|
||||
|
||||
Initialize the reader.
|
||||
|
||||
|
|
|
@ -104,7 +104,7 @@ Create a `DependencyMatcher`.
|
|||
| _keyword-only_ | |
|
||||
| `validate` | Validate all patterns added to this matcher. ~~bool~~ |
|
||||
|
||||
## DependencyMatcher.\_\call\_\_ {id="call",tag="method"}
|
||||
## DependencyMatcher.\_\_call\_\_ {id="call",tag="method"}
|
||||
|
||||
Find all tokens matching the supplied patterns on the `Doc` or `Span`.
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@ Create a `DocBin` object to hold serialized annotations.
|
|||
| `store_user_data` | Whether to write the `Doc.user_data` and the values of custom extension attributes to file/bytes. Defaults to `False`. ~~bool~~ |
|
||||
| `docs` | `Doc` objects to add on initialization. ~~Iterable[Doc]~~ |
|
||||
|
||||
## DocBin.\_\len\_\_ {id="len",tag="method"}
|
||||
## DocBin.\_\_len\_\_ {id="len",tag="method"}
|
||||
|
||||
Get the number of `Doc` objects that were added to the `DocBin`.
|
||||
|
||||
|
|
|
@ -128,7 +128,7 @@ config.
|
|||
| `nlp` | The current `nlp` object. Defaults to `None`. ~~Optional[Language]~~ |
|
||||
| `patterns` | The list of patterns. Defaults to `None`. ~~Optional[Sequence[Dict[str, Union[str, List[Dict[str, Any]]]]]]~~ |
|
||||
|
||||
## EntityRuler.\_\len\_\_ {id="len",tag="method"}
|
||||
## EntityRuler.\_\_len\_\_ {id="len",tag="method"}
|
||||
|
||||
The number of all patterns added to the entity ruler.
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@ Get the current number of tables in the lookups.
|
|||
| ----------- | -------------------------------------------- |
|
||||
| **RETURNS** | The number of tables in the lookups. ~~int~~ |
|
||||
|
||||
## Lookups.\_\contains\_\_ {id="contains",tag="method"}
|
||||
## Lookups.\_\_contains\_\_ {id="contains",tag="method"}
|
||||
|
||||
Check if the lookups contain a table of a given name. Delegates to
|
||||
[`Lookups.has_table`](/api/lookups#has_table).
|
||||
|
|
|
@ -125,7 +125,7 @@ config. Any existing patterns are removed on initialization.
|
|||
| `nlp` | The current `nlp` object. Defaults to `None`. ~~Optional[Language]~~ |
|
||||
| `patterns` | The list of patterns. Defaults to `None`. ~~Optional[Sequence[Dict[str, Union[str, List[Dict[str, Any]]]]]]~~ |
|
||||
|
||||
## SpanRuler.\_\len\_\_ {id="len",tag="method"}
|
||||
## SpanRuler.\_\_len\_\_ {id="len",tag="method"}
|
||||
|
||||
The number of all patterns added to the span ruler.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user