|
xapian-core
1.4.29
|
#include <indonesian.h>
Inheritance diagram for Xapian::InternalStemIndonesian:
Collaboration diagram for Xapian::InternalStemIndonesian:Public Member Functions | |
| int | r_VOWEL () |
| int | r_SUFFIX_I_OK () |
| int | r_SUFFIX_AN_OK () |
| int | r_SUFFIX_KAN_OK () |
| int | r_KER () |
| InternalStemIndonesian () | |
| ~InternalStemIndonesian () | |
| int | stem () |
| Virtual method implemented by the subclass to actually do the work. More... | |
| std::string | get_description () const |
| Return a string describing this object. More... | |
Public Member Functions inherited from Xapian::SnowballStemImplementation | |
| SnowballStemImplementation () | |
| Perform initialisation common to all Snowball stemmers. More... | |
| virtual | ~SnowballStemImplementation () |
| Perform cleanup common to all Snowball stemmers. More... | |
| virtual std::string | operator() (const std::string &word) |
| Stem the specified word. 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 | |
| int | r_remove_suffix () |
| int | r_remove_second_order_prefix () |
| int | r_remove_first_order_prefix () |
| int | r_remove_possessive_pronoun () |
| int | r_remove_particle () |
Private Attributes | |
| int | I_prefix |
| int | I_measure |
Additional Inherited Members | |
Public Attributes inherited from Xapian::Internal::intrusive_base | |
| unsigned | _refs |
| Reference count. More... | |
Protected Member Functions inherited from Xapian::SnowballStemImplementation | |
| int | get_utf8 (int *slot) |
| int | get_b_utf8 (int *slot) |
| int | in_grouping_U (const unsigned char *s, int min, int max, int repeat) |
| int | in_grouping_b_U (const unsigned char *s, int min, int max, int repeat) |
| int | out_grouping_U (const unsigned char *s, int min, int max, int repeat) |
| int | out_grouping_b_U (const unsigned char *s, int min, int max, int repeat) |
| int | eq_s (int s_size, const symbol *s) |
| int | eq_s_b (int s_size, const symbol *s) |
| int | eq_v (const symbol *v) |
| int | eq_v_b (const symbol *v) |
| int | find_among (const symbol *pool, const struct among *v, int v_size, const unsigned char *fnum, const among_function *f) |
| int | find_among_b (const symbol *pool, const struct among *v, int v_size, const unsigned char *fnum, const among_function *f) |
| int | replace_s (int c_bra, int c_ket, int s_size, const symbol *s) |
| int | slice_from_s (int s_size, const symbol *s) |
| int | slice_from_v (const symbol *v) |
| int | slice_del () |
| void | insert_s (int c_bra, int c_ket, int s_size, const symbol *s) |
| void | insert_v (int c_bra, int c_ket, const symbol *v) |
| symbol * | slice_to (symbol *v) |
| symbol * | assign_to (symbol *v) |
| int | len_utf8 (const symbol *v) |
Static Protected Member Functions inherited from Xapian::SnowballStemImplementation | |
| static int | SIZE (const symbol *p) |
| static void | SET_SIZE (symbol *p, int n) |
| static int | CAPACITY (const symbol *p) |
| static void | SET_CAPACITY (symbol *p, int n) |
| static int | skip_utf8 (const symbol *p, int c, int lb, int l, int n) |
| static symbol * | increase_size (symbol *p, int n) |
| static symbol * | create_s () |
Protected Attributes inherited from Xapian::SnowballStemImplementation | |
| symbol * | p |
| int | c |
| int | l |
| int | lb |
| int | bra |
| int | ket |
Definition at line 8 of file indonesian.h.
| Xapian::InternalStemIndonesian::InternalStemIndonesian | ( | ) |
Definition at line 464 of file indonesian.cc.
| Xapian::InternalStemIndonesian::~InternalStemIndonesian | ( | ) |
Definition at line 469 of file indonesian.cc.
|
virtual |
Return a string describing this object.
Implements Xapian::StemImplementation.
Definition at line 474 of file indonesian.cc.
| int Xapian::InternalStemIndonesian::r_KER | ( | ) |
Definition at line 248 of file indonesian.cc.
References Xapian::SnowballStemImplementation::eq_s(), g_vowel, Xapian::SnowballStemImplementation::out_grouping_U(), and s_0.
|
private |
Definition at line 254 of file indonesian.cc.
References af, af_3, Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among(), g_vowel, I_measure, I_prefix, Xapian::SnowballStemImplementation::in_grouping_U(), Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::p, s_1, s_2, s_3, s_4, s_pool, Xapian::SnowballStemImplementation::slice_del(), and Xapian::SnowballStemImplementation::slice_from_s().
Referenced by stem().
|
private |
Definition at line 183 of file indonesian.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), I_measure, Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, s_pool, and Xapian::SnowballStemImplementation::slice_del().
Referenced by stem().
|
private |
Definition at line 195 of file indonesian.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), I_measure, Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, s_pool, and Xapian::SnowballStemImplementation::slice_del().
Referenced by stem().
|
private |
Definition at line 334 of file indonesian.cc.
References af, af_4, Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among(), I_measure, I_prefix, Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::p, s_5, s_6, s_pool, Xapian::SnowballStemImplementation::slice_del(), and Xapian::SnowballStemImplementation::slice_from_s().
Referenced by stem().
|
private |
Definition at line 231 of file indonesian.cc.
References af, af_2, Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), I_measure, Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, s_pool, and Xapian::SnowballStemImplementation::slice_del().
Referenced by stem().
| int Xapian::InternalStemIndonesian::r_SUFFIX_AN_OK | ( | ) |
Definition at line 214 of file indonesian.cc.
References I_prefix.
| int Xapian::InternalStemIndonesian::r_SUFFIX_I_OK | ( | ) |
Definition at line 219 of file indonesian.cc.
References Xapian::SnowballStemImplementation::c, I_prefix, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, and Xapian::SnowballStemImplementation::p.
| int Xapian::InternalStemIndonesian::r_SUFFIX_KAN_OK | ( | ) |
Definition at line 207 of file indonesian.cc.
References I_prefix.
| int Xapian::InternalStemIndonesian::r_VOWEL | ( | ) |
Definition at line 243 of file indonesian.cc.
References g_vowel, and Xapian::SnowballStemImplementation::in_grouping_U().
|
virtual |
Virtual method implemented by the subclass to actually do the work.
Implements Xapian::SnowballStemImplementation.
Definition at line 373 of file indonesian.cc.
References Xapian::SnowballStemImplementation::c, g_vowel, I_measure, I_prefix, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::out_grouping_U(), r_remove_first_order_prefix(), r_remove_particle(), r_remove_possessive_pronoun(), r_remove_second_order_prefix(), and r_remove_suffix().
|
private |
Definition at line 10 of file indonesian.h.
Referenced by r_remove_first_order_prefix(), r_remove_particle(), r_remove_possessive_pronoun(), r_remove_second_order_prefix(), r_remove_suffix(), and stem().
|
private |
Definition at line 9 of file indonesian.h.
Referenced by r_remove_first_order_prefix(), r_remove_second_order_prefix(), r_SUFFIX_AN_OK(), r_SUFFIX_I_OK(), r_SUFFIX_KAN_OK(), and stem().