Interface OneDocPerFileFormat

    • Method Detail

      • write

        default void write​(DocumentCollection corpus,
                           Resource outputResource)
                    throws IOException
        Description copied from interface: DocFormat
        Writes a corpus of documents in this format to the given output resource
        Specified by:
        write in interface DocFormat
        Parameters:
        corpus - the corpus
        outputResource - the output resource
        Throws:
        IOException - Something went wrong writing the corpus