Apache Solr open-source search software
regenerated from latest Snowball CVS
Erik Hatcher1cb674fc046d
diff --git a/contrib/snowball/src/java/net/sf/snowball/ext/LovinsStemmer.java b/contrib/snowball/src/java/net/sf/snowball/ext/LovinsStemmer.javaindex 6610c12c549..8c4d6c73664 100644--- a/contrib/snowball/src/java/net/sf/snowball/ext/LovinsStemmer.java+++ b/contrib/snowball/src/java/net/sf/snowball/ext/LovinsStemmer.java@@ -1445,10 +1445,10 @@ public class LovinsStemmer extends SnowballProgram {int v_1;int v_2;int v_3;- // (, line 48- // test, line 48+ // (, line 49+ // test, line 49v_1 = limit - cursor;- // hop, line 48+ // hop, line 49{int c = cursor - 3;if (limit_backward > c || c > limit)@@ -1458,11 +1458,11 @@ public class LovinsStemmer extends SnowballProgram {cursor = c;}cursor = limit - v_1;- // not, line 48+ // not, line 49{v_2 = limit - cursor;lab0: do {- // literal, line 48+ // literal, line 49if (!(eq_s_b(3, "met"))){break lab0;@@ -1471,11 +1471,11 @@ public class LovinsStemmer extends SnowballProgram {} while (false);cursor = limit - v_2;}- // not, line 48+ // not, line 49{v_3 = limit - cursor;lab1: do {- // literal, line 48+ // literal, line 49if (!(eq_s_b(4, "ryst"))){break lab1;@@ -1489,10 +1489,10 @@ public class LovinsStemmer extends SnowballProgram {private boolean r_CC() {int v_1;- // (, line 49- // test, line 49+ // (, line 50+ // test, line 50v_1 = limit - cursor;- // hop, line 49+ // hop, line 50{int c = cursor - 2;if (limit_backward > c || c > limit)@@ -1502,7 +1502,7 @@ public class LovinsStemmer extends SnowballProgram {cursor = c;}cursor = limit - v_1;- // literal, line 49+ // literal, line 50if (!(eq_s_b(1, "l"))){return false;@@ -1512,23 +1512,23 @@ public class LovinsStemmer extends SnowballProgram {private boolean r_endings() {int among_var;- // (, line 54- // [, line 55+ // (, line 55+ // [, line 56ket = cursor;- // substring, line 55+ // substring, line 56among_var = find_among_b(a_1, 294);if (among_var == 0){return false;}- // ], line 55+ // ], line 56bra = cursor;switch(among_var) {case 0:return false;case 1:- // (, line 144- // delete, line 144+ // (, line 145+ // delete, line 145slice_del();break;}@@ -1537,26 +1537,26 @@ public class LovinsStemmer extends SnowballProgram {private boolean r_undouble() {int v_1;- // (, line 150- // test, line 151+ // (, line 151+ // test, line 152v_1 = limit - cursor;- // substring, line 151+ // substring, line 152if (find_among_b(a_2, 10) == 0){return false;}cursor = limit - v_1;- // [, line 152+ // [, line 154ket = cursor;- // next, line 152+ // next, line 154if (cursor <= limit_backward){return false;}cursor--;- // ], line 152+ // ], line 154bra = cursor;- // delete, line 152+ // delete, line 154slice_del();return true;}@@ -1571,67 +1571,67 @@ public class LovinsStemmer extends SnowballProgram {int v_6;int v_7;int v_8;- // (, line 157- // [, line 158+ // (, line 159+ // [, line 160ket = cursor;- // substring, line 158+ // substring, line 160among_var = find_among_b(a_3, 34);if (among_var == 0){return false;}- // ], line 158+ // ], line 160bra = cursor;switch(among_var) {case 0:return false;case 1:- // (, line 159- // <-, line 159+ // (, line 161+ // <-, line 161slice_from("ief");break;case 2:- // (, line 160- // <-, line 160+ // (, line 162+ // <-, line 162slice_from("uc");break;case 3:- // (, line 161- // <-, line 161+ // (, line 163+ // <-, line 163slice_from("um");break;case 4:- // (, line 162- // <-, line 162+ // (, line 164+ // <-, line 164slice_from("rb");break;case 5:- // (, line 163- // <-, line 163+ // (, line 165+ // <-, line 165slice_from("ur");break;case 6:- // (, line 164- // <-, line 164+ // (, line 166+ // <-, line 166slice_from("ister");break;case 7:- // (, line 165- // <-, line 165+ // (, line 167+ // <-, line 167slice_from("meter");break;case 8:- // (, line 166- // <-, line 166+ // (, line 168+ // <-, line 168slice_from("olut");break;case 9:- // (, line 167- // not, line 167+ // (, line 169+ // not, line 169{v_1 = limit - cursor;lab0: do {- // literal, line 167+ // literal, line 169if (!(eq_s_b(1, "a"))){break lab0;@@ -1640,11 +1640,11 @@ public class LovinsStemmer extends SnowballProgram {} while (false);cursor = limit - v_1;}- // not, line 167+ // not, line 169{v_2 = limit - cursor;lab1: do {- // literal, line 167+ // literal, line 169if (!(eq_s_b(1, "i"))){break lab1;@@ -1653,11 +1653,11 @@ public class LovinsStemmer extends SnowballProgram {} while (false);cursor = limit - v_2;}- // not, line 167+ // not, line 169{v_3 = limit - cursor;lab2: do {- // literal, line 167+ // literal, line 169if (!(eq_s_b(1, "o"))){break lab2;@@ -1666,86 +1666,86 @@ public class LovinsStemmer extends SnowballProgram {} while (false);cursor = limit - v_3;}- // <-, line 167+ // <-, line 169slice_from("l");break;case 10:- // (, line 168- // <-, line 168+ // (, line 170+ // <-, line 170slice_from("bic");break;case 11:- // (, line 169- // <-, line 169+ // (, line 171+ // <-, line 171slice_from("dic");break;case 12:- // (, line 170- // <-, line 170+ // (, line 172+ // <-, line 172slice_from("pic");break;case 13:- // (, line 171- // <-, line 171+ // (, line 173+ // <-, line 173slice_from("tic");break;case 14:- // (, line 172- // <-, line 172+ // (, line 174+ // <-, line 174slice_from("ac");break;case 15:- // (, line 173- // <-, line 173+ // (, line 175+ // <-, line 175slice_from("ec");break;case 16:- // (, line 174- // <-, line 174+ // (, line 176+ // <-, line 176slice_from("ic");break;case 17:- // (, line 175- // <-, line 175+ // (, line 177+ // <-, line 177slice_from("luc");break;case 18:- // (, line 176- // <-, line 176+ // (, line 178+ // <-, line 178slice_from("uas");break;case 19:- // (, line 177- // <-, line 177+ // (, line 179+ // <-, line 179slice_from("vas");break;case 20:- // (, line 178- // <-, line 178+ // (, line 180+ // <-, line 180slice_from("cis");break;case 21:- // (, line 179- // <-, line 179+ // (, line 181+ // <-, line 181slice_from("lis");break;case 22:- // (, line 180- // <-, line 180+ // (, line 182+ // <-, line 182slice_from("eris");break;case 23:- // (, line 181- // <-, line 181+ // (, line 183+ // <-, line 183slice_from("pans");break;case 24:- // (, line 182- // not, line 182+ // (, line 184+ // not, line 184{v_4 = limit - cursor;lab3: do {- // literal, line 182+ // literal, line 184if (!(eq_s_b(1, "s"))){break lab3;@@ -1754,31 +1754,31 @@ public class LovinsStemmer extends SnowballProgram {} while (false);cursor = limit - v_4;}- // <-, line 182+ // <-, line 184slice_from("ens");break;case 25:- // (, line 183- // <-, line 183+ // (, line 185+ // <-, line 185slice_from("ons");break;case 26:- // (, line 184- // <-, line 184+ // (, line 186+ // <-, line 186slice_from("lus");break;case 27:- // (, line 185- // <-, line 185+ // (, line 187+ // <-, line 187slice_from("rus");break;case 28:- // (, line 186- // not, line 186+ // (, line 188+ // not, line 188{v_5 = limit - cursor;lab4: do {- // literal, line 186+ // literal, line 188if (!(eq_s_b(1, "p"))){break lab4;@@ -1787,11 +1787,11 @@ public class LovinsStemmer extends SnowballProgram {} while (false);cursor = limit - v_5;}- // not, line 186+ // not, line 188{v_6 = limit - cursor;lab5: do {- // literal, line 186+ // literal, line 188if (!(eq_s_b(1, "t"))){break lab5;@@ -1800,21 +1800,21 @@ public class LovinsStemmer extends SnowballProgram {} while (false);cursor = limit - v_6;}- // <-, line 186+ // <-, line 188slice_from("hes");break;case 29:- // (, line 187- // <-, line 187+ // (, line 189+ // <-, line 189slice_from("mis");break;case 30:- // (, line 188- // not, line 188+ // (, line 190+ // not, line 190{v_7 = limit - cursor;lab6: do {- // literal, line 188+ // literal, line 190if (!(eq_s_b(1, "m"))){break lab6;@@ -1823,21 +1823,21 @@ public class LovinsStemmer extends SnowballProgram {} while (false);cursor = limit - v_7;}- // <-, line 188+ // <-, line 190slice_from("ens");break;case 31:- // (, line 189- // <-, line 189+ // (, line 192+ // <-, line 192slice_from("ers");break;case 32:- // (, line 190- // not, line 190+ // (, line 193+ // not, line 193{v_8 = limit - cursor;lab7: do {- // literal, line 190+ // literal, line 193if (!(eq_s_b(1, "n"))){break lab7;@@ -1846,17 +1846,17 @@ public class LovinsStemmer extends SnowballProgram {} while (false);cursor = limit - v_8;}- // <-, line 190+ // <-, line 193slice_from("es");break;case 33:- // (, line 191- // <-, line 191+ // (, line 194+ // <-, line 194slice_from("ys");break;case 34:- // (, line 192- // <-, line 192+ // (, line 195+ // <-, line 195slice_from("ys");break;}@@ -1867,34 +1867,34 @@ public class LovinsStemmer extends SnowballProgram {int v_1;int v_2;int v_3;- // (, line 197- // backwards, line 199+ // (, line 200+ // backwards, line 202limit_backward = cursor; cursor = limit;- // (, line 199- // do, line 200+ // (, line 202+ // do, line 203v_1 = limit - cursor;lab0: do {- // call endings, line 200+ // call endings, line 203if (!r_endings()){break lab0;}} while (false);cursor = limit - v_1;- // do, line 201+ // do, line 204v_2 = limit - cursor;lab1: do {- // call undouble, line 201+ // call undouble, line 204if (!r_undouble()){break lab1;}} while (false);cursor = limit - v_2;- // do, line 202+ // do, line 205v_3 = limit - cursor;lab2: do {- // call respell, line 202+ // call respell, line 205if (!r_respell()){break lab2;diff --git a/contrib/snowball/src/java/net/sf/snowball/ext/PortugueseStemmer.java b/contrib/snowball/src/java/net/sf/snowball/ext/PortugueseStemmer.javaindex d18ee51e6f9..4bb121cdcdc 100644--- a/contrib/snowball/src/java/net/sf/snowball/ext/PortugueseStemmer.java+++ b/contrib/snowball/src/java/net/sf/snowball/ext/PortugueseStemmer.java@@ -988,6 +988,7 @@ public class PortugueseStemmer extends SnowballProgram {int v_7;int v_8;int v_9;+ int v_10;// (, line 199// do, line 200v_1 = cursor;@@ -1020,10 +1021,13 @@ public class PortugueseStemmer extends SnowballProgram {lab3: do {v_4 = limit - cursor;lab4: do {+ // (, line 204+ // and, line 205+ v_5 = limit - cursor;// (, line 204// or, line 204lab5: do {- v_5 = limit - cursor;+ v_6 = limit - cursor;lab6: do {// call standard_suffix, line 204if (!r_standard_suffix())@@ -1032,15 +1036,16 @@ public class PortugueseStemmer extends SnowballProgram {}break lab5;} while (false);- cursor = limit - v_5;+ cursor = limit - v_6;// call verb_suffix, line 204if (!r_verb_suffix()){break lab4;}} while (false);+ cursor = limit - v_5;// do, line 205- v_6 = limit - cursor;+ v_7 = limit - cursor;lab7: do {// (, line 205// [, line 205@@ -1053,13 +1058,13 @@ public class PortugueseStemmer extends SnowballProgram {// ], line 205bra = cursor;// test, line 205- v_7 = limit - cursor;+ v_8 = limit - cursor;// literal, line 205if (!(eq_s_b(1, "c"))){break lab7;}- cursor = limit - v_7;+ cursor = limit - v_8;// call RV, line 205if (!r_RV()){@@ -1068,7 +1073,7 @@ public class PortugueseStemmer extends SnowballProgram {// delete, line 205slice_del();} while (false);- cursor = limit - v_6;+ cursor = limit - v_7;break lab3;} while (false);cursor = limit - v_4;@@ -1081,7 +1086,7 @@ public class PortugueseStemmer extends SnowballProgram {} while (false);cursor = limit - v_3;// do, line 209- v_8 = limit - cursor;+ v_9 = limit - cursor;lab8: do {// call residual_form, line 209if (!r_residual_form())@@ -1089,9 +1094,9 @@ public class PortugueseStemmer extends SnowballProgram {break lab8;}} while (false);- cursor = limit - v_8;+ cursor = limit - v_9;cursor = limit_backward; // do, line 211- v_9 = cursor;+ v_10 = cursor;lab9: do {// call postlude, line 211if (!r_postlude())@@ -1099,7 +1104,7 @@ public class PortugueseStemmer extends SnowballProgram {break lab9;}} while (false);- cursor = v_9;+ cursor = v_10;return true;}