- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for ReadingConverter (0.14 sec)
-
src/main/java/org/codelibs/fess/suggest/converter/ReadingConverter.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.suggest.converter; import java.io.IOException; import java.util.List; public interface ReadingConverter { default int getMaxReadingNum() { return 10; } void init() throws IOException; List<String> convert(String text, final String field, String... langs) throws IOException;
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 952 bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/SuggesterBuilder.java
settings = null; return this; } public SuggesterBuilder readingConverter(final ReadingConverter readingConverter) { this.readingConverter = readingConverter; return this; } public SuggesterBuilder contentsReadigConverter(final ReadingConverter contentsReadingConverter) { this.contentsReadingConverter = contentsReadingConverter; return this; }
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 4.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/converter/ReadingConverterChain.java
import java.util.LinkedList; import java.util.List; import java.util.Queue; public class ReadingConverterChain implements ReadingConverter { private final List<ReadingConverter> converters = new ArrayList<>(); @Override public void init() throws IOException { for (final ReadingConverter converter : converters) { converter.init(); } } @Override
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/ContentsParser.java
ReadingConverter readingConverter, Normalizer normalizer, SuggestAnalyzer analyzer, String[] langs); List<SuggestItem> parseQueryLog(QueryLog queryLog, String[] fields, String[] tagFieldNames, String roleFieldName, ReadingConverter readingConverter, Normalizer normalizer);
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 1.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterBuilderTest.java
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 3.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequestBuilder.java
import org.codelibs.fess.suggest.converter.ReadingConverter; import org.codelibs.fess.suggest.normalizer.Normalizer; import org.codelibs.fess.suggest.request.RequestBuilder; import org.opensearch.client.Client; public class SuggestRequestBuilder extends RequestBuilder<SuggestRequest, SuggestResponse> { public SuggestRequestBuilder(final Client client, final ReadingConverter readingConverter, final Normalizer normalizer) {
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 2.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/converter/AnalyzerConverter.java
import org.opensearch.client.Client; import org.opensearch.core.common.Strings; import com.ibm.icu.text.Transliterator; public class AnalyzerConverter implements ReadingConverter { protected final Client client; private final SuggestSettings settings; protected final AnalyzerSettings analyzerSettings;
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 4.8K 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; import org.codelibs.fess.suggest.index.contents.querylog.QueryLog;
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/KatakanaConverterTest.java
package org.codelibs.fess.suggest.converter; import junit.framework.TestCase; public class KatakanaConverterTest extends TestCase { public void test_convert() throws Exception { /* * TODO ReadingConverter converter = new KatakanaConverter(); converter.init(); assertEquals("ケンサク", * converter.convert("検索").get(0)); */ }
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 1001 bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/converter/KatakanaConverter.java
import org.apache.lucene.analysis.tokenattributes.CharTermAttribute; import org.opensearch.core.common.Strings; import com.ibm.icu.text.Transliterator; public class KatakanaConverter implements ReadingConverter { protected final Transliterator transliterator = Transliterator.getInstance("Hiragana-Katakana"); protected volatile boolean initialized = false; protected TokenizerFactory tokenizerFactory = null;
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 4.7K bytes - Viewed (0)