public enum DictionaryAttribute extends java.lang.Enum<DictionaryAttribute>
Dictionary and DictionaryMetadata.| Enum Constant and Description |
|---|
AUTHOR
Dictionary author.
|
CONVERT_CASE
if the spelling dictionary is supposed to treat upper and lower case
as equivalent.
|
CREATION_DATE
Dictionary creation date.
|
ENCODER
Locale associated with the dictionary.
|
ENCODING
Character to byte encoding used for strings inside the FSA.
|
EQUIVALENT_CHARS
Equivalent characters (treated similarly as equivalent chars with and without
diacritics).
|
FREQUENCY_INCLUDED
If the FSA dictionary includes frequency data.
|
IGNORE_ALL_UPPERCASE
If the spelling dictionary is supposed to ignore ALL UPPERCASE words.
|
IGNORE_CAMEL_CASE
If the spelling dictionary is supposed to ignore CamelCase words.
|
IGNORE_DIACRITICS
If the spelling dictionary is supposed to ignore diacritics, so that
'a' would be treated as equivalent to 'ą'.
|
IGNORE_NUMBERS
If the spelling dictionary is supposed to ignore words containing digits
|
IGNORE_PUNCTUATION
If the spelling dictionary is supposed to ignore punctuation.
|
INPUT_CONVERSION
Input conversion pairs to replace non-standard characters before search in a speller dictionary.
|
LICENSE
Dictionary license attribute.
|
LOCALE
Locale associated with the dictionary.
|
OUTPUT_CONVERSION
Output conversion pairs to replace non-standard characters before search in a speller dictionary.
|
REPLACEMENT_PAIRS
Replacement pairs for non-obvious candidate search in a speller dictionary.
|
RUN_ON_WORDS
If the spelling dictionary is supposed to split runOnWords.
|
SEPARATOR
Logical fields separator inside the FSA.
|
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
propertyName
Property name for this attribute.
|
| Modifier and Type | Method and Description |
|---|---|
static DictionaryAttribute |
fromPropertyName(java.lang.String propertyName)
Return an
DictionaryAttribute by its propertyName. |
java.lang.Object |
fromString(java.lang.String value)
Converts a string to the given attribute's value (covariants used).
|
static DictionaryAttribute |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DictionaryAttribute[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DictionaryAttribute SEPARATOR
public static final DictionaryAttribute ENCODING
public static final DictionaryAttribute FREQUENCY_INCLUDED
public static final DictionaryAttribute IGNORE_NUMBERS
public static final DictionaryAttribute IGNORE_PUNCTUATION
public static final DictionaryAttribute IGNORE_CAMEL_CASE
public static final DictionaryAttribute IGNORE_ALL_UPPERCASE
public static final DictionaryAttribute IGNORE_DIACRITICS
public static final DictionaryAttribute CONVERT_CASE
public static final DictionaryAttribute RUN_ON_WORDS
public static final DictionaryAttribute LOCALE
public static final DictionaryAttribute ENCODER
public static final DictionaryAttribute INPUT_CONVERSION
public static final DictionaryAttribute OUTPUT_CONVERSION
public static final DictionaryAttribute REPLACEMENT_PAIRS
public static final DictionaryAttribute EQUIVALENT_CHARS
This implements a feature similar to hunspell MAP in the affix file.
public static final DictionaryAttribute LICENSE
public static final DictionaryAttribute AUTHOR
public static final DictionaryAttribute CREATION_DATE
public final java.lang.String propertyName
public static DictionaryAttribute[] values()
for (DictionaryAttribute c : DictionaryAttribute.values()) System.out.println(c);
public static DictionaryAttribute valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.Object fromString(java.lang.String value)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException - If the input string cannot be converted to the attribute's
value.public static DictionaryAttribute fromPropertyName(java.lang.String propertyName)
DictionaryAttribute by its propertyName.Copyright © 2015. All Rights Reserved.