Class KuromojiCreator

java.lang.Object
org.codelibs.fess.dict.DictionaryCreator
org.codelibs.fess.dict.kuromoji.KuromojiCreator

public class KuromojiCreator extends DictionaryCreator
A dictionary creator for Kuromoji.
  • 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:
      newDictionaryFile in class DictionaryCreator
      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.