xapian-core
1.4.26
|
#include <lovins.h>
Public Member Functions | |
int | r_CC () |
int | r_BB () |
int | r_AA () |
int | r_Z () |
int | r_Y () |
int | r_X () |
int | r_W () |
int | r_V () |
int | r_U () |
int | r_T () |
int | r_S () |
int | r_R () |
int | r_Q () |
int | r_P () |
int | r_O () |
int | r_N () |
int | r_M () |
int | r_L () |
int | r_K () |
int | r_J () |
int | r_I () |
int | r_H () |
int | r_G () |
int | r_F () |
int | r_E () |
int | r_D () |
int | r_C () |
int | r_B () |
int | r_A () |
InternalStemLovins () | |
~InternalStemLovins () | |
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_respell () |
int | r_undouble () |
int | r_endings () |
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.
int Xapian::InternalStemLovins::r_A | ( | ) |
Definition at line 1425 of file lovins.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, and Xapian::SnowballStemImplementation::skip_utf8().
int Xapian::InternalStemLovins::r_AA | ( | ) |
Definition at line 1996 of file lovins.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, s_pool, and Xapian::SnowballStemImplementation::skip_utf8().
int Xapian::InternalStemLovins::r_B | ( | ) |
Definition at line 1433 of file lovins.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, and Xapian::SnowballStemImplementation::skip_utf8().
int Xapian::InternalStemLovins::r_BB | ( | ) |
Definition at line 2009 of file lovins.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::eq_s_b(), Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, s_3, s_4, and Xapian::SnowballStemImplementation::skip_utf8().
int Xapian::InternalStemLovins::r_C | ( | ) |
Definition at line 1441 of file lovins.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, and Xapian::SnowballStemImplementation::skip_utf8().
int Xapian::InternalStemLovins::r_CC | ( | ) |
Definition at line 2032 of file lovins.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, and Xapian::SnowballStemImplementation::skip_utf8().
int Xapian::InternalStemLovins::r_D | ( | ) |
Definition at line 1449 of file lovins.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, and Xapian::SnowballStemImplementation::skip_utf8().
int Xapian::InternalStemLovins::r_E | ( | ) |
Definition at line 1457 of file lovins.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, and Xapian::SnowballStemImplementation::skip_utf8().
|
private |
Definition at line 2045 of file lovins.cc.
References af, af_1, Xapian::SnowballStemImplementation::bra, Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::find_among_b(), Xapian::SnowballStemImplementation::ket, s_pool, and Xapian::SnowballStemImplementation::slice_del().
Referenced by stem().
int Xapian::InternalStemLovins::r_F | ( | ) |
Definition at line 1475 of file lovins.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, and Xapian::SnowballStemImplementation::skip_utf8().
int Xapian::InternalStemLovins::r_G | ( | ) |
Definition at line 1493 of file lovins.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, and Xapian::SnowballStemImplementation::skip_utf8().
int Xapian::InternalStemLovins::r_H | ( | ) |
Definition at line 1506 of file lovins.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::eq_s_b(), Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, s_0, and Xapian::SnowballStemImplementation::skip_utf8().
int Xapian::InternalStemLovins::r_I | ( | ) |
Definition at line 1526 of file lovins.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, and Xapian::SnowballStemImplementation::skip_utf8().
int Xapian::InternalStemLovins::r_J | ( | ) |
Definition at line 1551 of file lovins.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, and Xapian::SnowballStemImplementation::skip_utf8().
int Xapian::InternalStemLovins::r_K | ( | ) |
Definition at line 1576 of file lovins.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, and Xapian::SnowballStemImplementation::skip_utf8().
int Xapian::InternalStemLovins::r_L | ( | ) |
Definition at line 1608 of file lovins.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, and Xapian::SnowballStemImplementation::skip_utf8().
int Xapian::InternalStemLovins::r_M | ( | ) |
Definition at line 1647 of file lovins.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, and Xapian::SnowballStemImplementation::skip_utf8().
int Xapian::InternalStemLovins::r_N | ( | ) |
Definition at line 1686 of file lovins.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, and Xapian::SnowballStemImplementation::skip_utf8().
int Xapian::InternalStemLovins::r_O | ( | ) |
Definition at line 1718 of file lovins.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, and Xapian::SnowballStemImplementation::skip_utf8().
int Xapian::InternalStemLovins::r_P | ( | ) |
Definition at line 1739 of file lovins.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, and Xapian::SnowballStemImplementation::skip_utf8().
int Xapian::InternalStemLovins::r_Q | ( | ) |
Definition at line 1757 of file lovins.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, and Xapian::SnowballStemImplementation::skip_utf8().
int Xapian::InternalStemLovins::r_R | ( | ) |
Definition at line 1789 of file lovins.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, and Xapian::SnowballStemImplementation::skip_utf8().
|
private |
Definition at line 2073 of file lovins.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, s_10, s_11, 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_29, s_30, s_31, s_32, s_33, s_34, s_35, s_36, s_37, s_5, s_6, s_7, s_8, s_9, s_pool, and Xapian::SnowballStemImplementation::slice_from_s().
Referenced by stem().
int Xapian::InternalStemLovins::r_S | ( | ) |
Definition at line 1810 of file lovins.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::eq_s_b(), Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, s_1, and Xapian::SnowballStemImplementation::skip_utf8().
int Xapian::InternalStemLovins::r_T | ( | ) |
Definition at line 1837 of file lovins.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, and Xapian::SnowballStemImplementation::skip_utf8().
int Xapian::InternalStemLovins::r_U | ( | ) |
Definition at line 1865 of file lovins.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, and Xapian::SnowballStemImplementation::skip_utf8().
|
private |
Definition at line 2055 of file lovins.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, s_pool, Xapian::SnowballStemImplementation::skip_utf8(), and Xapian::SnowballStemImplementation::slice_del().
Referenced by stem().
int Xapian::InternalStemLovins::r_V | ( | ) |
Definition at line 1896 of file lovins.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, and Xapian::SnowballStemImplementation::skip_utf8().
int Xapian::InternalStemLovins::r_W | ( | ) |
Definition at line 1909 of file lovins.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, and Xapian::SnowballStemImplementation::skip_utf8().
int Xapian::InternalStemLovins::r_X | ( | ) |
Definition at line 1934 of file lovins.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, and Xapian::SnowballStemImplementation::skip_utf8().
int Xapian::InternalStemLovins::r_Y | ( | ) |
Definition at line 1966 of file lovins.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::eq_s_b(), Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, s_2, and Xapian::SnowballStemImplementation::skip_utf8().
int Xapian::InternalStemLovins::r_Z | ( | ) |
Definition at line 1978 of file lovins.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, Xapian::SnowballStemImplementation::p, and Xapian::SnowballStemImplementation::skip_utf8().
|
virtual |
Virtual method implemented by the subclass to actually do the work.
Implements Xapian::SnowballStemImplementation.
Definition at line 2306 of file lovins.cc.
References Xapian::SnowballStemImplementation::c, Xapian::SnowballStemImplementation::l, Xapian::SnowballStemImplementation::lb, r_endings(), r_respell(), and r_undouble().