def preprocess_export(self, tagwriter: 'TagWriter') -> bool:
    self.purge(self.doc.entitydb)
    return True
def preprocess_export(self, tagwriter: 'TagWriter') -> bool:
    self.purge(self.doc.entitydb)
    return True