|
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.SkipTermPipeline
public class SkipTermPipeline
Class that identified tokens which should not be passed down the entire term pipeline, and instead passed onto a specified stage instead. Tokens are autmatically lowercased if lowercase is set (as it is by default). If no tokens are specified, then no tokens are omitted from the term pipeline.
Properties
Constructor Summary | |
---|---|
SkipTermPipeline(TermPipeline _next,
TermPipeline _last)
Instantiate this object, using properties to define tokens. |
|
SkipTermPipeline(TermPipeline _next,
TermPipeline _last,
java.lang.String[] _skipTokens)
Instantiate this object. |
Method Summary | |
---|---|
void |
processTerm(java.lang.String term)
Processes this token. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SkipTermPipeline(TermPipeline _next, TermPipeline _last)
public SkipTermPipeline(TermPipeline _next, TermPipeline _last, java.lang.String[] _skipTokens)
Method Detail |
---|
public void processTerm(java.lang.String term)
processTerm
in interface TermPipeline
term
-
|
Terrier IR Platform 2.2.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |