class_docstr: A container for each tier.
class_docstr_tok: ["A","container","for","each","tier","."]
docstr: Initializes attributes of the tier: class, name, xmin, xmax
  size, transcript, total time.  
  Utilizes text_type to guide how to parse the file.
  @type tier: a tier object; single item in the TextGrid list.
  @param text_type:  TextGrid format
  @param t_time:  Total time of TextGrid file.
  @param classid:  Type of tier (point or interval).
  @param nameid:  Name of tier.
  @param xmin:  xmin of the tier.
  @param xmax:  xmax of the tier.
  @param size:  Number of entries in the tier
  @param transcript:  The raw transcript for the tier.
docstr_tok: ["Initializes","attributes","of","the","tier",":","class",",","name",",","xmin",",","xmax","size",",","transcript",",","total","time",".","Utilizes","text_type","to","guide","how","to","parse","the","file",".","@","type","tier",":","a","tier","object",";","single","item","in","the","TextGrid","list",".","@","param","text_type",":","TextGrid","format","@","param","t_time",":","Total","time","of","TextGrid","file",".","@","param","classid",":","Type","of","tier","(","point","or","interval",")",".","@","param","nameid",":","Name","of","tier",".","@","param","xmin",":","xmin","of","the","tier",".","@","param","xmax",":","xmax","of","the","tier",".","@","param","size",":","Number","of","entries","in","the","tier","@","param","transcript",":","The","raw","transcript","for","the","tier","."]
code: def __init__(self, tier, text_type, t_time):
      """
      Initializes attributes of the tier: class, name, xmin, xmax
      size, transcript, total time.
      Utilizes text_type to guide how to parse the file.
      @type tier: a tier object; single item in the TextGrid list.
      @param text_type:  TextGrid format
      @param t_time:  Total time of TextGrid file.
      @param classid:  Type of tier (point or interval).
      @param nameid:  Name of tier.
      @param xmin:  xmin of the tier.
      @param xmax:  xmax of the tier.
      @param size:  Number of entries in the tier
      @param transcript:  The raw transcript for the tier.
      """
  
      self.tier = tier
      self.text_type = text_type
      self.t_time = t_time
      self.classid = ""
      self.nameid = ""
      self.xmin = 0
      self.xmax = 0
      self.size = 0
      self.transcript = ""
      self.tier_info = ""
      self._make_info()
      self.simple_transcript = self.make_simple_transcript()
      if self.classid != TEXTTIER:
          self.mark_type = "intervals"
      else:
          self.mark_type = "points"
          self.header = [
              ("class", self.classid),
              ("name", self.nameid),
              ("xmin", self.xmin),
              ("xmax", self.xmax),
              ("size", self.size),
          ]
  
imports: import sys
  import re
label_desc: Use image node_id 1 to create a new Tier object from inherited base classes: object with example: obj = Tier(tier, text_type, t_time)