📄 englishstemmer.java
字号:
slice_from("ss"); break; case 2: // (, line 57 // or, line 57 lab0: do { v_1 = limit - cursor; lab1: do { // (, line 57 // next, line 57 if (cursor <= limit_backward) { break lab1; } cursor--; // atlimit, line 57 if (cursor > limit_backward) { break lab1; } // <-, line 57 slice_from("ie"); break lab0; } while (false); cursor = limit - v_1; // <-, line 57 slice_from("i"); } while (false); break; case 3: // (, line 58 // next, line 58 if (cursor <= limit_backward) { return false; } cursor--; // gopast, line 58 golab2: while(true) { lab3: do { if (!(in_grouping_b(g_v, 97, 121))) { break lab3; } break golab2; } while (false); if (cursor <= limit_backward) { return false; } cursor--; } // delete, line 58 slice_del(); break; } return true; } private boolean r_Step_1b() { int among_var; int v_1; int v_3; int v_4; // (, line 63 // [, line 64 ket = cursor; // substring, line 64 among_var = find_among_b(a_3, 6); if (among_var == 0) { return false; } // ], line 64 bra = cursor; switch(among_var) { case 0: return false; case 1: // (, line 66 // call R1, line 66 if (!r_R1()) { return false; } // <-, line 66 slice_from("ee"); break; case 2: // (, line 68 // test, line 69 v_1 = limit - cursor; // gopast, line 69 golab0: while(true) { lab1: do { if (!(in_grouping_b(g_v, 97, 121))) { break lab1; } break golab0; } while (false); if (cursor <= limit_backward) { return false; } cursor--; } cursor = limit - v_1; // delete, line 69 slice_del(); // test, line 70 v_3 = limit - cursor; // substring, line 70 among_var = find_among_b(a_2, 13); if (among_var == 0) { return false; } cursor = limit - v_3; switch(among_var) { case 0: return false; case 1: // (, line 72 // <+, line 72 { int c = cursor; insert(cursor, cursor, "e"); cursor = c; } break; case 2: // (, line 75 // [, line 75 ket = cursor; // next, line 75 if (cursor <= limit_backward) { return false; } cursor--; // ], line 75 bra = cursor; // delete, line 75 slice_del(); break; case 3: // (, line 76 // atmark, line 76 if (cursor != I_p1) { return false; } // test, line 76 v_4 = limit - cursor; // call shortv, line 76 if (!r_shortv()) { return false; } cursor = limit - v_4; // <+, line 76 { int c = cursor; insert(cursor, cursor, "e"); cursor = c; } break; } break; } return true; } private boolean r_Step_1c() { int v_1; int v_2; // (, line 82 // [, line 83 ket = cursor; // or, line 83 lab0: do { v_1 = limit - cursor; lab1: do { // literal, line 83 if (!(eq_s_b(1, "y"))) { break lab1; } break lab0; } while (false); cursor = limit - v_1; // literal, line 83 if (!(eq_s_b(1, "Y"))) { return false; } } while (false); // ], line 83 bra = cursor; if (!(out_grouping_b(g_v, 97, 121))) { return false; } // not, line 84 { v_2 = limit - cursor; lab2: do { // atlimit, line 84 if (cursor > limit_backward) { break lab2; } return false; } while (false); cursor = limit - v_2; } // <-, line 85 slice_from("i"); return true; } private boolean r_Step_2() { int among_var; // (, line 88 // [, line 89 ket = cursor; // substring, line 89 among_var = find_among_b(a_4, 24); if (among_var == 0) { return false; } // ], line 89 bra = cursor; // call R1, line 89 if (!r_R1()) { return false; } switch(among_var) { case 0: return false; case 1: // (, line 90 // <-, line 90 slice_from("tion"); break; case 2: // (, line 91 // <-, line 91 slice_from("ence"); break; case 3: // (, line 92 // <-, line 92 slice_from("ance"); break; case 4: // (, line 93 // <-, line 93 slice_from("able"); break; case 5: // (, line 94 // <-, line 94 slice_from("ent"); break; case 6: // (, line 96 // <-, line 96 slice_from("ize"); break; case 7: // (, line 98 // <-, line 98 slice_from("ate"); break; case 8: // (, line 100 // <-, line 100 slice_from("al"); break; case 9: // (, line 101 // <-, line 101 slice_from("ful"); break; case 10: // (, line 103 // <-, line 103 slice_from("ous"); break; case 11: // (, line 105 // <-, line 105 slice_from("ive"); break; case 12: // (, line 107 // <-, line 107 slice_from("ble"); break; case 13: // (, line 108 // literal, line 108 if (!(eq_s_b(1, "l"))) { return false; } // <-, line 108 slice_from("og"); break; case 14: // (, line 109 // <-, line 109 slice_from("ful"); break; case 15: // (, line 110 // <-, line 110 slice_from("less"); break; case 16: // (, line 111 if (!(in_grouping_b(g_valid_LI, 99, 116))) { return false; } // delete, line 111 slice_del(); break; } return true; } private boolean r_Step_3() { int among_var; // (, line 115 // [, line 116 ket = cursor; // substring, line 116 among_var = find_among_b(a_5, 9); if (among_var == 0) { return false; } // ], line 116 bra = cursor; // call R1, line 116 if (!r_R1()) { return false; } switch(among_var) { case 0: return false; case 1: // (, line 117 // <-, line 117 slice_from("tion"); break; case 2: // (, line 118 // <-, line 118 slice_from("ate"); break; case 3: // (, line 119 // <-, line 119 slice_from("al"); break; case 4: // (, line 121 // <-, line 121 slice_from("ic"); break; case 5: // (, line 123 // delete, line 123 slice_del(); break; case 6: // (, line 125 // call R2, line 125 if (!r_R2()) { return false; } // delete, line 125 slice_del(); break; } return true; } private boolean r_Step_4() { int among_var; int v_1; // (, line 129 // [, line 130 ket = cursor; // substring, line 130 among_var = find_among_b(a_6, 18); if (among_var == 0) { return false; } // ], line 130 bra = cursor; // call R2, line 130 if (!r_R2()) { return false; } switch(among_var) { case 0: return false;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -