Xapian::InternalStemTurkish Class Reference

#include <turkish.h>

Inheritance diagram for Xapian::InternalStemTurkish:

Inheritance graph
[legend]
Collaboration diagram for Xapian::InternalStemTurkish:

Collaboration graph
[legend]
List of all members.

Public Member Functions

int r_stem_suffix_chain_before_ki ()
int r_stem_noun_suffixes ()
int r_stem_nominal_verb_suffixes ()
int r_postlude ()
int r_post_process_last_consonants ()
int r_more_than_one_syllable_word ()
int r_mark_suffix_with_optional_s_consonant ()
int r_mark_suffix_with_optional_n_consonant ()
int r_mark_suffix_with_optional_U_vowel ()
int r_mark_suffix_with_optional_y_consonant ()
int r_mark_ysA ()
int r_mark_ymUs_ ()
int r_mark_yken ()
int r_mark_yDU ()
int r_mark_yUz ()
int r_mark_yUm ()
int r_mark_yU ()
int r_mark_ylA ()
int r_mark_yA ()
int r_mark_possessives ()
int r_mark_sUnUz ()
int r_mark_sUn ()
int r_mark_sU ()
int r_mark_nUz ()
int r_mark_nUn ()
int r_mark_nU ()
int r_mark_ndAn ()
int r_mark_ndA ()
int r_mark_ncA ()
int r_mark_nA ()
int r_mark_lArI ()
int r_mark_lAr ()
int r_mark_ki ()
int r_mark_DUr ()
int r_mark_DAn ()
int r_mark_DA ()
int r_mark_cAsInA ()
int r_is_reserved_word ()
int r_check_vowel_harmony ()
int r_append_U_to_stems_ending_with_d_or_g ()
 InternalStemTurkish ()
 ~InternalStemTurkish ()
int stem ()
 Virtual method implemented by the subclass to actually do the work.
const char * get_description () const
 Return string describing this object.

Private Attributes

unsigned char B_continue_stemming_noun_suffixes
int I_strlen

Detailed Description

Definition at line 7 of file turkish.h.


Constructor & Destructor Documentation

Xapian::InternalStemTurkish::InternalStemTurkish (  ) 

Definition at line 1978 of file turkish.cc.

Xapian::InternalStemTurkish::~InternalStemTurkish (  ) 

Definition at line 1983 of file turkish.cc.


Member Function Documentation

int Xapian::InternalStemTurkish::r_stem_suffix_chain_before_ki (  ) 

Definition at line 1092 of file turkish.cc.

References Xapian::Stem::Internal::bra, Xapian::Stem::Internal::c, Xapian::Stem::Internal::ket, Xapian::Stem::Internal::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::Stem::Internal::slice_del().

Referenced by r_stem_noun_suffixes().

int Xapian::InternalStemTurkish::r_stem_noun_suffixes (  ) 

Definition at line 1266 of file turkish.cc.

References Xapian::Stem::Internal::bra, Xapian::Stem::Internal::c, Xapian::Stem::Internal::ket, Xapian::Stem::Internal::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::Stem::Internal::slice_del().

Referenced by stem().

int Xapian::InternalStemTurkish::r_stem_nominal_verb_suffixes (  ) 

Definition at line 843 of file turkish.cc.

References B_continue_stemming_noun_suffixes, Xapian::Stem::Internal::bra, Xapian::Stem::Internal::c, Xapian::Stem::Internal::ket, Xapian::Stem::Internal::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::Stem::Internal::slice_del().

Referenced by stem().

int Xapian::InternalStemTurkish::r_postlude (  ) 

Definition at line 1916 of file turkish.cc.

References Xapian::Stem::Internal::c, Xapian::Stem::Internal::l, Xapian::Stem::Internal::lb, r_append_U_to_stems_ending_with_d_or_g(), r_is_reserved_word(), and r_post_process_last_consonants().

Referenced by stem().

int Xapian::InternalStemTurkish::r_post_process_last_consonants (  ) 

Definition at line 1726 of file turkish.cc.

References a_23, Xapian::Stem::Internal::bra, Xapian::Stem::Internal::c, Xapian::Stem::Internal::find_among_b(), Xapian::Stem::Internal::ket, s_5, s_6, s_7, s_8, and Xapian::Stem::Internal::slice_from_s().

Referenced by r_postlude().

int Xapian::InternalStemTurkish::r_more_than_one_syllable_word (  ) 

Definition at line 1856 of file turkish.cc.

References Xapian::Stem::Internal::c, g_vowel, and Xapian::Stem::Internal::out_grouping_U().

Referenced by stem().

int Xapian::InternalStemTurkish::r_mark_suffix_with_optional_s_consonant (  ) 

Definition at line 488 of file turkish.cc.

References Xapian::Stem::Internal::c, g_vowel, Xapian::Stem::Internal::in_grouping_b_U(), Xapian::Stem::Internal::l, Xapian::Stem::Internal::lb, Xapian::Stem::Internal::p, and skip_utf8().

Referenced by r_mark_sU().

int Xapian::InternalStemTurkish::r_mark_suffix_with_optional_n_consonant (  ) 

Definition at line 454 of file turkish.cc.

References Xapian::Stem::Internal::c, g_vowel, Xapian::Stem::Internal::in_grouping_b_U(), Xapian::Stem::Internal::l, Xapian::Stem::Internal::lb, Xapian::Stem::Internal::p, and skip_utf8().

Referenced by r_mark_ncA(), and r_mark_nUn().

int Xapian::InternalStemTurkish::r_mark_suffix_with_optional_U_vowel (  ) 

Definition at line 556 of file turkish.cc.

References Xapian::Stem::Internal::c, g_U, g_vowel, Xapian::Stem::Internal::in_grouping_b_U(), Xapian::Stem::Internal::l, Xapian::Stem::Internal::lb, Xapian::Stem::Internal::out_grouping_b_U(), Xapian::Stem::Internal::p, and skip_utf8().

Referenced by r_mark_possessives().

int Xapian::InternalStemTurkish::r_mark_suffix_with_optional_y_consonant (  ) 

Definition at line 522 of file turkish.cc.

References Xapian::Stem::Internal::c, g_vowel, Xapian::Stem::Internal::in_grouping_b_U(), Xapian::Stem::Internal::l, Xapian::Stem::Internal::lb, Xapian::Stem::Internal::p, and 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().

int Xapian::InternalStemTurkish::r_mark_ysA (  ) 

Definition at line 814 of file turkish.cc.

References a_21, Xapian::Stem::Internal::c, Xapian::Stem::Internal::find_among_b(), Xapian::Stem::Internal::lb, Xapian::Stem::Internal::p, and r_mark_suffix_with_optional_y_consonant().

Referenced by r_stem_nominal_verb_suffixes().

int Xapian::InternalStemTurkish::r_mark_ymUs_ (  ) 

Definition at line 823 of file turkish.cc.

References a_22, Xapian::Stem::Internal::c, Xapian::Stem::Internal::find_among_b(), Xapian::Stem::Internal::lb, Xapian::Stem::Internal::p, r_check_vowel_harmony(), and r_mark_suffix_with_optional_y_consonant().

Referenced by r_stem_nominal_verb_suffixes().

int Xapian::InternalStemTurkish::r_mark_yken (  ) 

Definition at line 835 of file turkish.cc.

References Xapian::Stem::Internal::eq_s_b(), r_mark_suffix_with_optional_y_consonant(), and s_4.

Referenced by r_stem_nominal_verb_suffixes().

int Xapian::InternalStemTurkish::r_mark_yDU (  ) 

Definition at line 803 of file turkish.cc.

References a_20, Xapian::Stem::Internal::find_among_b(), r_check_vowel_harmony(), and r_mark_suffix_with_optional_y_consonant().

Referenced by r_stem_nominal_verb_suffixes().

int Xapian::InternalStemTurkish::r_mark_yUz (  ) 

Definition at line 752 of file turkish.cc.

References a_14, Xapian::Stem::Internal::c, Xapian::Stem::Internal::find_among_b(), Xapian::Stem::Internal::lb, Xapian::Stem::Internal::p, r_check_vowel_harmony(), and r_mark_suffix_with_optional_y_consonant().

Referenced by r_stem_nominal_verb_suffixes().

int Xapian::InternalStemTurkish::r_mark_yUm (  ) 

Definition at line 731 of file turkish.cc.

References a_12, Xapian::Stem::Internal::c, Xapian::Stem::Internal::find_among_b(), Xapian::Stem::Internal::lb, Xapian::Stem::Internal::p, r_check_vowel_harmony(), and r_mark_suffix_with_optional_y_consonant().

Referenced by r_stem_nominal_verb_suffixes().

int Xapian::InternalStemTurkish::r_mark_yU (  ) 

Definition at line 614 of file turkish.cc.

References g_U, Xapian::Stem::Internal::in_grouping_b_U(), r_check_vowel_harmony(), and r_mark_suffix_with_optional_y_consonant().

Referenced by r_stem_noun_suffixes().

int Xapian::InternalStemTurkish::r_mark_ylA (  ) 

Definition at line 702 of file turkish.cc.

References a_10, Xapian::Stem::Internal::c, Xapian::Stem::Internal::find_among_b(), Xapian::Stem::Internal::lb, Xapian::Stem::Internal::p, r_check_vowel_harmony(), and r_mark_suffix_with_optional_y_consonant().

Referenced by r_stem_noun_suffixes().

int Xapian::InternalStemTurkish::r_mark_yA (  ) 

Definition at line 645 of file turkish.cc.

References a_4, Xapian::Stem::Internal::c, Xapian::Stem::Internal::find_among_b(), Xapian::Stem::Internal::lb, Xapian::Stem::Internal::p, r_check_vowel_harmony(), and r_mark_suffix_with_optional_y_consonant().

Referenced by r_stem_noun_suffixes().

int Xapian::InternalStemTurkish::r_mark_possessives (  ) 

Definition at line 588 of file turkish.cc.

References a_0, Xapian::Stem::Internal::c, Xapian::Stem::Internal::find_among_b(), Xapian::Stem::Internal::lb, Xapian::Stem::Internal::p, and r_mark_suffix_with_optional_U_vowel().

Referenced by r_stem_noun_suffixes(), and r_stem_suffix_chain_before_ki().

int Xapian::InternalStemTurkish::r_mark_sUnUz (  ) 

Definition at line 764 of file turkish.cc.

References a_15, Xapian::Stem::Internal::c, Xapian::Stem::Internal::find_among_b(), Xapian::Stem::Internal::lb, and Xapian::Stem::Internal::p.

Referenced by r_stem_nominal_verb_suffixes().

int Xapian::InternalStemTurkish::r_mark_sUn (  ) 

Definition at line 743 of file turkish.cc.

References a_13, Xapian::Stem::Internal::c, Xapian::Stem::Internal::find_among_b(), Xapian::Stem::Internal::lb, Xapian::Stem::Internal::p, and r_check_vowel_harmony().

Referenced by r_stem_nominal_verb_suffixes().

int Xapian::InternalStemTurkish::r_mark_sU (  ) 

Definition at line 597 of file turkish.cc.

References g_U, Xapian::Stem::Internal::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().

int Xapian::InternalStemTurkish::r_mark_nUz (  ) 

Definition at line 779 of file turkish.cc.

References a_17, Xapian::Stem::Internal::c, Xapian::Stem::Internal::find_among_b(), Xapian::Stem::Internal::lb, Xapian::Stem::Internal::p, and r_check_vowel_harmony().

Referenced by r_stem_nominal_verb_suffixes().

int Xapian::InternalStemTurkish::r_mark_nUn (  ) 

Definition at line 633 of file turkish.cc.

References a_3, Xapian::Stem::Internal::c, Xapian::Stem::Internal::find_among_b(), Xapian::Stem::Internal::lb, Xapian::Stem::Internal::p, r_check_vowel_harmony(), and r_mark_suffix_with_optional_n_consonant().

Referenced by r_stem_noun_suffixes(), and r_stem_suffix_chain_before_ki().

int Xapian::InternalStemTurkish::r_mark_nU (  ) 

Definition at line 625 of file turkish.cc.

References a_2, Xapian::Stem::Internal::find_among_b(), and r_check_vowel_harmony().

Referenced by r_stem_noun_suffixes().

int Xapian::InternalStemTurkish::r_mark_ndAn (  ) 

Definition at line 693 of file turkish.cc.

References a_9, Xapian::Stem::Internal::c, Xapian::Stem::Internal::find_among_b(), Xapian::Stem::Internal::lb, Xapian::Stem::Internal::p, and r_check_vowel_harmony().

Referenced by r_stem_noun_suffixes().

int Xapian::InternalStemTurkish::r_mark_ndA (  ) 

Definition at line 675 of file turkish.cc.

References a_7, Xapian::Stem::Internal::c, Xapian::Stem::Internal::find_among_b(), Xapian::Stem::Internal::lb, Xapian::Stem::Internal::p, and r_check_vowel_harmony().

Referenced by r_stem_noun_suffixes(), and r_stem_suffix_chain_before_ki().

int Xapian::InternalStemTurkish::r_mark_ncA (  ) 

Definition at line 719 of file turkish.cc.

References a_11, Xapian::Stem::Internal::c, Xapian::Stem::Internal::find_among_b(), Xapian::Stem::Internal::lb, Xapian::Stem::Internal::p, r_check_vowel_harmony(), and r_mark_suffix_with_optional_n_consonant().

Referenced by r_stem_noun_suffixes().

int Xapian::InternalStemTurkish::r_mark_nA (  ) 

Definition at line 657 of file turkish.cc.

References a_5, Xapian::Stem::Internal::c, Xapian::Stem::Internal::find_among_b(), Xapian::Stem::Internal::lb, Xapian::Stem::Internal::p, and r_check_vowel_harmony().

Referenced by r_stem_noun_suffixes().

int Xapian::InternalStemTurkish::r_mark_lArI (  ) 

Definition at line 608 of file turkish.cc.

References a_1, Xapian::Stem::Internal::c, Xapian::Stem::Internal::find_among_b(), Xapian::Stem::Internal::lb, and Xapian::Stem::Internal::p.

Referenced by r_stem_noun_suffixes(), and r_stem_suffix_chain_before_ki().

int Xapian::InternalStemTurkish::r_mark_lAr (  ) 

Definition at line 770 of file turkish.cc.

References a_16, Xapian::Stem::Internal::c, Xapian::Stem::Internal::find_among_b(), Xapian::Stem::Internal::lb, Xapian::Stem::Internal::p, and r_check_vowel_harmony().

Referenced by r_stem_nominal_verb_suffixes(), r_stem_noun_suffixes(), and r_stem_suffix_chain_before_ki().

int Xapian::InternalStemTurkish::r_mark_ki (  ) 

Definition at line 714 of file turkish.cc.

References Xapian::Stem::Internal::eq_s_b(), and s_3.

Referenced by r_stem_suffix_chain_before_ki().

int Xapian::InternalStemTurkish::r_mark_DUr (  ) 

Definition at line 788 of file turkish.cc.

References a_18, Xapian::Stem::Internal::c, Xapian::Stem::Internal::find_among_b(), Xapian::Stem::Internal::lb, Xapian::Stem::Internal::p, and r_check_vowel_harmony().

Referenced by r_stem_nominal_verb_suffixes().

int Xapian::InternalStemTurkish::r_mark_DAn (  ) 

Definition at line 684 of file turkish.cc.

References a_8, Xapian::Stem::Internal::c, Xapian::Stem::Internal::find_among_b(), Xapian::Stem::Internal::lb, Xapian::Stem::Internal::p, and r_check_vowel_harmony().

Referenced by r_stem_noun_suffixes().

int Xapian::InternalStemTurkish::r_mark_DA (  ) 

Definition at line 666 of file turkish.cc.

References a_6, Xapian::Stem::Internal::c, Xapian::Stem::Internal::find_among_b(), Xapian::Stem::Internal::lb, Xapian::Stem::Internal::p, and r_check_vowel_harmony().

Referenced by r_stem_noun_suffixes(), and r_stem_suffix_chain_before_ki().

int Xapian::InternalStemTurkish::r_mark_cAsInA (  ) 

Definition at line 797 of file turkish.cc.

References a_19, Xapian::Stem::Internal::c, Xapian::Stem::Internal::find_among_b(), Xapian::Stem::Internal::lb, and Xapian::Stem::Internal::p.

Referenced by r_stem_nominal_verb_suffixes().

int Xapian::InternalStemTurkish::r_is_reserved_word (  ) 

Definition at line 1878 of file turkish.cc.

References Xapian::Stem::Internal::c, Xapian::Stem::Internal::eq_s(), I_strlen, Xapian::Stem::Internal::l, Xapian::Stem::Internal::p, s_16, s_17, and skip_utf8().

Referenced by r_postlude().

int Xapian::InternalStemTurkish::r_check_vowel_harmony (  ) 

Definition at line 401 of file turkish.cc.

References Xapian::Stem::Internal::c, Xapian::Stem::Internal::eq_s_b(), g_vowel, g_vowel1, g_vowel2, g_vowel3, g_vowel4, g_vowel5, g_vowel6, Xapian::Stem::Internal::l, Xapian::Stem::Internal::lb, Xapian::Stem::Internal::out_grouping_b_U(), Xapian::Stem::Internal::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().

int Xapian::InternalStemTurkish::r_append_U_to_stems_ending_with_d_or_g (  ) 

Definition at line 1758 of file turkish.cc.

References Xapian::Stem::Internal::c, Xapian::Stem::Internal::eq_s_b(), g_vowel, Xapian::Stem::Internal::insert_s(), Xapian::Stem::Internal::l, Xapian::Stem::Internal::lb, Xapian::Stem::Internal::out_grouping_b_U(), Xapian::Stem::Internal::p, s_10, s_11, s_12, s_13, s_14, s_15, and s_9.

Referenced by r_postlude().

int Xapian::InternalStemTurkish::stem (  )  [virtual]

Virtual method implemented by the subclass to actually do the work.

Implements Xapian::Stem::Internal.

Definition at line 1948 of file turkish.cc.

References B_continue_stemming_noun_suffixes, Xapian::Stem::Internal::c, Xapian::Stem::Internal::l, Xapian::Stem::Internal::lb, r_more_than_one_syllable_word(), r_postlude(), r_stem_nominal_verb_suffixes(), and r_stem_noun_suffixes().

const char * Xapian::InternalStemTurkish::get_description (  )  const [virtual]

Return string describing this object.

Implements Xapian::Stem::Internal.

Definition at line 1988 of file turkish.cc.


Member Data Documentation

unsigned char Xapian::InternalStemTurkish::B_continue_stemming_noun_suffixes [private]

Definition at line 8 of file turkish.h.

Referenced by r_stem_nominal_verb_suffixes(), and stem().

int Xapian::InternalStemTurkish::I_strlen [private]

Definition at line 9 of file turkish.h.

Referenced by r_is_reserved_word().


The documentation for this class was generated from the following files:
Documentation for Xapian (version 1.0.10).
Generated on 24 Dec 2008 by Doxygen 1.5.2.