mirror of https://github.com/explosion/spaCy.git
Docs: bufsize instead of buffsize (#4247)
This commit is contained in:
parent
6b012cebff
commit
53a9ca45c9
|
@ -639,7 +639,7 @@ Yield an infinite series of linearly decaying values.
|
||||||
|
|
||||||
Shuffle an iterator. This works by holding `bufsize` items back and yielding
|
Shuffle an iterator. This works by holding `bufsize` items back and yielding
|
||||||
them sometime later. Obviously, this is not unbiased – but should be good enough
|
them sometime later. Obviously, this is not unbiased – but should be good enough
|
||||||
for batching. Larger `buffsize` means less bias.
|
for batching. Larger `bufsize` means less bias.
|
||||||
|
|
||||||
> #### Example
|
> #### Example
|
||||||
>
|
>
|
||||||
|
@ -649,9 +649,9 @@ for batching. Larger `buffsize` means less bias.
|
||||||
> ```
|
> ```
|
||||||
|
|
||||||
| Name | Type | Description |
|
| Name | Type | Description |
|
||||||
| ---------- | -------- | ---------------------- |
|
| ---------- | -------- | ------------------------------------- |
|
||||||
| `iterable` | iterable | Iterator to shuffle. |
|
| `iterable` | iterable | Iterator to shuffle. |
|
||||||
| `buffsize` | int | Items to hold back. |
|
| `bufsize` | int | Items to hold back (default: 1000). |
|
||||||
| **YIELDS** | iterable | The shuffled iterator. |
|
| **YIELDS** | iterable | The shuffled iterator. |
|
||||||
|
|
||||||
### util.filter_spans {#util.filter_spans tag="function" new="2.1.4"}
|
### util.filter_spans {#util.filter_spans tag="function" new="2.1.4"}
|
||||||
|
|
Loading…
Reference in New Issue