languages/steminternal.cc File Reference

Base class for implementations of stemming algorithms. More...

#include <config.h>
#include <xapian/error.h>
#include "omassert.h"
#include "steminternal.h"
#include <stdlib.h>
#include <string.h>
#include <string>

Include dependency graph for steminternal.cc:

Go to the source code of this file.

Namespaces

namespace  Xapian

Defines

#define CREATE_SIZE   16

Functions

symbolcreate_s ()
int skip_utf8 (const symbol *p, int c, int lb, int l, int n)
static symbolincrease_size (symbol *p, int n)


Detailed Description

Base class for implementations of stemming algorithms.

Definition in file steminternal.cc.


Define Documentation

#define CREATE_SIZE   16

Definition at line 71 of file steminternal.cc.

Referenced by create_s().


Function Documentation

symbol* create_s (  ) 

Definition at line 73 of file steminternal.cc.

References CREATE_SIZE, HEAD, SET_CAPACITY, and SET_SIZE.

Referenced by Xapian::InternalStemDanish::InternalStemDanish(), Xapian::InternalStemFinnish::InternalStemFinnish(), and Xapian::InternalStemKraaij_pohlmann::InternalStemKraaij_pohlmann().

int skip_utf8 ( const symbol p,
int  c,
int  lb,
int  l,
int  n 
)

Definition at line 90 of file steminternal.cc.

Referenced by Xapian::InternalStemLovins::r_A(), Xapian::InternalStemLovins::r_AA(), Xapian::InternalStemLovins::r_B(), Xapian::InternalStemLovins::r_BB(), Xapian::InternalStemLovins::r_C(), Xapian::InternalStemFinnish::r_case_ending(), Xapian::InternalStemLovins::r_CC(), Xapian::InternalStemSwedish::r_consonant_pair(), Xapian::InternalStemNorwegian::r_consonant_pair(), Xapian::InternalStemDanish::r_consonant_pair(), Xapian::InternalStemLovins::r_D(), Xapian::InternalStemLovins::r_E(), Xapian::InternalStemLovins::r_F(), Xapian::InternalStemLovins::r_G(), Xapian::InternalStemLovins::r_H(), Xapian::InternalStemLovins::r_I(), Xapian::InternalStemTurkish::r_is_reserved_word(), Xapian::InternalStemLovins::r_J(), Xapian::InternalStemLovins::r_K(), Xapian::InternalStemLovins::r_L(), Xapian::InternalStemKraaij_pohlmann::r_lengthen_V(), Xapian::InternalStemKraaij_pohlmann::r_Lose_infix(), Xapian::InternalStemKraaij_pohlmann::r_Lose_prefix(), Xapian::InternalStemLovins::r_M(), Xapian::InternalStemSwedish::r_mark_regions(), Xapian::InternalStemSpanish::r_mark_regions(), Xapian::InternalStemRomanian::r_mark_regions(), Xapian::InternalStemPortuguese::r_mark_regions(), Xapian::InternalStemNorwegian::r_mark_regions(), Xapian::InternalStemItalian::r_mark_regions(), Xapian::InternalStemHungarian::r_mark_regions(), Xapian::InternalStemGerman2::r_mark_regions(), Xapian::InternalStemGerman::r_mark_regions(), Xapian::InternalStemFrench::r_mark_regions(), Xapian::InternalStemDanish::r_mark_regions(), Xapian::InternalStemTurkish::r_mark_suffix_with_optional_n_consonant(), Xapian::InternalStemTurkish::r_mark_suffix_with_optional_s_consonant(), Xapian::InternalStemTurkish::r_mark_suffix_with_optional_U_vowel(), Xapian::InternalStemTurkish::r_mark_suffix_with_optional_y_consonant(), Xapian::InternalStemLovins::r_N(), Xapian::InternalStemLovins::r_O(), Xapian::InternalStemLovins::r_P(), Xapian::InternalStemSpanish::r_postlude(), Xapian::InternalStemRomanian::r_postlude(), Xapian::InternalStemPortuguese::r_postlude(), Xapian::InternalStemItalian::r_postlude(), Xapian::InternalStemGerman2::r_postlude(), Xapian::InternalStemGerman::r_postlude(), Xapian::InternalStemFrench::r_postlude(), Xapian::InternalStemEnglish::r_postlude(), Xapian::InternalStemDutch::r_postlude(), Xapian::InternalStemRomanian::r_prelude(), Xapian::InternalStemPortuguese::r_prelude(), Xapian::InternalStemItalian::r_prelude(), Xapian::InternalStemGerman2::r_prelude(), Xapian::InternalStemGerman::r_prelude(), Xapian::InternalStemFrench::r_prelude(), Xapian::InternalStemEnglish::r_prelude(), Xapian::InternalStemDutch::r_prelude(), Xapian::InternalStemLovins::r_Q(), Xapian::InternalStemLovins::r_R(), Xapian::InternalStemLovins::r_S(), Xapian::InternalStemGerman2::r_standard_suffix(), Xapian::InternalStemGerman::r_standard_suffix(), Xapian::InternalStemDutch::r_standard_suffix(), Xapian::InternalStemEnglish::r_Step_1a(), Xapian::InternalStemPorter::r_Step_1b(), Xapian::InternalStemEnglish::r_Step_1b(), Xapian::InternalStemLovins::r_T(), Xapian::InternalStemFinnish::r_tidy(), Xapian::InternalStemLovins::r_U(), Xapian::InternalStemFrench::r_un_double(), Xapian::InternalStemLovins::r_undouble(), Xapian::InternalStemHungarian::r_undouble(), Xapian::InternalStemDutch::r_undouble(), Xapian::InternalStemLovins::r_V(), Xapian::InternalStemKraaij_pohlmann::r_VX(), Xapian::InternalStemLovins::r_W(), Xapian::InternalStemLovins::r_X(), Xapian::InternalStemLovins::r_Y(), Xapian::InternalStemLovins::r_Z(), Xapian::InternalStemPorter::stem(), Xapian::InternalStemKraaij_pohlmann::stem(), and Xapian::InternalStemEnglish::stem().

static symbol* increase_size ( symbol p,
int  n 
) [static]

Definition at line 120 of file steminternal.cc.

References HEAD, and SET_CAPACITY.

Referenced by Xapian::Stem::Internal::assign_to(), Xapian::Stem::Internal::replace_s(), and Xapian::Stem::Internal::slice_to().


Documentation for Xapian (version 1.0.10).
Generated on 24 Dec 2008 by Doxygen 1.5.2.