public enum LanguageDetectionLevel extends Enum<LanguageDetectionLevel>
| Enum Constant and Description |
|---|
BY_PAGE
Detects a single language for the entire image.
|
BY_PARAGRAPH
Detects the language separately for each paragraph.
|
BY_WORD
Detects the language separately for each word.
|
| Modifier and Type | Method and Description |
|---|---|
static LanguageDetectionLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LanguageDetectionLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LanguageDetectionLevel BY_PAGE
public static final LanguageDetectionLevel BY_PARAGRAPH
public static final LanguageDetectionLevel BY_WORD
public static LanguageDetectionLevel[] values()
for (LanguageDetectionLevel c : LanguageDetectionLevel.values()) System.out.println(c);
public static LanguageDetectionLevel valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2025 Aspose. All rights reserved.