java.lang.Object
org.apache.lucene.analysis.ja.dict.UserDictionary
All Implemented Interfaces:
Dictionary<UserMorphData>

public final class UserDictionary extends Object implements Dictionary<UserMorphData>
Class for building a User Dictionary. This class allows for custom segmentation of phrases.
  • Field Details

    • INTERNAL_SEPARATOR

      public static final String INTERNAL_SEPARATOR
      See Also:
    • LINE_COMMENT

      private static final Pattern LINE_COMMENT
    • WHITESPACE

      private static final Pattern WHITESPACE
    • SPACES

      private static final Pattern SPACES
    • fst

      private final TokenInfoFST fst
    • segmentations

      private final int[][] segmentations
    • morphAtts

      private final UserMorphData morphAtts
    • CUSTOM_DICTIONARY_WORD_ID_OFFSET

      static final int CUSTOM_DICTIONARY_WORD_ID_OFFSET
      See Also:
    • EMPTY_RESULT

      private static final int[][] EMPTY_RESULT
  • Constructor Details

  • Method Details