class_docstr: This is a class to read the PanLex Swadesh list from
  
  David Kamholz, Jonathan Pool, and Susan M. Colowick (2014).
  PanLex: Building a Resource for Panlingual Lexical Translation.
  In LREC. http://www.lrec-conf.org/proceedings/lrec2014/pdf/1029_Paper.pdf
  
  License: CC0 1.0 Universal
  https://creativecommons.org/publicdomain/zero/1.0/legalcode
code: def __init__(self, *args, **kwargs):
      super().__init__(*args, **kwargs)
      # Find the swadesh size using the fileids' path.
      self.swadesh_size = re.match(
          r"swadesh([0-9].*)\/", self.fileids()[0]
      ).group(1)
      self._languages = {
          lang.panlex_uid: lang for lang in self.get_languages()
      }
      self._macro_langauges = self.get_macrolanguages()
  
file_path: nltk/nltk/corpus/reader/panlex_swadesh.py
imports: import re
  from collections import defaultdict, namedtuple
  from nltk.corpus.reader.api import *
  from nltk.corpus.reader.util import *
  from nltk.corpus.reader.wordlist import WordListCorpusReader
  from nltk.tokenize import line_tokenize
label_desc: Use image node_id 1 to create a new PanlexSwadeshCorpusReader object from inherited base classes: WordListCorpusReader with example: obj = PanlexSwadeshCorpusReader()