edu.stanford.nlp.dbm
Interface Document

All Superinterfaces:
Collection, Datum, Featurizable, Labeled, List, Serializable
All Known Implementing Classes:
BasicDocument

public interface Document
extends Datum, List

Represents a text document as a list of Words with a title.


Method Summary
 String title()
          Returns title of document, or "" if the document has no title.
 
Methods inherited from interface edu.stanford.nlp.dbm.Featurizable
asFeatures
 
Methods inherited from interface edu.stanford.nlp.trees.Labeled
label, labels, setLabel, setLabels
 
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
 

Method Detail

title

public String title()
Returns title of document, or "" if the document has no title. This never returns null.



Stanford NLP Group