public interface FileBasedDocumentFactory
Document instance from the supplied file.| Modifier and Type | Method and Description |
|---|---|
default org.dice_research.topicmodeling.utils.doc.Document |
createDocument(File file)
Creates a
Document instance from the given file and assigns the
default ID 0. |
org.dice_research.topicmodeling.utils.doc.Document |
createDocument(File file,
int documentId)
Creates a
Document instance from the given file and assigns the given
document ID. |
default org.dice_research.topicmodeling.utils.doc.Document createDocument(File file)
Document instance from the given file and assigns the
default ID 0.file - the file that should be used to create the Document
instanceDocument instance from the given fileorg.dice_research.topicmodeling.utils.doc.Document createDocument(File file, int documentId)
Document instance from the given file and assigns the given
document ID.file - the file that should be used to create the Document
instancedocumentId - the ID the newly created instance should haveDocument instance from the given fileCopyright © 2015–2020. All rights reserved.