Class StemmerTermPipeline

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected TermPipeline next  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected StemmerTermPipeline()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void processTerm​(java.lang.String t)
      Stems the given term and passes onto the next object in the term pipeline.
      boolean reset()
      Implements the default operation for all TermPipeline subclasses; By default do nothing.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.terrier.terms.Stemmer

        stem
    • Constructor Detail

      • StemmerTermPipeline

        protected StemmerTermPipeline()
    • Method Detail

      • processTerm

        public void processTerm​(java.lang.String t)
        Stems the given term and passes onto the next object in the term pipeline.
        Specified by:
        processTerm in interface TermPipeline
        Parameters:
        t - String the term to stem.
      • reset

        public boolean reset()
        Implements the default operation for all TermPipeline subclasses; By default do nothing. This method should be overrided by any TermPipeline that want to implements doc/query oriented lifecycle.
        Specified by:
        reset in interface TermPipeline
        Returns:
        return how the reset has gone