Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for addConverter (0.09 sec)

  1. src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterChainTest.java

    public class ReadingConverterChainTest extends TestCase {
        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)
  2. src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserTest.java

        }
    
        protected ReadingConverter createDefaultReadingConverter() throws IOException {
            ReadingConverterChain chain = new ReadingConverterChain();
            // chain.addConverter(new KatakanaConverter());
            chain.addConverter(new KatakanaToAlphabetConverter());
            chain.init();
            return chain;
        }
    
        protected Normalizer createDefaultNormalizer() {
            // TODO
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/converter/ReadingConverterChain.java

                    convertedTexts.addAll(results);
                }
                queue.addAll(convertedTexts);
            }
    
            return convertedTexts;
        }
    
        public void addConverter(final ReadingConverter converter) {
            converters.add(converter);
        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/converter/AnalyzerConverter.java

                converter = new LangAnayzerConverter(null);
            } else {
                final ReadingConverterChain chain = new ReadingConverterChain();
                for (final String lang : langs) {
                    chain.addConverter(new LangAnayzerConverter(lang));
                }
                converter = chain;
            }
            return converter.convert(text, field);
        }
    
        protected class LangAnayzerConverter implements ReadingConverter {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top