Class: Ferret::Analysis::StopFilter

Inherits:
Object
  • Object
show all
Defined in:
ext/r_analysis.c

Overview

Summary

A StopFilter filters stop-words from a TokenStream. Stop-words are words that you don’t wish to be index. Usually they will be common words like “the” and “and” although you can specify whichever words you want.

Example

["the", "pig", "and", "whistle"] => ["pig", "whistle"]