Enum EngineAccess.WordListType

    • Enum Constant Detail

      • ORIGINAL_PACKED

        public static final EngineAccess.WordListType ORIGINAL_PACKED
        The words spelled exactly as given in the input text, without any further word processing.
        Since:
        4.0.3
      • ORIGINAL

        public static final EngineAccess.WordListType ORIGINAL
        The words spelled exactly as given in the input text, without any further word processing.

        null words may be inserted at word positions that would be created during compound splitting. The resulting words array has as many elements as the words array returned for type FINAL.

        Since:
        1.2
      • SIMPLIFIED_PACKED

        public static final EngineAccess.WordListType SIMPLIFIED_PACKED
        The simplified words of the input text.
        Since:
        1.2
      • SIMPLIFIED

        public static final EngineAccess.WordListType SIMPLIFIED
        The simplified words of the input text.

        null words may be inserted at word positions that would be created during compound splitting. The resulting words array has as many elements as the words array returned for type FINAL.

        Since:
        1.2
      • FINAL

        public static final EngineAccess.WordListType FINAL
        The words of the input text after all preprocessing steps (like auto-correction, compound splitting, similarity matching).
        Since:
        4.0.3
    • Method Detail

      • values

        public static EngineAccess.WordListType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (EngineAccess.WordListType c : EngineAccess.WordListType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static EngineAccess.WordListType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null