Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for normalize_text (0.06 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/TextUtilTest.java

            assertEquals("", normalizeText(" ", 100, -1, 2, false));
            assertEquals("", normalizeText("  ", 100, -1, 2, false));
            assertEquals("", normalizeText("\t", 100, -1, 2, false));
            assertEquals("", normalizeText("\t\t", 100, -1, 2, false));
            assertEquals("", normalizeText("\t \t", 100, -1, 2, false));
            assertEquals("123 abc", normalizeText(" 123 abc ", 100, -1, 2, false));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TextUtil.java

            public TextNormalizeContext spaceChars(final int[] spaceChars) {
                this.spaceChars = spaceChars;
                return this;
            }
        }
    
        public static TextNormalizeContext normalizeText(final Reader reader) {
            return new TextNormalizeContext(reader);
        }
    
        private static boolean isLastSpaceChar(final StringBuilder buf) {
            if (buf.length() == 0) {
                return false;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top