code: def __init__(self, queue):
      self.queue = queue
      self.CORPORA = _CORPORA
      self.DEFAULT_CORPUS = _DEFAULT
      self.selected_corpus = None
      self.reset_query()
      self.reset_results()
      self.result_count = None
      self.last_sent_searched = 0
  
imports: import queue
  import re
  import threading
  from tkinter import END, LEFT, SUNKEN, Button, Entry, Frame, IntVar, Label, Menu, OptionMenu, Scrollbar, StringVar, Text, Tk
  from tkinter.font import Font
  from nltk.corpus import alpino, brown, cess_cat, cess_esp, floresta, indian, mac_morpho, nps_chat, sinica_treebank, treebank
  from nltk.draw.util import ShowText
  from nltk.util import in_idle
label_desc: Use image node_id 1 to create a new ConcordanceSearchModel object  with example: obj = ConcordanceSearchModel(queue)