public class RuntimeEntityAlternative
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
RuntimeEntityAlternative.Builder
Builder.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.Double |
confidence |
protected java.lang.String |
value |
Modifier | Constructor and Description |
---|---|
protected |
RuntimeEntityAlternative(RuntimeEntityAlternative.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.lang.Double |
confidence()
Gets the confidence.
|
RuntimeEntityAlternative.Builder |
newBuilder()
New builder.
|
java.lang.String |
value()
Gets the value.
|
protected java.lang.String value
protected java.lang.Double confidence
protected RuntimeEntityAlternative(RuntimeEntityAlternative.Builder builder)
public RuntimeEntityAlternative.Builder newBuilder()
public java.lang.String value()
The entity value that was recognized in the user input.
public java.lang.Double confidence()
A decimal percentage that represents Watson's confidence in the recognized entity.