mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-12 10:16:27 +03:00
Revert docs to default JSON output with convert
This commit is contained in:
parent
54bb981784
commit
6b78c048f1
|
@ -155,20 +155,13 @@ $ python -m spacy convert [input_file] [output_dir] [--file-type] [--converter]
|
||||||
|
|
||||||
### Output file types {new="2.1"}
|
### Output file types {new="2.1"}
|
||||||
|
|
||||||
> #### Which format should I choose?
|
|
||||||
>
|
|
||||||
> If you're not sure, go with the default `jsonl`. Newline-delimited JSON means
|
|
||||||
> that there's one JSON object per line. Unlike a regular JSON file, it can also
|
|
||||||
> be read in line-by-line and you won't have to parse the _entire file_ first.
|
|
||||||
> This makes it a very convenient format for larger corpora.
|
|
||||||
|
|
||||||
All output files generated by this command are compatible with
|
All output files generated by this command are compatible with
|
||||||
[`spacy train`](/api/cli#train).
|
[`spacy train`](/api/cli#train).
|
||||||
|
|
||||||
| ID | Description |
|
| ID | Description |
|
||||||
| ------- | --------------------------------- |
|
| ------- | -------------------------- |
|
||||||
| `jsonl` | Newline-delimited JSON (default). |
|
| `json` | Regular JSON (default). |
|
||||||
| `json` | Regular JSON. |
|
| `jsonl` | Newline-delimited JSON. |
|
||||||
| `msg` | Binary MessagePack format. |
|
| `msg` | Binary MessagePack format. |
|
||||||
|
|
||||||
### Converter options
|
### Converter options
|
||||||
|
|
Loading…
Reference in New Issue
Block a user