mirror of
https://github.com/explosion/spaCy.git
synced 2025-05-29 18:23:06 +03:00
DOC: Update tokenizer docs to include default value for batch_size in pipe (#3492)
This commit is contained in:
parent
9e14b2b69f
commit
1db3e47509
|
@ -131,6 +131,7 @@ cdef class Tokenizer:
|
||||||
|
|
||||||
texts: A sequence of unicode texts.
|
texts: A sequence of unicode texts.
|
||||||
batch_size (int): Number of texts to accumulate in an internal buffer.
|
batch_size (int): Number of texts to accumulate in an internal buffer.
|
||||||
|
Defaults to 1000.
|
||||||
YIELDS (Doc): A sequence of Doc objects, in order.
|
YIELDS (Doc): A sequence of Doc objects, in order.
|
||||||
|
|
||||||
DOCS: https://spacy.io/api/tokenizer#pipe
|
DOCS: https://spacy.io/api/tokenizer#pipe
|
||||||
|
|
|
@ -64,7 +64,7 @@ Tokenize a stream of texts.
|
||||||
| Name | Type | Description |
|
| Name | Type | Description |
|
||||||
| ------------ | ----- | -------------------------------------------------------- |
|
| ------------ | ----- | -------------------------------------------------------- |
|
||||||
| `texts` | - | A sequence of unicode texts. |
|
| `texts` | - | A sequence of unicode texts. |
|
||||||
| `batch_size` | int | The number of texts to accumulate in an internal buffer. |
|
| `batch_size` | int | The number of texts to accumulate in an internal buffer. Defaults to `1000`.|
|
||||||
| **YIELDS** | `Doc` | A sequence of Doc objects, in order. |
|
| **YIELDS** | `Doc` | A sequence of Doc objects, in order. |
|
||||||
|
|
||||||
## Tokenizer.find_infix {#find_infix tag="method"}
|
## Tokenizer.find_infix {#find_infix tag="method"}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user