|
PostgreSQL Source Code git master
|
#include "snowball_runtime.h"
Go to the source code of this file.
Macros | |
| #define | SNOWBALL_RETURN_OK return 0 |
| #define | SNOWBALL_RETURN_OR_THROW(R, E) return R |
| #define | SNOWBALL_PROPAGATE_ERR(F) |
| #define | CREATE_SIZE 1 |
| #define | REPLACE_S(Z, B, K, SIZE, S) SNOWBALL_PROPAGATE_ERR(replace_s(Z, B, K, SIZE, S)) |
| #define | SLICE_CHECK(Z) SNOWBALL_PROPAGATE_ERR(slice_check(Z)) |
| #define CREATE_SIZE 1 |
Definition at line 18 of file utilities.c.
Definition at line 411 of file utilities.c.
| #define SLICE_CHECK | ( | Z | ) | SNOWBALL_PROPAGATE_ERR(slice_check(Z)) |
Definition at line 430 of file utilities.c.
Definition at line 12 of file utilities.c.
Definition at line 10 of file utilities.c.
|
extern |
Definition at line 491 of file utilities.c.
References CAPACITY, fb(), increase_size(), SN_env::l, len, SN_env::p, SET_SIZE, SNOWBALL_PROPAGATE_ERR, and SNOWBALL_RETURN_OK.
Definition at line 20 of file utilities.c.
References CAPACITY, CREATE_SIZE, fb(), HEAD, malloc, SET_SIZE, and SNOWBALL_RETURN_OR_THROW.
Referenced by danish_ISO_8859_1_create_env(), danish_UTF_8_create_env(), dutch_ISO_8859_1_create_env(), dutch_UTF_8_create_env(), finnish_ISO_8859_1_create_env(), finnish_UTF_8_create_env(), and SN_new_env().
Definition at line 231 of file utilities.c.
References SN_env::c, fb(), SN_env::l, and SN_env::p.
Referenced by eq_v(), r_elisions(), r_elisions(), r_initial_apostrophe(), r_Lose_infix(), r_Lose_infix(), r_Lose_prefix(), r_Lose_prefix(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_measure(), r_measure(), r_Prefix_Step2(), r_prelude(), r_prelude(), r_prelude(), r_remove_pronoun_prefixes(), r_remove_question_prefixes(), r_remove_second_order_prefix(), r_remove_second_order_prefix(), and russian_UTF_8_stem().
Definition at line 236 of file utilities.c.
References SN_env::c, fb(), SN_env::lb, and SN_env::p.
Referenced by eq_v_b(), french_UTF_8_stem(), r_adjectival(), r_append_U_to_stems_ending_with_d_or_g(), r_C(), r_C(), r_case_ending(), r_case_ending(), r_check_vowel_harmony(), r_en_ending(), r_en_ending(), r_final_apostrophe(), r_fix_ending(), r_fix_gd(), r_is_reserved_word(), r_main_suffix(), r_main_suffix(), r_mark_ki(), r_mark_yken(), r_other_endings(), r_other_endings(), r_other_suffix(), r_other_suffix(), r_perfective_gerund(), r_possessive(), r_possessive(), r_remove_category_1(), r_remove_category_2(), r_remove_tense_suffix(), r_remove_um(), r_remove_vetrumai_urupukal(), r_residual_suffix(), r_residual_suffix(), r_shortv(), r_shortv(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_step_0(), r_Step_1(), r_Step_1(), r_Step_1c(), r_Step_1c(), r_Step_2(), r_Step_2(), r_Step_3(), r_Step_3(), r_Step_4(), r_Step_4(), r_step_5a(), r_step_5b(), r_step_5c(), r_step_5d(), r_step_5e(), r_step_5f(), r_step_5i(), r_step_5k(), r_step_s3(), r_step_s8(), r_Suffix_All_alef_maqsura(), r_Suffix_Noun_Step1b(), r_Suffix_Noun_Step2b(), r_Suffix_Noun_Step2c1(), r_Suffix_Noun_Step2c2(), r_Suffix_Noun_Step3(), r_t_plural(), r_t_plural(), r_tidy_up(), r_un_accent(), r_V(), r_V(), r_verb(), r_VX(), r_VX(), and russian_UTF_8_stem().
Definition at line 241 of file utilities.c.
Definition at line 245 of file utilities.c.
References eq_s_b(), and SIZE.
Referenced by r_tidy(), r_tidy(), r_undouble(), and r_undouble().
|
extern |
Definition at line 249 of file utilities.c.
References SN_env::af, SN_env::c, fb(), among::function, i, j, SN_env::l, SN_env::p, among::result, among::s, among::s_size, and among::substring_i.
Referenced by r_canonical_form(), r_Checks1(), r_cleaning(), r_cleaning(), r_cyr_to_lat(), r_exception1(), r_exception1(), r_fix_va_start(), r_initial_apostrophe(), r_initial_morph(), r_initial_morph(), r_Lose_infix(), r_Lose_infix(), r_Lose_prefix(), r_Lose_prefix(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_norm(), r_Normalize_post(), r_Normalize_pre(), r_postlude(), r_postlude(), r_postlude(), r_postlude(), r_postlude(), r_postlude(), r_postlude(), r_postlude(), r_postlude(), r_postlude(), r_postlude(), r_postlude(), r_postlude(), r_Prefix_Step1(), r_Prefix_Step2(), r_Prefix_Step3_Verb(), r_Prefix_Step3a_Noun(), r_Prefix_Step3b_Noun(), r_Prefix_Step4_Verb(), r_prelude(), r_prelude(), r_prelude(), r_prelude(), r_prelude(), r_prelude(), r_prelude(), r_prelude(), r_prelude(), r_remove_first_order_prefix(), r_remove_first_order_prefix(), r_remove_pronoun_prefixes(), r_remove_question_prefixes(), r_remove_second_order_prefix(), r_remove_second_order_prefix(), and r_verb_exceptions().
|
extern |
Definition at line 315 of file utilities.c.
References SN_env::af, SN_env::c, fb(), among::function, i, j, SN_env::lb, SN_env::p, among::result, among::s, among::s_size, and among::substring_i.
Referenced by hindi_UTF_8_stem(), r_aditzak(), r_aditzak(), r_adjectival(), r_adjectival(), r_adjective(), r_adjective(), r_adjective(), r_adjetiboak(), r_adjetiboak(), r_attached_pronoun(), r_attached_pronoun(), r_attached_pronoun(), r_attached_pronoun(), r_attached_pronoun(), r_attached_pronoun(), r_case(), r_case(), r_case_ending(), r_case_ending(), r_case_ending(), r_case_other(), r_case_other(), r_case_special(), r_case_special(), r_combo_suffix(), r_consonant_pair(), r_consonant_pair(), r_consonant_pair(), r_consonant_pair(), r_consonant_pair(), r_consonant_pair(), r_correlative(), r_degrees(), r_deriv(), r_deriv(), r_derivational(), r_derivational(), r_double(), r_double(), r_emphasis(), r_ending(), r_et_condition(), r_et_condition(), r_factive(), r_final_apostrophe(), r_fix_chdz(), r_fix_conflicts(), r_fix_ending(), r_i_verb_suffix(), r_i_verb_suffix(), r_instrum(), r_instrum(), r_izenak(), r_izenak(), r_lengthen_V(), r_lengthen_V(), r_LONG(), r_LONG(), r_LONGV(), r_main_suffix(), r_main_suffix(), r_main_suffix(), r_main_suffix(), r_main_suffix(), r_main_suffix(), r_mark_cAsInA(), r_mark_DA(), r_mark_DAn(), r_mark_DUr(), r_mark_lAr(), r_mark_lArI(), r_mark_nA(), r_mark_ncA(), r_mark_ndA(), r_mark_ndAn(), r_mark_nU(), r_mark_nUn(), r_mark_nUz(), r_mark_possessives(), r_mark_sUn(), r_mark_sUnUz(), r_mark_yDU(), r_mark_ylA(), r_mark_ymUs_(), r_mark_ysA(), r_mark_yUm(), r_mark_yUz(), r_merged_numeral(), r_normalize_consonant(), r_normalize_consonant(), r_Normalize_post(), r_noun(), r_noun(), r_noun(), r_noun_sfx(), r_noun_sfx(), r_nu(), r_other_endings(), r_other_endings(), r_other_suffix(), r_other_suffix(), r_other_suffix(), r_other_suffix(), r_other_suffix(), r_other_suffix(), r_owned(), r_owned(), r_particle_etc(), r_particle_etc(), r_perfective_gerund(), r_perfective_gerund(), r_plur_owner(), r_plur_owner(), r_plural(), r_plural(), r_plural_three_first_cases(), r_possessive(), r_possessive(), r_post_process_last_consonants(), r_pronoun(), r_reflexive(), r_reflexive(), r_remove_category_1(), r_remove_category_2(), r_remove_category_3(), r_remove_command_suffixes(), r_remove_common_word_endings(), r_remove_endings(), r_remove_endings(), r_remove_particle(), r_remove_particle(), r_remove_plural_suffix(), r_remove_possessive_pronoun(), r_remove_possessive_pronoun(), r_remove_question_suffixes(), r_remove_suffix(), r_remove_suffix(), r_remove_tense_suffix(), r_remove_vetrumai_urupukal(), r_residual_form(), r_residual_form(), r_residual_suffix(), r_residual_suffix(), r_residual_suffix(), r_residual_suffix(), r_residual_suffix(), r_residual_suffix(), r_residual_suffix(), r_residual_suffix(), r_sing_owner(), r_sing_owner(), r_special_noun_endings(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_step1(), r_step2(), r_step_0(), r_Step_1(), r_Step_1(), r_step_1(), r_Step_1(), r_Step_1a(), r_Step_1a(), r_Step_1a(), r_Step_1a(), r_Step_1b(), r_Step_1b(), r_Step_1b(), r_Step_1b(), r_Step_1c(), r_Step_1c(), r_Step_2(), r_Step_2(), r_Step_2(), r_Step_2(), r_Step_2(), r_Step_2(), r_Step_2(), r_step_2a(), r_step_2b(), r_step_2c(), r_step_2d(), r_Step_3(), r_Step_3(), r_Step_3(), r_Step_3(), r_Step_3(), r_step_3(), r_Step_3(), r_Step_3(), r_Step_4(), r_Step_4(), r_Step_4(), r_Step_4(), r_Step_4(), r_step_4(), r_Step_4(), r_Step_5(), r_Step_5(), r_step_5a(), r_step_5b(), r_step_5c(), r_step_5d(), r_step_5e(), r_step_5f(), r_step_5g(), r_step_5h(), r_step_5i(), r_step_5j(), r_step_5k(), r_step_5l(), r_step_5m(), r_Step_6(), r_Step_6(), r_step_6(), r_Step_7(), r_Step_7(), r_step_7(), r_step_s1(), r_step_s10(), r_step_s2(), r_step_s3(), r_step_s4(), r_step_s5(), r_step_s6(), r_step_s7(), r_step_s8(), r_step_s9(), r_Suffix_Noun_Step1a(), r_Suffix_Noun_Step2a(), r_Suffix_Verb_Step1(), r_Suffix_Verb_Step2a(), r_Suffix_Verb_Step2b(), r_Suffix_Verb_Step2c(), r_t_plural(), r_t_plural(), r_tidy_up(), r_tidy_up(), r_tolower(), r_ujn_suffix(), r_un_double(), r_un_double(), r_undouble(), r_undouble(), r_undouble_kpt(), r_uninflected(), r_v_ending(), r_v_ending(), r_verb(), r_verb(), r_verb(), r_verb(), r_verb_sfx(), r_verb_sfx(), r_verb_suffix(), r_verb_suffix(), r_verb_suffix(), r_verb_suffix(), r_verb_suffix(), r_verb_suffix(), r_verb_suffix(), r_verb_suffix(), r_verb_suffix(), r_verb_suffix(), r_verb_suffix(), r_vowel_suffix(), r_y_verb_suffix(), and r_y_verb_suffix().
Definition at line 109 of file utilities.c.
Referenced by in_grouping_b_U(), and out_grouping_b_U().
Definition at line 87 of file utilities.c.
References fb().
Referenced by in_grouping_U(), and out_grouping_U().
Definition at line 183 of file utilities.c.
References SN_env::c, fb(), SN_env::l, SN_env::p, and repeat().
Referenced by porter_ISO_8859_1_stem(), r_elisions(), r_Lose_infix(), r_Lose_prefix(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_measure(), r_prelude(), r_prelude(), r_prelude(), r_prelude(), r_prelude(), and r_remove_first_order_prefix().
|
extern |
Definition at line 195 of file utilities.c.
References SN_env::c, fb(), SN_env::lb, SN_env::p, and repeat().
Referenced by r_case_ending(), r_et_condition(), r_lengthen_V(), r_main_suffix(), r_main_suffix(), r_main_suffix(), r_other_suffix(), r_particle_etc(), r_shortv(), r_shortv(), r_standard_suffix(), r_standard_suffix(), r_Step_1b(), r_Step_2(), r_t_plural(), r_tidy(), r_undouble(), r_V(), r_VI(), r_vowel_suffix(), and r_VX().
|
extern |
Definition at line 145 of file utilities.c.
References SN_env::c, fb(), get_b_utf8(), SN_env::lb, SN_env::p, and repeat().
Referenced by r_case_ending(), r_case_ending(), r_CONSONANT(), r_correlative(), r_degrees(), r_emphasis(), r_et_condition(), r_i_plural(), r_lengthen_V(), r_main_suffix(), r_main_suffix(), r_main_suffix(), r_mark_sU(), r_mark_suffix_with_optional_n_consonant(), r_mark_suffix_with_optional_s_consonant(), r_mark_suffix_with_optional_U_vowel(), r_mark_suffix_with_optional_y_consonant(), r_mark_yU(), r_other_suffix(), r_particle_etc(), r_plural_three_first_cases(), r_shortv(), r_shortv(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_Step_1b(), r_Step_2(), r_step_3(), r_step_4(), r_step_5b(), r_step_5c(), r_t_plural(), r_tidy(), r_undouble(), r_undouble_kpt(), r_V(), r_verb(), r_VI(), r_vowel_suffix(), and r_VX().
|
extern |
Definition at line 133 of file utilities.c.
References SN_env::c, fb(), get_utf8(), SN_env::l, SN_env::p, and repeat().
Referenced by lithuanian_UTF_8_stem(), porter_UTF_8_stem(), r_elisions(), r_Lose_infix(), r_Lose_prefix(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_measure(), r_prelude(), r_prelude(), r_prelude(), r_prelude(), r_prelude(), r_prelude(), r_prelude(), r_prelude(), and r_remove_first_order_prefix().
Definition at line 373 of file utilities.c.
References CAPACITY, fb(), HEAD, and realloc.
Referenced by assign_to(), replace_s(), and slice_to().
Definition at line 464 of file utilities.c.
References SN_env::bra, fb(), SN_env::ket, REPLACE_S, among::s, among::s_size, and SNOWBALL_RETURN_OK.
Referenced by insert_v(), r_Step_1b(), r_Step_1b(), r_Step_2(), r_Step_2(), r_step_2a(), r_Step_3(), and r_Step_3().
Definition at line 474 of file utilities.c.
References insert_s(), and SIZE.
Referenced by r_lengthen_V(), and r_lengthen_V().
Definition at line 501 of file utilities.c.
Referenced by lithuanian_UTF_8_stem(), r_Checks1(), r_fix_ending(), r_has_min_length(), r_has_min_length(), r_Prefix_Step1(), r_Prefix_Step2(), r_Prefix_Step3_Verb(), r_Prefix_Step3a_Noun(), r_Prefix_Step3b_Noun(), r_Prefix_Step4_Verb(), r_remove_vetrumai_urupukal(), r_Suffix_Noun_Step1a(), r_Suffix_Noun_Step1b(), r_Suffix_Noun_Step2a(), r_Suffix_Noun_Step2b(), r_Suffix_Noun_Step2c1(), r_Suffix_Noun_Step2c2(), r_Suffix_Noun_Step3(), r_Suffix_Verb_Step1(), r_Suffix_Verb_Step2a(), r_Suffix_Verb_Step2b(), and r_Suffix_Verb_Step2c().
Definition at line 31 of file utilities.c.
References fb(), free, and HEAD.
Referenced by danish_ISO_8859_1_close_env(), danish_UTF_8_close_env(), dutch_ISO_8859_1_close_env(), dutch_UTF_8_close_env(), finnish_ISO_8859_1_close_env(), finnish_UTF_8_close_env(), and SN_delete_env().
|
extern |
Definition at line 207 of file utilities.c.
References SN_env::c, fb(), SN_env::l, SN_env::p, and repeat().
Referenced by indonesian_ISO_8859_1_stem(), porter_ISO_8859_1_stem(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_measure(), r_prelude(), and r_remove_second_order_prefix().
|
extern |
Definition at line 219 of file utilities.c.
References SN_env::c, fb(), SN_env::lb, SN_env::p, and repeat().
Referenced by r_C(), r_e_ending(), r_en_ending(), r_et_condition(), r_i_verb_suffix(), r_lengthen_V(), r_main_suffix(), r_residual_suffix(), r_shortv(), r_shortv(), r_standard_suffix(), r_standard_suffix(), r_Step_1a(), r_Step_1b(), r_Step_1b(), r_Step_1c(), r_Step_1c(), and r_un_accent().
|
extern |
Definition at line 169 of file utilities.c.
References SN_env::c, fb(), get_b_utf8(), SN_env::lb, SN_env::p, and repeat().
Referenced by r_append_U_to_stems_ending_with_d_or_g(), r_C(), r_check_vowel_harmony(), r_e_ending(), r_en_ending(), r_et_condition(), r_i_verb_suffix(), r_lengthen_V(), r_long_word(), r_main_suffix(), r_mark_suffix_with_optional_U_vowel(), r_residual_suffix(), r_shortv(), r_shortv(), r_standard_suffix(), r_standard_suffix(), r_Step_1a(), r_Step_1b(), r_Step_1b(), r_Step_1c(), r_Step_1c(), r_un_accent(), and r_verb_suffix().
|
extern |
Definition at line 157 of file utilities.c.
References SN_env::c, fb(), get_utf8(), SN_env::l, SN_env::p, and repeat().
Referenced by indonesian_UTF_8_stem(), lithuanian_UTF_8_stem(), porter_UTF_8_stem(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_measure(), r_more_than_one_syllable_word(), r_prelude(), and r_remove_second_order_prefix().
|
extern |
Definition at line 389 of file utilities.c.
References SN_env::c, CAPACITY, fb(), increase_size(), SN_env::l, len, SN_env::p, among::s, among::s_size, SET_SIZE, SIZE, SNOWBALL_PROPAGATE_ERR, and SNOWBALL_RETURN_OK.
Referenced by SN_set_current().
Definition at line 68 of file utilities.c.
References b.
Referenced by arabic_UTF_8_stem(), r_case_ending(), r_case_ending(), r_consonant_pair(), r_consonant_pair(), r_consonant_pair(), r_emphasis(), r_lengthen_V(), r_long_word(), r_mark_suffix_with_optional_n_consonant(), r_mark_suffix_with_optional_s_consonant(), r_mark_suffix_with_optional_U_vowel(), r_mark_suffix_with_optional_y_consonant(), r_plural_three_first_cases(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_Step_1a(), r_Step_1b(), r_Step_1b(), r_tidy(), r_tolower(), r_un_double(), r_undouble(), r_undouble(), r_verb_suffix(), and r_VX().
Definition at line 43 of file utilities.c.
References b.
Referenced by english_UTF_8_stem(), hindi_UTF_8_stem(), polish_UTF_8_stem(), porter_UTF_8_stem(), r_canonical_form(), r_cleaning(), r_cyr_to_lat(), r_Lose_infix(), r_Lose_prefix(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_mark_regions(), r_norm(), r_Normalize_post(), r_Normalize_pre(), r_postlude(), r_postlude(), r_postlude(), r_postlude(), r_postlude(), r_postlude(), r_postlude(), r_postlude(), r_prelude(), r_prelude(), r_prelude(), r_prelude(), r_prelude(), r_prelude(), r_prelude(), r_prelude(), r_prelude(), r_remove_proper_noun_suffix(), and russian_UTF_8_stem().
|
static |
Definition at line 414 of file utilities.c.
References SN_env::bra, debug, fb(), fprintf, SN_env::ket, SN_env::l, SN_env::p, SIZE, SNOWBALL_RETURN_OK, and SNOWBALL_RETURN_OR_THROW.
|
extern |
Definition at line 443 of file utilities.c.
References SN_env::bra, SN_env::c, fb(), SN_env::ket, SN_env::l, len, SN_env::p, SET_SIZE, SIZE, SLICE_CHECK, and SNOWBALL_RETURN_OK.
Referenced by hindi_UTF_8_stem(), portuguese_ISO_8859_1_stem(), portuguese_UTF_8_stem(), r_aditzak(), r_aditzak(), r_adjectival(), r_adjectival(), r_adjective(), r_adjective(), r_adjective(), r_adjetiboak(), r_adjetiboak(), r_attached_pronoun(), r_attached_pronoun(), r_attached_pronoun(), r_attached_pronoun(), r_attached_pronoun(), r_attached_pronoun(), r_case(), r_case(), r_case_ending(), r_case_ending(), r_case_ending(), r_case_other(), r_case_other(), r_consonant_pair(), r_consonant_pair(), r_consonant_pair(), r_consonant_pair(), r_consonant_pair(), r_consonant_pair(), r_correlative(), r_degrees(), r_deriv(), r_deriv(), r_derivational(), r_derivational(), r_e_ending(), r_e_ending(), r_elisions(), r_elisions(), r_emphasis(), r_en_ending(), r_en_ending(), r_ending(), r_factive(), r_factive(), r_fix_ending(), r_i_plural(), r_i_plural(), r_i_plural(), r_i_verb_suffix(), r_i_verb_suffix(), r_initial_morph(), r_initial_morph(), r_instrum(), r_instrum(), r_izenak(), r_izenak(), r_Lose_infix(), r_Lose_infix(), r_Lose_prefix(), r_Lose_prefix(), r_main_suffix(), r_main_suffix(), r_main_suffix(), r_main_suffix(), r_main_suffix(), r_main_suffix(), r_Normalize_pre(), r_noun(), r_noun(), r_noun(), r_noun_sfx(), r_noun_sfx(), r_nu(), r_other_endings(), r_other_endings(), r_other_suffix(), r_other_suffix(), r_other_suffix(), r_other_suffix(), r_other_suffix(), r_other_suffix(), r_owned(), r_owned(), r_particle_etc(), r_particle_etc(), r_perfective_gerund(), r_perfective_gerund(), r_plur_owner(), r_plur_owner(), r_plural(), r_plural(), r_plural_three_first_cases(), r_possessive(), r_possessive(), r_postlude(), r_postlude(), r_Prefix_Step2(), r_Prefix_Step3a_Noun(), r_Prefix_Step3b_Noun(), r_prelude(), r_prelude(), r_prelude(), r_pronoun(), r_reflexive(), r_reflexive(), r_remove_category_1(), r_remove_category_2(), r_remove_category_3(), r_remove_command_suffixes(), r_remove_common_word_endings(), r_remove_endings(), r_remove_endings(), r_remove_first_order_prefix(), r_remove_first_order_prefix(), r_remove_particle(), r_remove_particle(), r_remove_plural_suffix(), r_remove_possessive_pronoun(), r_remove_possessive_pronoun(), r_remove_pronoun_prefixes(), r_remove_proper_noun_suffix(), r_remove_question_prefixes(), r_remove_second_order_prefix(), r_remove_second_order_prefix(), r_remove_suffix(), r_remove_suffix(), r_remove_tense_suffix(), r_remove_vetrumai_urupukal(), r_residual_form(), r_residual_form(), r_residual_suffix(), r_residual_suffix(), r_residual_suffix(), r_residual_suffix(), r_residual_suffix(), r_residual_suffix(), r_residual_suffix(), r_residual_suffix(), r_sing_owner(), r_sing_owner(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_stem_nominal_verb_suffixes(), r_stem_noun_suffixes(), r_stem_suffix_chain_before_ki(), r_step1(), r_step2(), r_step_0(), r_Step_1(), r_Step_1(), r_Step_1a(), r_Step_1a(), r_Step_1a(), r_Step_1a(), r_Step_1b(), r_Step_1b(), r_Step_1b(), r_Step_1b(), r_Step_1c(), r_Step_1c(), r_Step_2(), r_Step_2(), r_Step_2(), r_Step_2(), r_step_2a(), r_step_2b(), r_step_2c(), r_step_2d(), r_Step_3(), r_Step_3(), r_Step_3(), r_Step_3(), r_Step_3(), r_step_3(), r_Step_3(), r_Step_4(), r_Step_4(), r_Step_4(), r_Step_4(), r_Step_4(), r_step_4(), r_Step_4(), r_Step_5(), r_Step_5(), r_Step_5a(), r_step_5a(), r_Step_5a(), r_Step_5b(), r_step_5b(), r_Step_5b(), r_step_5c(), r_step_5d(), r_step_5e(), r_step_5f(), r_step_5g(), r_step_5h(), r_step_5i(), r_step_5j(), r_step_5k(), r_step_5l(), r_step_5m(), r_step_6(), r_step_7(), r_step_s1(), r_step_s10(), r_step_s2(), r_step_s3(), r_step_s4(), r_step_s5(), r_step_s6(), r_step_s7(), r_step_s8(), r_step_s9(), r_Suffix_Noun_Step1a(), r_Suffix_Noun_Step1b(), r_Suffix_Noun_Step2a(), r_Suffix_Noun_Step2b(), r_Suffix_Noun_Step2c1(), r_Suffix_Noun_Step2c2(), r_Suffix_Noun_Step3(), r_Suffix_Verb_Step1(), r_Suffix_Verb_Step2a(), r_Suffix_Verb_Step2b(), r_Suffix_Verb_Step2c(), r_t_plural(), r_t_plural(), r_tidy(), r_tidy(), r_tidy_up(), r_tidy_up(), r_ujn_suffix(), r_un_double(), r_un_double(), r_undouble(), r_undouble(), r_undouble(), r_undouble(), r_undouble(), r_undouble(), r_verb(), r_verb(), r_verb(), r_verb(), r_verb_sfx(), r_verb_sfx(), r_verb_suffix(), r_verb_suffix(), r_verb_suffix(), r_verb_suffix(), r_verb_suffix(), r_verb_suffix(), r_verb_suffix(), r_verb_suffix(), r_verb_suffix(), r_verb_suffix(), r_verb_suffix(), r_vowel_suffix(), r_vowel_suffix(), r_vowel_suffix(), r_y_verb_suffix(), r_y_verb_suffix(), russian_KOI8_R_stem(), and russian_UTF_8_stem().
Definition at line 432 of file utilities.c.
References SN_env::bra, SN_env::ket, REPLACE_S, among::s, among::s_size, SLICE_CHECK, and SNOWBALL_RETURN_OK.
Referenced by french_ISO_8859_1_stem(), french_UTF_8_stem(), porter_ISO_8859_1_stem(), porter_UTF_8_stem(), r_adjetiboak(), r_adjetiboak(), r_append_U_to_stems_ending_with_d_or_g(), r_attached_pronoun(), r_attached_pronoun(), r_attached_pronoun(), r_attached_pronoun(), r_canonical_form(), r_case_other(), r_case_other(), r_case_special(), r_case_special(), r_cleaning(), r_cleaning(), r_combo_suffix(), r_cyr_to_lat(), r_deriv(), r_deriv(), r_exception1(), r_exception1(), r_final_apostrophe(), r_fix_chdz(), r_fix_conflicts(), r_fix_ending(), r_fix_gd(), r_fix_va_start(), r_initial_apostrophe(), r_initial_morph(), r_initial_morph(), r_izenak(), r_izenak(), r_lengthen_V(), r_lengthen_V(), r_Lose_infix(), r_Lose_infix(), r_Lose_prefix(), r_Lose_prefix(), r_main_suffix(), r_main_suffix(), r_mark_regions(), r_norm(), r_normalize_consonant(), r_normalize_consonant(), r_Normalize_post(), r_Normalize_pre(), r_other_suffix(), r_other_suffix(), r_other_suffix(), r_other_suffix(), r_owned(), r_owned(), r_plur_owner(), r_plur_owner(), r_plural(), r_plural(), r_plural_three_first_cases(), r_possessive(), r_possessive(), r_post_process_last_consonants(), r_postlude(), r_postlude(), r_postlude(), r_postlude(), r_postlude(), r_postlude(), r_postlude(), r_postlude(), r_postlude(), r_postlude(), r_postlude(), r_postlude(), r_postlude(), r_postlude(), r_postlude(), r_Prefix_Step1(), r_Prefix_Step3_Verb(), r_Prefix_Step3b_Noun(), r_Prefix_Step4_Verb(), r_prelude(), r_prelude(), r_prelude(), r_prelude(), r_prelude(), r_prelude(), r_prelude(), r_prelude(), r_prelude(), r_prelude(), r_prelude(), r_prelude(), r_prelude(), r_prelude(), r_prelude(), r_remove_common_word_endings(), r_remove_endings(), r_remove_endings(), r_remove_first_order_prefix(), r_remove_first_order_prefix(), r_remove_plural_suffix(), r_remove_question_suffixes(), r_remove_tense_suffix(), r_remove_um(), r_remove_vetrumai_urupukal(), r_residual_form(), r_residual_form(), r_residual_suffix(), r_residual_suffix(), r_residual_suffix(), r_residual_suffix(), r_sing_owner(), r_sing_owner(), r_special_noun_endings(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_standard_suffix(), r_step_0(), r_Step_1(), r_Step_1(), r_step_1(), r_Step_1(), r_Step_1a(), r_Step_1a(), r_Step_1a(), r_Step_1a(), r_Step_1b(), r_Step_1b(), r_Step_1b(), r_Step_1b(), r_Step_1c(), r_Step_1c(), r_Step_1c(), r_Step_1c(), r_Step_1c(), r_Step_1c(), r_Step_2(), r_Step_2(), r_Step_2(), r_Step_2(), r_Step_2(), r_Step_2(), r_Step_2(), r_step_2b(), r_step_2c(), r_step_2d(), r_Step_3(), r_Step_3(), r_Step_3(), r_Step_3(), r_Step_3(), r_step_3(), r_Step_3(), r_Step_3(), r_Step_4(), r_Step_4(), r_step_4(), r_step_5a(), r_step_5b(), r_step_5c(), r_step_5d(), r_step_5e(), r_step_5f(), r_step_5g(), r_step_5h(), r_step_5i(), r_step_5j(), r_step_5k(), r_step_5l(), r_step_5m(), r_Step_6(), r_Step_6(), r_step_6(), r_Step_7(), r_Step_7(), r_step_s1(), r_step_s10(), r_step_s2(), r_step_s3(), r_step_s4(), r_step_s5(), r_step_s6(), r_step_s7(), r_step_s8(), r_step_s9(), r_Suffix_All_alef_maqsura(), r_tolower(), r_un_accent(), r_un_accent(), r_undouble_kpt(), r_v_ending(), r_v_ending(), r_verb(), r_verb_exceptions(), russian_KOI8_R_stem(), russian_UTF_8_stem(), and slice_from_v().
|
extern |
Definition at line 439 of file utilities.c.
References SIZE, and slice_from_s().
|
extern |
Definition at line 478 of file utilities.c.
References SN_env::bra, CAPACITY, fb(), increase_size(), SN_env::ket, len, SN_env::p, SET_SIZE, SLICE_CHECK, SNOWBALL_PROPAGATE_ERR, and SNOWBALL_RETURN_OK.
Referenced by r_lengthen_V(), r_lengthen_V(), r_tidy(), r_tidy(), r_undouble(), and r_undouble().