mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-05 12:50:20 +03:00
Rename xx to mul in docs
This commit is contained in:
parent
432db3d299
commit
597d0a84d6
|
@ -556,6 +556,7 @@ def test_spacy_blank():
|
||||||
("is", "isl"),
|
("is", "isl"),
|
||||||
("pt-BR", "pt"),
|
("pt-BR", "pt"),
|
||||||
("xx", "mul"),
|
("xx", "mul"),
|
||||||
|
("mul", "mul"),
|
||||||
("zh-Hans", "zh"),
|
("zh-Hans", "zh"),
|
||||||
("zh-Hant", None),
|
("zh-Hant", None),
|
||||||
("zxx", None),
|
("zxx", None),
|
||||||
|
@ -579,6 +580,7 @@ def test_language_matching(lang, target):
|
||||||
("mo", "ro"),
|
("mo", "ro"),
|
||||||
("is", "isl"),
|
("is", "isl"),
|
||||||
("xx", "mul"),
|
("xx", "mul"),
|
||||||
|
("mul", "mul"),
|
||||||
("no", "nb"),
|
("no", "nb"),
|
||||||
("pt-BR", "pt"),
|
("pt-BR", "pt"),
|
||||||
("zh-Hans", "zh"),
|
("zh-Hans", "zh"),
|
||||||
|
|
|
@ -83,9 +83,9 @@ import Languages from 'widgets/languages.js'
|
||||||
|
|
||||||
spaCy also supports pipelines trained on more than one language. This is
|
spaCy also supports pipelines trained on more than one language. This is
|
||||||
especially useful for named entity recognition. The language ID used for
|
especially useful for named entity recognition. The language ID used for
|
||||||
multi-language or language-neutral pipelines is `xx`. The language class, a
|
multi-language or language-neutral pipelines is `mul`. The language class, a
|
||||||
generic subclass containing only the base language data, can be found in
|
generic subclass containing only the base language data, can be found in
|
||||||
[`lang/xx`](%%GITHUB_SPACY/spacy/lang/xx).
|
[`lang/mul`](%%GITHUB_SPACY/spacy/lang/mul).
|
||||||
|
|
||||||
To train a pipeline using the neutral multi-language class, you can set
|
To train a pipeline using the neutral multi-language class, you can set
|
||||||
`lang = "mul"` in your [training config](/usage/training#config). You can also
|
`lang = "mul"` in your [training config](/usage/training#config). You can also
|
||||||
|
|
Loading…
Reference in New Issue
Block a user