Searched refs:termAtt (Results 1 - 25 of 217) sorted by relevance

123456789

/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/analysis/
H A DTestISOLatin1AccentFilter.java27 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 DTestASCIIFoldingFilter.java45 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 DTestPerFieldAnalzyerWrapper.java38 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 DTestISOLatin1AccentFilter.java27 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 DTestASCIIFoldingFilter.java37 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 DTestPerFieldAnalzyerWrapper.java38 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 DDelimitedPayloadTokenFilterTest.java35 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 DPorterStemFilter.java51 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 DKeywordTokenizer.java36 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 DArabicNormalizationFilter.java33 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 DArabicStemFilter.java39 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 DPersianNormalizationFilter.java34 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 DIndicNormalizationFilter.java31 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 DCollationKeyFilter.java77 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 DHunspellStemFilter.java36 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 DBulgarianStemFilter.java39 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 DCzechStemFilter.java41 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 DGermanLightStemFilter.java39 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 DGermanMinimalStemFilter.java39 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 DGreekStemFilter.java44 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 DEnglishMinimalStemFilter.java39 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 DSpanishLightStemFilter.java39 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 DFinnishLightStemFilter.java39 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 DFrenchLightStemFilter.java39 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 DFrenchMinimalStemFilter.java39 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);

Completed in 377 milliseconds

123456789