- Direct Known Subclasses:
SimpleText
public class Text
extends Object
A minimal interface of text in the corpus.
-
Field Summary 
Fields
The id of document in the corpus.
-
Constructor Summary 
Constructors
-
Method Summary 
Methods inherited from class java.lang.Object 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details 
-
id 
The id of document in the corpus.
-
title 
The title of document;
-
body 
The text body.
-
Constructor Details 
-
Text 
Constructor.
- Parameters:
body
- the text body of document.
-
Text 
Constructor.
- Parameters:
title
- the title of document.
body
- the text body of document.
-
Text 
Constructor.
- Parameters:
id
- the id of document.
title
- the title of document.
body
- the text body of document.