|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.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()
TextBaseTokenizer used on the documents in this text base.
getTokenizer in interface TextBasepublic abstract int size()
TextBase
size in interface TextBasepublic abstract Document getDocument(java.lang.String docID)
TextBaseDocument with the given ID
getDocument in interface TextBasepublic abstract java.util.Iterator<Span> documentSpanIterator()
TextBase
documentSpanIterator in interface TextBasepublic 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 | ||||||||