def get_defaults(lang):
    'Get the language-specific defaults, if available in spaCy. This allows\n    using lexical attribute getters that depend on static language data, e.g.\n    Token.like_num, Token.is_stop, Doc.noun_chunks etc.\n\n    lang (unicode): The language code.\n    RETURNS (Language.Defaults): The language defaults.\n    '
    try:
        lang_cls = get_lang_class(lang)
        return lang_cls.Defaults
    except ImportError:
        return Language.Defaults
Get the language-specific defaults, if available in spaCy. This allows
using lexical attribute getters that depend on static language data, e.g.
Token.like_num, Token.is_stop, Doc.noun_chunks etc.

lang (unicode): The language code.
RETURNS (Language.Defaults): The language defaults.
def get_defaults(lang):
    'Get the language-specific defaults, if available in spaCy. This allows\n    using lexical attribute getters that depend on static language data, e.g.\n    Token.like_num, Token.is_stop, Doc.noun_chunks etc.\n\n    lang (unicode): The language code.\n    RETURNS (Language.Defaults): The language defaults.\n    '
    try:
        lang_cls = get_lang_class(lang)
        return lang_cls.Defaults
    except ImportError:
        return Language.Defaults