Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for stopwordsFile (0.13 sec)

  1. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java

     *
     * The class provides methods for retrieving, adding, updating, and
     * deleting stopword items, as well as reloading the dictionary
     * from its source file.
     */
    public class StopwordsFile extends DictionaryFile<StopwordsItem> {
        private static final String STOPWORDS = "stopwords";
    
        /** The list of stopword items loaded from the dictionary file. */
        List<StopwordsItem> stopwordsItemList;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

            stopwordsFile.reload(null, is);
    
            assertEquals(3, stopwordsFile.stopwordsItemList.size());
            assertEquals("word1", stopwordsFile.stopwordsItemList.get(0).getInput());
            assertEquals("word2", stopwordsFile.stopwordsItemList.get(1).getInput());
            assertEquals("word3", stopwordsFile.stopwordsItemList.get(2).getInput());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsCreator.java

            dictionaryManager.addCreator(this);
        }
    
        /**
         * Creates a new {@link StopwordsFile} instance.
         *
         * @param id        The unique identifier for the dictionary file.
         * @param path      The file path of the dictionary.
         * @param timestamp The last modified timestamp of the file.
         * @return A new {@link StopwordsFile} associated with the dictionary manager.
         */
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/service/StopwordsService.java

         */
        public OptionalEntity<StopwordsFile> getStopwordsFile(final String dictId) {
            return dictionaryManager.getDictionaryFile(dictId)
                    .filter(StopwordsFile.class::isInstance)
                    .map(file -> OptionalEntity.of((StopwordsFile) file))
                    .orElse(OptionalEntity.empty());
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/dict/stopwords/ApiAdminDictStopwordsAction.java

            form.dictId = dictId;
            validateApi(form, messages -> {});
            final StopwordsFile file = stopwordsService.getStopwordsFile(form.dictId).orElseGet(() -> {
                throwValidationErrorApi(messages -> messages.addErrorsFailedToUploadStopwordsFile(GLOBAL));
                return null;
            });
            try (InputStream inputStream = form.stopwordsFile.getInputStream()) {
                file.update(inputStream);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/UploadForm.java

        /**
         * The multipart file containing the stopwords to be uploaded.
         * This file should contain a list of words that should be filtered out during indexing.
         */
        @Required
        public MultipartFormFile stopwordsFile;
    
        /**
         * Default constructor for UploadForm.
         * Creates a new instance with default values.
         */
        public UploadForm() {
            // Default constructor
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/AdminDictStopwordsAction.java

            verifyToken(() -> uploadpage(form.dictId));
            return stopwordsService.getStopwordsFile(form.dictId).map(file -> {
                try (InputStream inputStream = form.stopwordsFile.getInputStream()) {
                    file.update(inputStream);
                } catch (final IOException e) {
                    logger.warn("Failed to process a request.", e);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  8. src/main/resources/fess_label_en.properties

    labels.scriptResult=Result
    labels.scriptType=Execution Method
    labels.segmentation=Segmentation
    labels.startTime=Start Time
    labels.target=Target
    labels.token=Token
    labels.synonymFile=Synonym File
    labels.stopwordsFile=Stopwords File
    labels.stemmerOverrideFile=Stemmer Override File
    labels.mappingFile=Mapping File
    labels.protwordsFile=Protwords File
    labels.kuromojiFile=Kuromoji File
    labels.elevateWordFile=Elevate Word File
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 04:56:21 UTC 2025
    - 40.7K bytes
    - Viewed (0)
  9. src/main/resources/fess_label_zh_TW.properties

    labels.roleTypeIds=角色ID
    labels.scriptData=腳本
    labels.scriptResult=結果
    labels.scriptType=執行方法
    labels.segmentation=分段
    labels.startTime=開始時間
    labels.target=目標
    labels.token=令牌
    labels.synonymFile=同義詞檔案
    labels.stopwordsFile=停用詞檔案
    labels.stemmerOverrideFile=詞幹覆蓋檔案
    labels.mappingFile=映射檔案
    labels.protwordsFile=Protwords檔案
    labels.kuromojiFile=Kuromoji檔案
    labels.elevateWordFile=提升詞檔案
    labels.badWordFile=不良詞檔案
    labels.urlExpr=條件
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 04:56:21 UTC 2025
    - 40.7K bytes
    - Viewed (0)
  10. src/main/resources/fess_label_de.properties

    labels.scriptResult=Ergebnis
    labels.scriptType=Ausführungsmethode
    labels.segmentation=Segmentierung
    labels.startTime=Startzeit
    labels.target=Ziel
    labels.token=Token
    labels.synonymFile=Synonymdatei
    labels.stopwordsFile=Stopwörterdatei
    labels.stemmerOverrideFile=Stemmer-Überschreibungsdatei
    labels.mappingFile=Zuordnungsdatei
    labels.protwordsFile=Protwords-Datei
    labels.kuromojiFile=Kuromoji-Datei
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 04:56:21 UTC 2025
    - 43.5K bytes
    - Viewed (1)
Back to top