xapian-core
1.4.27
|
#include <kraaij_pohlmann.h>
Public Member Functions | |
InternalStemKraaij_pohlmann () | |
~InternalStemKraaij_pohlmann () | |
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_measure () |
int | r_Lose_infix () |
int | r_Lose_prefix () |
int | r_Step_1c () |
int | r_Step_6 () |
int | r_Step_7 () |
int | r_Step_4 () |
int | r_Step_3 () |
int | r_Step_2 () |
int | r_Step_1 () |
int | r_lengthen_V () |
int | r_VX () |
int | r_V () |
int | r_C () |
int | r_R2 () |
int | r_R1 () |
Private Attributes | |
unsigned char | I_GE_removed |
unsigned char | I_stemmed |
unsigned char | I_Y_found |
int | I_p2 |
int | I_p1 |
symbol * | S_ch |
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 kraaij_pohlmann.h.
Xapian::InternalStemKraaij_pohlmann::InternalStemKraaij_pohlmann | ( | ) |
Definition at line 1622 of file kraaij_pohlmann.cc.
References Xapian::SnowballStemImplementation::create_s(), and S_ch.
Xapian::InternalStemKraaij_pohlmann::~InternalStemKraaij_pohlmann | ( | ) |
Definition at line 1628 of file kraaij_pohlmann.cc.
|
virtual |
Return a string describing this object.
Implements Xapian::StemImplementation.
Definition at line 1634 of file kraaij_pohlmann.cc.
|
private |
Definition at line 404 of file kraaij_pohlmann.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::eq_s_b(), g_v, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::out_grouping_b_U(), and s_2.
Referenced by r_Step_1(), r_Step_1c(), r_Step_2(), r_Step_3(), and r_Step_4().
|
private |
Definition at line 418 of file kraaij_pohlmann.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, g_AIOU, g_AOU, g_v, g_v_WX, Xapian::SnowballStemImplementation::in_grouping_b_U(), Xapian::SnowballStemImplementation::insert_v(), Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::out_grouping_b_U(), Xapian::SnowballStemImplementation::p, S_ch, Xapian::SnowballStemImplementation::skip_utf8(), and Xapian::SnowballStemImplementation::slice_to().
Referenced by r_Step_1(), r_Step_2(), r_Step_3(), and r_Step_4().
|
private |
Definition at line 1320 of file kraaij_pohlmann.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::eq_s(), g_v, I_GE_removed, Xapian::SnowballStemImplementation::in_grouping_U(), Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::out_grouping_U(), Xapian::SnowballStemImplementation::p, s_67, Xapian::SnowballStemImplementation::skip_utf8(), and Xapian::SnowballStemImplementation::slice_del().
Referenced by stem().
|
private |
Definition at line 1300 of file kraaij_pohlmann.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::eq_s(), g_v, I_GE_removed, Xapian::SnowballStemImplementation::in_grouping_U(), Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::out_grouping_U(), Xapian::SnowballStemImplementation::p, s_66, Xapian::SnowballStemImplementation::skip_utf8(), and Xapian::SnowballStemImplementation::slice_del().
Referenced by stem().
|
private |
Definition at line 1352 of file kraaij_pohlmann.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::eq_s(), g_v, I_p1, I_p2, Xapian::SnowballStemImplementation::in_grouping_U(), Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::out_grouping_U(), s_68, and s_69.
Referenced by stem().
|
private |
Definition at line 360 of file kraaij_pohlmann.cc.
References Xapian::SnowballStemImplementation::c, and I_p1.
Referenced by r_Step_1(), r_Step_1c(), r_Step_2(), r_Step_3(), and r_Step_4().
|
private |
Definition at line 365 of file kraaij_pohlmann.cc.
References Xapian::SnowballStemImplementation::c, and I_p2.
Referenced by r_Step_3().
|
private |
Definition at line 486 of file kraaij_pohlmann.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::eq_s_b(), Xapian::SnowballStemImplementation::find_among_b(), Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, r_C(), r_lengthen_V(), r_R1(), r_V(), s_10, s_11, s_3, s_4, s_5, s_6, s_7, s_8, s_9, s_pool, Xapian::SnowballStemImplementation::slice_del(), and Xapian::SnowballStemImplementation::slice_from_s().
Referenced by stem().
|
private |
Definition at line 1250 of file kraaij_pohlmann.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, r_C(), r_R1(), s_pool, and Xapian::SnowballStemImplementation::slice_del().
Referenced by stem().
|
private |
Definition at line 672 of file kraaij_pohlmann.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::eq_s_b(), Xapian::SnowballStemImplementation::find_among_b(), Xapian::SnowballStemImplementation::insert_s(), Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, r_C(), r_lengthen_V(), r_R1(), r_VX(), s_12, s_13, 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_pool, Xapian::SnowballStemImplementation::slice_del(), and Xapian::SnowballStemImplementation::slice_from_s().
Referenced by stem().
|
private |
Definition at line 874 of file kraaij_pohlmann.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), Xapian::SnowballStemImplementation::insert_s(), Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, r_C(), r_lengthen_V(), r_R1(), r_R2(), s_29, s_30, s_31, s_32, s_33, s_34, s_35, s_pool, Xapian::SnowballStemImplementation::slice_del(), and Xapian::SnowballStemImplementation::slice_from_s().
Referenced by stem().
|
private |
Definition at line 975 of file kraaij_pohlmann.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, r_C(), r_lengthen_V(), r_R1(), r_V(), s_36, s_37, s_38, s_39, s_40, s_41, s_42, s_pool, Xapian::SnowballStemImplementation::slice_del(), and Xapian::SnowballStemImplementation::slice_from_s().
Referenced by stem().
|
private |
Definition at line 1138 of file kraaij_pohlmann.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, s_46, s_47, s_48, s_49, s_50, s_51, s_52, s_53, s_54, s_55, s_56, s_57, s_58, s_59, s_60, s_61, s_62, s_63, s_64, s_65, s_pool, and Xapian::SnowballStemImplementation::slice_from_s().
Referenced by stem().
|
private |
Definition at line 1111 of file kraaij_pohlmann.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, s_43, s_44, s_45, s_pool, and Xapian::SnowballStemImplementation::slice_from_s().
Referenced by stem().
|
private |
Definition at line 370 of file kraaij_pohlmann.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::eq_s_b(), g_v, Xapian::SnowballStemImplementation::in_grouping_b_U(), Xapian::SnowballStemImplementation::l, and s_0.
Referenced by r_Step_1(), and r_Step_4().
|
private |
Definition at line 385 of file kraaij_pohlmann.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::eq_s_b(), g_v, Xapian::SnowballStemImplementation::in_grouping_b_U(), Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, s_1, and Xapian::SnowballStemImplementation::skip_utf8().
Referenced by r_Step_2().
|
virtual |
Virtual method implemented by the subclass to actually do the work.
Implements Xapian::SnowballStemImplementation.
Definition at line 1420 of file kraaij_pohlmann.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, g_v, I_GE_removed, I_stemmed, I_Y_found, Xapian::SnowballStemImplementation::in_grouping_U(), Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, r_Lose_infix(), r_Lose_prefix(), r_measure(), r_Step_1(), r_Step_1c(), r_Step_2(), r_Step_3(), r_Step_4(), r_Step_6(), r_Step_7(), s_70, s_71, s_72, Xapian::SnowballStemImplementation::skip_utf8(), and Xapian::SnowballStemImplementation::slice_from_s().
|
private |
Definition at line 9 of file kraaij_pohlmann.h.
Referenced by r_Lose_infix(), r_Lose_prefix(), and stem().
|
private |
Definition at line 13 of file kraaij_pohlmann.h.
Referenced by r_measure(), and r_R1().
|
private |
Definition at line 12 of file kraaij_pohlmann.h.
Referenced by r_measure(), and r_R2().
|
private |
Definition at line 10 of file kraaij_pohlmann.h.
Referenced by stem().
|
private |
Definition at line 11 of file kraaij_pohlmann.h.
Referenced by stem().
|
private |
Definition at line 14 of file kraaij_pohlmann.h.
Referenced by InternalStemKraaij_pohlmann(), r_lengthen_V(), and ~InternalStemKraaij_pohlmann().