|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.cmu.minorthird.text.AbstractTextBase
public abstract class AbstractTextBase
Field Summary | |
---|---|
protected Tokenizer |
tokenizer
|
Constructor Summary | |
---|---|
AbstractTextBase(Tokenizer t)
|
Method Summary | |
---|---|
abstract Span |
documentSpan(java.lang.String documentId)
Looks up the document Span for the given documentId. |
abstract java.util.Iterator<Span> |
documentSpanIterator()
Returns an iterator over the documents in this TextBase. |
abstract Document |
getDocument(java.lang.String docID)
Returns the Document with the given ID |
Tokenizer |
getTokenizer()
Returns the Tokenizer used on the documents in this text base. |
abstract int |
size()
Returns the number of documents contained in this TextBase. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Tokenizer tokenizer
Constructor Detail |
---|
public AbstractTextBase(Tokenizer t)
Method Detail |
---|
public Tokenizer getTokenizer()
TextBase
Tokenizer
used on the documents in this text base.
getTokenizer
in interface TextBase
public abstract int size()
TextBase
size
in interface TextBase
public abstract Document getDocument(java.lang.String docID)
TextBase
Document
with the given ID
getDocument
in interface TextBase
public abstract java.util.Iterator<Span> documentSpanIterator()
TextBase
documentSpanIterator
in interface TextBase
public abstract Span documentSpan(java.lang.String documentId)
TextBase
documentSpan
in interface TextBase
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |