- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 34 for convertKey (0.04 sec)
-
src/main/java/org/codelibs/fess/suggest/converter/ReadingConverter.java
return 10; } /** * Initializes the converter. * * @throws IOException if an I/O error occurs during initialization. */ void init() throws IOException; /** * Converts the given text into a list of readings based on the specified field and languages. * * @param text the text to be converted. * @param field the field to be used for conversion.Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Sat Mar 15 06:51:20 UTC 2025 - 1.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/SuggesterBuilder.java
} /** * Sets the reading converter. * @param readingConverter The reading converter. * @return This builder instance. */ public SuggesterBuilder readingConverter(final ReadingConverter readingConverter) { this.readingConverter = readingConverter; return this; } /** * Sets the contents reading converter.Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java
import org.apache.lucene.search.TermQuery; import org.codelibs.core.CoreLibConstants; import org.codelibs.fess.suggest.converter.AnalyzerConverter; 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 Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 17.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/converter/ReadingConverterChain.java
} /** * Adds a converter to the chain. * @param converter The converter to add. */ public void addConverter(final ReadingConverter converter) { converters.add(converter); }Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java
private ReadingConverter converter; private TestReadingConverter testConverter; @Before public void setUp() { testConverter = new TestReadingConverter(); converter = testConverter; } @Test public void testGetMaxReadingNum() { // Test default max reading num assertEquals(10, converter.getMaxReadingNum()); } @TestRegistered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 13.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/converter/AnalyzerConverterTest.java
// Test init method (should do nothing) converter.init(); // No exception should be thrown } @Test public void testConvertWithNoLanguages() throws IOException { // Test convert with no languages specified String text = "test text"; String field = "content"; List<String> results = converter.convert(text, field); assertNotNull(results);
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 12.5K 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 Sep 19 09:08:11 UTC 2025 - Last Modified: Sat Mar 15 06:51:20 UTC 2025 - 1001 bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/converter/AnalyzerConverter.java
final ReadingConverter converter; if (langs == null || langs.length == 0) { converter = new LangAnalyzerConverter(null); } else { final ReadingConverterChain chain = new ReadingConverterChain(); for (final String lang : langs) { chain.addConverter(new LangAnalyzerConverter(lang)); } converter = chain; }Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 6.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/converter/KatakanaConverter.java
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, * either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.suggest.converter; import java.io.IOException; import java.io.Reader; import java.io.StringReader; import java.util.ArrayList; import java.util.List; import org.apache.lucene.analysis.TokenStream;
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 6.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/converter/KatakanaToAlphabetConverter.java
* possible readings. * </p> * * <p> * The class also utilizes ICU4J's {@link com.ibm.icu.text.Transliterator} to convert full-width characters * to half-width and to convert any characters to lowercase, ensuring consistency in the output. * </p> * * <p> * Example: * For the input "キャ", the converter might return a list containing "kya".
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 10.8K bytes - Viewed (0)