Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for words (0.03 sec)

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

                String[] words = text.trim().split("[\\s@#$.,!?;:()\\[\\]{}\"']+");
    
                int position = 0;
                int offset = 0;
                for (String word : words) {
                    if (!word.isEmpty()) {
                        int startOffset = text.indexOf(word, offset);
                        int endOffset = startOffset + word.length();
    
                        // Handle decimal numbers
    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/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java

            SuggestItem item = new SuggestItem(text, readings, null, 0L, 0L, 1.0f, null, null, null, SuggestItem.Kind.QUERY);
    
            // Test with no bad words
            String[] badWords = { "spam", "illegal" };
            assertFalse(item.isBadWord(badWords));
    
            // Test with matching bad word
            String[] badWords2 = { "test", "bad" };
            assertTrue(item.isBadWord(badWords2));
    
            // Test with partial match
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  3. src/bytes/bytes.go

    	return unicode.IsSpace(r)
    }
    
    // Title treats s as UTF-8-encoded bytes and returns a copy with all Unicode letters that begin
    // words mapped to their title case.
    //
    // Deprecated: The rule Title uses for word boundaries does not handle Unicode
    // punctuation properly. Use golang.org/x/text/cases instead.
    func Title(s []byte) []byte {
    	// Use a closure here to remember state.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/entity/ElevateWordTest.java

            String word = "test word";
            float boost = 1.5f;
            List<String> readings = Arrays.asList("reading1");
            List<String> fields = Arrays.asList("field1");
            List<String> tags = Arrays.asList("tag1");
            List<String> roles = null;
    
            elevateWord = new ElevateWord(word, boost, readings, fields, tags, roles);
    
            assertEquals(word, elevateWord.getElevateWord());
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16K bytes
    - Viewed (0)
  5. WORKSPACE

    )
    
    # Initialize the TensorFlow repository and all dependencies.
    #
    # The cascade of load() statements and tf_workspace?() calls works around the
    # restriction that load() statements need to be at the top of .bzl files.
    # E.g. we can not retrieve a new repository with http_archive and then load()
    # a macro from that repository in the same file.
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Wed Sep 03 23:57:17 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/converter/AnalyzerConverterTest.java

        @Test
        public void testConvertWithLongText() throws IOException {
            // Test convert with long text
            StringBuilder sb = new StringBuilder();
            for (int i = 0; i < 100; i++) {
                sb.append("word").append(i).append(" ");
            }
            String text = sb.toString();
            String field = "content";
    
            List<String> results = converter.convert(text, field, "en");
    
            assertNotNull(results);
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

        return ListTestSuiteBuilder.using(
                new TestStringListGenerator() {
                  @Override
                  protected List<String> create(String[] elements) {
                    // For this test we trust ArrayList works
                    List<String> list = new ArrayList<>();
                    Collections.addAll(list, elements);
                    return new AbstractSequentialList<String>() {
                      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 15:04:05 UTC 2025
    - 12K bytes
    - Viewed (0)
  8. cmd/erasure-server-pool-rebalance.go

    				NewPutObjReader(hr),
    				ObjectOptions{
    					PreserveETag: part.ETag, // Preserve original ETag to ensure same metadata.
    					IndexCB: func() []byte {
    						return part.Index // Preserve part Index to ensure decompression works.
    					},
    					NoAuditLog: true,
    				})
    			if err != nil {
    				return fmt.Errorf("rebalanceObject: PutObjectPart() %w", err)
    			}
    			parts[i] = CompletePart{
    				ETag:       pi.ETag,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Sep 04 20:47:24 UTC 2025
    - 28.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java

            // Test convert with long text
            converter.init();
            StringBuilder sb = new StringBuilder();
            for (int i = 0; i < 1000; i++) {
                sb.append("word").append(i).append(" ");
            }
            String text = sb.toString();
            String field = "content";
    
            List<String> readings = converter.convert(text, field, "en");
    
            assertNotNull(readings);
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/reflect/Types.java

           * Well, really, we use this when we think we're running under Java 8, as determined by some
           * logic in the static initializer, which does not check for getTypeName specifically. We
           * should really validate that it works as desired for all Android versions that we support.
           */
          @SuppressWarnings("AndroidJdkLibsChecker")
          @Override
          String typeName(Type type) {
            return type.getTypeName();
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.5K bytes
    - Viewed (0)
Back to top