Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Tokens (0.05 sec)

  1. src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java

            List<AnalyzeToken> tokens1 = analyzer1.analyze(text, field, lang);
            List<AnalyzeToken> tokens2 = analyzer2.analyze(text, field, lang);
    
            assertNotNull(tokens1);
            assertNotNull(tokens2);
            assertEquals(tokens1.size(), tokens2.size());
    
            for (int i = 0; i < tokens1.size(); i++) {
                assertEquals(tokens1.get(i).getTerm(), tokens2.get(i).getTerm());
            }
        }
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java

            if (langs == null || langs.length == 0) {
                final List<AnalyzeToken> tokens = analyzer.analyze(searchWord, "", null);
                return tokens == null || tokens.size() == 0;
            }
            for (final String lang : langs) {
                final List<AnalyzeToken> tokens = analyzer.analyze(searchWord, field, lang);
                if (tokens != null && tokens.size() > 0) {
                    return false;
                }
            }
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzer.java

    /**
     * Interface for analyzing and processing suggestion tokens.
     */
    public interface SuggestAnalyzer {
    
        /**
         * Analyzes the given text and returns a list of tokens.
         *
         * @param text the text to analyze
         * @param field the field associated with the text
         * @param lang the language of the text
         * @return a list of analyzed tokens
         */
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/settings/AnalyzerSettingsTest.java

            final List<AnalyzeToken> tokens = analyzer.analyze(text, "", null);
            final List<AnalyzeToken> readingTokens = analyzer.analyzeAndReading(text, "", null);
    
            int matchCount = 0;
            for (int i = 0; i < tokens.size(); i++) {
                final String term = tokens.get(i).getTerm();
                final String reading = readingTokens.get(i).getTerm();
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java

     *
     * <p>Supported languages are defined in the SUPPORTED_LANGUAGES array.</p>
     *
     * <p>Inner class:</p>
     * <ul>
     *   <li>DefaultContentsAnalyzer: Implements the SuggestAnalyzer interface to analyze text and retrieve tokens using
     *       the configured analyzers.</li>
     * </ul>
     *
     * <p>Protected static class:</p>
     * <ul>
     *   <li>FieldAnalyzerMapping: Holds the analyzer names for different types of analysis (reading, reading term,
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 26.5K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/FormScheme.java

     * <li>TOKEN_NAME - The name of the token parameter.</li>
     * <li>TOKEN_METHOD - The HTTP method to use for the token request (GET or POST).</li>
     * <li>TOKEN_PARAMTERS - The parameters to include in the token request.</li>
     * <li>LOGIN_METHOD - The HTTP method to use for the login request (GET or POST).</li>
     * <li>LOGIN_URL - The URL to send the login request to.</li>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14.3K bytes
    - Viewed (1)
  7. src/main/java/org/codelibs/fess/suggest/converter/KatakanaConverter.java

     * use a tokenizer to process the input.
     *
     * <p>
     * The class provides methods to initialize the converter, convert strings, and
     * check if a tokenizer is enabled. It also includes methods to create a token
     * stream and extract reading information from the stream's attributes, although
     * the tokenizer-related functionality is currently commented out.
     * </p>
     */
    public class KatakanaConverter implements ReadingConverter {
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizer.java

            while (true) {
                final MyToken token = que.poll();
                if (token == null) {
                    return null;
                }
                if (prev == null || !prev.identical(token)) {
                    return token;
                }
            }
        }
    
        void consultDictionary() throws IOException {
            if (synonymMap == null) {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 17K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java

     * </p>
     */
    public class Handler extends URLStreamHandler {
    
        /**
         * Constructs a new Handler.
         */
        public Handler() {
            // Default constructor
        }
    
        /**
         * Opens a connection to the storage URL.
         *
         * @param u The URL to open a connection to
         * @return A new StorageURLConnection instance
         * @throws IOException If the connection cannot be opened
         */
        @Override
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
Back to top