xapian-core
1.4.26
|
#include <arabic.h>
Public Member Functions | |
InternalStemArabic () | |
~InternalStemArabic () | |
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_Checks1 () |
int | r_Normalize_pre () |
int | r_Normalize_post () |
int | r_Suffix_Verb_Step2c () |
int | r_Suffix_Verb_Step2b () |
int | r_Suffix_Verb_Step2a () |
int | r_Suffix_Verb_Step1 () |
int | r_Suffix_Noun_Step3 () |
int | r_Suffix_Noun_Step2c2 () |
int | r_Suffix_Noun_Step2c1 () |
int | r_Suffix_Noun_Step2b () |
int | r_Suffix_Noun_Step2a () |
int | r_Suffix_Noun_Step1b () |
int | r_Suffix_Noun_Step1a () |
int | r_Suffix_All_alef_maqsura () |
int | r_Prefix_Step4_Verb () |
int | r_Prefix_Step3_Verb () |
int | r_Prefix_Step3b_Noun () |
int | r_Prefix_Step3a_Noun () |
int | r_Prefix_Step2 () |
int | r_Prefix_Step1 () |
Private Attributes | |
unsigned char | I_is_defined |
unsigned char | I_is_verb |
unsigned char | I_is_noun |
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 1242 of file arabic.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among(), I_is_defined, I_is_noun, I_is_verb, Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::len_utf8(), Xapian::SnowballStemImplementation::p, and s_pool.
Referenced by stem().
|
private |
Definition at line 1181 of file arabic.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among(), Xapian::SnowballStemImplementation::find_among_b(), Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, s_50, s_51, s_52, s_53, s_pool, Xapian::SnowballStemImplementation::skip_utf8(), and Xapian::SnowballStemImplementation::slice_from_s().
Referenced by stem().
|
private |
Definition at line 901 of file arabic.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among(), Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::len_utf8(), Xapian::SnowballStemImplementation::p, s_0, s_1, s_10, s_11, s_12, s_13, s_14, s_15, s_16, s_17, s_18, s_19, s_2, s_20, s_21, s_22, s_23, s_24, s_25, s_26, s_27, s_28, s_29, s_3, s_30, s_31, s_32, s_33, s_34, s_35, s_36, s_37, s_38, s_39, s_4, s_40, s_41, s_42, s_43, s_44, s_45, s_46, s_47, s_48, s_49, s_5, s_6, s_7, s_8, s_9, s_pool, Xapian::SnowballStemImplementation::skip_utf8(), Xapian::SnowballStemImplementation::slice_del(), and Xapian::SnowballStemImplementation::slice_from_s().
Referenced by stem().
|
private |
Definition at line 1266 of file arabic.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among(), Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::len_utf8(), Xapian::SnowballStemImplementation::p, s_54, s_55, s_56, s_57, s_pool, and Xapian::SnowballStemImplementation::slice_from_s().
Referenced by stem().
|
private |
Definition at line 1302 of file arabic.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::eq_s(), Xapian::SnowballStemImplementation::find_among(), Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::len_utf8(), Xapian::SnowballStemImplementation::p, s_58, s_59, s_pool, and Xapian::SnowballStemImplementation::slice_del().
Referenced by stem().
|
private |
Definition at line 1386 of file arabic.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among(), Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::len_utf8(), Xapian::SnowballStemImplementation::p, s_63, s_64, s_65, s_66, s_pool, and Xapian::SnowballStemImplementation::slice_from_s().
Referenced by stem().
|
private |
Definition at line 1326 of file arabic.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among(), Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::len_utf8(), Xapian::SnowballStemImplementation::p, s_pool, and Xapian::SnowballStemImplementation::slice_del().
Referenced by stem().
|
private |
Definition at line 1350 of file arabic.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::eq_s(), Xapian::SnowballStemImplementation::find_among(), Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::len_utf8(), Xapian::SnowballStemImplementation::p, s_60, s_61, s_62, s_pool, Xapian::SnowballStemImplementation::slice_del(), and Xapian::SnowballStemImplementation::slice_from_s().
Referenced by stem().
|
private |
Definition at line 1421 of file arabic.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among(), I_is_noun, I_is_verb, Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::len_utf8(), Xapian::SnowballStemImplementation::p, s_67, s_pool, and Xapian::SnowballStemImplementation::slice_from_s().
Referenced by stem().
|
private |
Definition at line 1635 of file arabic.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, s_68, s_pool, and Xapian::SnowballStemImplementation::slice_from_s().
Referenced by stem().
|
private |
Definition at line 1435 of file arabic.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::len_utf8(), Xapian::SnowballStemImplementation::p, s_pool, and Xapian::SnowballStemImplementation::slice_del().
Referenced by stem().
|
private |
Definition at line 1464 of file arabic.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::len_utf8(), Xapian::SnowballStemImplementation::p, s_pool, and Xapian::SnowballStemImplementation::slice_del().
Referenced by stem().
|
private |
Definition at line 1476 of file arabic.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::len_utf8(), Xapian::SnowballStemImplementation::p, s_pool, and Xapian::SnowballStemImplementation::slice_del().
Referenced by stem().
|
private |
Definition at line 1487 of file arabic.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::len_utf8(), Xapian::SnowballStemImplementation::p, s_pool, and Xapian::SnowballStemImplementation::slice_del().
Referenced by stem().
|
private |
Definition at line 1499 of file arabic.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::len_utf8(), Xapian::SnowballStemImplementation::p, s_pool, and Xapian::SnowballStemImplementation::slice_del().
Referenced by stem().
|
private |
Definition at line 1511 of file arabic.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::len_utf8(), Xapian::SnowballStemImplementation::p, s_pool, and Xapian::SnowballStemImplementation::slice_del().
Referenced by stem().
|
private |
Definition at line 1523 of file arabic.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::len_utf8(), Xapian::SnowballStemImplementation::p, s_pool, and Xapian::SnowballStemImplementation::slice_del().
Referenced by stem().
|
private |
Definition at line 1535 of file arabic.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::len_utf8(), Xapian::SnowballStemImplementation::p, s_pool, and Xapian::SnowballStemImplementation::slice_del().
Referenced by stem().
|
private |
Definition at line 1564 of file arabic.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::len_utf8(), Xapian::SnowballStemImplementation::p, s_pool, and Xapian::SnowballStemImplementation::slice_del().
Referenced by stem().
|
private |
Definition at line 1599 of file arabic.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::len_utf8(), Xapian::SnowballStemImplementation::p, s_pool, and Xapian::SnowballStemImplementation::slice_del().
Referenced by stem().
|
private |
Definition at line 1611 of file arabic.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::len_utf8(), Xapian::SnowballStemImplementation::p, s_pool, and Xapian::SnowballStemImplementation::slice_del().
Referenced by stem().
|
virtual |
Virtual method implemented by the subclass to actually do the work.
Implements Xapian::SnowballStemImplementation.
Definition at line 1646 of file arabic.cc.
References Xapian::SnowballStemImplementation::c, I_is_defined, I_is_noun, I_is_verb, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, r_Checks1(), r_Normalize_post(), r_Normalize_pre(), r_Prefix_Step1(), r_Prefix_Step2(), r_Prefix_Step3_Verb(), r_Prefix_Step3a_Noun(), r_Prefix_Step3b_Noun(), r_Prefix_Step4_Verb(), r_Suffix_All_alef_maqsura(), r_Suffix_Noun_Step1a(), r_Suffix_Noun_Step1b(), r_Suffix_Noun_Step2a(), r_Suffix_Noun_Step2b(), r_Suffix_Noun_Step2c1(), r_Suffix_Noun_Step2c2(), r_Suffix_Noun_Step3(), r_Suffix_Verb_Step1(), r_Suffix_Verb_Step2a(), r_Suffix_Verb_Step2b(), r_Suffix_Verb_Step2c(), and Xapian::SnowballStemImplementation::skip_utf8().
|
private |
Definition at line 9 of file arabic.h.
Referenced by r_Checks1(), and stem().
|
private |
Definition at line 11 of file arabic.h.
Referenced by r_Checks1(), r_Prefix_Step4_Verb(), and stem().
|
private |
Definition at line 10 of file arabic.h.
Referenced by r_Checks1(), r_Prefix_Step4_Verb(), and stem().