Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for addConverter (0.11 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/util/SuggestUtil.java

            final ReadingConverterChain chain = new ReadingConverterChain();
            chain.addConverter(new AnalyzerConverter(client, settings));
            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)
  4. 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)
  5. 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