Header And Logo

PostgreSQL
| The world's most advanced open source database.

Functions

stem_UTF_8_italian.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

struct SN_envitalian_UTF_8_create_env (void)
void italian_UTF_8_close_env (struct SN_env *z)
int italian_UTF_8_stem (struct SN_env *z)

Function Documentation

void italian_UTF_8_close_env ( struct SN_env z  ) 

Definition at line 1072 of file stem_UTF_8_italian.c.

References SN_close_env().

{ SN_close_env(z, 0); }

struct SN_env* italian_UTF_8_create_env ( void   )  [read]

Definition at line 1070 of file stem_UTF_8_italian.c.

References SN_create_env().

{ return SN_create_env(0, 3, 0); }

int italian_UTF_8_stem ( struct SN_env z  ) 

Definition at line 1005 of file stem_UTF_8_italian.c.

References SN_env::c, SN_env::l, SN_env::lb, r_attached_pronoun(), r_mark_regions(), r_postlude(), r_prelude(), r_standard_suffix(), r_verb_suffix(), and r_vowel_suffix().

                                                 {
    {   int c1 = z->c; /* do, line 182 */
        {   int ret = r_prelude(z);
            if (ret == 0) goto lab0; /* call prelude, line 182 */
            if (ret < 0) return ret;
        }
    lab0:
        z->c = c1;
    }
    {   int c2 = z->c; /* do, line 183 */
        {   int ret = r_mark_regions(z);
            if (ret == 0) goto lab1; /* call mark_regions, line 183 */
            if (ret < 0) return ret;
        }
    lab1:
        z->c = c2;
    }
    z->lb = z->c; z->c = z->l; /* backwards, line 184 */

    {   int m3 = z->l - z->c; (void)m3; /* do, line 185 */
        {   int ret = r_attached_pronoun(z);
            if (ret == 0) goto lab2; /* call attached_pronoun, line 185 */
            if (ret < 0) return ret;
        }
    lab2:
        z->c = z->l - m3;
    }
    {   int m4 = z->l - z->c; (void)m4; /* do, line 186 */
        {   int m5 = z->l - z->c; (void)m5; /* or, line 186 */
            {   int ret = r_standard_suffix(z);
                if (ret == 0) goto lab5; /* call standard_suffix, line 186 */
                if (ret < 0) return ret;
            }
            goto lab4;
        lab5:
            z->c = z->l - m5;
            {   int ret = r_verb_suffix(z);
                if (ret == 0) goto lab3; /* call verb_suffix, line 186 */
                if (ret < 0) return ret;
            }
        }
    lab4:
    lab3:
        z->c = z->l - m4;
    }
    {   int m6 = z->l - z->c; (void)m6; /* do, line 187 */
        {   int ret = r_vowel_suffix(z);
            if (ret == 0) goto lab6; /* call vowel_suffix, line 187 */
            if (ret < 0) return ret;
        }
    lab6:
        z->c = z->l - m6;
    }
    z->c = z->lb;
    {   int c7 = z->c; /* do, line 189 */
        {   int ret = r_postlude(z);
            if (ret == 0) goto lab7; /* call postlude, line 189 */
            if (ret < 0) return ret;
        }
    lab7:
        z->c = c7;
    }
    return 1;
}