|
Terrier IR Platform 2.2.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object uk.ac.gla.terrier.terms.CropTerm
public final class CropTerm
Reduces the size of terms passing through the term pipeline to the maximum allowed size for this indexing run. The crop term pipeline class has been provided as some term pipeline implementators (eg SnowballGermanStemmer) may actually lengthen words that did previously fit in the indexing.
Constructor Summary | |
---|---|
CropTerm(TermPipeline next)
Creates a new CropTerm pipeline object, which can be used in the term pipeline |
Method Summary | |
---|---|
void |
processTerm(java.lang.String t)
Reduces the term to the maximum allowed size for this indexing run |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CropTerm(TermPipeline next)
next
- The next termpipeline object to pass the term onto.Method Detail |
---|
public final void processTerm(java.lang.String t)
processTerm
in interface TermPipeline
t
- String the term to check the length of.
|
Terrier IR Platform 2.2.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |