def documentStart(self, title):
     DefaultConllCallback.documentStart(self, title)
     self.docs += 1
     if self.docs % 1000 == 0:
         sys.stderr.write("{0}\n".format(self.docs))
    def templates(self, templates):
        DefaultConllCallback.templates(self, templates)

        if len(self.date_templates & set(templates)) > 0:
            print "{0}\t{1}".format(self.cc_title.encode('utf-8'), 0)