mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-26 17:24:41 +03:00
Minor updates to quickstart settings/instructions (#7965)
* Minor updates to quickstart settings/instructions * set default value of textcat exclusive to `false` until the default checkbox behavior is updated * add the `morphologizer` to the list of components * add a note that v3.0.6+ is required * Switch to warning above quickstart * Undo changes to textcat default in quickstart Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com> Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
This commit is contained in:
parent
2c545c4c5b
commit
6baab565eb
|
@ -45,6 +45,14 @@ you generate a starter config with the **recommended settings** for your
|
|||
specific use case. It's also available in spaCy as the
|
||||
[`init config`](/api/cli#init-config) command.
|
||||
|
||||
<Infobox variant="warning">
|
||||
|
||||
Upgrade to the [latest version of spaCy](/usage) to use the quickstart widget.
|
||||
For earlier releases, follow the CLI instructions to generate a compatible
|
||||
config.
|
||||
|
||||
</Infobox>
|
||||
|
||||
> #### Instructions: widget
|
||||
>
|
||||
> 1. Select your requirements and settings.
|
||||
|
|
|
@ -10,7 +10,7 @@ const DEFAULT_LANG = 'en'
|
|||
const DEFAULT_HARDWARE = 'cpu'
|
||||
const DEFAULT_OPT = 'efficiency'
|
||||
const DEFAULT_TEXTCAT_EXCLUSIVE = true
|
||||
const COMPONENTS = ['tagger', 'parser', 'ner', 'textcat']
|
||||
const COMPONENTS = ['tagger', 'morphologizer', 'parser', 'ner', 'textcat']
|
||||
const COMMENT = `# This is an auto-generated partial config. To use it with 'spacy train'
|
||||
# you can run spacy init fill-config to auto-fill all default settings:
|
||||
# python -m spacy init fill-config ./base_config.cfg ./config.cfg`
|
||||
|
|
Loading…
Reference in New Issue
Block a user