|
xapian-core
1.5.0_git3738
|
Stopper subclass which checks for both stemmed and unstemmed stopwords. More...
Inheritance diagram for Xapian::StemStopper:Public Types | |
| enum | stem_strategy { STEM_NONE, STEM_SOME, STEM_ALL, STEM_ALL_Z, STEM_SOME_FULL_POS } |
| Stemming strategies. | |
Public Member Functions | |
| StemStopper (const Xapian::Stem &stemmer, stem_strategy strategy=STEM_SOME) | |
| Constructor. More... | |
| std::string | get_description () const |
| Return a string describing this object. | |
| bool | operator() (const std::string &term) const |
| Is term a stop-word? More... | |
| void | add (const std::string &term) |
| Add a single stop word and its stemmed equivalent. | |
Public Member Functions inherited from Xapian::Stopper | |
| Stopper () | |
| Default constructor. | |
| virtual | ~Stopper () |
| Class has virtual methods, so provide a virtual destructor. | |
| Stopper * | release () |
| Start reference counting this object. More... | |
| const Stopper * | release () const |
| Start reference counting this object. More... | |
Stopper subclass which checks for both stemmed and unstemmed stopwords.
This is intended for use with Xapian::Cluster.
|
explicit |
Constructor.
| stemmer | The Xapian::Stem object to set. |
| strategy | The stemming strategy to be used. |
|
inlinevirtual |