Coverage Report - org.tartarus.snowball.ext.porterStemmer
 
Classes in this File Line Coverage Branch Coverage Complexity
porterStemmer
0%
0/297
0%
0/151
11.8
 
 1  
 // This file was generated automatically by the Snowball to Java compiler
 2  
 
 3  
 package org.tartarus.snowball.ext;
 4  
 
 5  
 import org.tartarus.snowball.Among;
 6  
 
 7  
  /**
 8  
   * This class was automatically generated by a Snowball to Java compiler 
 9  
   * It implements the stemming algorithm defined by a snowball script.
 10  
   */
 11  
 
 12  0
 public class porterStemmer extends org.tartarus.snowball.SnowballStemmer {
 13  
 
 14  
 private static final long serialVersionUID = 1L;
 15  
 
 16  0
         private final static porterStemmer methodObject = new porterStemmer ();
 17  
 
 18  0
                 private final static Among a_0[] = {
 19  
                     new Among ( "s", -1, 3, "", methodObject ),
 20  
                     new Among ( "ies", 0, 2, "", methodObject ),
 21  
                     new Among ( "sses", 0, 1, "", methodObject ),
 22  
                     new Among ( "ss", 0, -1, "", methodObject )
 23  
                 };
 24  
 
 25  0
                 private final static Among a_1[] = {
 26  
                     new Among ( "", -1, 3, "", methodObject ),
 27  
                     new Among ( "bb", 0, 2, "", methodObject ),
 28  
                     new Among ( "dd", 0, 2, "", methodObject ),
 29  
                     new Among ( "ff", 0, 2, "", methodObject ),
 30  
                     new Among ( "gg", 0, 2, "", methodObject ),
 31  
                     new Among ( "bl", 0, 1, "", methodObject ),
 32  
                     new Among ( "mm", 0, 2, "", methodObject ),
 33  
                     new Among ( "nn", 0, 2, "", methodObject ),
 34  
                     new Among ( "pp", 0, 2, "", methodObject ),
 35  
                     new Among ( "rr", 0, 2, "", methodObject ),
 36  
                     new Among ( "at", 0, 1, "", methodObject ),
 37  
                     new Among ( "tt", 0, 2, "", methodObject ),
 38  
                     new Among ( "iz", 0, 1, "", methodObject )
 39  
                 };
 40  
 
 41  0
                 private final static Among a_2[] = {
 42  
                     new Among ( "ed", -1, 2, "", methodObject ),
 43  
                     new Among ( "eed", 0, 1, "", methodObject ),
 44  
                     new Among ( "ing", -1, 2, "", methodObject )
 45  
                 };
 46  
 
 47  0
                 private final static Among a_3[] = {
 48  
                     new Among ( "anci", -1, 3, "", methodObject ),
 49  
                     new Among ( "enci", -1, 2, "", methodObject ),
 50  
                     new Among ( "abli", -1, 4, "", methodObject ),
 51  
                     new Among ( "eli", -1, 6, "", methodObject ),
 52  
                     new Among ( "alli", -1, 9, "", methodObject ),
 53  
                     new Among ( "ousli", -1, 12, "", methodObject ),
 54  
                     new Among ( "entli", -1, 5, "", methodObject ),
 55  
                     new Among ( "aliti", -1, 10, "", methodObject ),
 56  
                     new Among ( "biliti", -1, 14, "", methodObject ),
 57  
                     new Among ( "iviti", -1, 13, "", methodObject ),
 58  
                     new Among ( "tional", -1, 1, "", methodObject ),
 59  
                     new Among ( "ational", 10, 8, "", methodObject ),
 60  
                     new Among ( "alism", -1, 10, "", methodObject ),
 61  
                     new Among ( "ation", -1, 8, "", methodObject ),
 62  
                     new Among ( "ization", 13, 7, "", methodObject ),
 63  
                     new Among ( "izer", -1, 7, "", methodObject ),
 64  
                     new Among ( "ator", -1, 8, "", methodObject ),
 65  
                     new Among ( "iveness", -1, 13, "", methodObject ),
 66  
                     new Among ( "fulness", -1, 11, "", methodObject ),
 67  
                     new Among ( "ousness", -1, 12, "", methodObject )
 68  
                 };
 69  
 
 70  0
                 private final static Among a_4[] = {
 71  
                     new Among ( "icate", -1, 2, "", methodObject ),
 72  
                     new Among ( "ative", -1, 3, "", methodObject ),
 73  
                     new Among ( "alize", -1, 1, "", methodObject ),
 74  
                     new Among ( "iciti", -1, 2, "", methodObject ),
 75  
                     new Among ( "ical", -1, 2, "", methodObject ),
 76  
                     new Among ( "ful", -1, 3, "", methodObject ),
 77  
                     new Among ( "ness", -1, 3, "", methodObject )
 78  
                 };
 79  
 
 80  0
                 private final static Among a_5[] = {
 81  
                     new Among ( "ic", -1, 1, "", methodObject ),
 82  
                     new Among ( "ance", -1, 1, "", methodObject ),
 83  
                     new Among ( "ence", -1, 1, "", methodObject ),
 84  
                     new Among ( "able", -1, 1, "", methodObject ),
 85  
                     new Among ( "ible", -1, 1, "", methodObject ),
 86  
                     new Among ( "ate", -1, 1, "", methodObject ),
 87  
                     new Among ( "ive", -1, 1, "", methodObject ),
 88  
                     new Among ( "ize", -1, 1, "", methodObject ),
 89  
                     new Among ( "iti", -1, 1, "", methodObject ),
 90  
                     new Among ( "al", -1, 1, "", methodObject ),
 91  
                     new Among ( "ism", -1, 1, "", methodObject ),
 92  
                     new Among ( "ion", -1, 2, "", methodObject ),
 93  
                     new Among ( "er", -1, 1, "", methodObject ),
 94  
                     new Among ( "ous", -1, 1, "", methodObject ),
 95  
                     new Among ( "ant", -1, 1, "", methodObject ),
 96  
                     new Among ( "ent", -1, 1, "", methodObject ),
 97  
                     new Among ( "ment", 15, 1, "", methodObject ),
 98  
                     new Among ( "ement", 16, 1, "", methodObject ),
 99  
                     new Among ( "ou", -1, 1, "", methodObject )
 100  
                 };
 101  
 
 102  0
                 private static final char g_v[] = {17, 65, 16, 1 };
 103  
 
 104  0
                 private static final char g_v_WXY[] = {1, 17, 65, 208, 1 };
 105  
 
 106  
         private boolean B_Y_found;
 107  
         private int I_p2;
 108  
         private int I_p1;
 109  
 
 110  
                 private void copy_from(porterStemmer other) {
 111  0
                     B_Y_found = other.B_Y_found;
 112  0
                     I_p2 = other.I_p2;
 113  0
                     I_p1 = other.I_p1;
 114  0
                     super.copy_from(other);
 115  0
                 }
 116  
 
 117  
                 private boolean r_shortv() {
 118  
                     // (, line 19
 119  0
                     if (!(out_grouping_b(g_v_WXY, 89, 121)))
 120  
                     {
 121  0
                         return false;
 122  
                     }
 123  0
                     if (!(in_grouping_b(g_v, 97, 121)))
 124  
                     {
 125  0
                         return false;
 126  
                     }
 127  0
                     if (!(out_grouping_b(g_v, 97, 121)))
 128  
                     {
 129  0
                         return false;
 130  
                     }
 131  0
                     return true;
 132  
                 }
 133  
 
 134  
                 private boolean r_R1() {
 135  0
                     if (!(I_p1 <= cursor))
 136  
                     {
 137  0
                         return false;
 138  
                     }
 139  0
                     return true;
 140  
                 }
 141  
 
 142  
                 private boolean r_R2() {
 143  0
                     if (!(I_p2 <= cursor))
 144  
                     {
 145  0
                         return false;
 146  
                     }
 147  0
                     return true;
 148  
                 }
 149  
 
 150  
                 private boolean r_Step_1a() {
 151  
             int among_var;
 152  
                     // (, line 24
 153  
                     // [, line 25
 154  0
                     ket = cursor;
 155  
                     // substring, line 25
 156  0
                     among_var = find_among_b(a_0, 4);
 157  0
                     if (among_var == 0)
 158  
                     {
 159  0
                         return false;
 160  
                     }
 161  
                     // ], line 25
 162  0
                     bra = cursor;
 163  0
                     switch(among_var) {
 164  
                         case 0:
 165  0
                             return false;
 166  
                         case 1:
 167  
                             // (, line 26
 168  
                             // <-, line 26
 169  0
                             slice_from("ss");
 170  0
                             break;
 171  
                         case 2:
 172  
                             // (, line 27
 173  
                             // <-, line 27
 174  0
                             slice_from("i");
 175  0
                             break;
 176  
                         case 3:
 177  
                             // (, line 29
 178  
                             // delete, line 29
 179  0
                             slice_del();
 180  
                             break;
 181  
                     }
 182  0
                     return true;
 183  
                 }
 184  
 
 185  
                 private boolean r_Step_1b() {
 186  
             int among_var;
 187  
             int v_1;
 188  
             int v_3;
 189  
             int v_4;
 190  
                     // (, line 33
 191  
                     // [, line 34
 192  0
                     ket = cursor;
 193  
                     // substring, line 34
 194  0
                     among_var = find_among_b(a_2, 3);
 195  0
                     if (among_var == 0)
 196  
                     {
 197  0
                         return false;
 198  
                     }
 199  
                     // ], line 34
 200  0
                     bra = cursor;
 201  0
                     switch(among_var) {
 202  
                         case 0:
 203  0
                             return false;
 204  
                         case 1:
 205  
                             // (, line 35
 206  
                             // call R1, line 35
 207  0
                             if (!r_R1())
 208  
                             {
 209  0
                                 return false;
 210  
                             }
 211  
                             // <-, line 35
 212  0
                             slice_from("ee");
 213  0
                             break;
 214  
                         case 2:
 215  
                             // (, line 37
 216  
                             // test, line 38
 217  0
                             v_1 = limit - cursor;
 218  
                             // gopast, line 38
 219  
                             golab0: while(true)
 220  
                             {
 221  
                                 lab1: do {
 222  0
                                     if (!(in_grouping_b(g_v, 97, 121)))
 223  
                                     {
 224  
                                         break lab1;
 225  
                                     }
 226  
                                     break golab0;
 227  
                                 } while (false);
 228  0
                                 if (cursor <= limit_backward)
 229  
                                 {
 230  0
                                     return false;
 231  
                                 }
 232  0
                                 cursor--;
 233  
                             }
 234  0
                             cursor = limit - v_1;
 235  
                             // delete, line 38
 236  0
                             slice_del();
 237  
                             // test, line 39
 238  0
                             v_3 = limit - cursor;
 239  
                             // substring, line 39
 240  0
                             among_var = find_among_b(a_1, 13);
 241  0
                             if (among_var == 0)
 242  
                             {
 243  0
                                 return false;
 244  
                             }
 245  0
                             cursor = limit - v_3;
 246  0
                             switch(among_var) {
 247  
                                 case 0:
 248  0
                                     return false;
 249  
                                 case 1:
 250  
                                     // (, line 41
 251  
                                     // <+, line 41
 252  
                                     {
 253  0
                                         int c = cursor;
 254  0
                                         insert(cursor, cursor, "e");
 255  0
                                         cursor = c;
 256  
                                     }
 257  0
                                     break;
 258  
                                 case 2:
 259  
                                     // (, line 44
 260  
                                     // [, line 44
 261  0
                                     ket = cursor;
 262  
                                     // next, line 44
 263  0
                                     if (cursor <= limit_backward)
 264  
                                     {
 265  0
                                         return false;
 266  
                                     }
 267  0
                                     cursor--;
 268  
                                     // ], line 44
 269  0
                                     bra = cursor;
 270  
                                     // delete, line 44
 271  0
                                     slice_del();
 272  0
                                     break;
 273  
                                 case 3:
 274  
                                     // (, line 45
 275  
                                     // atmark, line 45
 276  0
                                     if (cursor != I_p1)
 277  
                                     {
 278  0
                                         return false;
 279  
                                     }
 280  
                                     // test, line 45
 281  0
                                     v_4 = limit - cursor;
 282  
                                     // call shortv, line 45
 283  0
                                     if (!r_shortv())
 284  
                                     {
 285  0
                                         return false;
 286  
                                     }
 287  0
                                     cursor = limit - v_4;
 288  
                                     // <+, line 45
 289  
                                     {
 290  0
                                         int c = cursor;
 291  0
                                         insert(cursor, cursor, "e");
 292  0
                                         cursor = c;
 293  
                                     }
 294  
                                     break;
 295  
                             }
 296  
                             break;
 297  
                     }
 298  0
                     return true;
 299  
                 }
 300  
 
 301  
                 private boolean r_Step_1c() {
 302  
             int v_1;
 303  
                     // (, line 51
 304  
                     // [, line 52
 305  0
                     ket = cursor;
 306  
                     // or, line 52
 307  
                     lab0: do {
 308  0
                         v_1 = limit - cursor;
 309  
                         lab1: do {
 310  
                             // literal, line 52
 311  0
                             if (!(eq_s_b(1, "y")))
 312  
                             {
 313  
                                 break lab1;
 314  
                             }
 315  
                             break lab0;
 316  
                         } while (false);
 317  0
                         cursor = limit - v_1;
 318  
                         // literal, line 52
 319  0
                         if (!(eq_s_b(1, "Y")))
 320  
                         {
 321  0
                             return false;
 322  
                         }
 323  
                     } while (false);
 324  
                     // ], line 52
 325  0
                     bra = cursor;
 326  
                     // gopast, line 53
 327  
                     golab2: while(true)
 328  
                     {
 329  
                         lab3: do {
 330  0
                             if (!(in_grouping_b(g_v, 97, 121)))
 331  
                             {
 332  
                                 break lab3;
 333  
                             }
 334  
                             break golab2;
 335  
                         } while (false);
 336  0
                         if (cursor <= limit_backward)
 337  
                         {
 338  0
                             return false;
 339  
                         }
 340  0
                         cursor--;
 341  
                     }
 342  
                     // <-, line 54
 343  0
                     slice_from("i");
 344  0
                     return true;
 345  
                 }
 346  
 
 347  
                 private boolean r_Step_2() {
 348  
             int among_var;
 349  
                     // (, line 57
 350  
                     // [, line 58
 351  0
                     ket = cursor;
 352  
                     // substring, line 58
 353  0
                     among_var = find_among_b(a_3, 20);
 354  0
                     if (among_var == 0)
 355  
                     {
 356  0
                         return false;
 357  
                     }
 358  
                     // ], line 58
 359  0
                     bra = cursor;
 360  
                     // call R1, line 58
 361  0
                     if (!r_R1())
 362  
                     {
 363  0
                         return false;
 364  
                     }
 365  0
                     switch(among_var) {
 366  
                         case 0:
 367  0
                             return false;
 368  
                         case 1:
 369  
                             // (, line 59
 370  
                             // <-, line 59
 371  0
                             slice_from("tion");
 372  0
                             break;
 373  
                         case 2:
 374  
                             // (, line 60
 375  
                             // <-, line 60
 376  0
                             slice_from("ence");
 377  0
                             break;
 378  
                         case 3:
 379  
                             // (, line 61
 380  
                             // <-, line 61
 381  0
                             slice_from("ance");
 382  0
                             break;
 383  
                         case 4:
 384  
                             // (, line 62
 385  
                             // <-, line 62
 386  0
                             slice_from("able");
 387  0
                             break;
 388  
                         case 5:
 389  
                             // (, line 63
 390  
                             // <-, line 63
 391  0
                             slice_from("ent");
 392  0
                             break;
 393  
                         case 6:
 394  
                             // (, line 64
 395  
                             // <-, line 64
 396  0
                             slice_from("e");
 397  0
                             break;
 398  
                         case 7:
 399  
                             // (, line 66
 400  
                             // <-, line 66
 401  0
                             slice_from("ize");
 402  0
                             break;
 403  
                         case 8:
 404  
                             // (, line 68
 405  
                             // <-, line 68
 406  0
                             slice_from("ate");
 407  0
                             break;
 408  
                         case 9:
 409  
                             // (, line 69
 410  
                             // <-, line 69
 411  0
                             slice_from("al");
 412  0
                             break;
 413  
                         case 10:
 414  
                             // (, line 71
 415  
                             // <-, line 71
 416  0
                             slice_from("al");
 417  0
                             break;
 418  
                         case 11:
 419  
                             // (, line 72
 420  
                             // <-, line 72
 421  0
                             slice_from("ful");
 422  0
                             break;
 423  
                         case 12:
 424  
                             // (, line 74
 425  
                             // <-, line 74
 426  0
                             slice_from("ous");
 427  0
                             break;
 428  
                         case 13:
 429  
                             // (, line 76
 430  
                             // <-, line 76
 431  0
                             slice_from("ive");
 432  0
                             break;
 433  
                         case 14:
 434  
                             // (, line 77
 435  
                             // <-, line 77
 436  0
                             slice_from("ble");
 437  
                             break;
 438  
                     }
 439  0
                     return true;
 440  
                 }
 441  
 
 442  
                 private boolean r_Step_3() {
 443  
             int among_var;
 444  
                     // (, line 81
 445  
                     // [, line 82
 446  0
                     ket = cursor;
 447  
                     // substring, line 82
 448  0
                     among_var = find_among_b(a_4, 7);
 449  0
                     if (among_var == 0)
 450  
                     {
 451  0
                         return false;
 452  
                     }
 453  
                     // ], line 82
 454  0
                     bra = cursor;
 455  
                     // call R1, line 82
 456  0
                     if (!r_R1())
 457  
                     {
 458  0
                         return false;
 459  
                     }
 460  0
                     switch(among_var) {
 461  
                         case 0:
 462  0
                             return false;
 463  
                         case 1:
 464  
                             // (, line 83
 465  
                             // <-, line 83
 466  0
                             slice_from("al");
 467  0
                             break;
 468  
                         case 2:
 469  
                             // (, line 85
 470  
                             // <-, line 85
 471  0
                             slice_from("ic");
 472  0
                             break;
 473  
                         case 3:
 474  
                             // (, line 87
 475  
                             // delete, line 87
 476  0
                             slice_del();
 477  
                             break;
 478  
                     }
 479  0
                     return true;
 480  
                 }
 481  
 
 482  
                 private boolean r_Step_4() {
 483  
             int among_var;
 484  
             int v_1;
 485  
                     // (, line 91
 486  
                     // [, line 92
 487  0
                     ket = cursor;
 488  
                     // substring, line 92
 489  0
                     among_var = find_among_b(a_5, 19);
 490  0
                     if (among_var == 0)
 491  
                     {
 492  0
                         return false;
 493  
                     }
 494  
                     // ], line 92
 495  0
                     bra = cursor;
 496  
                     // call R2, line 92
 497  0
                     if (!r_R2())
 498  
                     {
 499  0
                         return false;
 500  
                     }
 501  0
                     switch(among_var) {
 502  
                         case 0:
 503  0
                             return false;
 504  
                         case 1:
 505  
                             // (, line 95
 506  
                             // delete, line 95
 507  0
                             slice_del();
 508  0
                             break;
 509  
                         case 2:
 510  
                             // (, line 96
 511  
                             // or, line 96
 512  
                             lab0: do {
 513  0
                                 v_1 = limit - cursor;
 514  
                                 lab1: do {
 515  
                                     // literal, line 96
 516  0
                                     if (!(eq_s_b(1, "s")))
 517  
                                     {
 518  
                                         break lab1;
 519  
                                     }
 520  
                                     break lab0;
 521  
                                 } while (false);
 522  0
                                 cursor = limit - v_1;
 523  
                                 // literal, line 96
 524  0
                                 if (!(eq_s_b(1, "t")))
 525  
                                 {
 526  0
                                     return false;
 527  
                                 }
 528  
                             } while (false);
 529  
                             // delete, line 96
 530  0
                             slice_del();
 531  
                             break;
 532  
                     }
 533  0
                     return true;
 534  
                 }
 535  
 
 536  
                 private boolean r_Step_5a() {
 537  
             int v_1;
 538  
             int v_2;
 539  
                     // (, line 100
 540  
                     // [, line 101
 541  0
                     ket = cursor;
 542  
                     // literal, line 101
 543  0
                     if (!(eq_s_b(1, "e")))
 544  
                     {
 545  0
                         return false;
 546  
                     }
 547  
                     // ], line 101
 548  0
                     bra = cursor;
 549  
                     // or, line 102
 550  
                     lab0: do {
 551  0
                         v_1 = limit - cursor;
 552  
                         lab1: do {
 553  
                             // call R2, line 102
 554  0
                             if (!r_R2())
 555  
                             {
 556  
                                 break lab1;
 557  
                             }
 558  
                             break lab0;
 559  
                         } while (false);
 560  0
                         cursor = limit - v_1;
 561  
                         // (, line 102
 562  
                         // call R1, line 102
 563  0
                         if (!r_R1())
 564  
                         {
 565  0
                             return false;
 566  
                         }
 567  
                         // not, line 102
 568  
                         {
 569  0
                             v_2 = limit - cursor;
 570  
                             lab2: do {
 571  
                                 // call shortv, line 102
 572  0
                                 if (!r_shortv())
 573  
                                 {
 574  0
                                     break lab2;
 575  
                                 }
 576  0
                                 return false;
 577  
                             } while (false);
 578  0
                             cursor = limit - v_2;
 579  
                         }
 580  
                     } while (false);
 581  
                     // delete, line 103
 582  0
                     slice_del();
 583  0
                     return true;
 584  
                 }
 585  
 
 586  
                 private boolean r_Step_5b() {
 587  
                     // (, line 106
 588  
                     // [, line 107
 589  0
                     ket = cursor;
 590  
                     // literal, line 107
 591  0
                     if (!(eq_s_b(1, "l")))
 592  
                     {
 593  0
                         return false;
 594  
                     }
 595  
                     // ], line 107
 596  0
                     bra = cursor;
 597  
                     // call R2, line 108
 598  0
                     if (!r_R2())
 599  
                     {
 600  0
                         return false;
 601  
                     }
 602  
                     // literal, line 108
 603  0
                     if (!(eq_s_b(1, "l")))
 604  
                     {
 605  0
                         return false;
 606  
                     }
 607  
                     // delete, line 109
 608  0
                     slice_del();
 609  0
                     return true;
 610  
                 }
 611  
 
 612  
                 public boolean stem() {
 613  
             int v_1;
 614  
             int v_2;
 615  
             int v_3;
 616  
             int v_4;
 617  
             int v_5;
 618  
             int v_10;
 619  
             int v_11;
 620  
             int v_12;
 621  
             int v_13;
 622  
             int v_14;
 623  
             int v_15;
 624  
             int v_16;
 625  
             int v_17;
 626  
             int v_18;
 627  
             int v_19;
 628  
             int v_20;
 629  
                     // (, line 113
 630  
                     // unset Y_found, line 115
 631  0
                     B_Y_found = false;
 632  
                     // do, line 116
 633  0
                     v_1 = cursor;
 634  
                     lab0: do {
 635  
                         // (, line 116
 636  
                         // [, line 116
 637  0
                         bra = cursor;
 638  
                         // literal, line 116
 639  0
                         if (!(eq_s(1, "y")))
 640  
                         {
 641  0
                             break lab0;
 642  
                         }
 643  
                         // ], line 116
 644  0
                         ket = cursor;
 645  
                         // <-, line 116
 646  0
                         slice_from("Y");
 647  
                         // set Y_found, line 116
 648  0
                         B_Y_found = true;
 649  
                     } while (false);
 650  0
                     cursor = v_1;
 651  
                     // do, line 117
 652  0
                     v_2 = cursor;
 653  
                     lab1: do {
 654  
                         // repeat, line 117
 655  
                         replab2: while(true)
 656  
                         {
 657  0
                             v_3 = cursor;
 658  
                             lab3: do {
 659  
                                 // (, line 117
 660  
                                 // goto, line 117
 661  
                                 golab4: while(true)
 662  
                                 {
 663  0
                                     v_4 = cursor;
 664  
                                     lab5: do {
 665  
                                         // (, line 117
 666  0
                                         if (!(in_grouping(g_v, 97, 121)))
 667  
                                         {
 668  0
                                             break lab5;
 669  
                                         }
 670  
                                         // [, line 117
 671  0
                                         bra = cursor;
 672  
                                         // literal, line 117
 673  0
                                         if (!(eq_s(1, "y")))
 674  
                                         {
 675  0
                                             break lab5;
 676  
                                         }
 677  
                                         // ], line 117
 678  0
                                         ket = cursor;
 679  0
                                         cursor = v_4;
 680  0
                                         break golab4;
 681  
                                     } while (false);
 682  0
                                     cursor = v_4;
 683  0
                                     if (cursor >= limit)
 684  
                                     {
 685  0
                                         break lab3;
 686  
                                     }
 687  0
                                     cursor++;
 688  
                                 }
 689  
                                 // <-, line 117
 690  0
                                 slice_from("Y");
 691  
                                 // set Y_found, line 117
 692  0
                                 B_Y_found = true;
 693  0
                                 continue replab2;
 694  
                             } while (false);
 695  0
                             cursor = v_3;
 696  0
                             break replab2;
 697  
                         }
 698  
                     } while (false);
 699  0
                     cursor = v_2;
 700  0
                     I_p1 = limit;
 701  0
                     I_p2 = limit;
 702  
                     // do, line 121
 703  0
                     v_5 = cursor;
 704  
                     lab6: do {
 705  
                         // (, line 121
 706  
                         // gopast, line 122
 707  
                         golab7: while(true)
 708  
                         {
 709  
                             lab8: do {
 710  0
                                 if (!(in_grouping(g_v, 97, 121)))
 711  
                                 {
 712  
                                     break lab8;
 713  
                                 }
 714  
                                 break golab7;
 715  
                             } while (false);
 716  0
                             if (cursor >= limit)
 717  
                             {
 718  0
                                 break lab6;
 719  
                             }
 720  0
                             cursor++;
 721  
                         }
 722  
                         // gopast, line 122
 723  
                         golab9: while(true)
 724  
                         {
 725  
                             lab10: do {
 726  0
                                 if (!(out_grouping(g_v, 97, 121)))
 727  
                                 {
 728  
                                     break lab10;
 729  
                                 }
 730  
                                 break golab9;
 731  
                             } while (false);
 732  0
                             if (cursor >= limit)
 733  
                             {
 734  0
                                 break lab6;
 735  
                             }
 736  0
                             cursor++;
 737  
                         }
 738  
                         // setmark p1, line 122
 739  0
                         I_p1 = cursor;
 740  
                         // gopast, line 123
 741  
                         golab11: while(true)
 742  
                         {
 743  
                             lab12: do {
 744  0
                                 if (!(in_grouping(g_v, 97, 121)))
 745  
                                 {
 746  
                                     break lab12;
 747  
                                 }
 748  
                                 break golab11;
 749  
                             } while (false);
 750  0
                             if (cursor >= limit)
 751  
                             {
 752  0
                                 break lab6;
 753  
                             }
 754  0
                             cursor++;
 755  
                         }
 756  
                         // gopast, line 123
 757  
                         golab13: while(true)
 758  
                         {
 759  
                             lab14: do {
 760  0
                                 if (!(out_grouping(g_v, 97, 121)))
 761  
                                 {
 762  
                                     break lab14;
 763  
                                 }
 764  
                                 break golab13;
 765  
                             } while (false);
 766  0
                             if (cursor >= limit)
 767  
                             {
 768  0
                                 break lab6;
 769  
                             }
 770  0
                             cursor++;
 771  
                         }
 772  
                         // setmark p2, line 123
 773  0
                         I_p2 = cursor;
 774  
                     } while (false);
 775  0
                     cursor = v_5;
 776  
                     // backwards, line 126
 777  0
                     limit_backward = cursor; cursor = limit;
 778  
                     // (, line 126
 779  
                     // do, line 127
 780  0
                     v_10 = limit - cursor;
 781  
                     lab15: do {
 782  
                         // call Step_1a, line 127
 783  0
                         if (!r_Step_1a())
 784  
                         {
 785  
                             break lab15;
 786  
                         }
 787  
                     } while (false);
 788  0
                     cursor = limit - v_10;
 789  
                     // do, line 128
 790  0
                     v_11 = limit - cursor;
 791  
                     lab16: do {
 792  
                         // call Step_1b, line 128
 793  0
                         if (!r_Step_1b())
 794  
                         {
 795  
                             break lab16;
 796  
                         }
 797  
                     } while (false);
 798  0
                     cursor = limit - v_11;
 799  
                     // do, line 129
 800  0
                     v_12 = limit - cursor;
 801  
                     lab17: do {
 802  
                         // call Step_1c, line 129
 803  0
                         if (!r_Step_1c())
 804  
                         {
 805  
                             break lab17;
 806  
                         }
 807  
                     } while (false);
 808  0
                     cursor = limit - v_12;
 809  
                     // do, line 130
 810  0
                     v_13 = limit - cursor;
 811  
                     lab18: do {
 812  
                         // call Step_2, line 130
 813  0
                         if (!r_Step_2())
 814  
                         {
 815  
                             break lab18;
 816  
                         }
 817  
                     } while (false);
 818  0
                     cursor = limit - v_13;
 819  
                     // do, line 131
 820  0
                     v_14 = limit - cursor;
 821  
                     lab19: do {
 822  
                         // call Step_3, line 131
 823  0
                         if (!r_Step_3())
 824  
                         {
 825  
                             break lab19;
 826  
                         }
 827  
                     } while (false);
 828  0
                     cursor = limit - v_14;
 829  
                     // do, line 132
 830  0
                     v_15 = limit - cursor;
 831  
                     lab20: do {
 832  
                         // call Step_4, line 132
 833  0
                         if (!r_Step_4())
 834  
                         {
 835  
                             break lab20;
 836  
                         }
 837  
                     } while (false);
 838  0
                     cursor = limit - v_15;
 839  
                     // do, line 133
 840  0
                     v_16 = limit - cursor;
 841  
                     lab21: do {
 842  
                         // call Step_5a, line 133
 843  0
                         if (!r_Step_5a())
 844  
                         {
 845  
                             break lab21;
 846  
                         }
 847  
                     } while (false);
 848  0
                     cursor = limit - v_16;
 849  
                     // do, line 134
 850  0
                     v_17 = limit - cursor;
 851  
                     lab22: do {
 852  
                         // call Step_5b, line 134
 853  0
                         if (!r_Step_5b())
 854  
                         {
 855  
                             break lab22;
 856  
                         }
 857  
                     } while (false);
 858  0
                     cursor = limit - v_17;
 859  0
                     cursor = limit_backward;                    // do, line 137
 860  0
                     v_18 = cursor;
 861  
                     lab23: do {
 862  
                         // (, line 137
 863  
                         // Boolean test Y_found, line 137
 864  0
                         if (!(B_Y_found))
 865  
                         {
 866  0
                             break lab23;
 867  
                         }
 868  
                         // repeat, line 137
 869  
                         replab24: while(true)
 870  
                         {
 871  0
                             v_19 = cursor;
 872  
                             lab25: do {
 873  
                                 // (, line 137
 874  
                                 // goto, line 137
 875  
                                 golab26: while(true)
 876  
                                 {
 877  0
                                     v_20 = cursor;
 878  
                                     lab27: do {
 879  
                                         // (, line 137
 880  
                                         // [, line 137
 881  0
                                         bra = cursor;
 882  
                                         // literal, line 137
 883  0
                                         if (!(eq_s(1, "Y")))
 884  
                                         {
 885  0
                                             break lab27;
 886  
                                         }
 887  
                                         // ], line 137
 888  0
                                         ket = cursor;
 889  0
                                         cursor = v_20;
 890  0
                                         break golab26;
 891  
                                     } while (false);
 892  0
                                     cursor = v_20;
 893  0
                                     if (cursor >= limit)
 894  
                                     {
 895  0
                                         break lab25;
 896  
                                     }
 897  0
                                     cursor++;
 898  
                                 }
 899  
                                 // <-, line 137
 900  0
                                 slice_from("y");
 901  0
                                 continue replab24;
 902  
                             } while (false);
 903  0
                             cursor = v_19;
 904  0
                             break replab24;
 905  
                         }
 906  
                     } while (false);
 907  0
                     cursor = v_18;
 908  0
                     return true;
 909  
                 }
 910  
 
 911  
         public boolean equals( Object o ) {
 912  0
             return o instanceof porterStemmer;
 913  
         }
 914  
 
 915  
         public int hashCode() {
 916  0
             return porterStemmer.class.getName().hashCode();
 917  
         }
 918  
 
 919  
 
 920  
 
 921  
 }
 922