gatenlp.docformats.gatexml module

Support for loading and saving documents in the original GATE XML format

gatenlp.docformats.gatexml.dump(fp, obj)[source]

Save document to file in original GATE XML format. :param fp: :param obj: :return:

gatenlp.docformats.gatexml.load(fp)[source]

Load gatedocument from the given file. :param fp: file-like object :return: