#include <xapian/base.h>
#include <xapian/stem.h>
#include <stdlib.h>
#include <string>
Include dependency graph for steminternal.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
namespace | Xapian |
Classes | |
struct | among |
class | Xapian::Stem::Internal |
Defines | |
#define | HEAD 2*sizeof(int) |
#define | SIZE(P) ((const int *)(const void *)(P))[-1] |
#define | SET_SIZE(P, N) ((int *)(void *)(P))[-1] = N |
#define | CAPACITY(P) ((const int *)(const void *)(P))[-2] |
#define | SET_CAPACITY(P, N) ((int *)(void *)(P))[-2] = N |
Typedefs | |
typedef unsigned char | symbol |
typedef int(*) | among_function (Xapian::Stem::Internal *) |
Functions | |
symbol * | create_s () |
void | lose_s (symbol *p) |
int | skip_utf8 (const symbol *p, int c, int lb, int l, int n) |
Definition in file steminternal.h.
#define HEAD 2*sizeof(int) |
Definition at line 35 of file steminternal.h.
#define SIZE | ( | P | ) | ((const int *)(const void *)(P))[-1] |
Definition at line 39 of file steminternal.h.
#define SET_SIZE | ( | P, | |||
N | ) | ((int *)(void *)(P))[-1] = N |
Definition at line 40 of file steminternal.h.
Referenced by Xapian::Stem::Internal::assign_to(), create_s(), Xapian::Stem::Internal::replace_s(), and Xapian::Stem::Internal::slice_to().
#define CAPACITY | ( | P | ) | ((const int *)(const void *)(P))[-2] |
Definition at line 41 of file steminternal.h.
#define SET_CAPACITY | ( | P, | |||
N | ) | ((int *)(void *)(P))[-2] = N |
typedef unsigned char symbol |
Definition at line 33 of file steminternal.h.
typedef int(*) among_function(Xapian::Stem::Internal *) |
Definition at line 44 of file steminternal.h.
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().
void lose_s | ( | symbol * | p | ) | [inline] |
Definition at line 55 of file steminternal.h.
References HEAD.
Referenced by Xapian::Stem::Internal::~Internal(), 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::InternalStemDanish::r_consonant_pair(), Xapian::InternalStemNorwegian::r_consonant_pair(), Xapian::InternalStemSwedish::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::InternalStemDanish::r_mark_regions(), Xapian::InternalStemFrench::r_mark_regions(), Xapian::InternalStemGerman::r_mark_regions(), Xapian::InternalStemGerman2::r_mark_regions(), Xapian::InternalStemHungarian::r_mark_regions(), Xapian::InternalStemItalian::r_mark_regions(), Xapian::InternalStemNorwegian::r_mark_regions(), Xapian::InternalStemPortuguese::r_mark_regions(), Xapian::InternalStemRomanian::r_mark_regions(), Xapian::InternalStemSpanish::r_mark_regions(), Xapian::InternalStemSwedish::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::InternalStemDutch::r_postlude(), Xapian::InternalStemEnglish::r_postlude(), Xapian::InternalStemFrench::r_postlude(), Xapian::InternalStemGerman::r_postlude(), Xapian::InternalStemGerman2::r_postlude(), Xapian::InternalStemItalian::r_postlude(), Xapian::InternalStemPortuguese::r_postlude(), Xapian::InternalStemRomanian::r_postlude(), Xapian::InternalStemSpanish::r_postlude(), Xapian::InternalStemDutch::r_prelude(), Xapian::InternalStemEnglish::r_prelude(), Xapian::InternalStemFrench::r_prelude(), Xapian::InternalStemGerman::r_prelude(), Xapian::InternalStemGerman2::r_prelude(), Xapian::InternalStemItalian::r_prelude(), Xapian::InternalStemPortuguese::r_prelude(), Xapian::InternalStemRomanian::r_prelude(), Xapian::InternalStemLovins::r_Q(), Xapian::InternalStemLovins::r_R(), Xapian::InternalStemLovins::r_S(), Xapian::InternalStemDutch::r_standard_suffix(), Xapian::InternalStemGerman::r_standard_suffix(), Xapian::InternalStemGerman2::r_standard_suffix(), Xapian::InternalStemEnglish::r_Step_1a(), Xapian::InternalStemEnglish::r_Step_1b(), Xapian::InternalStemPorter::r_Step_1b(), Xapian::InternalStemLovins::r_T(), Xapian::InternalStemFinnish::r_tidy(), Xapian::InternalStemLovins::r_U(), Xapian::InternalStemFrench::r_un_double(), Xapian::InternalStemDutch::r_undouble(), Xapian::InternalStemHungarian::r_undouble(), Xapian::InternalStemLovins::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::InternalStemEnglish::stem(), Xapian::InternalStemKraaij_pohlmann::stem(), and Xapian::InternalStemPorter::stem().