Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for getReadings (0.14 sec)

  1. src/test/java/org/codelibs/fess/suggest/settings/ElevateWordSettingsTest.java

            assertEquals(elevateWord1.getReadings().get(0), settings.elevateWord().get()[0].getReadings().get(0));
    
            assertEquals(elevateWord2.getElevateWord(), settings.elevateWord().get()[1].getElevateWord());
            assertEquals(elevateWord2.getBoost(), settings.elevateWord().get()[1].getBoost(), 0);
            assertEquals(elevateWord2.getReadings().get(0), settings.elevateWord().get()[1].getReadings().get(0));
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/entity/ElevateWord.java

            }
        }
    
        public String getElevateWord() {
            return elevateWord;
        }
    
        public float getBoost() {
            return boost;
        }
    
        public List<String> getReadings() {
            return readings;
        }
    
        public List<String> getFields() {
            return fields;
        }
    
        public List<String> getTags() {
            return tags;
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

                final List<String> list = new ArrayList<>();
                if (item1.getReadings().length > i) {
                    Collections.addAll(list, item1.getReadings()[i]);
                }
                if (item2.getReadings().length > i) {
                    for (final String reading : item2.getReadings()[i]) {
                        if (!list.contains(reading)) {
                            list.add(reading);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/settings/ElevateWordSettings.java

            source.put(FieldNames.ARRAY_VALUE, elevateWord.getElevateWord());
            source.put(ELEVATE_WORD_BOOST, elevateWord.getBoost());
            source.put(ELEVATE_WORD_READING, elevateWord.getReadings());
            source.put(ELEVATE_WORD_FIELDS, elevateWord.getFields());
            source.put(ELEVATE_WORD_TAGS, elevateWord.getTags());
            source.put(ELEVATE_WORD_ROLES, elevateWord.getRoles());
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. 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());
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

            final String normalizedWord = normalizer.normalize(elevateWord.getElevateWord(), "");
            final List<String> normalizedReadings =
                    elevateWord.getReadings().stream().map(reading -> normalizer.normalize(reading, "")).collect(Collectors.toList());
            final ElevateWord normalized = new ElevateWord(normalizedWord, elevateWord.getBoost(), normalizedReadings, elevateWord.getFields(),
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiFileTest.java

                assertEquals("token" + (i + 1), kuromojiItem.getToken());
                assertEquals("seg" + (i + 1), kuromojiItem.getSegmentation());
                assertEquals("reading" + (i + 1), kuromojiItem.getReading());
                assertEquals("pos" + (i + 1), kuromojiItem.getPos());
                assertFalse(kuromojiItem.isUpdated());
                assertFalse(kuromojiItem.isUpdated());
            }
        }
    
        /*
        // TODO
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiItemTest.java

            assertEquals(1, kuromojiItem.getId());
            assertEquals("t1", kuromojiItem.getToken());
            assertEquals("s1", kuromojiItem.getSegmentation());
            assertEquals("r1", kuromojiItem.getReading());
            assertEquals("p1", kuromojiItem.getPos());
            assertNull(kuromojiItem.getNewToken());
            assertNull(kuromojiItem.getNewSegmentation());
            assertNull(kuromojiItem.getNewReading());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiItem.java

            this.newPos = newPos;
        }
    
        public String getToken() {
            return token;
        }
    
        public String getSegmentation() {
            return segmentation;
        }
    
        public String getReading() {
            return reading;
        }
    
        public String getPos() {
            return pos;
        }
    
        public boolean isUpdated() {
            return newToken != null;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/bsentity/BsElevateWord.java

            return permissions;
        }
    
        public void setPermissions(String[] value) {
            registerModifiedProperty("permissions");
            this.permissions = value;
        }
    
        public String getReading() {
            checkSpecifiedProperty("reading");
            return convertEmptyToNull(reading);
        }
    
        public void setReading(String value) {
            registerModifiedProperty("reading");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top