- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for KatakanaToAlphabetConverter (0.15 sec)
-
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) -
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) -
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) -
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)