Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for KuromojiFile (0.14 sec)

  1. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

    import org.codelibs.fess.util.KuromojiCSVUtil;
    import org.dbflute.optional.OptionalEntity;
    
    public class KuromojiFile extends DictionaryFile<KuromojiItem> {
        private static final String KUROMOJI = "kuromoji";
    
        List<KuromojiItem> kuromojiItemList;
    
        public KuromojiFile(final String id, final String path, final Date timestamp) {
            super(id, path, timestamp);
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiFileTest.java

            final KuromojiFile kuromojiFile = new KuromojiFile(file1);
            final PagingList<KuromojiItem> itemList1 = kuromojiFile.selectList(0,
                    20);
            assertEquals(3, itemList1.size());
    
            final KuromojiItem kuromojiItem1 = itemList1.get(0);
            kuromojiFile.delete(kuromojiItem1);
            final PagingList<KuromojiItem> itemList2 = kuromojiFile.selectList(0,
                    20);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/KuromojiService.java

            }).orElse(Collections.emptyList());
        }
    
        public OptionalEntity<KuromojiFile> getKuromojiFile(final String dictId) {
            return dictionaryManager.getDictionaryFile(dictId).filter(KuromojiFile.class::isInstance)
                    .map(file -> OptionalEntity.of((KuromojiFile) file)).orElse(OptionalEntity.empty());
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/dict/kuromoji/ApiAdminDictKuromojiAction.java

            form.dictId = dictId;
            validateApi(form, messages -> {});
            final KuromojiFile file = kuromojiService.getKuromojiFile(form.dictId).orElseGet(() -> {
                throwValidationErrorApi(messages -> messages.addErrorsFailedToUploadProtwordsFile(GLOBAL));
                return null;
            });
            try (InputStream inputStream = form.kuromojiFile.getInputStream()) {
                file.update(inputStream);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiCreator.java

            dictionaryManager.addCreator(this);
        }
    
        @Override
        protected DictionaryFile<? extends DictionaryItem> newDictionaryFile(final String id, final String path, final Date timestamp) {
            return new KuromojiFile(id, path, timestamp).manager(dictionaryManager);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/UploadForm.java

    /**
     * @author shinsuke
     * @author Keiichi Watanabe
     */
    public class UploadForm {
    
        @Required
        public String dictId;
    
        @Required
        public MultipartFormFile kuromojiFile;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 969 bytes
    - Viewed (0)
  7. src/main/resources/fess_label_en.properties

    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=Additional Word File
    labels.badWordFile=Bad Word File
    labels.urlExpr=Condition
    labels.boostExpr=Boost Expr
    labels.confirmPassword=Confirm
    labels.crawler=Crawler
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Mar 22 11:58:34 UTC 2024
    - 40.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/AdminDictKuromojiAction.java

            verifyToken(() -> uploadpage(form.dictId));
            return kuromojiService.getKuromojiFile(form.dictId).map(file -> {
                try (InputStream inputStream = form.kuromojiFile.getInputStream()) {
                    file.update(inputStream);
                } catch (final IOException e) {
                    logger.warn("Failed to process a request.", e);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  9. src/main/resources/fess_label_fr.properties

    labels.synonymFile	=	Fichier de synonymes
    labels.stopwordsFile	=	Fichier Stopwords
    labels.stemmerOverrideFile	=	Fichier Stemmer Override
    labels.mappingFile	=	Fichier de mappage
    labels.protwordsFile	=	Fichier Prowords
    labels.kuromojiFile	=	Fichier Kuromoji
    labels.elevateWordFile	=	Fichier Word supplémentaire
    labels.badWordFile	=	Mauvais fichier Word
    labels.urlExpr	=	Condition
    labels.boostExpr	=	Amplifier l'expression
    labels.confirmPassword	=	Confirmer
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Mar 22 11:58:34 UTC 2024
    - 46.6K bytes
    - Viewed (0)
  10. src/main/resources/fess_label.properties

    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=Additional Word File
    labels.badWordFile=Bad Word File
    labels.urlExpr=Condition
    labels.boostExpr=Boost Expr
    labels.confirmPassword=Confirm
    labels.crawler=Crawler
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Mar 22 11:58:34 UTC 2024
    - 40.7K bytes
    - Viewed (0)
Back to top