/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/analysis/ |
H A D | TestISOLatin1AccentFilter.java | 27 CharTermAttribute termAtt = filter.getAttribute(CharTermAttribute.class); 28 assertTermEquals("Des", filter, termAtt); 29 assertTermEquals("mot", filter, termAtt); 30 assertTermEquals("cles", filter, termAtt); 31 assertTermEquals("A", filter, termAtt); 32 assertTermEquals("LA", filter, termAtt); 33 assertTermEquals("CHAINE", filter, termAtt); 34 assertTermEquals("A", filter, termAtt); 35 assertTermEquals("A", filter, termAtt); 36 assertTermEquals("A", filter, termAtt); 106 assertTermEquals(String expected, TokenStream stream, CharTermAttribute termAtt) argument [all...] |
H A D | TestASCIIFoldingFilter.java | 45 CharTermAttribute termAtt = filter.getAttribute(CharTermAttribute.class); 47 assertTermEquals("Des", filter, termAtt); 48 assertTermEquals("mot", filter, termAtt); 49 assertTermEquals("cles", filter, termAtt); 50 assertTermEquals("A", filter, termAtt); 51 assertTermEquals("LA", filter, termAtt); 52 assertTermEquals("CHAINE", filter, termAtt); 53 assertTermEquals("A", filter, termAtt); 54 assertTermEquals("A", filter, termAtt); 55 assertTermEquals("A", filter, termAtt); 1911 assertTermEquals(String expected, TokenStream stream, CharTermAttribute termAtt) argument [all...] |
H A D | TestPerFieldAnalzyerWrapper.java | 38 CharTermAttribute termAtt = tokenStream.getAttribute(CharTermAttribute.class); 43 termAtt.toString()); 47 termAtt = tokenStream.getAttribute(CharTermAttribute.class); 51 termAtt.toString());
|
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/analysis/ |
H A D | TestISOLatin1AccentFilter.java | 27 CharTermAttribute termAtt = filter.getAttribute(CharTermAttribute.class); 28 assertTermEquals("Des", filter, termAtt); 29 assertTermEquals("mot", filter, termAtt); 30 assertTermEquals("cles", filter, termAtt); 31 assertTermEquals("A", filter, termAtt); 32 assertTermEquals("LA", filter, termAtt); 33 assertTermEquals("CHAINE", filter, termAtt); 34 assertTermEquals("A", filter, termAtt); 35 assertTermEquals("A", filter, termAtt); 36 assertTermEquals("A", filter, termAtt); 106 assertTermEquals(String expected, TokenStream stream, CharTermAttribute termAtt) argument [all...] |
H A D | TestASCIIFoldingFilter.java | 37 CharTermAttribute termAtt = filter.getAttribute(CharTermAttribute.class); 39 assertTermEquals("Des", filter, termAtt); 40 assertTermEquals("mot", filter, termAtt); 41 assertTermEquals("cles", filter, termAtt); 42 assertTermEquals("A", filter, termAtt); 43 assertTermEquals("LA", filter, termAtt); 44 assertTermEquals("CHAINE", filter, termAtt); 45 assertTermEquals("A", filter, termAtt); 46 assertTermEquals("A", filter, termAtt); 47 assertTermEquals("A", filter, termAtt); 1903 assertTermEquals(String expected, TokenStream stream, CharTermAttribute termAtt) argument [all...] |
H A D | TestPerFieldAnalzyerWrapper.java | 38 CharTermAttribute termAtt = tokenStream.getAttribute(CharTermAttribute.class); 43 termAtt.toString()); 47 termAtt = tokenStream.getAttribute(CharTermAttribute.class); 51 termAtt.toString());
|
/lucene-3.6.0/lucene/contrib/analyzers/common/src/test/org/apache/lucene/analysis/payloads/ |
H A D | DelimitedPayloadTokenFilterTest.java | 35 CharTermAttribute termAtt = filter.getAttribute(CharTermAttribute.class); 37 assertTermEquals("The", filter, termAtt, payAtt, null); 38 assertTermEquals("quick", filter, termAtt, payAtt, "JJ".getBytes("UTF-8")); 39 assertTermEquals("red", filter, termAtt, payAtt, "JJ".getBytes("UTF-8")); 40 assertTermEquals("fox", filter, termAtt, payAtt, "NN".getBytes("UTF-8")); 41 assertTermEquals("jumped", filter, termAtt, payAtt, "VB".getBytes("UTF-8")); 42 assertTermEquals("over", filter, termAtt, payAtt, null); 43 assertTermEquals("the", filter, termAtt, payAtt, null); 44 assertTermEquals("lazy", filter, termAtt, payAtt, "JJ".getBytes("UTF-8")); 45 assertTermEquals("brown", filter, termAtt, payAt 125 assertTermEquals(String expected, TokenStream stream, CharTermAttribute termAtt, PayloadAttribute payAtt, byte[] expectPay) argument [all...] |
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/analysis/ |
H A D | PorterStemFilter.java | 51 private final CharTermAttribute termAtt = addAttribute(CharTermAttribute.class); field in class:PorterStemFilter 63 if ((!keywordAttr.isKeyword()) && stemmer.stem(termAtt.buffer(), 0, termAtt.length())) 64 termAtt.copyBuffer(stemmer.getResultBuffer(), 0, stemmer.getResultLength());
|
H A D | KeywordTokenizer.java | 36 private final CharTermAttribute termAtt = addAttribute(CharTermAttribute.class); field in class:KeywordTokenizer 45 termAtt.resizeBuffer(bufferSize); 50 termAtt.resizeBuffer(bufferSize); 55 termAtt.resizeBuffer(bufferSize); 64 char[] buffer = termAtt.buffer(); 70 buffer = termAtt.resizeBuffer(1+buffer.length); 72 termAtt.setLength(upto);
|
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/ar/ |
H A D | ArabicNormalizationFilter.java | 33 private final CharTermAttribute termAtt = addAttribute(CharTermAttribute.class); field in class:ArabicNormalizationFilter 42 int newlen = normalizer.normalize(termAtt.buffer(), termAtt.length()); 43 termAtt.setLength(newlen);
|
H A D | ArabicStemFilter.java | 39 private final CharTermAttribute termAtt = addAttribute(CharTermAttribute.class); field in class:ArabicStemFilter 50 final int newlen = stemmer.stem(termAtt.buffer(), termAtt.length()); 51 termAtt.setLength(newlen);
|
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/fa/ |
H A D | PersianNormalizationFilter.java | 34 private final CharTermAttribute termAtt = addAttribute(CharTermAttribute.class); field in class:PersianNormalizationFilter 43 final int newlen = normalizer.normalize(termAtt.buffer(), 44 termAtt.length()); 45 termAtt.setLength(newlen);
|
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/in/ |
H A D | IndicNormalizationFilter.java | 31 private final CharTermAttribute termAtt = addAttribute(CharTermAttribute.class); field in class:IndicNormalizationFilter 41 termAtt.setLength(normalizer.normalize(termAtt.buffer(), termAtt.length()));
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/collation/ |
H A D | CollationKeyFilter.java | 77 private final CharTermAttribute termAtt = addAttribute(CharTermAttribute.class); field in class:CollationKeyFilter 93 byte[] collationKey = collator.getCollationKey(termAtt.toString()).toByteArray(); 96 termAtt.resizeBuffer(encodedLength); 97 termAtt.setLength(encodedLength); 99 termAtt.buffer(), 0, encodedLength);
|
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/hunspell/ |
H A D | HunspellStemFilter.java | 36 private final CharTermAttribute termAtt = addAttribute(CharTermAttribute.class); field in class:HunspellStemFilter 80 termAtt.copyBuffer(nextStem.getStem(), 0, nextStem.getStemLength()); 81 termAtt.setLength(nextStem.getStemLength()); 93 buffer = dedup ? stemmer.uniqueStems(termAtt.buffer(), termAtt.length()) : stemmer.stem(termAtt.buffer(), termAtt.length()); 100 termAtt.copyBuffer(stem.getStem(), 0, stem.getStemLength()); 101 termAtt.setLength(stem.getStemLength());
|
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/bg/ |
H A D | BulgarianStemFilter.java | 39 private final CharTermAttribute termAtt = addAttribute(CharTermAttribute.class); field in class:BulgarianStemFilter 50 final int newlen = stemmer.stem(termAtt.buffer(), termAtt.length()); 51 termAtt.setLength(newlen);
|
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/cz/ |
H A D | CzechStemFilter.java | 41 private final CharTermAttribute termAtt = addAttribute(CharTermAttribute.class); field in class:CzechStemFilter 52 final int newlen = stemmer.stem(termAtt.buffer(), termAtt.length()); 53 termAtt.setLength(newlen);
|
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/de/ |
H A D | GermanLightStemFilter.java | 39 private final CharTermAttribute termAtt = addAttribute(CharTermAttribute.class); field in class:GermanLightStemFilter 50 final int newlen = stemmer.stem(termAtt.buffer(), termAtt.length()); 51 termAtt.setLength(newlen);
|
H A D | GermanMinimalStemFilter.java | 39 private final CharTermAttribute termAtt = addAttribute(CharTermAttribute.class); field in class:GermanMinimalStemFilter 50 final int newlen = stemmer.stem(termAtt.buffer(), termAtt.length()); 51 termAtt.setLength(newlen);
|
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/el/ |
H A D | GreekStemFilter.java | 44 private final CharTermAttribute termAtt = addAttribute(CharTermAttribute.class); field in class:GreekStemFilter 55 final int newlen = stemmer.stem(termAtt.buffer(), termAtt.length()); 56 termAtt.setLength(newlen);
|
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/en/ |
H A D | EnglishMinimalStemFilter.java | 39 private final CharTermAttribute termAtt = addAttribute(CharTermAttribute.class); field in class:EnglishMinimalStemFilter 50 final int newlen = stemmer.stem(termAtt.buffer(), termAtt.length()); 51 termAtt.setLength(newlen);
|
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/es/ |
H A D | SpanishLightStemFilter.java | 39 private final CharTermAttribute termAtt = addAttribute(CharTermAttribute.class); field in class:SpanishLightStemFilter 50 final int newlen = stemmer.stem(termAtt.buffer(), termAtt.length()); 51 termAtt.setLength(newlen);
|
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/fi/ |
H A D | FinnishLightStemFilter.java | 39 private final CharTermAttribute termAtt = addAttribute(CharTermAttribute.class); field in class:FinnishLightStemFilter 50 final int newlen = stemmer.stem(termAtt.buffer(), termAtt.length()); 51 termAtt.setLength(newlen);
|
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/fr/ |
H A D | FrenchLightStemFilter.java | 39 private final CharTermAttribute termAtt = addAttribute(CharTermAttribute.class); field in class:FrenchLightStemFilter 50 final int newlen = stemmer.stem(termAtt.buffer(), termAtt.length()); 51 termAtt.setLength(newlen);
|
H A D | FrenchMinimalStemFilter.java | 39 private final CharTermAttribute termAtt = addAttribute(CharTermAttribute.class); field in class:FrenchMinimalStemFilter 50 final int newlen = stemmer.stem(termAtt.buffer(), termAtt.length()); 51 termAtt.setLength(newlen);
|