Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for addAttribute (0.05 sec)

  1. 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)
  2. 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)
Back to top