Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for toLineString (0.06 sec)

  1. src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiItemTest.java

            assertEquals("t1,s1,r1,p1", new KuromojiItem(1, "t1", "s1", "r1", "p1").toLineString());
            assertEquals("t\"\"1,s\"\"1,r\"\"1,p\"\"1", new KuromojiItem(1, "t\"1", "s\"1", "r\"1", "p\"1").toLineString());
            assertEquals("\"t,1\",\"s,1\",\"r,1\",\"p,1\"", new KuromojiItem(1, "t,1", "s,1", "r,1", "p,1").toLineString());
            assertEquals("\"t\"\",1\",\"s\"\",1\",\"r\"\",1\",\"p\"\",1\"",
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/dict/synonym/SynonymItemTest.java

            assertEquals("a=>b", new SynonymItem(1, new String[] { "a" }, new String[] { "b" }).toLineString());
            assertEquals("A,a=>B,b", new SynonymItem(1, new String[] { "A", "a" }, new String[] { "B", "b" }).toLineString());
            assertEquals("A,a", new SynonymItem(1, new String[] { "A", "a" }, new String[] { "A", "a" }).toLineString());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 5K bytes
    - Viewed (1)
  3. src/test/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideItemTest.java

        }
    
        public void test_toLineString() {
            assertEquals("aaa=>a", new StemmerOverrideItem(1, "aaa", "a").toLineString());
            assertEquals("=>", new StemmerOverrideItem(1, "", "").toLineString());
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsItem.java

        }
    
        /**
         * Converts this item to a string representation for writing to file.
         * @return the string representation of this item
         */
        public String toLineString() {
            if (isUpdated()) {
                return StringUtils.join(newInput);
            }
            return StringUtils.join(input);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideItem.java

        }
    
        /**
         * Converts the item to a string representation for writing to a file.
         *
         * @return A string in the format "input=>output".
         */
        public String toLineString() {
            if (isUpdated()) {
                return newInput + "=>" + newOutput;
            }
            return input + "=>" + output;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsItem.java

        }
    
        /**
         * Converts the item to a string representation for writing to a file.
         *
         * @return The stopword as a string.
         */
        public String toLineString() {
            if (isUpdated()) {
                return StringUtils.join(newInput);
            }
            return StringUtils.join(input);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java

         * If the item has pending updates, the new values are used; otherwise, the current values are used.
         *
         * @return compact string representation of the mapping rule
         */
        public String toLineString() {
            if (isUpdated()) {
                return StringUtils.join(newInputs, ",") + "=>" + newOutput;
            }
            return StringUtils.join(inputs, ",") + "=>" + output;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/dict/synonym/SynonymItem.java

        }
    
        /**
         * Converts the item to a string representation for writing to a file.
         *
         * @return A string in the format "input1,input2=>output1,output2".
         */
        public String toLineString() {
            if (isUpdated()) {
                if (Arrays.equals(newInputs, newOutputs)) {
                    return StringUtils.join(newInputs, ",");
                }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiItem.java

        }
    
        /**
         * Returns the item as a line string.
         *
         * @return The item as a line string.
         */
        public String toLineString() {
            final StringBuilder buf = new StringBuilder(100);
            if (isUpdated()) {
                buf.append(quoteEscape(newToken));
                buf.append(',');
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.3K bytes
    - Viewed (0)
Back to top