mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-29 11:26:28 +03:00
360ccf628a
* Init * fix tests * Update spacy/errors.py Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com> * Fix test_blank_languages * Rename xx to mul in docs * Format _util with black * prettier formatting --------- Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com>
13 lines
268 B
Python
13 lines
268 B
Python
from ...language import Language
|
|
|
|
|
|
class MultiLanguage(Language):
|
|
"""Language class to be used for models that support multiple languages.
|
|
This module allows models to specify their language ID as 'mul'.
|
|
"""
|
|
|
|
lang = "mul"
|
|
|
|
|
|
__all__ = ["MultiLanguage"]
|