edu.columbia.cs.ref.tool.loader.document.impl
Class RawDocumentLoader

java.lang.Object
  extended by edu.columbia.cs.ref.tool.loader.Loader<Document>
      extended by edu.columbia.cs.ref.tool.loader.document.DocumentLoader
          extended by edu.columbia.cs.ref.tool.loader.document.impl.RawDocumentLoader

public class RawDocumentLoader
extends DocumentLoader


Constructor Summary
RawDocumentLoader(java.util.Set<RelationshipType> relationshipTypes, Preprocessor preprocessor, DocumentSegmentator docSegmentator, Tagger... taggers)
           
 
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
 

Constructor Detail

RawDocumentLoader

public RawDocumentLoader(java.util.Set<RelationshipType> relationshipTypes,
                         Preprocessor preprocessor,
                         DocumentSegmentator docSegmentator,
                         Tagger... taggers)
Method Detail

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)