Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for DictionaryManager (0.22 sec)

  1. src/main/java/org/codelibs/fess/dict/DictionaryManager.java

    import org.codelibs.fess.util.ComponentUtil;
    import org.codelibs.opensearch.runner.net.OpenSearchCurl;
    import org.dbflute.optional.OptionalEntity;
    
    public class DictionaryManager {
        private static final Logger logger = LogManager.getLogger(DictionaryManager.class);
    
        protected List<DictionaryCreator> creatorList = new ArrayList<>();
    
        @PostConstruct
        public void init() {
            if (logger.isDebugEnabled()) {
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/service/KuromojiService.java

    import org.codelibs.fess.dict.DictionaryManager;
    import org.codelibs.fess.dict.kuromoji.KuromojiFile;
    import org.codelibs.fess.dict.kuromoji.KuromojiItem;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.dbflute.optional.OptionalEntity;
    
    public class KuromojiService {
        @Resource
        protected DictionaryManager dictionaryManager;
    
        @Resource
        protected FessConfig fessConfig;
    
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/dict/DictionaryManagerTest.java

        }
    
        public void test_init() {
            final DictionaryManager dictionaryManager = new DictionaryManager();
            dictionaryManager.init();
            assertEquals(0, dictionaryManager.creatorList.size());
    
            dictionaryManager.addCreator(new CharMappingCreator());
            dictionaryManager.init();
            assertEquals(1, dictionaryManager.creatorList.size());
        }
    
        /*
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsCreator.java

                logger.info("Load {}", this.getClass().getSimpleName());
            }
            dictionaryManager.addCreator(this);
        }
    
        @Override
        protected DictionaryFile<? extends DictionaryItem> newDictionaryFile(final String id, final String path, final Date timestamp) {
            return new StopwordsFile(id, path, timestamp).manager(dictionaryManager);
        }
    
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideCreator.java

                logger.info("Load {}", this.getClass().getSimpleName());
            }
            dictionaryManager.addCreator(this);
        }
    
        @Override
        protected DictionaryFile<? extends DictionaryItem> newDictionaryFile(final String id, final String path, final Date timestamp) {
            return new StemmerOverrideFile(id, path, timestamp).manager(dictionaryManager);
        }
    
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/dict/AdminDictAction.java

        //                                                                           Attribute
        //                                                                           =========
        @Resource
        protected DictionaryManager dictionaryManager;
    
        // ===================================================================================
        //                                                                               Hook
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/service/StemmerOverrideService.java

    import org.codelibs.fess.dict.DictionaryManager;
    import org.codelibs.fess.dict.stemmeroverride.StemmerOverrideFile;
    import org.codelibs.fess.dict.stemmeroverride.StemmerOverrideItem;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.dbflute.optional.OptionalEntity;
    
    public class StemmerOverrideService {
        @Resource
        protected DictionaryManager dictionaryManager;
    
        @Resource
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/service/CharMappingService.java

    import org.codelibs.fess.dict.DictionaryManager;
    import org.codelibs.fess.dict.mapping.CharMappingFile;
    import org.codelibs.fess.dict.mapping.CharMappingItem;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.dbflute.optional.OptionalEntity;
    
    public class CharMappingService {
        @Resource
        protected DictionaryManager dictionaryManager;
    
        @Resource
        protected FessConfig fessConfig;
    
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/dict/DictionaryFile.java

            return timestamp;
        }
    
        public DictionaryFile<T> manager(final DictionaryManager dictionaryManager) {
            this.dictionaryManager = dictionaryManager;
            return this;
        }
    
        public void writeOut(final WrittenStreamOut out) throws IOException {
            try (final CurlResponse curlResponse = dictionaryManager.getContentResponse(this);
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/dict/mapping/CharMappingCreator.java

                logger.info("Load {}", this.getClass().getSimpleName());
            }
            dictionaryManager.addCreator(this);
        }
    
        @Override
        protected DictionaryFile<? extends DictionaryItem> newDictionaryFile(final String id, final String path, final Date timestamp) {
            return new CharMappingFile(id, path, timestamp).manager(dictionaryManager);
        }
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.6K bytes
    - Viewed (0)
Back to top