Package opennlp.tools.tokenize.uax29
Enum Class WordBreak
- All Implemented Interfaces:
Serializable,Comparable<WordBreak>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAlphabetic letters.Carriage return (U+000D).The quotation mark (U+0022).Combining marks and other characters that extend the preceding one.Characters that extend a number or letter sequence (for example the low line).Format characters.Hebrew letters (distinguished so a single quote may join them).Katakana letters.Line feed (U+000A).Characters that join letters (for example the middle dot).Characters that join numbers (for example the comma).Characters that join letters or numbers (for example the full stop).Other mandatory line breaks (vertical tab, form feed, NEL, line/paragraph separators).Decimal digits.No assignedWord_Breakvalue (the default).Regional indicator symbols (used in pairs for flag emoji).The apostrophe (U+0027).Whitespace that segments words (Word_Break=WSegSpace).Zero width joiner (U+200D). -
Method Summary
Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
OTHER
No assignedWord_Breakvalue (the default). -
CR
Carriage return (U+000D). -
LF
Line feed (U+000A). -
NEWLINE
Other mandatory line breaks (vertical tab, form feed, NEL, line/paragraph separators). -
EXTEND
Combining marks and other characters that extend the preceding one. -
ZWJ
Zero width joiner (U+200D). -
REGIONAL_INDICATOR
Regional indicator symbols (used in pairs for flag emoji). -
FORMAT
Format characters. -
KATAKANA
Katakana letters. -
HEBREW_LETTER
Hebrew letters (distinguished so a single quote may join them). -
ALETTER
Alphabetic letters. -
SINGLE_QUOTE
The apostrophe (U+0027). -
DOUBLE_QUOTE
The quotation mark (U+0022). -
MID_NUM_LET
Characters that join letters or numbers (for example the full stop). -
MID_LETTER
Characters that join letters (for example the middle dot). -
MID_NUM
Characters that join numbers (for example the comma). -
NUMERIC
Decimal digits. -
EXTEND_NUM_LET
Characters that extend a number or letter sequence (for example the low line). -
WSEG_SPACE
Whitespace that segments words (Word_Break=WSegSpace).
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-