Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for KatakanaToAlphabetConverter (0.33 sec)

  1. src/main/java/org/codelibs/fess/suggest/converter/KatakanaToAlphabetConverter.java

    import java.util.List;
    import java.util.Map;
    
    import com.ibm.icu.text.Transliterator;
    
    public class KatakanaToAlphabetConverter implements ReadingConverter {
        private final Map<String, String[]> convertMap;
    
        protected Transliterator fullWidthHalfWidth;
    
        protected Transliterator anyLower;
    
        public KatakanaToAlphabetConverter() {
            convertMap = generateConvertMapping();
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/converter/KatakanaToAlphabetConverterTest.java

    import junit.framework.TestCase;
    
    public class KatakanaToAlphabetConverterTest extends TestCase {
        public void test_convert() {
            KatakanaToAlphabetConverter katakanaToAlphabetConverter = new KatakanaToAlphabetConverter();
            assertTrue(katakanaToAlphabetConverter.convert("ケンサク", null).contains("kennsaku"));
        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1007 bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserTest.java

     */
    package org.codelibs.fess.suggest.index.contents;
    
    import java.io.IOException;
    import java.util.List;
    
    import org.codelibs.fess.suggest.converter.KatakanaToAlphabetConverter;
    import org.codelibs.fess.suggest.converter.ReadingConverter;
    import org.codelibs.fess.suggest.converter.ReadingConverterChain;
    import org.codelibs.fess.suggest.entity.SuggestItem;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

            chain.addConverter(new KatakanaToAlphabetConverter());
            return chain;
        }
    
        public static ReadingConverter createDefaultContentsReadingConverter(final Client client, final SuggestSettings settings) {
            final ReadingConverterChain chain = new ReadingConverterChain();
            chain.addConverter(new KatakanaToAlphabetConverter());
            return chain;
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterChainTest.java

        public void test_convert() throws Exception {
            /*
             * TODO ReadingConverterChain chain = new ReadingConverterChain(); chain.addConverter(new KatakanaConverter());
             * chain.addConverter(new KatakanaToAlphabetConverter()); chain.init();
             *
             * List<String> list = chain.convert("検索"); assertTrue(list.contains("ケンサク"));
             * assertTrue(list.contains("kennsaku"));
             */
        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top