Package org.codelibs.fess.dict.kuromoji
Class KuromojiCreator
java.lang.Object
org.codelibs.fess.dict.DictionaryCreator
org.codelibs.fess.dict.kuromoji.KuromojiCreator
A dictionary creator for Kuromoji.
-
Field Summary
Fields inherited from class org.codelibs.fess.dict.DictionaryCreator
dictionaryManager, pattern -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected DictionaryFile<? extends DictionaryItem> newDictionaryFile(String id, String path, Date timestamp) Creates a new dictionary file.voidregister()Registers this creator to the dictionary manager.Methods inherited from class org.codelibs.fess.dict.DictionaryCreator
create, encodePath, isTarget, setDictionaryManager
-
Constructor Details
-
KuromojiCreator
public KuromojiCreator()Constructs a new Kuromoji creator.
-
-
Method Details
-
register
@PostConstruct public void register()Registers this creator to the dictionary manager. -
newDictionaryFile
protected DictionaryFile<? extends DictionaryItem> newDictionaryFile(String id, String path, Date timestamp) Creates a new dictionary file.- Specified by:
newDictionaryFilein classDictionaryCreator- Parameters:
id- The ID of the dictionary file.path- The path of the dictionary file.timestamp- The timestamp of the dictionary file.- Returns:
- A new dictionary file.
-