- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 147 for readings1 (1.39 sec)
-
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: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 17 14:28:21 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/request/suggest/SuggestRequestBuilderTest.java
} @Test public void test_addLang() throws Exception { SuggestItem[] items = new SuggestItem[1]; String[][] readings = new String[1][]; readings[0] = new String[] { "test" }; items[0] = new SuggestItem(new String[] { "test" }, readings, new String[] { "content" }, 1, 0, -1, new String[] { "tag1" },Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 6.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterTest.java
queryItems[0] = new SuggestItem(new String[] { "検索", "エンジン" }, readings, new String[] { "content" }, 1, 0, -1, tags, roles, null, SuggestItem.Kind.DOCUMENT); String[][] readings2 = new String[2][]; readings2[0] = new String[] { "zenbun", "fuga" }; readings2[1] = new String[] { "kensaku", "fuga" }; String[] tags2 = new String[] { "tag3" };
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 37.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java
public void setUserBoost(final float userBoost) { this.userBoost = userBoost; } /** * Sets the readings of the suggest item. * @param readings The readings to set. */ public void setReadings(final String[][] readings) { this.readings = readings; } /** * Sets the fields of the suggest item. * @param fields The fields to set. */
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 25.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java
super(term, position, startOffset, endOffset, positionIncrement, type, attributes); } public String getReading() { return reading; } public void setReading(String reading) { this.reading = reading; } }
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 15.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/ElevateWordSettings.java
final List<String> roles = (List<String>) sourceArray[i].get(ELEVATE_WORD_ROLES); if (elevateWord != null && boost != null && readings != null && fields != null) { elevateWords[i] = new ElevateWord(elevateWord.toString(), Float.parseFloat(boost.toString()), readings, fields, tags, roles); } } return elevateWords; } /** * Add an elevate word.
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserTest.java
assertEquals(0, nullValues.length); } @Test public void test_parseSearchWords() throws Exception { String[] words = new String[] { "検索", "エンジン" }; String[][] readings = new String[][] { new String[] { "kensaku" }, new String[] { "enjin" } }; String[] fields = new String[] { "content" }; String[] tags = new String[] { "tag1" }; String[] roles = new String[] { "role1" };
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 12.2K bytes - Viewed (0) -
CLAUDE.md
### SuggestItem (Domain Entity) Location: `src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java` Core attributes: `text`, `timestamp`, `queryFreq`, `docFreq`, `userBoost`, `readings`, `tags`, `roles`, `languages`, `kinds` Kind types: `DOCUMENT`, `QUERY`, `USER` --- ## Development Workflow ### Build Commands ```bash
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 8.9K 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: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Sun Nov 23 11:21:40 UTC 2025 - 17.5K bytes - Viewed (1) -
src/main/java/org/codelibs/fess/suggest/converter/ReadingConverterChain.java
* A chain of {@link ReadingConverter} implementations that applies each converter in sequence to generate possible reading variations of a given text. * It maintains a list of ReadingConverter instances and iterates through them, applying each converter to the input text and accumulating the results. * The chain stops processing when the maximum number of readings is reached. */ public class ReadingConverterChain implements ReadingConverter { /**Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 17 14:28:21 UTC 2025 - 3.3K bytes - Viewed (1)