Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for normalize_text (0.08 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

            if (configParam != null) {
                final String keepOriginalBody = configParam.get(Config.KEEP_ORIGINAL_BODY);
                if (StringUtil.isNotBlank(keepOriginalBody)) {
                    params.put(TikaExtractor.NORMALIZE_TEXT,
                            Constants.TRUE.equalsIgnoreCase(keepOriginalBody) ? Constants.FALSE : Constants.TRUE);
                }
            }
            return params;
        }
    
        /**
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TextUtil.java

     * duplicate term removal, and custom space characters.
     *
     * <p>Example usage:
     * <pre>{@code
     * Reader reader = new StringReader("Example text to normalize.");
     * String normalizedText = TextUtil.normalizeText(reader)
     *                                  .initialCapacity(5000)
     *                                  .maxAlphanumTermSize(100)
     *                                  .maxSymbolTermSize(50)
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Nov 22 13:28:22 GMT 2025
    - 12K bytes
    - Click Count (0)
  3. 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));
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Aug 07 02:55:08 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/suggest/normalizer/NormalizerChain.java

     *
     * <p>Usage example:</p>
     * <pre>
     * NormalizerChain chain = new NormalizerChain();
     * chain.add(new SomeNormalizer());
     * chain.add(new AnotherNormalizer());
     * String normalizedText = chain.normalize("input text", "field", "en");
     * </pre>
     *
     * <p>Methods:</p>
     * <ul>
     *   <li>{@link #normalize(String, String, String...)} - Applies all added normalizers to the input text.</li>
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 17 14:23:01 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

                return StringUtil.EMPTY; // empty
            }
    
            final int[] spaceChars = getSpaceChars();
            try (final Reader reader = new StringReader(title)) {
                return TextUtil.normalizeText(reader).initialCapacity(title.length()).spaceChars(spaceChars).execute();
            } catch (final IOException e) {
                return StringUtil.EMPTY; // empty
            }
        }
    
        /**
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 17.4K bytes
    - Click Count (0)
Back to Top