Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 93 for detector (0.04 sec)

  1. src/main/java/org/codelibs/fess/helper/LanguageHelper.java

                    return l;
                }
            }
            return null;
        }
    
        /**
         * Sets the language detector.
         *
         * @param detector The language detector.
         */
        public void setDetector(final LanguageDetector detector) {
            this.detector = detector;
        }
    
        /**
         * Creates a script for updating a document with language information.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  2. .github/workflows/detect-conflicts.yml

    name: "Conflict detector"
    on:
      push:
      pull_request_target:
        types: [synchronize]
    
    jobs:
      main:
        permissions:
          contents: read
          pull-requests: write
        runs-on: ubuntu-latest
        steps:
          - name: Check if PRs have merge conflicts
            uses: eps1lon/actions-label-merge-conflict@v3
            with:
              dirtyLabel: "conflicts"
              repoToken: "${{ secrets.GITHUB_TOKEN }}"
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Sep 05 08:33:44 UTC 2025
    - 499 bytes
    - Viewed (0)
  3. src/bytes/reader_test.go

    		}
    		if fmt.Sprintf("%v", err) != fmt.Sprintf("%v", tt.wanterr) {
    			t.Errorf("%d. got error = %v; want %v", i, err, tt.wanterr)
    		}
    	}
    }
    
    func TestReaderAtConcurrent(t *testing.T) {
    	// Test for the race detector, to verify ReadAt doesn't mutate
    	// any state.
    	r := NewReader([]byte("0123456789"))
    	var wg sync.WaitGroup
    	for i := 0; i < 5; i++ {
    		wg.Add(1)
    		go func(i int) {
    			defer wg.Done()
    			var buf [1]byte
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 8K bytes
    - Viewed (0)
  4. src/main/resources/fess.xml

    	<include path="esflute_log.xml"/>
    
    	<component name="curlHelper" class="org.codelibs.fess.helper.CurlHelper">
    	</component>
    	<component name="languageHelper" class="org.codelibs.fess.helper.LanguageHelper">
    		<property name="detector">
    			<component class="org.apache.tika.langdetect.optimaize.OptimaizeLangDetector">
    				<postConstruct name="loadModels"></postConstruct>
    			</component>
    		</property>
    	</component>
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Jul 28 09:03:48 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/api/BaseApiManager.java

            request.setAttribute(API_FORMAT_TYPE, formatType);
            return formatType;
        }
    
        /**
         * Detects the format type from the request parameters.
         * @param request The HTTP servlet request.
         * @return The detected format type.
         */
        protected FormatType detectFormatType(final HttpServletRequest request) {
            String value = request.getParameter("type");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImpl.java

     *   <li>Configure whether to use the filename for MIME type detection when the stream is octet-stream.</li>
     * </ul>
     *
     * <p>
     * The MIME type detection is based on the {@code tika-mimetypes.xml} resource, which is loaded during initialization.
     * </p>
     *
     * <p>
     * Usage:
     * </p>
     * <pre>
     * MimeTypeHelperImpl mimeTypeHelper = new MimeTypeHelperImpl();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/MimeTypeHelper.java

     * It allows content type detection based on the stream's content and/or filename.
     */
    public interface MimeTypeHelper {
        /**
         * Determines the content type of the given input stream and filename.
         * @param is the input stream to analyze
         * @param filename the filename to help determine the content type
         * @return the detected content type
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/UserAgentHelper.java

         * The method analyzes the User-Agent header to categorize the browser type
         * and caches the result in the request attribute for subsequent calls.
         *
         * @return the detected user agent type, or OTHER if no specific type is detected
         */
        public UserAgentType getUserAgentType() {
            return LaRequestUtil.getOptionalRequest().map(request -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractXmlExtractor.java

        }
    
        /**
         * Returns the preload size for charset detection.
         * @return The preload size for charset detection.
         */
        public int getPreloadSizeForCharset() {
            return preloadSizeForCharset;
        }
    
        /**
         * Sets the preload size for charset detection.
         * @param preloadSizeForCharset The preload size for charset detection to set.
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  10. misc/ios/detect.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build ignore
    
    // detect attempts to autodetect the correct
    // values of the environment variables
    // used by go_ios_exec.
    // detect shells out to ideviceinfo, a third party program that can
    // be obtained by following the instructions at
    // https://github.com/libimobiledevice/libimobiledevice.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Oct 19 23:33:30 UTC 2023
    - 3.2K bytes
    - Viewed (0)
Back to top