def to_text(self, outFileName):
    f = open(outFileName, "w")
    f.write(self.__str__())
    f.close()
Writes the textual content of the hOCR body to a file.
dataset/ETHPy150Open jbrinley/HocrConverter/HocrConverter.py/HocrConverter.to_text