edu.columbia.cs.ref.tool.loader.document.impl
Class RawDocumentLoader
java.lang.Object
edu.columbia.cs.ref.tool.loader.Loader<Document>
edu.columbia.cs.ref.tool.loader.document.DocumentLoader
edu.columbia.cs.ref.tool.loader.document.impl.RawDocumentLoader
public class RawDocumentLoader
- extends DocumentLoader
Method Summary |
java.util.Set<Document> |
load(java.io.File file)
Method that loads a set of documents given a File that represents the directory of the collection |
Document |
load(java.io.Reader reader)
|
Document |
load(java.lang.String content)
|
Methods inherited from class edu.columbia.cs.ref.tool.loader.Loader |
load |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RawDocumentLoader
public RawDocumentLoader(java.util.Set<RelationshipType> relationshipTypes,
Preprocessor preprocessor,
DocumentSegmentator docSegmentator,
Tagger... taggers)
load
public java.util.Set<Document> load(java.io.File file)
- Description copied from class:
DocumentLoader
- Method that loads a set of documents given a File that represents the directory of the collection
- Specified by:
load
in class DocumentLoader
- Parameters:
file
- Represents the directory of the collection
- Returns:
- a set of Documents representing the documents of a collection
load
public Document load(java.io.Reader reader)
load
public Document load(java.lang.String content)