class_docstr: Tag words' parts-of-speech.
class_docstr_tok: ["Tag","words","'","parts-of-speech","."]
docstr: Check for language availability and presence of tagger files.
  :param lang: The language argument given to the class.
  :type lang: str
  :rtype : dict
docstr_tok: ["Check","for","language","availability","and","presence","of","tagger","files",".",":","param","lang",":","The","language","argument","given","to","the","class",".",":","type","lang",":","str",":","rtype",":","dict"]
code: def _setup_language_variables(
      self, lang: str
  ):  # pylint: disable=no-self-use
      """Check for language availability and presence of tagger files.
      :param lang: The language argument given to the class.
      :type lang: str
      :rtype : dict
      """
      assert (
          lang in TAGGERS.keys()
      ), "POS tagger not available for {0} language.".format(lang)
      rel_path = os.path.join(
          CLTK_DATA_DIR,
          lang,
          "model/" + lang + "_models_cltk/taggers/pos",
      )  # pylint: disable=C0301
      path = os.path.expanduser(rel_path)
      tagger_paths = {}
      for tagger_key, tagger_val in TAGGERS[lang].items():
          tagger_path = os.path.join(path, tagger_val)
          assert os.path.isfile(
              tagger_path
          ), "CLTK linguistics models not available for {0}, looking for .".format(
              [tagger_val, tagger_path]
          )
          tagger_paths[tagger_key] = tagger_path
      return tagger_paths
  
file_path: cltk/src/cltk/tag/pos.py
imports: import os
  from nltk.tag import CRFTagger
  from nltk.tokenize import wordpunct_tokenize
  from cltk.utils import CLTK_DATA_DIR
  from cltk.utils.file_operations import open_pickle
label_desc: Use image node_id 2 for calling the POSTag obj's underlying member method code with example usage: obj._setup_language_variables(lang) and returns: tagger_paths