class_docstr: Class to manipulate the TextGrid format used by Praat.
  Separates each tier within this file into its own Tier
  object.  Each TextGrid object has
  a number of tiers (size), xmin, xmax, a text type to help
  with the different styles of TextGrid format, and tiers with their
  own attributes.
class_docstr_tok: ["Class","to","manipulate","the","TextGrid","format","used","by","Praat",".","Separates","each","tier","within","this","file","into","its","own","Tier","object",".","Each","TextGrid","object","has","a","number","of","tiers","(","size",")",",","xmin",",","xmax",",","a","text","type","to","help","with","the","different","styles","of","TextGrid","format",",","and","tiers","with","their","own","attributes","."]
docstr: @return:  String in Chronological TextGrid file format.
docstr_tok: ["@","return",":","String","in","Chronological","TextGrid","file","format","."]
code: def to_chron(self):
      """
      @return:  String in Chronological TextGrid file format.
      """
  
      chron_file = ""
      chron_file += '"Praat chronological TextGrid text file"\n'
      chron_file += str(self.xmin) + " " + str(self.xmax)
      chron_file += "   ! Time domain.\n"
      chron_file += str(self.size) + "   ! Number of tiers.\n"
      for tier in self.tiers:
          idx = (self.tiers.index(tier)) + 1
          tier_header = (
              '"'
              + tier.classid
              + '" "'
              + tier.nameid
              + '" '
              + str(tier.xmin)
              + " "
              + str(tier.xmax)
          )
          chron_file += tier_header + "\n"
          transcript = tier.simple_transcript
          for xmin, xmax, utt in transcript:
              chron_file += str(idx) + " " + str(xmin)
              chron_file += " " + str(xmax) + "\n"
              chron_file += '"' + utt + '"\n'
      return chron_file
  
imports: import sys
  import re
label_desc: Use image node_id 8 for calling the TextGrid obj's underlying member method code with example usage: obj.to_chron() and returns: chron_file