org.terrier.terms
Interface TermPipelineAccessor

All Known Implementing Classes:
BaseTermPipelineAccessor

public interface TermPipelineAccessor

This interface allows code to access the TermPipeline without implementing the end of the term pipeline.

Author:
Craig Macdonald

Method Summary
 java.lang.String pipelineTerm(java.lang.String term)
          Puts the given term through the pipeline.
 boolean resetPipeline()
          This method implements the specific rest option needed to implements query or doc oriented pipeline policy.
 

Method Detail

pipelineTerm

java.lang.String pipelineTerm(java.lang.String term)
Puts the given term through the pipeline.

Parameters:
term - String the term to process.
Returns:
String the processed term.

resetPipeline

boolean resetPipeline()
This method implements the specific rest option needed to implements query or doc oriented pipeline policy. Normally it should be expected to reset all the pipeline.

Returns:
results of the reset operation


Terrier 3.5. Copyright © 2004-2011 University of Glasgow