📄 lovinsstemmer.java
字号:
// This file was generated automatically by the Snowball to Java compilerpackage net.sf.snowball.ext;import net.sf.snowball.SnowballProgram;import net.sf.snowball.Among;/** * Generated class implementing code defined by a snowball script. */public class LovinsStemmer extends SnowballProgram { private Among a_0[] = { new Among ( "d", -1, -1, "", this), new Among ( "f", -1, -1, "", this), new Among ( "ph", -1, -1, "", this), new Among ( "th", -1, -1, "", this), new Among ( "l", -1, -1, "", this), new Among ( "er", -1, -1, "", this), new Among ( "or", -1, -1, "", this), new Among ( "es", -1, -1, "", this), new Among ( "t", -1, -1, "", this) }; private Among a_1[] = { new Among ( "s'", -1, 1, "r_A", this), new Among ( "a", -1, 1, "r_A", this), new Among ( "ia", 1, 1, "r_A", this), new Among ( "ata", 1, 1, "r_A", this), new Among ( "ic", -1, 1, "r_A", this), new Among ( "aic", 4, 1, "r_A", this), new Among ( "allic", 4, 1, "r_BB", this), new Among ( "aric", 4, 1, "r_A", this), new Among ( "atic", 4, 1, "r_B", this), new Among ( "itic", 4, 1, "r_H", this), new Among ( "antic", 4, 1, "r_C", this), new Among ( "istic", 4, 1, "r_A", this), new Among ( "alistic", 11, 1, "r_B", this), new Among ( "aristic", 11, 1, "r_A", this), new Among ( "ivistic", 11, 1, "r_A", this), new Among ( "ed", -1, 1, "r_E", this), new Among ( "anced", 15, 1, "r_B", this), new Among ( "enced", 15, 1, "r_A", this), new Among ( "ished", 15, 1, "r_A", this), new Among ( "ied", 15, 1, "r_A", this), new Among ( "ened", 15, 1, "r_E", this), new Among ( "ioned", 15, 1, "r_A", this), new Among ( "ated", 15, 1, "r_I", this), new Among ( "ented", 15, 1, "r_C", this), new Among ( "ized", 15, 1, "r_F", this), new Among ( "arized", 24, 1, "r_A", this), new Among ( "oid", -1, 1, "r_A", this), new Among ( "aroid", 26, 1, "r_A", this), new Among ( "hood", -1, 1, "r_A", this), new Among ( "ehood", 28, 1, "r_A", this), new Among ( "ihood", 28, 1, "r_A", this), new Among ( "elihood", 30, 1, "r_E", this), new Among ( "ward", -1, 1, "r_A", this), new Among ( "e", -1, 1, "r_A", this), new Among ( "ae", 33, 1, "r_A", this), new Among ( "ance", 33, 1, "r_B", this), new Among ( "icance", 35, 1, "r_A", this), new Among ( "ence", 33, 1, "r_A", this), new Among ( "ide", 33, 1, "r_L", this), new Among ( "icide", 38, 1, "r_A", this), new Among ( "otide", 38, 1, "r_A", this), new Among ( "age", 33, 1, "r_B", this), new Among ( "able", 33, 1, "r_A", this), new Among ( "atable", 42, 1, "r_A", this), new Among ( "izable", 42, 1, "r_E", this), new Among ( "arizable", 44, 1, "r_A", this), new Among ( "ible", 33, 1, "r_A", this), new Among ( "encible", 46, 1, "r_A", this), new Among ( "ene", 33, 1, "r_E", this), new Among ( "ine", 33, 1, "r_M", this), new Among ( "idine", 49, 1, "r_I", this), new Among ( "one", 33, 1, "r_R", this), new Among ( "ature", 33, 1, "r_E", this), new Among ( "eature", 52, 1, "r_Z", this), new Among ( "ese", 33, 1, "r_A", this), new Among ( "wise", 33, 1, "r_A", this), new Among ( "ate", 33, 1, "r_A", this), new Among ( "entiate", 56, 1, "r_A", this), new Among ( "inate", 56, 1, "r_A", this), new Among ( "ionate", 56, 1, "r_D", this), new Among ( "ite", 33, 1, "r_AA", this), new Among ( "ive", 33, 1, "r_A", this), new Among ( "ative", 61, 1, "r_A", this), new Among ( "ize", 33, 1, "r_F", this), new Among ( "alize", 63, 1, "r_A", this), new Among ( "icalize", 64, 1, "r_A", this), new Among ( "ialize", 64, 1, "r_A", this), new Among ( "entialize", 66, 1, "r_A", this), new Among ( "ionalize", 64, 1, "r_A", this), new Among ( "arize", 63, 1, "r_A", this), new Among ( "ing", -1, 1, "r_N", this), new Among ( "ancing", 70, 1, "r_B", this), new Among ( "encing", 70, 1, "r_A", this), new Among ( "aging", 70, 1, "r_B", this), new Among ( "ening", 70, 1, "r_E", this), new Among ( "ioning", 70, 1, "r_A", this), new Among ( "ating", 70, 1, "r_I", this), new Among ( "enting", 70, 1, "r_C", this), new Among ( "ying", 70, 1, "r_B", this), new Among ( "izing", 70, 1, "r_F", this), new Among ( "arizing", 79, 1, "r_A", this), new Among ( "ish", -1, 1, "r_C", this), new Among ( "yish", 81, 1, "r_A", this), new Among ( "i", -1, 1, "r_A", this), new Among ( "al", -1, 1, "r_BB", this), new Among ( "ical", 84, 1, "r_A", this), new Among ( "aical", 85, 1, "r_A", this), new Among ( "istical", 85, 1, "r_A", this), new Among ( "oidal", 84, 1, "r_A", this), new Among ( "eal", 84, 1, "r_Y", this), new Among ( "ial", 84, 1, "r_A", this), new Among ( "ancial", 90, 1, "r_A", this), new Among ( "arial", 90, 1, "r_A", this), new Among ( "ential", 90, 1, "r_A", this), new Among ( "ional", 84, 1, "r_A", this), new Among ( "ational", 94, 1, "r_B", this), new Among ( "izational", 95, 1, "r_A", this), new Among ( "ental", 84, 1, "r_A", this), new Among ( "ful", -1, 1, "r_A", this), new Among ( "eful", 98, 1, "r_A", this), new Among ( "iful", 98, 1, "r_A", this), new Among ( "yl", -1, 1, "r_R", this), new Among ( "ism", -1, 1, "r_B", this), new Among ( "icism", 102, 1, "r_A", this), new Among ( "oidism", 102, 1, "r_A", this), new Among ( "alism", 102, 1, "r_B", this), new Among ( "icalism", 105, 1, "r_A", this), new Among ( "ionalism", 105, 1, "r_A", this), new Among ( "inism", 102, 1, "r_J", this), new Among ( "ativism", 102, 1, "r_A", this), new Among ( "um", -1, 1, "r_U", this), new Among ( "ium", 110, 1, "r_A", this), new Among ( "ian", -1, 1, "r_A", this), new Among ( "ician", 112, 1, "r_A", this), new Among ( "en", -1, 1, "r_F", this), new Among ( "ogen", 114, 1, "r_A", this), new Among ( "on", -1, 1, "r_S", this), new Among ( "ion", 116, 1, "r_Q", this), new Among ( "ation", 117, 1, "r_B", this), new Among ( "ication", 118, 1, "r_G", this), new Among ( "entiation", 118, 1, "r_A", this), new Among ( "ination", 118, 1, "r_A", this), new Among ( "isation", 118, 1, "r_A", this), new Among ( "arisation", 122, 1, "r_A", this), new Among ( "entation", 118, 1, "r_A", this), new Among ( "ization", 118, 1, "r_F", this), new Among ( "arization", 125, 1, "r_A", this), new Among ( "action", 117, 1, "r_G", this), new Among ( "o", -1, 1, "r_A", this), new Among ( "ar", -1, 1, "r_X", this), new Among ( "ear", 129, 1, "r_Y", this), new Among ( "ier", -1, 1, "r_A", this), new Among ( "ariser", -1, 1, "r_A", this), new Among ( "izer", -1, 1, "r_F", this), new Among ( "arizer", 133, 1, "r_A", this), new Among ( "or", -1, 1, "r_T", this), new Among ( "ator", 135, 1, "r_A", this), new Among ( "s", -1, 1, "r_W", this), new Among ( "'s", 137, 1, "r_A", this), new Among ( "as", 137, 1, "r_B", this), new Among ( "ics", 137, 1, "r_A", this), new Among ( "istics", 140, 1, "r_A", this), new Among ( "es", 137, 1, "r_E", this), new Among ( "ances", 142, 1, "r_B", this), new Among ( "ences", 142, 1, "r_A", this), new Among ( "ides", 142, 1, "r_L", this), new Among ( "oides", 145, 1, "r_A", this), new Among ( "ages", 142, 1, "r_B", this), new Among ( "ies", 142, 1, "r_P", this), new Among ( "acies", 148, 1, "r_A", this), new Among ( "ancies", 148, 1, "r_A", this), new Among ( "encies", 148, 1, "r_A", this), new Among ( "aries", 148, 1, "r_A", this), new Among ( "ities", 148, 1, "r_A", this), new Among ( "alities", 153, 1, "r_A", this), new Among ( "ivities", 153, 1, "r_A", this), new Among ( "ines", 142, 1, "r_M", this), new Among ( "nesses", 142, 1, "r_A", this), new Among ( "ates", 142, 1, "r_A", this), new Among ( "atives", 142, 1, "r_A", this), new Among ( "ings", 137, 1, "r_N", this), new Among ( "is", 137, 1, "r_A", this), new Among ( "als", 137, 1, "r_BB", this), new Among ( "ials", 162, 1, "r_A", this), new Among ( "entials", 163, 1, "r_A", this), new Among ( "ionals", 162, 1, "r_A", this), new Among ( "isms", 137, 1, "r_B", this), new Among ( "ians", 137, 1, "r_A", this), new Among ( "icians", 167, 1, "r_A", this), new Among ( "ions", 137, 1, "r_B", this), new Among ( "ations", 169, 1, "r_B", this), new Among ( "arisations", 170, 1, "r_A", this), new Among ( "entations", 170, 1, "r_A", this), new Among ( "izations", 170, 1, "r_A", this), new Among ( "arizations", 173, 1, "r_A", this), new Among ( "ars", 137, 1, "r_O", this), new Among ( "iers", 137, 1, "r_A", this), new Among ( "izers", 137, 1, "r_F", this), new Among ( "ators", 137, 1, "r_A", this), new Among ( "less", 137, 1, "r_A", this), new Among ( "eless", 179, 1, "r_A", this), new Among ( "ness", 137, 1, "r_A", this), new Among ( "eness", 181, 1, "r_E", this), new Among ( "ableness", 182, 1, "r_A", this), new Among ( "eableness", 183, 1, "r_E", this), new Among ( "ibleness", 182, 1, "r_A", this), new Among ( "ateness", 182, 1, "r_A", this), new Among ( "iteness", 182, 1, "r_A", this), new Among ( "iveness", 182, 1, "r_A", this), new Among ( "ativeness", 188, 1, "r_A", this), new Among ( "ingness", 181, 1, "r_A", this), new Among ( "ishness", 181, 1, "r_A", this), new Among ( "iness", 181, 1, "r_A", this), new Among ( "ariness", 192, 1, "r_E", this), new Among ( "alness", 181, 1, "r_A", this), new Among ( "icalness", 194, 1, "r_A", this), new Among ( "antialness", 194, 1, "r_A", this), new Among ( "entialness", 194, 1, "r_A", this), new Among ( "ionalness", 194, 1, "r_A", this), new Among ( "fulness", 181, 1, "r_A", this), new Among ( "lessness", 181, 1, "r_A", this), new Among ( "ousness", 181, 1, "r_A", this), new Among ( "eousness", 201, 1, "r_A", this), new Among ( "iousness", 201, 1, "r_A", this), new Among ( "itousness", 201, 1, "r_A", this), new Among ( "entness", 181, 1, "r_A", this), new Among ( "ants", 137, 1, "r_B", this), new Among ( "ists", 137, 1, "r_A", this), new Among ( "icists", 207, 1, "r_A", this), new Among ( "us", 137, 1, "r_V", this), new Among ( "ous", 209, 1, "r_A", this), new Among ( "eous", 210, 1, "r_A", this), new Among ( "aceous", 211, 1, "r_A", this), new Among ( "antaneous", 211, 1, "r_A", this), new Among ( "ious", 210, 1, "r_A", this), new Among ( "acious", 214, 1, "r_B", this), new Among ( "itous", 210, 1, "r_A", this), new Among ( "ant", -1, 1, "r_B", this), new Among ( "icant", 217, 1, "r_A", this), new Among ( "ent", -1, 1, "r_C", this), new Among ( "ement", 219, 1, "r_A", this), new Among ( "izement", 220, 1, "r_A", this), new Among ( "ist", -1, 1, "r_A", this), new Among ( "icist", 222, 1, "r_A", this), new Among ( "alist", 222, 1, "r_A", this), new Among ( "icalist", 224, 1, "r_A", this), new Among ( "ialist", 224, 1, "r_A", this), new Among ( "ionist", 222, 1, "r_A", this), new Among ( "entist", 222, 1, "r_A", this), new Among ( "y", -1, 1, "r_B", this), new Among ( "acy", 229, 1, "r_A", this), new Among ( "ancy", 229, 1, "r_B", this), new Among ( "ency", 229, 1, "r_A", this), new Among ( "ly", 229, 1, "r_B", this), new Among ( "ealy", 233, 1, "r_Y", this), new Among ( "ably", 233, 1, "r_A", this), new Among ( "ibly", 233, 1, "r_A", this), new Among ( "edly", 233, 1, "r_E", this), new Among ( "iedly", 237, 1, "r_A", this), new Among ( "ely", 233, 1, "r_E", this), new Among ( "ately", 239, 1, "r_A", this), new Among ( "ively", 239, 1, "r_A", this), new Among ( "atively", 241, 1, "r_A", this), new Among ( "ingly", 233, 1, "r_B", this), new Among ( "atingly", 243, 1, "r_A", this), new Among ( "ily", 233, 1, "r_A", this), new Among ( "lily", 245, 1, "r_A", this), new Among ( "arily", 245, 1, "r_A", this), new Among ( "ally", 233, 1, "r_B", this), new Among ( "ically", 248, 1, "r_A", this), new Among ( "aically", 249, 1, "r_A", this), new Among ( "allically", 249, 1, "r_C", this), new Among ( "istically", 249, 1, "r_A", this), new Among ( "alistically", 252, 1, "r_B", this), new Among ( "oidally", 248, 1, "r_A", this), new Among ( "ially", 248, 1, "r_A", this), new Among ( "entially", 255, 1, "r_A", this), new Among ( "ionally", 248, 1, "r_A", this), new Among ( "ationally", 257, 1, "r_B", this), new Among ( "izationally", 258, 1, "r_B", this), new Among ( "entally", 248, 1, "r_A", this), new Among ( "fully", 233, 1, "r_A", this), new Among ( "efully", 261, 1, "r_A", this), new Among ( "ifully", 261, 1, "r_A", this), new Among ( "enly", 233, 1, "r_E", this), new Among ( "arly", 233, 1, "r_K", this), new Among ( "early", 265, 1, "r_Y", this), new Among ( "lessly", 233, 1, "r_A", this), new Among ( "ously", 233, 1, "r_A", this), new Among ( "eously", 268, 1, "r_A", this), new Among ( "iously", 268, 1, "r_A", this), new Among ( "ently", 233, 1, "r_A", this), new Among ( "ary", 229, 1, "r_F", this), new Among ( "ery", 229, 1, "r_E", this), new Among ( "icianry", 229, 1, "r_A", this), new Among ( "atory", 229, 1, "r_A", this), new Among ( "ity", 229, 1, "r_A", this), new Among ( "acity", 276, 1, "r_A", this), new Among ( "icity", 276, 1, "r_A", this), new Among ( "eity", 276, 1, "r_A", this), new Among ( "ality", 276, 1, "r_A", this), new Among ( "icality", 280, 1, "r_A", this), new Among ( "iality", 280, 1, "r_A", this), new Among ( "antiality", 282, 1, "r_A", this), new Among ( "entiality", 282, 1, "r_A", this), new Among ( "ionality", 280, 1, "r_A", this), new Among ( "elity", 276, 1, "r_A", this), new Among ( "ability", 276, 1, "r_A", this), new Among ( "izability", 287, 1, "r_A", this), new Among ( "arizability", 288, 1, "r_A", this), new Among ( "ibility", 276, 1, "r_A", this), new Among ( "inity", 276, 1, "r_CC", this), new Among ( "arity", 276, 1, "r_B", this), new Among ( "ivity", 276, 1, "r_A", this) }; private Among a_2[] = { new Among ( "bb", -1, -1, "", this), new Among ( "dd", -1, -1, "", this), new Among ( "gg", -1, -1, "", this), new Among ( "ll", -1, -1, "", this), new Among ( "mm", -1, -1, "", this), new Among ( "nn", -1, -1, "", this), new Among ( "pp", -1, -1, "", this), new Among ( "rr", -1, -1, "", this), new Among ( "ss", -1, -1, "", this), new Among ( "tt", -1, -1, "", this) }; private Among a_3[] = { new Among ( "uad", -1, 18, "", this), new Among ( "vad", -1, 19, "", this), new Among ( "cid", -1, 20, "", this), new Among ( "lid", -1, 21, "", this), new Among ( "erid", -1, 22, "", this), new Among ( "pand", -1, 23, "", this), new Among ( "end", -1, 24, "", this), new Among ( "ond", -1, 25, "", this), new Among ( "lud", -1, 26, "", this), new Among ( "rud", -1, 27, "", this), new Among ( "ul", -1, 9, "", this), new Among ( "her", -1, 28, "", this), new Among ( "metr", -1, 7, "", this), new Among ( "istr", -1, 6, "", this), new Among ( "urs", -1, 5, "", this), new Among ( "uct", -1, 2, "", this), new Among ( "et", -1, 32, "", this), new Among ( "mit", -1, 29, "", this), new Among ( "ent", -1, 30, "", this), new Among ( "umpt", -1, 3, "", this), new Among ( "rpt", -1, 4, "", this), new Among ( "ert", -1, 31, "", this), new Among ( "yt", -1, 33, "", this), new Among ( "iev", -1, 1, "", this), new Among ( "olv", -1, 8, "", this), new Among ( "ax", -1, 14, "", this), new Among ( "ex", -1, 15, "", this), new Among ( "bex", 26, 10, "", this), new Among ( "dex", 26, 11, "", this), new Among ( "pex", 26, 12, "", this), new Among ( "tex", 26, 13, "", this), new Among ( "ix", -1, 16, "", this), new Among ( "lux", -1, 17, "", this), new Among ( "yz", -1, 34, "", this) }; private void copy_from(LovinsStemmer other) { super.copy_from(other); } private boolean r_A() { // (, line 21 // hop, line 21 { int c = cursor - 2; if (limit_backward > c || c > limit) {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -