Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 116 for texts (0.02 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

                assertEquals("ftp://localhost:10021/dir2", urlList.get(1));
                assertEquals("ftp://localhost:10021/text 3.txt", urlList.get(2));
                assertEquals("ftp://localhost:10021/text1.txt", urlList.get(3));
                assertEquals("ftp://localhost:10021/text2.txt", urlList.get(4));
            } finally {
                if (server != null) {
                    server.stop();
                }
            }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 18K bytes
    - Viewed (0)
  2. README.md

    mvn license:format
    
    # Run static analysis
    mvn spotbugs:check
    ```
    
    ### Running Tests
    
    ```bash
    # Run all tests
    mvn test
    
    # Run specific test class
    mvn test -Dtest=CrawlerTest
    
    # Run specific test method
    mvn test -Dtest=CrawlerTest#test_execute_web
    
    # Run tests for specific module
    mvn test -pl fess-crawler
    ```
    
    ## Examples
    
    ### Web Crawling with Custom Rules
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Aug 31 05:32:52 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractorTest.java

            //final ExtractData text = extractor.getText(new ByteArrayInputStream(FileUtils.readFileToByteArray(new File(filePath))), params);
            final ExtractData text = extractor.getText(new ByteArrayInputStream(testStr.getBytes()), params);
            assertEquals(content, text.getContent());
        }
    
        // TODO other tests
    
        static class TestApiExtractorServer {
            private Server server;
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/converter/AnalyzerConverter.java

    import org.opensearch.core.common.Strings;
    import org.opensearch.transport.client.Client;
    
    import com.ibm.icu.text.Transliterator;
    
    /**
     * AnalyzerConverter is a class that implements the ReadingConverter interface.
     * It is responsible for converting text using specified language analyzers.
     * The class uses a Transliterator to convert between Hiragana and Katakana.
     *
     * <p>Constructor:
     * <ul>
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/converter/AnalyzerConverterTest.java

            String text = "test text";
            String field = "content";
    
            List<String> results = converter.convert(text, field, "en");
    
            assertNotNull(results);
            // Results may vary based on analyzer configuration
        }
    
        @Test
        public void testConvertWithMultipleLanguages() throws IOException {
            // Test convert with multiple languages
            String text = "test text";
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/normalizer/AnalyzerNormalizer.java

            }
    
            /**
             * Normalizes the given text based on the specified field.
             *
             * @param text  the text to normalize
             * @param field the field to use for normalization
             * @param dummy additional parameters (not used)
             * @return the normalized text
             */
            @Override
            public String normalize(final String text, final String field, final String... dummy) {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 4K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractor.java

                }
            }
        }
    
        /**
         * Extracts text from an embedded file using the appropriate extractor.
         * @param filename the filename of the embedded file
         * @param embeddedFile the embedded file to extract text from
         * @param writer the writer to append extracted text to
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/normalizer/FullWidthToHalfWidthAlphabetNormalizer.java

            // nothing
        }
    
        @Override
        public String normalize(final String text, final String field, final String... langs) {
            final char[] chars = new char[text.length()];
            for (int i = 0; i < chars.length; i++) {
                final char c = text.charAt(i);
                if (c >= 'a' && c <= 'z') {
                    chars[i] = (char) (c - 'a' + 'a');
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/Extractor.java

    /**
     * The Extractor interface defines methods for extracting text data from an input stream.
     * Implementations of this interface should provide the logic for extracting text and
     * optionally override the default weight value.
     */
    public interface Extractor {
    
        /**
         * Extracts text data from the given input stream.
         *
         * @param in the input stream to extract text from
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractor.java

        }
    
        /**
         * Extracts a date string from the received header text.
         *
         * @param text the received header text
         * @return the date string starting from the day of week, or null if not found
         */
        private static String getDateString(final String text) {
            for (final String dow : DAY_OF_WEEK) {
                final int i = text.lastIndexOf(dow);
                if (i != -1) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 12.6K bytes
    - Viewed (0)
Back to top