- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 519 for readings (0.04 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/popularwords/PopularWordsRequestTest.java
} @Test public void test_addLanguage() 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" }, 0, 15, -1, new String[] { "tag1" },Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 6.9K 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/main/java/org/codelibs/fess/helper/SuggestHelper.java
final boolean apply) { final String[] readings; if (StringUtil.isBlank(reading)) { readings = word.replace(" ", TEXT_SEP).replaceAll(TEXT_SEP + "+", TEXT_SEP).split(TEXT_SEP); } else { readings = reading.replace(" ", TEXT_SEP).replaceAll(TEXT_SEP + "+", TEXT_SEP).split(TEXT_SEP); } final List<String> labelList = new ArrayList<>(); if (tags != null) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 22.3K 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/test/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsResponseTest.java
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Thu Nov 13 00:40:54 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzer.java
/** * Analyzes the given text and returns a list of tokens along with their readings. * * @param text the text to analyze * @param field the field associated with the text * @param lang the language of the text * @return a list of analyzed tokens with their readings */ List<AnalyzeToken> analyzeAndReading(String text, String field, String lang);Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Sat Mar 15 06:51:20 UTC 2025 - 1.6K 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) -
README.md
``` #### 2. Add Suggestion Documents ```java import org.codelibs.fess.suggest.entity.SuggestItem; // Create suggestion item with text, readings, and metadata String[][] readings = new String[2][]; readings[0] = new String[]{"kensaku", "engine"}; readings[1] = new String[]{"search", "injin"}; String[] tags = new String[]{"technology", "search"}; String[] roles = new String[]{"admin", "user"};
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Sun Aug 31 03:31:14 UTC 2025 - 12.1K bytes - Viewed (1) -
src/test/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequestBuilderTest.java
SuggestItem[] items = new SuggestItem[3]; for (int i = 0; i < 3; i++) { String[][] readings = new String[1][]; readings[0] = new String[] { "query" + i }; items[i] = new SuggestItem(new String[] { "クエリ" + i }, readings, new String[] { "content" }, 0, 15 + i, -1,
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 5.1K bytes - Viewed (0)