xapian-core
1.4.27
|
#include <hungarian.h>
Public Member Functions | |
InternalStemHungarian () | |
~InternalStemHungarian () | |
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_double () |
int | r_undouble () |
int | r_factive () |
int | r_instrum () |
int | r_plur_owner () |
int | r_sing_owner () |
int | r_owned () |
int | r_plural () |
int | r_case_other () |
int | r_case_special () |
int | r_case () |
int | r_v_ending () |
int | r_R1 () |
int | r_mark_regions () |
Private Attributes | |
int | I_p1 |
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 hungarian.h.
Xapian::InternalStemHungarian::InternalStemHungarian | ( | ) |
Definition at line 960 of file hungarian.cc.
Xapian::InternalStemHungarian::~InternalStemHungarian | ( | ) |
Definition at line 965 of file hungarian.cc.
|
virtual |
Return a string describing this object.
Implements Xapian::StemImplementation.
Definition at line 970 of file hungarian.cc.
|
private |
Definition at line 683 of file hungarian.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), Xapian::SnowballStemImplementation::ket, r_R1(), r_v_ending(), s_pool, and Xapian::SnowballStemImplementation::slice_del().
Referenced by stem().
|
private |
Definition at line 724 of file hungarian.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, r_R1(), s_4, s_5, s_pool, Xapian::SnowballStemImplementation::slice_del(), and Xapian::SnowballStemImplementation::slice_from_s().
Referenced by stem().
|
private |
Definition at line 699 of file hungarian.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, r_R1(), s_2, s_3, s_pool, and Xapian::SnowballStemImplementation::slice_from_s().
Referenced by stem().
|
private |
Definition at line 637 of file hungarian.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, and s_pool.
Referenced by r_factive(), and r_instrum().
|
private |
Definition at line 754 of file hungarian.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, r_double(), r_R1(), r_undouble(), s_pool, and Xapian::SnowballStemImplementation::slice_del().
Referenced by stem().
|
private |
Definition at line 663 of file hungarian.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, r_double(), r_R1(), r_undouble(), s_pool, and Xapian::SnowballStemImplementation::slice_del().
Referenced by stem().
|
private |
Definition at line 574 of file hungarian.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among(), g_v, I_p1, Xapian::SnowballStemImplementation::in_grouping_U(), Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::out_grouping_U(), Xapian::SnowballStemImplementation::p, s_pool, and Xapian::SnowballStemImplementation::skip_utf8().
Referenced by stem().
|
private |
Definition at line 804 of file hungarian.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, r_R1(), s_8, s_9, s_pool, Xapian::SnowballStemImplementation::slice_del(), and Xapian::SnowballStemImplementation::slice_from_s().
Referenced by stem().
|
private |
Definition at line 863 of file hungarian.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, r_R1(), s_12, s_13, s_pool, Xapian::SnowballStemImplementation::slice_del(), and Xapian::SnowballStemImplementation::slice_from_s().
Referenced by stem().
|
private |
Definition at line 774 of file hungarian.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, r_R1(), s_6, s_7, s_pool, Xapian::SnowballStemImplementation::slice_del(), and Xapian::SnowballStemImplementation::slice_from_s().
Referenced by stem().
|
private |
Definition at line 607 of file hungarian.cc.
References Xapian::SnowballStemImplementation::c, and I_p1.
Referenced by r_case(), r_case_other(), r_case_special(), r_factive(), r_instrum(), r_owned(), r_plur_owner(), r_plural(), r_sing_owner(), and r_v_ending().
|
private |
Definition at line 834 of file hungarian.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), Xapian::SnowballStemImplementation::ket, r_R1(), s_10, s_11, s_pool, Xapian::SnowballStemImplementation::slice_del(), and Xapian::SnowballStemImplementation::slice_from_s().
Referenced by stem().
|
private |
Definition at line 646 of file hungarian.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, Xapian::SnowballStemImplementation::skip_utf8(), and Xapian::SnowballStemImplementation::slice_del().
Referenced by r_factive(), and r_instrum().
|
private |
Definition at line 612 of file hungarian.cc.
References Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), Xapian::SnowballStemImplementation::ket, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, r_R1(), s_0, s_1, s_pool, and Xapian::SnowballStemImplementation::slice_from_s().
Referenced by r_case().
|
virtual |
Virtual method implemented by the subclass to actually do the work.
Implements Xapian::SnowballStemImplementation.
Definition at line 893 of file hungarian.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, r_case(), r_case_other(), r_case_special(), r_factive(), r_instrum(), r_mark_regions(), r_owned(), r_plur_owner(), r_plural(), and r_sing_owner().
|
private |
Definition at line 9 of file hungarian.h.
Referenced by r_mark_regions(), and r_R1().