code: def addTags(self, m):
      color = next(self.colorCycle)
      self.txt.tag_add(
          color, "1.0+%sc" % m.start(), "1.0+%sc" % m.end()
      )
      try:
          self.txt.tag_add(
              "emph" + color,
              "1.0+%sc" % m.start("emph"),
              "1.0+%sc" % m.end("emph"),
          )
      except:
          pass
  
file_path: nltk/nltk/app/nemo_app.py
imports: import itertools
  import re
  from tkinter import SEL_FIRST, SEL_LAST, Frame, Label, PhotoImage, Scrollbar, Text, Tk
label_desc: Use image node_id 1 for calling the FindZone obj's underlying member method code with example usage: obj.addTags(m) without return types