Header And Logo

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

Functions

stem_ISO_8859_1_spanish.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_envspanish_ISO_8859_1_create_env (void)
void spanish_ISO_8859_1_close_env (struct SN_env *z)
int spanish_ISO_8859_1_stem (struct SN_env *z)

Function Documentation

void spanish_ISO_8859_1_close_env ( struct SN_env z  ) 

Definition at line 1092 of file stem_ISO_8859_1_spanish.c.

References SN_close_env().

{ SN_close_env(z, 0); }

struct SN_env* spanish_ISO_8859_1_create_env ( void   )  [read]

Definition at line 1090 of file stem_ISO_8859_1_spanish.c.

References SN_create_env().

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

int spanish_ISO_8859_1_stem ( struct SN_env z  ) 

Definition at line 1026 of file stem_ISO_8859_1_spanish.c.

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

                                                      {
    {   int c1 = z->c; /* do, line 216 */
        {   int ret = r_mark_regions(z);
            if (ret == 0) goto lab0; /* call mark_regions, line 216 */
            if (ret < 0) return ret;
        }
    lab0:
        z->c = c1;
    }
    z->lb = z->c; z->c = z->l; /* backwards, line 217 */

    {   int m2 = z->l - z->c; (void)m2; /* do, line 218 */
        {   int ret = r_attached_pronoun(z);
            if (ret == 0) goto lab1; /* call attached_pronoun, line 218 */
            if (ret < 0) return ret;
        }
    lab1:
        z->c = z->l - m2;
    }
    {   int m3 = z->l - z->c; (void)m3; /* do, line 219 */
        {   int m4 = z->l - z->c; (void)m4; /* or, line 219 */
            {   int ret = r_standard_suffix(z);
                if (ret == 0) goto lab4; /* call standard_suffix, line 219 */
                if (ret < 0) return ret;
            }
            goto lab3;
        lab4:
            z->c = z->l - m4;
            {   int ret = r_y_verb_suffix(z);
                if (ret == 0) goto lab5; /* call y_verb_suffix, line 220 */
                if (ret < 0) return ret;
            }
            goto lab3;
        lab5:
            z->c = z->l - m4;
            {   int ret = r_verb_suffix(z);
                if (ret == 0) goto lab2; /* call verb_suffix, line 221 */
                if (ret < 0) return ret;
            }
        }
    lab3:
    lab2:
        z->c = z->l - m3;
    }
    {   int m5 = z->l - z->c; (void)m5; /* do, line 223 */
        {   int ret = r_residual_suffix(z);
            if (ret == 0) goto lab6; /* call residual_suffix, line 223 */
            if (ret < 0) return ret;
        }
    lab6:
        z->c = z->l - m5;
    }
    z->c = z->lb;
    {   int c6 = z->c; /* do, line 225 */
        {   int ret = r_postlude(z);
            if (ret == 0) goto lab7; /* call postlude, line 225 */
            if (ret < 0) return ret;
        }
    lab7:
        z->c = c6;
    }
    return 1;
}