edu.columbia.cs.ref.tool.loader.document.impl.ace2005
Class ACE2005Loader

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.ace2005.ACE2005Loader

public class ACE2005Loader
extends DocumentLoader

Loader for the ACE 2005 collection

Since:
2011-09-27
Version:
0.1
Author:
Pablo Barrio, Goncalo Simoes

Constructor Summary
ACE2005Loader(java.util.Set<RelationshipType> relationshipTypes)
          Constructor of the loader
 
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
 
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

ACE2005Loader

public ACE2005Loader(java.util.Set<RelationshipType> relationshipTypes)
Constructor of the loader

Parameters:
relationshipTypes - Represents the types of relationships to be extracted from the collection including the constraints that they must fulfill
Method Detail

load

public 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

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