Class: SClust::Util::StemFilter

Inherits:
Filter
  • Object
show all
Defined in:
lib/sclust/util/filters.rb

Instance Method Summary collapse

Methods inherited from Filter

#after, #apply, #before, #initialize

Constructor Details

This class inherits a constructor from SClust::Util::Filter

Instance Method Details

#filter(term) ⇒ Object



129
130
131
# File 'lib/sclust/util/filters.rb', line 129

def filter(term)
    term.stem
end