public enum DuplicateEntityStrategy extends Enum<DuplicateEntityStrategy>
| Enum Constant and Description |
|---|
RETAIN_DUPICATES
Return all entities - do not remove any.
|
USE_HIGHEST_CONFIDENCE
If multiple entities having the same text are extracted
use only the entity with the highest confidence.
|
| Modifier and Type | Method and Description |
|---|---|
static DuplicateEntityStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DuplicateEntityStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DuplicateEntityStrategy RETAIN_DUPICATES
public static final DuplicateEntityStrategy USE_HIGHEST_CONFIDENCE
public static DuplicateEntityStrategy[] values()
for (DuplicateEntityStrategy c : DuplicateEntityStrategy.values()) System.out.println(c);
public static DuplicateEntityStrategy 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 © 2018. All rights reserved.