/lucene-3.6.0/lucene/contrib/analyzers/common/src/test/org/apache/lucene/analysis/hunspell/ |
H A D | HunspellStemmerTest.java | 40 List<HunspellStemmer.Stem> stems = stemmer.stem("lucene"); 46 stems = stemmer.stem("mahoute"); 53 List<HunspellStemmer.Stem> stems = stemmer.stem("solr"); 61 List<HunspellStemmer.Stem> stems = stemmer.stem("abcd"); 72 stems = stemmer.stem("apache"); 76 stems = stemmer.stem("APACHE"); 80 stems = stemmer.stem("Apache"); 84 stems = stemmer.stem("foos"); 88 stems = stemmer.stem("food"); 92 stems = stemmer.stem("Foo [all...] |
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/pt/ |
H A D | PortugueseMinimalStemmer.java | 36 public int stem(char s[], int len) { method in class:PortugueseMinimalStemmer
|
/lucene-3.6.0/lucene/contrib/analyzers/stempel/src/java/org/egothor/stemmer/ |
H A D | DiffIt.java | 103 String stem = st.nextToken(); 104 System.out.println(stem + " -a"); 107 if (token.equals(stem) == false) { 108 System.out.println(stem + " " + diff.exec(token, stem)); 112 // no base token (stem) on a line
|
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/hunspell/ |
H A D | HunspellStemmer.java | 56 * Find the stem(s) of the provided word 61 public List<Stem> stem(String word) { method in class:HunspellStemmer 62 return stem(word.toCharArray(), word.length()); 66 * Find the stem(s) of the provided word 71 public List<Stem> stem(char word[], int length) { method in class:HunspellStemmer 76 stems.addAll(stem(word, length, null, 0)); 81 * Find the unique stem(s) of the provided word 93 List<Stem> otherStems = stem(word, length, null, 0); 95 if (!terms.contains(s.stem)) { 97 terms.add(s.stem); 113 private List<Stem> stem(char word[], int length, char[] flags, int recursionDepth) { method in class:HunspellStemmer 225 private final char stem[]; field in class:HunspellStemmer.Stem 233 Stem(char stem[], int stemLength) argument [all...] |
H A D | HunspellStemFilter.java | 31 * TokenFilter that uses hunspell affix rules and words to stem tokens. Since hunspell supports a word having multiple 47 * Creates a new HunspellStemFilter that will stem tokens from the given TokenStream using affix rules in the provided 51 * @param dictionary HunspellDictionary containing the affix rules and words that will be used to stem the tokens 58 * Creates a new HunspellStemFilter that will stem tokens from the given TokenStream using affix rules in the provided 62 * @param dictionary HunspellDictionary containing the affix rules and words that will be used to stem the tokens 93 buffer = dedup ? stemmer.uniqueStems(termAtt.buffer(), termAtt.length()) : stemmer.stem(termAtt.buffer(), termAtt.length()); 99 Stem stem = buffer.remove(0); 100 termAtt.copyBuffer(stem.getStem(), 0, stem.getStemLength()); 101 termAtt.setLength(stem [all...] |
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/gl/ |
H A D | GalicianMinimalStemmer.java | 35 public int stem(char s[], int len) { method in class:GalicianMinimalStemmer
|
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/en/ |
H A D | EnglishMinimalStemmer.java | 29 public int stem(char s[], int len) { method in class:EnglishMinimalStemmer
|
H A D | EnglishMinimalStemFilter.java | 29 * A {@link TokenFilter} that applies {@link EnglishMinimalStemmer} to stem 50 final int newlen = stemmer.stem(termAtt.buffer(), termAtt.length());
|
H A D | KStemFilter.java | 57 if ((!keywordAtt.isKeyword()) && stemmer.stem(term, len)) {
|
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/fr/ |
H A D | FrenchMinimalStemmer.java | 63 public int stem(char s[], int len) { method in class:FrenchMinimalStemmer
|
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/no/ |
H A D | NorwegianMinimalStemmer.java | 64 public int stem(char s[], int len) { method in class:NorwegianMinimalStemmer 84 case 'e': // to get correct stem for nouns ending in -e (kake -> kak, kaker -> kak)
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/analysis/ |
H A D | PorterStemmer.java | 60 * by calling one of the various stem(something) methods. 77 * reset() resets the stemmer so it can stem another word. If you invoke 78 * the stemmer by calling add(char) and then stem(), you must call reset() 85 * adding characters, you can call stem(void) to process the word. 284 /* step2() turns terminal y to i when there is another vowel in the stem. */ 433 public String stem(String s) { method in class:PorterStemmer 434 if (stem(s.toCharArray(), s.length())) 444 public boolean stem(char[] word) { method in class:PorterStemmer 445 return stem(word, word.length); 453 public boolean stem(cha method in class:PorterStemmer 468 public boolean stem(char[] word, int wordLen) { method in class:PorterStemmer 477 public boolean stem() { method in class:PorterStemmer 481 public boolean stem(int i0) { method in class:PorterStemmer [all...] |
H A D | PorterStemFilter.java | 63 if ((!keywordAttr.isKeyword()) && stemmer.stem(termAtt.buffer(), 0, termAtt.length()))
|
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/miscellaneous/ |
H A D | StemmerOverrideFilter.java | 59 String stem = dictionary.get(termAtt.buffer(), 0, termAtt.length()); 60 if (stem != null) { 61 termAtt.setEmpty().append(stem);
|
/lucene-3.6.0/lucene/contrib/analyzers/stempel/src/test/org/egothor/stemmer/ |
H A D | TestCompile.java | 129 String stem = st.nextToken(); 131 CharSequence cmd = (usefull) ? trie.getFully(stem) : trie 132 .getLastOnPath(stem); 133 StringBuilder stm = new StringBuilder(stem); 135 assertEquals(stem.toLowerCase(), stm.toString().toLowerCase()); 139 if (token.equals(stem)) { 146 assertEquals(stem.toLowerCase(), stm.toString().toLowerCase()); 149 // no base token (stem) on a line
|
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/de/ |
H A D | GermanMinimalStemmer.java | 64 public int stem(char s[], int len) { method in class:GermanMinimalStemmer
|
H A D | GermanLightStemFilter.java | 29 * A {@link TokenFilter} that applies {@link GermanLightStemmer} to stem German 50 final int newlen = stemmer.stem(termAtt.buffer(), termAtt.length());
|
H A D | GermanMinimalStemFilter.java | 29 * A {@link TokenFilter} that applies {@link GermanMinimalStemmer} to stem German 50 final int newlen = stemmer.stem(termAtt.buffer(), termAtt.length());
|
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/es/ |
H A D | SpanishLightStemmer.java | 64 public int stem(char s[], int len) { method in class:SpanishLightStemmer
|
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/it/ |
H A D | ItalianLightStemmer.java | 64 public int stem(char s[], int len) { method in class:ItalianLightStemmer
|
/lucene-3.6.0/lucene/contrib/analyzers/kuromoji/src/java/org/apache/lucene/analysis/ja/ |
H A D | JapaneseKatakanaStemFilter.java | 65 termAttr.setLength(stem(termAttr.buffer(), termAttr.length())); 73 private int stem(char[] term, int length) { method in class:JapaneseKatakanaStemFilter
|
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/ar/ |
H A D | ArabicStemFilter.java | 29 * A {@link TokenFilter} that applies {@link ArabicStemmer} to stem Arabic words.. 50 final int newlen = stemmer.stem(termAtt.buffer(), termAtt.length());
|
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/bg/ |
H A D | BulgarianStemFilter.java | 29 * A {@link TokenFilter} that applies {@link BulgarianStemmer} to stem Bulgarian 50 final int newlen = stemmer.stem(termAtt.buffer(), termAtt.length());
|
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/cz/ |
H A D | CzechStemFilter.java | 29 * A {@link TokenFilter} that applies {@link CzechStemmer} to stem Czech words. 52 final int newlen = stemmer.stem(termAtt.buffer(), termAtt.length());
|
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/el/ |
H A D | GreekStemFilter.java | 29 * A {@link TokenFilter} that applies {@link GreekStemmer} to stem Greek 55 final int newlen = stemmer.stem(termAtt.buffer(), termAtt.length());
|