xapian-core  1.4.27
Public Member Functions | Private Member Functions | Private Attributes | List of all members
Xapian::InternalStemKraaij_pohlmann Class Reference

#include <kraaij_pohlmann.h>

+ Inheritance diagram for Xapian::InternalStemKraaij_pohlmann:
+ Collaboration diagram for Xapian::InternalStemKraaij_pohlmann:

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
 
symbolS_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)
 
symbolslice_to (symbol *v)
 
symbolassign_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 symbolincrease_size (symbol *p, int n)
 
static symbolcreate_s ()
 
- Protected Attributes inherited from Xapian::SnowballStemImplementation
symbolp
 
int c
 
int l
 
int lb
 
int bra
 
int ket
 

Detailed Description

Definition at line 8 of file kraaij_pohlmann.h.

Constructor & Destructor Documentation

◆ InternalStemKraaij_pohlmann()

Xapian::InternalStemKraaij_pohlmann::InternalStemKraaij_pohlmann ( )

Definition at line 1622 of file kraaij_pohlmann.cc.

References Xapian::SnowballStemImplementation::create_s(), and S_ch.

◆ ~InternalStemKraaij_pohlmann()

Xapian::InternalStemKraaij_pohlmann::~InternalStemKraaij_pohlmann ( )

Definition at line 1628 of file kraaij_pohlmann.cc.

References lose_s(), and S_ch.

Member Function Documentation

◆ get_description()

std::string Xapian::InternalStemKraaij_pohlmann::get_description ( ) const
virtual

Return a string describing this object.

Implements Xapian::StemImplementation.

Definition at line 1634 of file kraaij_pohlmann.cc.

◆ r_C()

int Xapian::InternalStemKraaij_pohlmann::r_C ( )
private

◆ r_lengthen_V()

int Xapian::InternalStemKraaij_pohlmann::r_lengthen_V ( )
private

◆ r_Lose_infix()

int Xapian::InternalStemKraaij_pohlmann::r_Lose_infix ( )
private

◆ r_Lose_prefix()

int Xapian::InternalStemKraaij_pohlmann::r_Lose_prefix ( )
private

◆ r_measure()

int Xapian::InternalStemKraaij_pohlmann::r_measure ( )
private

◆ r_R1()

int Xapian::InternalStemKraaij_pohlmann::r_R1 ( )
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().

◆ r_R2()

int Xapian::InternalStemKraaij_pohlmann::r_R2 ( )
private

Definition at line 365 of file kraaij_pohlmann.cc.

References Xapian::SnowballStemImplementation::c, and I_p2.

Referenced by r_Step_3().

◆ r_Step_1()

int Xapian::InternalStemKraaij_pohlmann::r_Step_1 ( )
private

◆ r_Step_1c()

int Xapian::InternalStemKraaij_pohlmann::r_Step_1c ( )
private

◆ r_Step_2()

int Xapian::InternalStemKraaij_pohlmann::r_Step_2 ( )
private

◆ r_Step_3()

int Xapian::InternalStemKraaij_pohlmann::r_Step_3 ( )
private

◆ r_Step_4()

int Xapian::InternalStemKraaij_pohlmann::r_Step_4 ( )
private

◆ r_Step_6()

int Xapian::InternalStemKraaij_pohlmann::r_Step_6 ( )
private

◆ r_Step_7()

int Xapian::InternalStemKraaij_pohlmann::r_Step_7 ( )
private

◆ r_V()

int Xapian::InternalStemKraaij_pohlmann::r_V ( )
private

◆ r_VX()

int Xapian::InternalStemKraaij_pohlmann::r_VX ( )
private

◆ stem()

int Xapian::InternalStemKraaij_pohlmann::stem ( )
virtual

Member Data Documentation

◆ I_GE_removed

unsigned char Xapian::InternalStemKraaij_pohlmann::I_GE_removed
private

Definition at line 9 of file kraaij_pohlmann.h.

Referenced by r_Lose_infix(), r_Lose_prefix(), and stem().

◆ I_p1

int Xapian::InternalStemKraaij_pohlmann::I_p1
private

Definition at line 13 of file kraaij_pohlmann.h.

Referenced by r_measure(), and r_R1().

◆ I_p2

int Xapian::InternalStemKraaij_pohlmann::I_p2
private

Definition at line 12 of file kraaij_pohlmann.h.

Referenced by r_measure(), and r_R2().

◆ I_stemmed

unsigned char Xapian::InternalStemKraaij_pohlmann::I_stemmed
private

Definition at line 10 of file kraaij_pohlmann.h.

Referenced by stem().

◆ I_Y_found

unsigned char Xapian::InternalStemKraaij_pohlmann::I_Y_found
private

Definition at line 11 of file kraaij_pohlmann.h.

Referenced by stem().

◆ S_ch

symbol* Xapian::InternalStemKraaij_pohlmann::S_ch
private

The documentation for this class was generated from the following files: