kindred.save

kindred.save(corpus, dataFormat, path)[source]

Save a corpus to a directory

Parameters:
  • corpus (kindred.Corpus) – The corpus of documents to save
  • dataFormat (str) – Format of data to save (only ‘standoff’, ‘biocxml’, ‘pubannotation’ and ‘csv’ are supported currently)
  • path (str) – Path where corpus should be saved. Must be an existing directory for ‘standoff’.