xapian-core
1.4.27
|
#include <turkish.h>
Public Member Functions | |
InternalStemTurkish () | |
~InternalStemTurkish () | |
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 Attributes | |
unsigned char | I_continue_stemming_noun_suffixes |
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 |
Xapian::InternalStemTurkish::InternalStemTurkish | ( | ) |
Definition at line 2136 of file turkish.cc.
Xapian::InternalStemTurkish::~InternalStemTurkish | ( | ) |
Definition at line 2141 of file turkish.cc.
|
virtual |
Return a string describing this object.
Implements Xapian::StemImplementation.
Definition at line 2146 of file turkish.cc.
|
private |
Definition at line 1950 of file turkish.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::eq_s_b(), g_vowel, Xapian::SnowballStemImplementation::insert_s(), Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::out_grouping_b_U(), Xapian::SnowballStemImplementation::p, s_10, s_11, s_12, s_13, s_14, s_15, and s_9.
Referenced by r_postlude().
|
private |
Definition at line 514 of file turkish.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::eq_s_b(), g_vowel, g_vowel1, g_vowel2, g_vowel3, g_vowel4, g_vowel5, g_vowel6, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::out_grouping_b_U(), Xapian::SnowballStemImplementation::p, s_0, s_1, and s_2.
Referenced by r_mark_DA(), r_mark_DAn(), r_mark_DUr(), r_mark_lAr(), r_mark_nA(), r_mark_ncA(), r_mark_ndA(), r_mark_ndAn(), r_mark_nU(), r_mark_nUn(), r_mark_nUz(), r_mark_sU(), r_mark_sUn(), r_mark_yA(), r_mark_yDU(), r_mark_ylA(), r_mark_ymUs_(), r_mark_yU(), r_mark_yUm(), and r_mark_yUz().
|
private |
Definition at line 2048 of file turkish.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::eq_s_b(), Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, s_16, and s_17.
Referenced by r_postlude().
|
private |
Definition at line 910 of file turkish.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, and s_pool.
Referenced by r_stem_nominal_verb_suffixes().
|
private |
Definition at line 779 of file turkish.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, r_check_vowel_harmony(), and s_pool.
Referenced by r_stem_noun_suffixes(), and r_stem_suffix_chain_before_ki().
|
private |
Definition at line 797 of file turkish.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, r_check_vowel_harmony(), and s_pool.
Referenced by r_stem_noun_suffixes().
|
private |
Definition at line 901 of file turkish.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, r_check_vowel_harmony(), and s_pool.
Referenced by r_stem_nominal_verb_suffixes().
|
private |
Definition at line 827 of file turkish.cc.
References Xapian::SnowballStemImplementation::eq_s_b(), and s_3.
Referenced by r_stem_suffix_chain_before_ki().
|
private |
Definition at line 883 of file turkish.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, r_check_vowel_harmony(), and s_pool.
Referenced by r_stem_nominal_verb_suffixes(), r_stem_noun_suffixes(), and r_stem_suffix_chain_before_ki().
|
private |
Definition at line 721 of file turkish.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, and s_pool.
Referenced by r_stem_noun_suffixes(), and r_stem_suffix_chain_before_ki().
|
private |
Definition at line 770 of file turkish.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, r_check_vowel_harmony(), and s_pool.
Referenced by r_stem_noun_suffixes().
|
private |
Definition at line 832 of file turkish.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, r_check_vowel_harmony(), r_mark_suffix_with_optional_n_consonant(), and s_pool.
Referenced by r_stem_noun_suffixes().
|
private |
Definition at line 788 of file turkish.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, r_check_vowel_harmony(), and s_pool.
Referenced by r_stem_noun_suffixes(), and r_stem_suffix_chain_before_ki().
|
private |
Definition at line 806 of file turkish.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, r_check_vowel_harmony(), and s_pool.
Referenced by r_stem_noun_suffixes().
|
private |
Definition at line 738 of file turkish.cc.
References Xapian::SnowballStemImplementation::find_among_b(), r_check_vowel_harmony(), and s_pool.
Referenced by r_stem_noun_suffixes().
|
private |
Definition at line 746 of file turkish.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, r_check_vowel_harmony(), r_mark_suffix_with_optional_n_consonant(), and s_pool.
Referenced by r_stem_noun_suffixes(), and r_stem_suffix_chain_before_ki().
|
private |
Definition at line 892 of file turkish.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, r_check_vowel_harmony(), and s_pool.
Referenced by r_stem_nominal_verb_suffixes().
|
private |
Definition at line 701 of file turkish.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, r_mark_suffix_with_optional_U_vowel(), and s_pool.
Referenced by r_stem_noun_suffixes(), and r_stem_suffix_chain_before_ki().
|
private |
Definition at line 710 of file turkish.cc.
References g_U, Xapian::SnowballStemImplementation::in_grouping_b_U(), r_check_vowel_harmony(), and r_mark_suffix_with_optional_s_consonant().
Referenced by r_stem_noun_suffixes(), and r_stem_suffix_chain_before_ki().
|
private |
Definition at line 567 of file turkish.cc.
References Xapian::SnowballStemImplementation::c, g_vowel, Xapian::SnowballStemImplementation::in_grouping_b_U(), Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, and Xapian::SnowballStemImplementation::skip_utf8().
Referenced by r_mark_ncA(), and r_mark_nUn().
|
private |
Definition at line 601 of file turkish.cc.
References Xapian::SnowballStemImplementation::c, g_vowel, Xapian::SnowballStemImplementation::in_grouping_b_U(), Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, and Xapian::SnowballStemImplementation::skip_utf8().
Referenced by r_mark_sU().
|
private |
Definition at line 669 of file turkish.cc.
References Xapian::SnowballStemImplementation::c, g_U, g_vowel, Xapian::SnowballStemImplementation::in_grouping_b_U(), Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::out_grouping_b_U(), Xapian::SnowballStemImplementation::p, and Xapian::SnowballStemImplementation::skip_utf8().
Referenced by r_mark_possessives().
|
private |
Definition at line 635 of file turkish.cc.
References Xapian::SnowballStemImplementation::c, g_vowel, Xapian::SnowballStemImplementation::in_grouping_b_U(), Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, and Xapian::SnowballStemImplementation::skip_utf8().
Referenced by r_mark_yA(), r_mark_yDU(), r_mark_yken(), r_mark_ylA(), r_mark_ymUs_(), r_mark_ysA(), r_mark_yU(), r_mark_yUm(), and r_mark_yUz().
|
private |
Definition at line 856 of file turkish.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, r_check_vowel_harmony(), and s_pool.
Referenced by r_stem_nominal_verb_suffixes().
|
private |
Definition at line 877 of file turkish.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, and s_pool.
Referenced by r_stem_nominal_verb_suffixes().
|
private |
Definition at line 758 of file turkish.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, r_check_vowel_harmony(), r_mark_suffix_with_optional_y_consonant(), and s_pool.
Referenced by r_stem_noun_suffixes().
|
private |
Definition at line 916 of file turkish.cc.
References Xapian::SnowballStemImplementation::find_among_b(), r_check_vowel_harmony(), r_mark_suffix_with_optional_y_consonant(), and s_pool.
Referenced by r_stem_nominal_verb_suffixes().
|
private |
Definition at line 948 of file turkish.cc.
References Xapian::SnowballStemImplementation::eq_s_b(), r_mark_suffix_with_optional_y_consonant(), and s_4.
Referenced by r_stem_nominal_verb_suffixes().
|
private |
Definition at line 815 of file turkish.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, r_check_vowel_harmony(), r_mark_suffix_with_optional_y_consonant(), and s_pool.
Referenced by r_stem_noun_suffixes().
|
private |
Definition at line 936 of file turkish.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, r_check_vowel_harmony(), r_mark_suffix_with_optional_y_consonant(), and s_pool.
Referenced by r_stem_nominal_verb_suffixes().
|
private |
Definition at line 927 of file turkish.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, r_mark_suffix_with_optional_y_consonant(), and s_pool.
Referenced by r_stem_nominal_verb_suffixes().
|
private |
Definition at line 727 of file turkish.cc.
References g_U, Xapian::SnowballStemImplementation::in_grouping_b_U(), r_check_vowel_harmony(), and r_mark_suffix_with_optional_y_consonant().
Referenced by r_stem_noun_suffixes().
|
private |
Definition at line 844 of file turkish.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, r_check_vowel_harmony(), r_mark_suffix_with_optional_y_consonant(), and s_pool.
Referenced by r_stem_nominal_verb_suffixes().
|
private |
Definition at line 865 of file turkish.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, r_check_vowel_harmony(), r_mark_suffix_with_optional_y_consonant(), and s_pool.
Referenced by r_stem_nominal_verb_suffixes().
|
private |
Definition at line 2059 of file turkish.cc.
References Xapian::SnowballStemImplementation::c, g_vowel, and Xapian::SnowballStemImplementation::out_grouping_U().
Referenced by stem().
|
private |
Definition at line 1919 of file turkish.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), Xapian::SnowballStemImplementation::ket, s_5, s_6, s_7, s_8, s_pool, and Xapian::SnowballStemImplementation::slice_from_s().
Referenced by r_postlude().
|
private |
Definition at line 2082 of file turkish.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, r_append_U_to_stems_ending_with_d_or_g(), r_is_reserved_word(), and r_post_process_last_consonants().
Referenced by stem().
|
private |
Definition at line 956 of file turkish.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, I_continue_stemming_noun_suffixes, Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::l, r_mark_cAsInA(), r_mark_DUr(), r_mark_lAr(), r_mark_nUz(), r_mark_sUn(), r_mark_sUnUz(), r_mark_yDU(), r_mark_yken(), r_mark_ymUs_(), r_mark_ysA(), r_mark_yUm(), r_mark_yUz(), and Xapian::SnowballStemImplementation::slice_del().
Referenced by stem().
|
private |
Definition at line 1409 of file turkish.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::l, r_mark_DA(), r_mark_DAn(), r_mark_lAr(), r_mark_lArI(), r_mark_nA(), r_mark_ncA(), r_mark_ndA(), r_mark_ndAn(), r_mark_nU(), r_mark_nUn(), r_mark_possessives(), r_mark_sU(), r_mark_yA(), r_mark_ylA(), r_mark_yU(), r_stem_suffix_chain_before_ki(), and Xapian::SnowballStemImplementation::slice_del().
Referenced by stem().
|
private |
Definition at line 1213 of file turkish.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::l, r_mark_DA(), r_mark_ki(), r_mark_lAr(), r_mark_lArI(), r_mark_ndA(), r_mark_nUn(), r_mark_possessives(), r_mark_sU(), and Xapian::SnowballStemImplementation::slice_del().
Referenced by r_stem_noun_suffixes().
|
virtual |
Virtual method implemented by the subclass to actually do the work.
Implements Xapian::SnowballStemImplementation.
Definition at line 2110 of file turkish.cc.
References Xapian::SnowballStemImplementation::c, I_continue_stemming_noun_suffixes, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, r_more_than_one_syllable_word(), r_postlude(), r_stem_nominal_verb_suffixes(), and r_stem_noun_suffixes().
|
private |
Definition at line 9 of file turkish.h.
Referenced by r_stem_nominal_verb_suffixes(), and stem().