Class IndexableDocument
- java.lang.Object
-
- org.aksw.palmetto.corpus.lucene.creation.IndexableDocument
-
public class IndexableDocument extends Object
A simple structure containing the text of a document and its number of tokens.- Author:
- Michael Röder (roeder@informatik.uni-leipzig.de)
-
-
Field Summary
Fields Modifier and Type Field Description private intnumberOfTokensprivate Stringtext
-
Constructor Summary
Constructors Constructor Description IndexableDocument(String text, int numberOfTokens)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetNumberOfTokens()StringgetText()voidsetNumberOfTokens(int numberOfTokens)voidsetText(String text)
-