class_docstr: Base class for punkt sentences tokenization.
class_docstr_tok: ["Base","class","for","punkt","sentences","tokenization","."]
docstr: Constructor.
  
  :param language : language for sentences tokenization
  :type language: str
docstr_tok: ["Constructor",".",":","param","language",":","language","for","sentences","tokenization",":","type","language",":","str"]
code: def __init__(self, language: str = None, lang_vars=None):
      """Constructor.
  
      :param language : language for sentences tokenization
      :type language: str
      """
      super().__init__(language=language)
      if self.language == "lat":
          self.language_old = "lat"
      self.lang_vars = lang_vars
      if self.language:
          self.models_path = self._get_models_path(self.language)
          try:
              self.model = open_pickle(
                  os.path.join(
                      os.path.expanduser(self.models_path),
                      f"{self.language_old}_punkt.pickle",
                  )
              )
          except FileNotFoundError as err:
              raise type(err)(
                  PunktSentenceTokenizer.missing_models_message
              )
  
file_path: cltk/src/cltk/sentence/sentence.py
imports: import os
  import re
  from abc import ABC, abstractmethod
  from typing import List
  from nltk.tokenize.punkt import PunktSentenceTokenizer
  from cltk.core import CLTKException
  from cltk.utils import CLTK_DATA_DIR
  from cltk.utils.file_operations import open_pickle
label_desc: Use image node_id 1 to create a new PunktSentenceTokenizer object from inherited base classes: SentenceTokenizer with example: obj = PunktSentenceTokenizer(language, lang_vars)