code: def __init__(self, root):
      self._c = sqlite3.connect(
          os.path.join(root, "db.sqlite")
      ).cursor()
  
      self._uid_lv = {}
      self._lv_uid = {}
  
      for row in self._c.execute("SELECT uid, lv FROM lv"):
          self._uid_lv[row[0]] = row[1]
          self._lv_uid[row[1]] = row[0]
  
file_path: nltk/nltk/corpus/reader/panlex_lite.py
imports: import os
  import sqlite3
  from nltk.corpus.reader.api import CorpusReader
label_desc: Use image node_id 1 to create a new PanLexLiteCorpusReader object from inherited base classes: CorpusReader with example: obj = PanLexLiteCorpusReader(root)