|
xapian-core
2.0.0
|
#include <indonesian.h>
Inheritance diagram for Xapian::Internal::Snowball::Indonesian:
Collaboration diagram for Xapian::Internal::Snowball::Indonesian:Classes | |
| struct | SN_local |
Public Member Functions | |
| Indonesian () | |
| ~Indonesian () | |
| 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 indonesian.h.
|
inline |
Definition at line 29 of file indonesian.h.
References create_s(), SN_env::p, Xapian::Internal::Snowball::Indonesian::SN_local::z, and zlocal.
|
inline |
Definition at line 34 of file indonesian.h.
References close_env().
|
inlineprivate |
Definition at line 21 of file indonesian.h.
References lose_s(), SN_env::p, Xapian::Internal::Snowball::Indonesian::SN_local::z, and zlocal.
Referenced by ~Indonesian().
|
inlineoverridevirtual |
Return a string describing this object.
Implements Xapian::StemImplementation.
Definition at line 51 of file indonesian.h.
|
inlineoverridevirtual |
Stem the specified word.
Implements Xapian::StemImplementation.
Definition at line 38 of file indonesian.h.
References SN_env::c, SN_env::l, SN_env::p, replace_s(), SIZE, stem(), Xapian::Internal::Snowball::Indonesian::SN_local::z, and zlocal.
|
staticprivate |
Definition at line 298 of file indonesian.cc.
References SN_env::c, g_vowel, SN_env::l, SN_env::lb, out_grouping_U(), r_remove_first_order_prefix(), r_remove_particle(), r_remove_possessive_pronoun(), r_remove_second_order_prefix(), and r_remove_suffix().
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 47 of file indonesian.h.
|
private |
Definition at line 19 of file indonesian.h.
Referenced by close_env(), Indonesian(), and operator()().