java.lang.Object
org.codelibs.fess.app.web.admin.dict.kuromoji.CreateForm
Direct Known Subclasses:
CreateBody, EditForm

public class CreateForm extends Object
Form class for creating Kuromoji dictionary entries. Kuromoji is a Japanese morphological analyzer and this form allows administrators to add custom dictionary entries for better Japanese text analysis.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    CRUD operation mode (CREATE, EDIT, etc.)
    @Required String
    Dictionary identifier
    @Required @Size(max=1000) String
    Part of speech tag for the token
    @Required @Size(max=1000) String
    Reading (pronunciation) of the token in katakana
    @Required @Size(max=1000) String
    Segmentation information for the token
    @Required @Size(max=1000) String
    Token (word) to be added to the dictionary
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a new CreateForm instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Initializes the form with default values for creating a new Kuromoji dictionary entry.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • dictId

      @Required public @Required String dictId
      Dictionary identifier
    • crudMode

      @ValidateTypeFailure public Integer crudMode
      CRUD operation mode (CREATE, EDIT, etc.)
    • token

      @Required @Size(max=1000) public @Required @Size(max=1000) String token
      Token (word) to be added to the dictionary
    • segmentation

      @Required @Size(max=1000) public @Required @Size(max=1000) String segmentation
      Segmentation information for the token
    • reading

      @Required @Size(max=1000) public @Required @Size(max=1000) String reading
      Reading (pronunciation) of the token in katakana
    • pos

      @Required @Size(max=1000) public @Required @Size(max=1000) String pos
      Part of speech tag for the token
  • Constructor Details

    • CreateForm

      public CreateForm()
      Creates a new CreateForm instance.
  • Method Details

    • initialize

      public void initialize()
      Initializes the form with default values for creating a new Kuromoji dictionary entry.