PostgreSQL Source Code  git master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
stem_ISO_8859_1_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_ISO_8859_1_create_env (void)
 
void italian_ISO_8859_1_close_env (struct SN_env *z)
 
int italian_ISO_8859_1_stem (struct SN_env *z)
 

Function Documentation

void italian_ISO_8859_1_close_env ( struct SN_env z)

Definition at line 1064 of file stem_ISO_8859_1_italian.c.

References SN_close_env().

1064 { SN_close_env(z, 0); }
void SN_close_env(struct SN_env *z, int S_size)
Definition: api.c:40
struct SN_env* italian_ISO_8859_1_create_env ( void  )

Definition at line 1062 of file stem_ISO_8859_1_italian.c.

References SN_create_env().

1062 { return SN_create_env(0, 3, 0); }
struct SN_env * SN_create_env(int S_size, int I_size, int B_size)
Definition: api.c:3
int italian_ISO_8859_1_stem ( struct SN_env z)

Definition at line 997 of file stem_ISO_8859_1_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().

997  {
998  { int c1 = z->c; /* do, line 182 */
999  { int ret = r_prelude(z);
1000  if (ret == 0) goto lab0; /* call prelude, line 182 */
1001  if (ret < 0) return ret;
1002  }
1003  lab0:
1004  z->c = c1;
1005  }
1006  { int c2 = z->c; /* do, line 183 */
1007  { int ret = r_mark_regions(z);
1008  if (ret == 0) goto lab1; /* call mark_regions, line 183 */
1009  if (ret < 0) return ret;
1010  }
1011  lab1:
1012  z->c = c2;
1013  }
1014  z->lb = z->c; z->c = z->l; /* backwards, line 184 */
1015 
1016  { int m3 = z->l - z->c; (void)m3; /* do, line 185 */
1017  { int ret = r_attached_pronoun(z);
1018  if (ret == 0) goto lab2; /* call attached_pronoun, line 185 */
1019  if (ret < 0) return ret;
1020  }
1021  lab2:
1022  z->c = z->l - m3;
1023  }
1024  { int m4 = z->l - z->c; (void)m4; /* do, line 186 */
1025  { int m5 = z->l - z->c; (void)m5; /* or, line 186 */
1026  { int ret = r_standard_suffix(z);
1027  if (ret == 0) goto lab5; /* call standard_suffix, line 186 */
1028  if (ret < 0) return ret;
1029  }
1030  goto lab4;
1031  lab5:
1032  z->c = z->l - m5;
1033  { int ret = r_verb_suffix(z);
1034  if (ret == 0) goto lab3; /* call verb_suffix, line 186 */
1035  if (ret < 0) return ret;
1036  }
1037  }
1038  lab4:
1039  lab3:
1040  z->c = z->l - m4;
1041  }
1042  { int m6 = z->l - z->c; (void)m6; /* do, line 187 */
1043  { int ret = r_vowel_suffix(z);
1044  if (ret == 0) goto lab6; /* call vowel_suffix, line 187 */
1045  if (ret < 0) return ret;
1046  }
1047  lab6:
1048  z->c = z->l - m6;
1049  }
1050  z->c = z->lb;
1051  { int c7 = z->c; /* do, line 189 */
1052  { int ret = r_postlude(z);
1053  if (ret == 0) goto lab7; /* call postlude, line 189 */
1054  if (ret < 0) return ret;
1055  }
1056  lab7:
1057  z->c = c7;
1058  }
1059  return 1;
1060 }
int c
Definition: api.h:16
int lb
Definition: api.h:16
static int r_verb_suffix(struct SN_env *z)
static int r_mark_regions(struct SN_env *z)
static int r_prelude(struct SN_env *z)
static int r_postlude(struct SN_env *z)
static int r_standard_suffix(struct SN_env *z)
static int r_vowel_suffix(struct SN_env *z)
int l
Definition: api.h:16
static int r_attached_pronoun(struct SN_env *z)