public class NoOp extends Object implements TermPipeline
Modifier and Type | Field and Description |
---|---|
protected TermPipeline |
next
The implementation of a term pipeline.
|
Constructor and Description |
---|
NoOp(TermPipeline _next)
Constructs an instance of the class, given the next
component in the pipeline.
|
Modifier and Type | Method and Description |
---|---|
void |
processTerm(String t)
Pass the term onto the next term pipeline object,
without making any changes to it.
|
boolean |
reset()
Implements the default operation for all TermPipeline subclasses;
By default do nothing.
|
protected final TermPipeline next
public NoOp(TermPipeline _next)
_next
- TermPipeline the next component in
the term pipeline.public final void processTerm(String t)
processTerm
in interface TermPipeline
t
- The termpublic boolean reset()
reset
in interface TermPipeline
Terrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow