|
xapian-core
2.1.0
|
#include <dutch_porter.h>
Inheritance diagram for Xapian::Internal::Snowball::DutchPorter:
Collaboration diagram for Xapian::Internal::Snowball::DutchPorter:Classes | |
| struct | SN_local |
Public Member Functions | |
| DutchPorter () | |
| ~DutchPorter () | |
| 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... | |
Definition at line 10 of file dutch_porter.h.
|
inline |
Definition at line 29 of file dutch_porter.h.
References create_s(), SN_env::p, Xapian::Internal::Snowball::DutchPorter::SN_local::z, and zlocal.
|
inline |
Definition at line 34 of file dutch_porter.h.
References close_env().
|
inlineprivate |
Definition at line 21 of file dutch_porter.h.
References lose_s(), SN_env::p, Xapian::Internal::Snowball::DutchPorter::SN_local::z, and zlocal.
Referenced by ~DutchPorter().
|
inlineoverridevirtual |
Return a string describing this object.
Implements Xapian::StemImplementation.
Definition at line 52 of file dutch_porter.h.
|
inlineoverridevirtual |
Stem the specified word.
Implements Xapian::StemImplementation.
Definition at line 38 of file dutch_porter.h.
References SN_env::c, SN_env::l, SN_env::p, replace_s(), SIZE, stem(), Xapian::Internal::Snowball::DutchPorter::SN_local::z, and zlocal.
|
staticprivate |
Definition at line 168 of file dutch_porter.cc.
References a_0, a_1, a_3, a_4, a_5, SN_env::bra, SN_env::c, eq_s_b(), find_among(), find_among_b(), g_v, g_v_I, g_v_j, in_grouping_U(), SN_env::ket, SN_env::l, SN_env::lb, out_grouping_b_U(), out_grouping_U(), SN_env::p, r_e_ending(), r_en_ending(), r_undouble(), s_1, s_10, s_11, s_12, s_13, s_14, s_2, s_3, s_4, s_5, s_6, s_7, s_8, s_9, skip_b_utf8(), skip_utf8(), slice_del(), and slice_from_s().
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.
Definition at line 48 of file dutch_porter.h.
|
private |
Definition at line 19 of file dutch_porter.h.
Referenced by close_env(), DutchPorter(), and operator()().