Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 64 for normalizer (0.38 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/org/codelibs/fess/suggest/normalizer/HankakuKanaToZenkakuKanaTest.java

            HankakuKanaToZenkakuKana normalizer = new HankakuKanaToZenkakuKana();
    
            String result = normalizer.normalize("アイウエオ", "field");
    
            assertEquals("アイウエオ", result);
        }
    
        @Test
        public void test_voicedSounds() throws Exception {
            HankakuKanaToZenkakuKana normalizer = new HankakuKanaToZenkakuKana();
    
            String result = normalizer.normalize("ガギグゲゴ", "field");
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 17 14:23:01 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/suggest/SuggesterBuilder.java

            return this;
        }
    
        /**
         * Sets the normalizer.
         * @param normalizer The normalizer.
         * @return This builder instance.
         */
        public SuggesterBuilder normalizer(final Normalizer normalizer) {
            this.normalizer = normalizer;
            return this;
        }
    
        /**
         * Sets the analyzer.
         * @param analyzer The analyzer.
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/suggest/normalizer/AnalyzerNormalizer.java

                    chain.add(new LangAnalyzerNormalizer(lang));
                }
                normalizer = chain;
            }
            return normalizer.normalize(text, field);
        }
    
        /**
         * Language-specific analyzer normalizer.
         */
        protected class LangAnalyzerNormalizer implements Normalizer {
            /**
             * The language used for normalization.
             */
            protected final String lang;
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 17 14:23:01 GMT 2025
    - 4K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/suggest/normalizer/FullWidthToHalfWidthAlphabetNormalizerTest.java

            String result = normalizer.normalize("ABCDEFGHIJKLMNOPQRSTUVWXYZ", "field");
    
            assertEquals("ABCDEFGHIJKLMNOPQRSTUVWXYZ", result);
        }
    
        @Test
        public void test_mixedAlphabet() throws Exception {
            FullWidthToHalfWidthAlphabetNormalizer normalizer = new FullWidthToHalfWidthAlphabetNormalizer();
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 17 14:23:01 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/suggest/normalizer/ICUNormalizer.java

     *
     * <p>Example usage:</p>
     * <pre>
     * ICUNormalizer normalizer = new ICUNormalizer("Any-Latin; NFD; [:Nonspacing Mark:] Remove; NFC");
     * String normalizedText = normalizer.normalize("text to normalize", "field");
     * </pre>
     *
     * @see com.ibm.icu.text.Transliterator
     */
    public class ICUNormalizer implements Normalizer {
        /** The transliterator used for normalization. */
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 17 14:23:01 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java

    import org.codelibs.fess.suggest.entity.SuggestItem;
    import org.codelibs.fess.suggest.exception.SuggesterException;
    import org.codelibs.fess.suggest.index.contents.querylog.QueryLog;
    import org.codelibs.fess.suggest.normalizer.Normalizer;
    import org.codelibs.fess.suggest.util.SuggestUtil;
    import org.opensearch.OpenSearchStatusException;
    import org.opensearch.action.admin.indices.analyze.AnalyzeAction.AnalyzeToken;
    
    /**
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 15.2K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/suggest/normalizer/AnalyzerNormalizerTest.java

            AnalyzerNormalizer normalizer = new AnalyzerNormalizer(runner.client(), suggester.settings());
            assertNotNull(normalizer);
        }
    
        @Test
        public void test_normalizeWithDefaultLanguage() throws Exception {
            AnalyzerNormalizer normalizer = new AnalyzerNormalizer(runner.client(), suggester.settings());
    
            String result = normalizer.normalize("test", "content");
    
            assertNotNull(result);
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 4K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/suggest/normalizer/HankakuKanaToZenkakuKana.java

     * <pre>
     * {@code
     * HankakuKanaToZenkakuKana normalizer = new HankakuKanaToZenkakuKana();
     * String normalized = normalizer.normalize("ガギグゲゴ", "field");
     * System.out.println(normalized); // Outputs: ガギグゲゴ
     * }
     * </pre>
     *
     * <p>Note: This class assumes that the input string contains valid Hankaku Kana characters
     * and does not perform any validation on the input.</p>
     *
     * @see Normalizer
     */
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 17 14:23:01 GMT 2025
    - 6.8K bytes
    - Click Count (1)
  9. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

            this.readingConverter = readingConverter;
        }
    
        /**
         * Sets the normalizer.
         * @param normalizer The normalizer.
         */
        public void setNormalizer(final Normalizer normalizer) {
            this.normalizer = normalizer;
        }
    
        /**
         * Sets the prefix match weight.
         * @param prefixMatchWeight The prefix match weight.
         */
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

            operationsStale = true;
            return this;
        }
    
        /**
         * Sets the normalizer.
         * @param normalizer The normalizer.
         * @return This SuggestIndexer instance.
         */
        public SuggestIndexer setNormalizer(final Normalizer normalizer) {
            this.normalizer = normalizer;
            operationsStale = true;
            return this;
        }
    
        /**
         * Sets the analyzer.
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 20.9K bytes
    - Click Count (0)
Back to Top