PostgreSQL Source Code git master
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
stem_UTF_8_greek.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_envgreek_UTF_8_create_env (void)
 
void greek_UTF_8_close_env (struct SN_env *z)
 
int greek_UTF_8_stem (struct SN_env *z)
 

Function Documentation

◆ greek_UTF_8_close_env()

void greek_UTF_8_close_env ( struct SN_env z)

Definition at line 3672 of file stem_UTF_8_greek.c.

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

References SN_close_env().

◆ greek_UTF_8_create_env()

struct SN_env * greek_UTF_8_create_env ( void  )

Definition at line 3670 of file stem_UTF_8_greek.c.

3670{ return SN_create_env(0, 1); }
struct SN_env * SN_create_env(int S_size, int I_size)
Definition: api.c:3

References SN_create_env().

◆ greek_UTF_8_stem()

int greek_UTF_8_stem ( struct SN_env z)

Definition at line 3461 of file stem_UTF_8_greek.c.

3461 {
3462 z->lb = z->c; z->c = z->l;
3463
3464 { int m1 = z->l - z->c; (void)m1;
3465 { int ret = r_tolower(z);
3466 if (ret < 0) return ret;
3467 }
3468 z->c = z->l - m1;
3469 }
3470 { int ret = r_has_min_length(z);
3471 if (ret <= 0) return ret;
3472 }
3473 z->I[0] = 1;
3474 { int m2 = z->l - z->c; (void)m2;
3475 { int ret = r_step1(z);
3476 if (ret < 0) return ret;
3477 }
3478 z->c = z->l - m2;
3479 }
3480 { int m3 = z->l - z->c; (void)m3;
3481 { int ret = r_steps1(z);
3482 if (ret < 0) return ret;
3483 }
3484 z->c = z->l - m3;
3485 }
3486 { int m4 = z->l - z->c; (void)m4;
3487 { int ret = r_steps2(z);
3488 if (ret < 0) return ret;
3489 }
3490 z->c = z->l - m4;
3491 }
3492 { int m5 = z->l - z->c; (void)m5;
3493 { int ret = r_steps3(z);
3494 if (ret < 0) return ret;
3495 }
3496 z->c = z->l - m5;
3497 }
3498 { int m6 = z->l - z->c; (void)m6;
3499 { int ret = r_steps4(z);
3500 if (ret < 0) return ret;
3501 }
3502 z->c = z->l - m6;
3503 }
3504 { int m7 = z->l - z->c; (void)m7;
3505 { int ret = r_steps5(z);
3506 if (ret < 0) return ret;
3507 }
3508 z->c = z->l - m7;
3509 }
3510 { int m8 = z->l - z->c; (void)m8;
3511 { int ret = r_steps6(z);
3512 if (ret < 0) return ret;
3513 }
3514 z->c = z->l - m8;
3515 }
3516 { int m9 = z->l - z->c; (void)m9;
3517 { int ret = r_steps7(z);
3518 if (ret < 0) return ret;
3519 }
3520 z->c = z->l - m9;
3521 }
3522 { int m10 = z->l - z->c; (void)m10;
3523 { int ret = r_steps8(z);
3524 if (ret < 0) return ret;
3525 }
3526 z->c = z->l - m10;
3527 }
3528 { int m11 = z->l - z->c; (void)m11;
3529 { int ret = r_steps9(z);
3530 if (ret < 0) return ret;
3531 }
3532 z->c = z->l - m11;
3533 }
3534 { int m12 = z->l - z->c; (void)m12;
3535 { int ret = r_steps10(z);
3536 if (ret < 0) return ret;
3537 }
3538 z->c = z->l - m12;
3539 }
3540 { int m13 = z->l - z->c; (void)m13;
3541 { int ret = r_step2a(z);
3542 if (ret < 0) return ret;
3543 }
3544 z->c = z->l - m13;
3545 }
3546 { int m14 = z->l - z->c; (void)m14;
3547 { int ret = r_step2b(z);
3548 if (ret < 0) return ret;
3549 }
3550 z->c = z->l - m14;
3551 }
3552 { int m15 = z->l - z->c; (void)m15;
3553 { int ret = r_step2c(z);
3554 if (ret < 0) return ret;
3555 }
3556 z->c = z->l - m15;
3557 }
3558 { int m16 = z->l - z->c; (void)m16;
3559 { int ret = r_step2d(z);
3560 if (ret < 0) return ret;
3561 }
3562 z->c = z->l - m16;
3563 }
3564 { int m17 = z->l - z->c; (void)m17;
3565 { int ret = r_step3(z);
3566 if (ret < 0) return ret;
3567 }
3568 z->c = z->l - m17;
3569 }
3570 { int m18 = z->l - z->c; (void)m18;
3571 { int ret = r_step4(z);
3572 if (ret < 0) return ret;
3573 }
3574 z->c = z->l - m18;
3575 }
3576 { int m19 = z->l - z->c; (void)m19;
3577 { int ret = r_step5a(z);
3578 if (ret < 0) return ret;
3579 }
3580 z->c = z->l - m19;
3581 }
3582 { int m20 = z->l - z->c; (void)m20;
3583 { int ret = r_step5b(z);
3584 if (ret < 0) return ret;
3585 }
3586 z->c = z->l - m20;
3587 }
3588 { int m21 = z->l - z->c; (void)m21;
3589 { int ret = r_step5c(z);
3590 if (ret < 0) return ret;
3591 }
3592 z->c = z->l - m21;
3593 }
3594 { int m22 = z->l - z->c; (void)m22;
3595 { int ret = r_step5d(z);
3596 if (ret < 0) return ret;
3597 }
3598 z->c = z->l - m22;
3599 }
3600 { int m23 = z->l - z->c; (void)m23;
3601 { int ret = r_step5e(z);
3602 if (ret < 0) return ret;
3603 }
3604 z->c = z->l - m23;
3605 }
3606 { int m24 = z->l - z->c; (void)m24;
3607 { int ret = r_step5f(z);
3608 if (ret < 0) return ret;
3609 }
3610 z->c = z->l - m24;
3611 }
3612 { int m25 = z->l - z->c; (void)m25;
3613 { int ret = r_step5g(z);
3614 if (ret < 0) return ret;
3615 }
3616 z->c = z->l - m25;
3617 }
3618 { int m26 = z->l - z->c; (void)m26;
3619 { int ret = r_step5h(z);
3620 if (ret < 0) return ret;
3621 }
3622 z->c = z->l - m26;
3623 }
3624 { int m27 = z->l - z->c; (void)m27;
3625 { int ret = r_step5j(z);
3626 if (ret < 0) return ret;
3627 }
3628 z->c = z->l - m27;
3629 }
3630 { int m28 = z->l - z->c; (void)m28;
3631 { int ret = r_step5i(z);
3632 if (ret < 0) return ret;
3633 }
3634 z->c = z->l - m28;
3635 }
3636 { int m29 = z->l - z->c; (void)m29;
3637 { int ret = r_step5k(z);
3638 if (ret < 0) return ret;
3639 }
3640 z->c = z->l - m29;
3641 }
3642 { int m30 = z->l - z->c; (void)m30;
3643 { int ret = r_step5l(z);
3644 if (ret < 0) return ret;
3645 }
3646 z->c = z->l - m30;
3647 }
3648 { int m31 = z->l - z->c; (void)m31;
3649 { int ret = r_step5m(z);
3650 if (ret < 0) return ret;
3651 }
3652 z->c = z->l - m31;
3653 }
3654 { int m32 = z->l - z->c; (void)m32;
3655 { int ret = r_step6(z);
3656 if (ret < 0) return ret;
3657 }
3658 z->c = z->l - m32;
3659 }
3660 { int m33 = z->l - z->c; (void)m33;
3661 { int ret = r_step7(z);
3662 if (ret < 0) return ret;
3663 }
3664 z->c = z->l - m33;
3665 }
3666 z->c = z->lb;
3667 return 1;
3668}
static int r_step5e(struct SN_env *z)
static int r_step2a(struct SN_env *z)
static int r_step5g(struct SN_env *z)
static int r_steps4(struct SN_env *z)
static int r_step5a(struct SN_env *z)
static int r_step5i(struct SN_env *z)
static int r_has_min_length(struct SN_env *z)
static int r_step4(struct SN_env *z)
static int r_step6(struct SN_env *z)
static int r_step1(struct SN_env *z)
static int r_step5l(struct SN_env *z)
static int r_steps5(struct SN_env *z)
static int r_steps8(struct SN_env *z)
static int r_step5j(struct SN_env *z)
static int r_step3(struct SN_env *z)
static int r_step5m(struct SN_env *z)
static int r_step2d(struct SN_env *z)
static int r_step5h(struct SN_env *z)
static int r_step5f(struct SN_env *z)
static int r_step5c(struct SN_env *z)
static int r_steps3(struct SN_env *z)
static int r_step7(struct SN_env *z)
static int r_steps1(struct SN_env *z)
static int r_step5k(struct SN_env *z)
static int r_steps9(struct SN_env *z)
static int r_steps7(struct SN_env *z)
static int r_step2c(struct SN_env *z)
static int r_step5d(struct SN_env *z)
static int r_step5b(struct SN_env *z)
static int r_steps2(struct SN_env *z)
static int r_steps10(struct SN_env *z)
static int r_steps6(struct SN_env *z)
static int r_tolower(struct SN_env *z)
static int r_step2b(struct SN_env *z)
int lb
Definition: api.h:16
int * I
Definition: api.h:18
int c
Definition: api.h:16
int l
Definition: api.h:16

References SN_env::c, SN_env::I, SN_env::l, SN_env::lb, r_has_min_length(), r_step1(), r_step2a(), r_step2b(), r_step2c(), r_step2d(), r_step3(), r_step4(), r_step5a(), r_step5b(), r_step5c(), r_step5d(), r_step5e(), r_step5f(), r_step5g(), r_step5h(), r_step5i(), r_step5j(), r_step5k(), r_step5l(), r_step5m(), r_step6(), r_step7(), r_steps1(), r_steps10(), r_steps2(), r_steps3(), r_steps4(), r_steps5(), r_steps6(), r_steps7(), r_steps8(), r_steps9(), and r_tolower().