code: def __init__(self):
      self.queue = q.Queue()
      self.model = CollocationsModel(self.queue)
      self.top = Tk()
      self._init_top(self.top)
      self._init_menubar()
      self._init_widgets(self.top)
      self.load_corpus(self.model.DEFAULT_CORPUS)
      self.after = self.top.after(POLL_INTERVAL, self._poll)
  
imports: import queue
  import threading
  from tkinter import END, LEFT, SUNKEN, Button, 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, machado, nps_chat, sinica_treebank, treebank
  from nltk.probability import FreqDist
  from nltk.util import in_idle
label_desc: Use image node_id 1 to create a new CollocationsView object  with example: obj = CollocationsView()