Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ICUNormalizer (0.31 sec)

  1. src/main/java/org/codelibs/fess/suggest/normalizer/ICUNormalizer.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.suggest.normalizer;
    
    import com.ibm.icu.text.Transliterator;
    
    public class ICUNormalizer implements Normalizer {
        protected Transliterator transliterator;
    
        public ICUNormalizer(final String transliteratorId) {
            transliterator = Transliterator.getInstance(transliteratorId);
        }
    
        @Override
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/normalizer/ICUNormalizerTest.java

            ICUNormalizer normalizer = new ICUNormalizer("Fullwidth-Halfwidth");
    
            assertEquals("abcd", normalizer.normalize("abcd", null));
            assertEquals("みかん", normalizer.normalize("みかん", null));
            assertEquals("みかん リンゴ", normalizer.normalize("みかん リンゴ", null));
        }
    
        public void test_AnyLower() {
            ICUNormalizer normalizer = new ICUNormalizer("Any-Lower");
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

            /*
             * normalizerChain.add(new HankakuKanaToZenkakuKana()); normalizerChain.add(new
             * FullWidthToHalfWidthAlphabetNormalizer()); normalizerChain.add(new ICUNormalizer("Any-Lower"));
             */
            return normalizerChain;
        }
    
        public static AnalyzerSettings.DefaultContentsAnalyzer createDefaultAnalyzer(final Client client, final SuggestSettings settings) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
Back to top