- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 153 for reading2 (0.03 sec)
-
src/test/java/org/codelibs/fess/suggest/entity/ElevateWordTest.java
} @Test public void testMultipleReadingsConversion() { // Test conversion of multiple readings to SuggestItem format String word = "multi reading"; float boost = 1.0f; List<String> readings = Arrays.asList("reading1", "reading2", "reading3", "reading4", "reading5"); List<String> fields = Arrays.asList("field1"); List<String> tags = Arrays.asList("tag1");Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 16K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java
String[][] readings = { { "reading1" }, { "reading2" } }; String[] fields = { "field1", "field2" }; String[] tags = { "tag1", "tag2" }; String[] roles = { "role1", "role2" }; String[] languages = { "en", "ja" }; SuggestItem.Kind kind = SuggestItem.Kind.QUERY; SuggestItem item = new SuggestItem(text, readings, fields, 100L, 50L, 1.5f, tags, roles, languages, kind);
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 16.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java
} @Test public void testCreateBulkLine() { // Test creating bulk line for indexing SuggestItem item = new SuggestItem(new String[] { "test text" }, new String[][] { { "reading1" }, { "reading2" } }, new String[] { "field1", "field2" }, 10, // queryFreq 5, // docFreq 2.0f, // userBoostRegistered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 18.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java
String field = "content"; List<String> readings1 = converter1.convert(text, field, "en"); List<String> readings2 = converter2.convert(text, field, "ja"); assertNotNull(readings1); assertNotNull(readings2); assertEquals("TEST", readings1.get(0)); assertEquals("TEST", readings2.get(0)); } @Test
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 13.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/entity/ElevateWord.java
* * @param elevateWord the elevate word * @param boost the boost value * @param readings the list of readings * @param fields the list of fields * @param tags the list of tags * @param roles the list of roles */ public ElevateWord(final String elevateWord, final float boost, final List<String> readings, final List<String> fields, final List<String> tags, final List<String> roles) {Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/ContentsParser.java
*/ public interface ContentsParser { /** * Parses the given search words and creates a SuggestItem. * * @param words the array of search words * @param readings the array of readings corresponding to the search words * @param fields the array of fields associated with the search words * @param tags the array of tags associated with the search wordsRegistered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Sat Mar 15 06:51:20 UTC 2025 - 4.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/constants/FieldNames.java
* <li>{@link #ANALYZER_SETTINGS_FIELD_NAME} - The analyzer settings field name.</li> * <li>{@link #ANALYZER_SETTINGS_READING_ANALYZER} - The reading analyzer settings field.</li> * <li>{@link #ANALYZER_SETTINGS_READING_TERM_ANALYZER} - The reading term analyzer settings field.</li> * <li>{@link #ANALYZER_SETTINGS_NORMALIZE_ANALYZER} - The normalize analyzer settings field.</li>
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 4.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 15.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/converter/ReadingConverter.java
import java.io.IOException; import java.util.List; /** * Interface for converting text into its reading form. */ public interface ReadingConverter { /** * Returns the maximum number of readings. * * @return the maximum number of readings, default is 10. */ default int getMaxReadingNum() { return 10; } /**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/util/SuggestUtil.java
final Map<String, Object> secondLine = new HashMap<>(); secondLine.put("text", item.getText()); // reading final String[][] readings = item.getReadings(); for (int i = 0; i < readings.length; i++) { secondLine.put("reading_" + i, readings[i]); } secondLine.put("fields", item.getFields()); secondLine.put("queryFreq", item.getQueryFreq());Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 17.4K bytes - Viewed (0)