spaCy/spacy/lang/xx/__init__.py

13 lines
266 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 'xx'.
"""
lang = "xx"
__all__ = ["MultiLanguage"]