public static enum SummarizeTextDetails.Extractiveness extends Enum<SummarizeTextDetails.Extractiveness> implements BmcEnum
Controls how close to the original text the summary is. High extractiveness summaries will lean towards reusing sentences verbatim, while low extractiveness summaries will tend to paraphrase more.
Modifier and Type | Method and Description |
---|---|
static SummarizeTextDetails.Extractiveness |
create(String key) |
String |
getValue() |
static SummarizeTextDetails.Extractiveness |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SummarizeTextDetails.Extractiveness[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SummarizeTextDetails.Extractiveness Low
public static final SummarizeTextDetails.Extractiveness Medium
public static final SummarizeTextDetails.Extractiveness High
public static final SummarizeTextDetails.Extractiveness Auto
public static SummarizeTextDetails.Extractiveness[] values()
for (SummarizeTextDetails.Extractiveness c : SummarizeTextDetails.Extractiveness.values()) System.out.println(c);
public static SummarizeTextDetails.Extractiveness 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 nullpublic static SummarizeTextDetails.Extractiveness create(String key)
Copyright © 2016–2024. All rights reserved.