def __init__(
        self, language=Language.ENGLISHCASED, cache_dir="."
    ):
        """Initializes the underlying pretrained XLNet tokenizer.

        Args:
            language (Language, optional): The pretrained model's language.
                                           Defaults to Language.ENGLISHCASED
        """
        self.tokenizer = XLNetTokenizer.from_pretrained(language.value, cache_dir=cache_dir)
        self.language = language
Initializes the underlying pretrained XLNet tokenizer.

        Args:
            language (Language, optional): The pretrained model's language.
                                           Defaults to Language.ENGLISHCASED
        
utils_nlp/models/xlnet/common.py