- <init>
- addAll
- addLabel
Adds the given label to the List of labels for this Document if it is not null.
- init
Initializes a new BasicDocument with the given list of words and title.
- labels
Returns the complete List of labels for this Document. This is an empty
collection if none have been
- originalText
Returns the text originally used to construct this document, or null if there
was no original text.
- parse
Tokenizes the given text to populate the list of words this Document represents.
The default impleme
- printState
For internal debugging purposes only. Prints the state of the given
BasicDocument to stderr.
- setLabels
Removes all currently assigned labels for this Document then adds all of the
given labels.
- setTitle
Sets the title of this Document to the given title. If the given title is null,
sets the title to ""
- title
Returns the title of this document. The title may be empty ("") but will never
be null.