Update doc.md

This commit is contained in:
Ines Montani 2020-07-06 18:17:00 +02:00
parent 44790c1c32
commit 44da24ddd0

View File

@ -31,9 +31,8 @@ Construct a `Doc` object. The most common way to get a `Doc` object is via the
> ```
| Name | Type | Description |
| -------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| ----------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `vocab` | `Vocab` | A storage container for lexical types. |
| _keyword-only_ | | |
| `words` | iterable | A list of strings to add to the container. |
| `spaces` | iterable | A list of boolean values indicating whether each word has a subsequent space. Must have the same length as `words`, if specified. Defaults to a sequence of `True`. |
| **RETURNS** | `Doc` | The newly constructed object. |