- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for addAttributes (0.11 sec)
-
src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizer.java
private MyToken prevToken; private final List<MyToken> synonyms; private final CharTermAttribute termAttr = addAttribute(CharTermAttribute.class); private final OffsetAttribute offsetAttr = addAttribute(OffsetAttribute.class); private final PositionIncrementAttribute posIncAttr = addAttribute(PositionIncrementAttribute.class);
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 17K bytes - Viewed (0) -
src/test/java/org/codelibs/opensearch/extension/analysis/PosConcatenationFilterFactory.java
posTags.addAll(tagList); } } @Override public TokenStream create(final TokenStream tokenStream) { final PartOfSpeechAttribute posAtt = tokenStream.addAttribute(PartOfSpeechAttribute.class); return new PosConcatenationFilter(tokenStream, posTags, () -> posAtt.getPartOfSpeech()); }
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 1.9K bytes - Viewed (0) -
src/test/java/org/codelibs/opensearch/extension/analysis/DisableGraphFilterFactory.java
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 1.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java
if (trimSpaceEnabled) { final Matcher matcher = SPACE_PATTERN.matcher(value); return matcher.replaceAll(" ").trim(); } return value; } public void addAttribute(final String name, final Object value) { attributeMap.put(name, value); } public void addFeature(final String key, final String value) { featureMap.put(key, value); }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:41:37 UTC 2024 - 17.9K bytes - Viewed (0)