Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 113 for readings1 (0.18 seconds)

  1. src/main/java/org/codelibs/fess/suggest/entity/SuggestItemMerger.java

        }
    
        /**
         * Merges readings at a specific index from two reading arrays.
         */
        private static String[] mergeReadings(final String[][] readings1, final String[][] readings2, final int index) {
            final List<String> merged = new ArrayList<>();
    
            if (readings1.length > index && readings1[index] != null) {
                Collections.addAll(merged, readings1[index]);
            }
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiFileTest.java

        protected void setUp() throws Exception {
            file1 = File.createTempFile("kuromoji_", ".txt");
            FileUtil.write(
                    file1.getAbsolutePath(),
                    "token1,seg1,reading1,pos1\ntoken2,seg2,reading2,pos2\ntoken3,seg3,reading3,pos3"
                            .getBytes(Constants.UTF_8));
        }
    
        @Override
            protected void tearDown(TestInfo testInfo) throws Exception {
            file1.delete();
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 7.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemSerializerTest.java

            String[][] readings = { { "reading1" } };
            String[] fields = { "field1" };
            String[] tags = { "tag1" };
            String[] roles = { "role1" };
            String[] languages = { "en" };
            long docFreq = 10L;
            long queryFreq = 5L;
            float userBoost = 1.5f;
    
            SuggestItem item =
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  4. 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) {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Fri Jul 04 14:00:23 GMT 2025
    - 4K bytes
    - Click Count (0)
  5. 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 words
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 15 06:51:20 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemMergerTest.java

            String[][] readings = { { "reading" } };
            String[] fields = { "field" };
    
            return new SuggestItem(texts, readings, fields, 1L, 1L, 1.0f, tags, new String[0], new String[0], SuggestItem.Kind.DOCUMENT);
        }
    
        private SuggestItem createItemWithRoles(String text, String... roles) {
            String[] texts = { text };
            String[][] readings = { { "reading" } };
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 6K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/suggest/request/suggest/SuggestResponseTest.java

            String[][] readings = new String[1][];
            readings[0] = new String[] { "test" };
            items.add(new SuggestItem(new String[] { "test" }, readings, new String[] { "content" }, 1, 0, -1, new String[] { "tag1" },
                    new String[] { SuggestConstants.DEFAULT_ROLE }, null, SuggestItem.Kind.DOCUMENT));
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  8. 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" },
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  9. 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" },
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  10. 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;
        }
    
        /**
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 17 14:28:21 GMT 2025
    - 1.6K bytes
    - Click Count (0)
Back to Top