|
xapian-core
2.0.0
|
#include <english.h>
Inheritance diagram for Xapian::Internal::Snowball::English:
Collaboration diagram for Xapian::Internal::Snowball::English:Classes | |
| struct | SN_local |
Public Member Functions | |
| English () | |
| ~English () | |
| std::string | operator() (const std::string &word) override |
| Stem the specified word. More... | |
| bool | use_proper_noun_heuristic () const override |
| Should QueryParser suppress stemming for capitalised words? More... | |
| std::string | get_description () const override |
| Return a string describing this object. More... | |
Public Member Functions inherited from Xapian::StemImplementation | |
| StemImplementation () | |
| Default constructor. More... | |
| virtual | ~StemImplementation () |
| Virtual destructor. More... | |
Public Member Functions inherited from Xapian::Internal::intrusive_base | |
| intrusive_base () | |
| Construct with no references. More... | |
Private Member Functions | |
| void | close_env () |
Static Private Member Functions | |
| static int | stem (struct SN_env *z) |
Private Attributes | |
| SN_local | zlocal = {} |
Additional Inherited Members | |
Public Attributes inherited from Xapian::Internal::intrusive_base | |
| unsigned | _refs |
| Reference count. More... | |
|
inline |
Definition at line 30 of file english.h.
References create_s(), SN_env::p, Xapian::Internal::Snowball::English::SN_local::z, and zlocal.
|
inline |
Definition at line 35 of file english.h.
References close_env().
|
inlineprivate |
Definition at line 22 of file english.h.
References lose_s(), SN_env::p, Xapian::Internal::Snowball::English::SN_local::z, and zlocal.
Referenced by ~English().
|
inlineoverridevirtual |
Return a string describing this object.
Implements Xapian::StemImplementation.
|
inlineoverridevirtual |
Stem the specified word.
Implements Xapian::StemImplementation.
Definition at line 39 of file english.h.
References SN_env::c, SN_env::l, SN_env::p, replace_s(), SIZE, stem(), Xapian::Internal::Snowball::English::SN_local::z, and zlocal.
|
staticprivate |
Definition at line 898 of file english.cc.
References SN_env::c, SN_env::l, SN_env::lb, SN_env::p, r_exception1(), r_mark_regions(), r_postlude(), r_prelude(), r_Step_1a(), r_Step_1b(), r_Step_1c(), r_Step_2(), r_Step_3(), r_Step_4(), r_Step_5(), and skip_utf8().
Referenced by operator()().
|
inlineoverridevirtual |
Should QueryParser suppress stemming for capitalised words?
See QueryParser::feature_flag value FLAG_NO_PROPER_NOUN_HEURISTIC for details.
The default implementation of this method returns false.
Reimplemented from Xapian::StemImplementation.
|
private |
Definition at line 20 of file english.h.
Referenced by close_env(), English(), and operator()().