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

#include <arabic.h>

+ Inheritance diagram for Xapian::InternalStemArabic:
+ Collaboration diagram for Xapian::InternalStemArabic:

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)
 
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 arabic.h.

Constructor & Destructor Documentation

◆ InternalStemArabic()

Xapian::InternalStemArabic::InternalStemArabic ( )

Definition at line 1895 of file arabic.cc.

◆ ~InternalStemArabic()

Xapian::InternalStemArabic::~InternalStemArabic ( )

Definition at line 1900 of file arabic.cc.

Member Function Documentation

◆ get_description()

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

Return a string describing this object.

Implements Xapian::StemImplementation.

Definition at line 1905 of file arabic.cc.

◆ r_Checks1()

int Xapian::InternalStemArabic::r_Checks1 ( )
private

◆ r_Normalize_post()

int Xapian::InternalStemArabic::r_Normalize_post ( )
private

◆ r_Normalize_pre()

int Xapian::InternalStemArabic::r_Normalize_pre ( )
private

◆ r_Prefix_Step1()

int Xapian::InternalStemArabic::r_Prefix_Step1 ( )
private

◆ r_Prefix_Step2()

int Xapian::InternalStemArabic::r_Prefix_Step2 ( )
private

◆ r_Prefix_Step3_Verb()

int Xapian::InternalStemArabic::r_Prefix_Step3_Verb ( )
private

◆ r_Prefix_Step3a_Noun()

int Xapian::InternalStemArabic::r_Prefix_Step3a_Noun ( )
private

◆ r_Prefix_Step3b_Noun()

int Xapian::InternalStemArabic::r_Prefix_Step3b_Noun ( )
private

◆ r_Prefix_Step4_Verb()

int Xapian::InternalStemArabic::r_Prefix_Step4_Verb ( )
private

◆ r_Suffix_All_alef_maqsura()

int Xapian::InternalStemArabic::r_Suffix_All_alef_maqsura ( )
private

◆ r_Suffix_Noun_Step1a()

int Xapian::InternalStemArabic::r_Suffix_Noun_Step1a ( )
private

◆ r_Suffix_Noun_Step1b()

int Xapian::InternalStemArabic::r_Suffix_Noun_Step1b ( )
private

◆ r_Suffix_Noun_Step2a()

int Xapian::InternalStemArabic::r_Suffix_Noun_Step2a ( )
private

◆ r_Suffix_Noun_Step2b()

int Xapian::InternalStemArabic::r_Suffix_Noun_Step2b ( )
private

◆ r_Suffix_Noun_Step2c1()

int Xapian::InternalStemArabic::r_Suffix_Noun_Step2c1 ( )
private

◆ r_Suffix_Noun_Step2c2()

int Xapian::InternalStemArabic::r_Suffix_Noun_Step2c2 ( )
private

◆ r_Suffix_Noun_Step3()

int Xapian::InternalStemArabic::r_Suffix_Noun_Step3 ( )
private

◆ r_Suffix_Verb_Step1()

int Xapian::InternalStemArabic::r_Suffix_Verb_Step1 ( )
private

◆ r_Suffix_Verb_Step2a()

int Xapian::InternalStemArabic::r_Suffix_Verb_Step2a ( )
private

◆ r_Suffix_Verb_Step2b()

int Xapian::InternalStemArabic::r_Suffix_Verb_Step2b ( )
private

◆ r_Suffix_Verb_Step2c()

int Xapian::InternalStemArabic::r_Suffix_Verb_Step2c ( )
private

◆ stem()

int Xapian::InternalStemArabic::stem ( )
virtual

Member Data Documentation

◆ I_is_defined

unsigned char Xapian::InternalStemArabic::I_is_defined
private

Definition at line 9 of file arabic.h.

Referenced by r_Checks1(), and stem().

◆ I_is_noun

unsigned char Xapian::InternalStemArabic::I_is_noun
private

Definition at line 11 of file arabic.h.

Referenced by r_Checks1(), r_Prefix_Step4_Verb(), and stem().

◆ I_is_verb

unsigned char Xapian::InternalStemArabic::I_is_verb
private

Definition at line 10 of file arabic.h.

Referenced by r_Checks1(), r_Prefix_Step4_Verb(), and stem().


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