mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-04 11:53:09 +03:00
Merge branch 'master' of https://github.com/explosion/spaCy
This commit is contained in:
commit
c9eeceba00
|
@ -327,6 +327,7 @@ p The L2 norm of the lexeme's vector representation.
|
||||||
|
|
||||||
+row
|
+row
|
||||||
+cell #[code is_currency]
|
+cell #[code is_currency]
|
||||||
|
+tag-new("2.0.8")
|
||||||
+cell bool
|
+cell bool
|
||||||
+cell Is the lexeme a currency symbol?
|
+cell Is the lexeme a currency symbol?
|
||||||
|
|
||||||
|
|
|
@ -111,6 +111,25 @@ p Match a stream of documents, yielding them in turn.
|
||||||
| parallel, if the #[code Matcher] implementation supports
|
| parallel, if the #[code Matcher] implementation supports
|
||||||
| multi-threading.
|
| multi-threading.
|
||||||
|
|
||||||
|
+row
|
||||||
|
+cell #[code return_matches]
|
||||||
|
+tag-new(2.1)
|
||||||
|
+cell bool
|
||||||
|
+cell
|
||||||
|
| Yield the match lists along with the docs, making results
|
||||||
|
| #[code (doc, matches)] tuples.
|
||||||
|
|
||||||
|
+row
|
||||||
|
+cell #[code as_tuples]
|
||||||
|
+tag-new(2.1)
|
||||||
|
+cell bool
|
||||||
|
+cell
|
||||||
|
| Interpret the input stream as #[code (doc, context)] tuples, and
|
||||||
|
| yield #[code (result, context)] tuples out. If both
|
||||||
|
| #[code return_matches] and #[code as_tuples] are #[code True],
|
||||||
|
| the output will be a sequence of
|
||||||
|
| #[code ((doc, matches), context)] tuples.
|
||||||
|
|
||||||
+row("foot")
|
+row("foot")
|
||||||
+cell yields
|
+cell yields
|
||||||
+cell #[code Doc]
|
+cell #[code Doc]
|
||||||
|
|
|
@ -742,6 +742,7 @@ p The L2 norm of the token's vector representation.
|
||||||
|
|
||||||
+row
|
+row
|
||||||
+cell #[code is_currency]
|
+cell #[code is_currency]
|
||||||
|
+tag-new("2.0.8")
|
||||||
+cell bool
|
+cell bool
|
||||||
+cell Is the token a currency symbol?
|
+cell Is the token a currency symbol?
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user