xapian-core
1.4.26
|
#include <tamil.h>
Public Member Functions | |
InternalStemTamil () | |
~InternalStemTamil () | |
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_has_min_length () |
int | r_remove_common_word_endings () |
int | r_remove_tense_suffixes () |
int | r_remove_tense_suffix () |
int | r_fix_endings () |
int | r_fix_ending () |
int | r_fix_va_start () |
int | r_remove_vetrumai_urupukal () |
int | r_remove_um () |
int | r_remove_command_suffixes () |
int | r_remove_pronoun_prefixes () |
int | r_remove_question_prefixes () |
int | r_remove_question_suffixes () |
int | r_remove_plural_suffix () |
Private Attributes | |
unsigned char | I_found_vetrumai_urupu |
unsigned char | I_found_a_match |
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 |
|
virtual |
Return a string describing this object.
Implements Xapian::StemImplementation.
|
private |
Definition at line 900 of file tamil.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::eq_s_b(), Xapian::SnowballStemImplementation::find_among_b(), I_found_vetrumai_urupu, Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::len_utf8(), Xapian::SnowballStemImplementation::p, s_14, s_15, s_16, s_17, s_18, s_19, s_20, s_21, s_22, s_23, s_24, s_25, s_26, s_27, s_28, s_29, s_30, s_31, s_32, s_33, s_34, s_35, s_36, s_37, s_38, s_39, s_40, s_41, s_42, s_43, s_44, s_pool, Xapian::SnowballStemImplementation::slice_del(), and Xapian::SnowballStemImplementation::slice_from_s().
Referenced by r_fix_endings(), r_remove_um(), and stem().
|
private |
Definition at line 864 of file tamil.cc.
References Xapian::SnowballStemImplementation::c, and r_fix_ending().
Referenced by r_remove_common_word_endings(), r_remove_question_suffixes(), r_remove_tense_suffix(), and r_remove_vetrumai_urupukal().
|
private |
Definition at line 792 of file tamil.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::eq_s(), Xapian::SnowballStemImplementation::ket, s_0, s_1, s_10, s_11, s_2, s_3, s_4, s_5, s_6, s_7, s_8, s_9, and Xapian::SnowballStemImplementation::slice_from_s().
Referenced by r_remove_pronoun_prefixes(), and r_remove_question_prefixes().
|
private |
Definition at line 787 of file tamil.cc.
References Xapian::SnowballStemImplementation::len_utf8(), and Xapian::SnowballStemImplementation::p.
Referenced by r_remove_command_suffixes(), r_remove_common_word_endings(), r_remove_question_suffixes(), r_remove_tense_suffix(), r_remove_um(), r_remove_vetrumai_urupukal(), and stem().
|
private |
Definition at line 1235 of file tamil.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), I_found_a_match, Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, r_has_min_length(), s_pool, and Xapian::SnowballStemImplementation::slice_del().
Referenced by stem().
|
private |
Definition at line 1278 of file tamil.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::eq_s_b(), Xapian::SnowballStemImplementation::find_among_b(), I_found_a_match, Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, r_fix_endings(), r_has_min_length(), s_56, s_57, s_58, s_59, s_60, s_61, s_62, s_63, s_64, s_65, s_66, s_67, s_68, s_69, s_70, s_pool, Xapian::SnowballStemImplementation::slice_del(), and Xapian::SnowballStemImplementation::slice_from_s().
Referenced by stem().
|
private |
Definition at line 1155 of file tamil.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::eq_s_b(), Xapian::SnowballStemImplementation::find_among_b(), I_found_a_match, Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, s_46, s_47, s_48, s_49, s_50, s_51, s_52, s_pool, Xapian::SnowballStemImplementation::slice_del(), and Xapian::SnowballStemImplementation::slice_from_s().
Referenced by stem().
|
private |
Definition at line 1134 of file tamil.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::eq_s(), Xapian::SnowballStemImplementation::find_among(), I_found_a_match, Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::p, r_fix_va_start(), s_45, s_pool, and Xapian::SnowballStemImplementation::slice_del().
Referenced by stem().
|
private |
Definition at line 882 of file tamil.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::eq_s(), Xapian::SnowballStemImplementation::find_among(), Xapian::SnowballStemImplementation::ket, r_fix_va_start(), s_12, s_13, s_pool, and Xapian::SnowballStemImplementation::slice_del().
Referenced by stem().
|
private |
Definition at line 1209 of file tamil.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), I_found_a_match, Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, r_fix_endings(), r_has_min_length(), s_53, s_pool, and Xapian::SnowballStemImplementation::slice_from_s().
Referenced by stem().
|
private |
Definition at line 1628 of file tamil.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::eq_s_b(), Xapian::SnowballStemImplementation::find_among_b(), I_found_a_match, Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, r_fix_endings(), r_has_min_length(), s_104, s_105, s_106, s_107, s_108, s_109, s_110, s_111, s_112, s_113, s_114, s_115, s_116, s_117, s_118, s_119, s_120, s_121, s_122, s_123, s_124, s_125, s_126, s_127, s_128, s_129, s_130, s_131, s_132, s_133, s_134, s_135, s_136, s_137, s_138, s_139, s_140, s_141, s_142, s_143, s_144, s_145, s_146, s_147, s_148, s_149, s_150, s_151, s_152, s_153, s_154, s_155, s_pool, Xapian::SnowballStemImplementation::slice_del(), and Xapian::SnowballStemImplementation::slice_from_s().
Referenced by r_remove_tense_suffixes().
|
private |
Definition at line 1609 of file tamil.cc.
References Xapian::SnowballStemImplementation::c, I_found_a_match, and r_remove_tense_suffix().
Referenced by stem().
|
private |
Definition at line 1254 of file tamil.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::eq_s_b(), I_found_a_match, Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, r_fix_ending(), r_has_min_length(), s_54, s_55, and Xapian::SnowballStemImplementation::slice_from_s().
Referenced by stem().
|
private |
Definition at line 1383 of file tamil.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::eq_s_b(), Xapian::SnowballStemImplementation::find_among_b(), I_found_a_match, I_found_vetrumai_urupu, Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::len_utf8(), Xapian::SnowballStemImplementation::p, r_fix_endings(), r_has_min_length(), s_100, s_101, s_102, s_103, s_71, s_72, s_73, s_74, s_75, s_76, s_77, s_78, s_79, s_80, s_81, s_82, s_83, s_84, s_85, s_86, s_87, s_88, s_89, s_90, s_91, s_92, s_93, s_94, s_95, s_96, s_97, s_98, s_99, s_pool, Xapian::SnowballStemImplementation::slice_del(), and Xapian::SnowballStemImplementation::slice_from_s().
Referenced by stem().
|
virtual |
Virtual method implemented by the subclass to actually do the work.
Implements Xapian::SnowballStemImplementation.
Definition at line 1937 of file tamil.cc.
References Xapian::SnowballStemImplementation::c, I_found_vetrumai_urupu, r_fix_ending(), r_has_min_length(), r_remove_command_suffixes(), r_remove_common_word_endings(), r_remove_plural_suffix(), r_remove_pronoun_prefixes(), r_remove_question_prefixes(), r_remove_question_suffixes(), r_remove_tense_suffixes(), r_remove_um(), and r_remove_vetrumai_urupukal().
|
private |
Definition at line 10 of file tamil.h.
Referenced by r_remove_command_suffixes(), r_remove_common_word_endings(), r_remove_plural_suffix(), r_remove_pronoun_prefixes(), r_remove_question_suffixes(), r_remove_tense_suffix(), r_remove_tense_suffixes(), r_remove_um(), and r_remove_vetrumai_urupukal().
|
private |
Definition at line 9 of file tamil.h.
Referenced by r_fix_ending(), r_remove_vetrumai_urupukal(), and stem().