gate
Interface Corpus

All Superinterfaces:
Collection, FeatureBearer, LanguageResource, Resource, Serializable, Set, SortedSet
All Known Implementing Classes:
CorpusImpl

public interface Corpus
extends LanguageResource, SortedSet

Corpora are sets of Document. They are ordered by lexicographic collation on Url. TIPSTER equivalent: Collection.


Method Summary
 String getName()
          Get the name of the corpus.
 void setName(String name)
          Set the name of the corpus.
 
Methods inherited from interface gate.LanguageResource
getDataStore, setDataStore, sync
 
Methods inherited from interface gate.Resource
init
 
Methods inherited from interface gate.util.FeatureBearer
getFeatures, setFeatures
 
Methods inherited from interface java.util.SortedSet
comparator, first, headSet, last, subSet, tailSet
 
Methods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 

Method Detail

getName

public String getName()
Get the name of the corpus.
Specified by:
getName in interface FeatureBearer

setName

public void setName(String name)
Set the name of the corpus.
Specified by:
setName in interface FeatureBearer