public class EntityRecognizerMetadataEntityTypesListItem
extends java.lang.Object
implements java.io.Serializable
Individual item from the list of entity types in the metadata of an entity recognizer.
Constructor and Description |
---|
EntityRecognizerMetadataEntityTypesListItem() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
EntityTypesEvaluationMetrics |
getEvaluationMetrics()
Detailed information about the accuracy of the entity recognizer for a
specific item on the list of entity types.
|
java.lang.Integer |
getNumberOfTrainMentions()
Indicates the number of times the given entity type was seen in the
training data.
|
java.lang.String |
getType()
Type of entity from the list of entity types in the metadata of an entity
recognizer.
|
int |
hashCode() |
void |
setEvaluationMetrics(EntityTypesEvaluationMetrics evaluationMetrics)
Detailed information about the accuracy of the entity recognizer for a
specific item on the list of entity types.
|
void |
setNumberOfTrainMentions(java.lang.Integer numberOfTrainMentions)
Indicates the number of times the given entity type was seen in the
training data.
|
void |
setType(java.lang.String type)
Type of entity from the list of entity types in the metadata of an entity
recognizer.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EntityRecognizerMetadataEntityTypesListItem |
withEvaluationMetrics(EntityTypesEvaluationMetrics evaluationMetrics)
Detailed information about the accuracy of the entity recognizer for a
specific item on the list of entity types.
|
EntityRecognizerMetadataEntityTypesListItem |
withNumberOfTrainMentions(java.lang.Integer numberOfTrainMentions)
Indicates the number of times the given entity type was seen in the
training data.
|
EntityRecognizerMetadataEntityTypesListItem |
withType(java.lang.String type)
Type of entity from the list of entity types in the metadata of an entity
recognizer.
|
public EntityRecognizerMetadataEntityTypesListItem()
public java.lang.String getType()
Type of entity from the list of entity types in the metadata of an entity recognizer.
Type of entity from the list of entity types in the metadata of an entity recognizer.
public void setType(java.lang.String type)
Type of entity from the list of entity types in the metadata of an entity recognizer.
type
- Type of entity from the list of entity types in the metadata of an entity recognizer.
public EntityRecognizerMetadataEntityTypesListItem withType(java.lang.String type)
Type of entity from the list of entity types in the metadata of an entity recognizer.
Returns a reference to this object so that method calls can be chained together.
type
- Type of entity from the list of entity types in the metadata of an entity recognizer.
public EntityTypesEvaluationMetrics getEvaluationMetrics()
Detailed information about the accuracy of the entity recognizer for a specific item on the list of entity types.
Detailed information about the accuracy of the entity recognizer for a specific item on the list of entity types.
public void setEvaluationMetrics(EntityTypesEvaluationMetrics evaluationMetrics)
Detailed information about the accuracy of the entity recognizer for a specific item on the list of entity types.
evaluationMetrics
- Detailed information about the accuracy of the entity recognizer for a specific item on the list of entity types.
public EntityRecognizerMetadataEntityTypesListItem withEvaluationMetrics(EntityTypesEvaluationMetrics evaluationMetrics)
Detailed information about the accuracy of the entity recognizer for a specific item on the list of entity types.
Returns a reference to this object so that method calls can be chained together.
evaluationMetrics
- Detailed information about the accuracy of the entity recognizer for a specific item on the list of entity types.
public java.lang.Integer getNumberOfTrainMentions()
Indicates the number of times the given entity type was seen in the training data.
Indicates the number of times the given entity type was seen in the training data.
public void setNumberOfTrainMentions(java.lang.Integer numberOfTrainMentions)
Indicates the number of times the given entity type was seen in the training data.
numberOfTrainMentions
- Indicates the number of times the given entity type was seen in the training data.
public EntityRecognizerMetadataEntityTypesListItem withNumberOfTrainMentions(java.lang.Integer numberOfTrainMentions)
Indicates the number of times the given entity type was seen in the training data.
Returns a reference to this object so that method calls can be chained together.
numberOfTrainMentions
- Indicates the number of times the given entity type was seen in the training data.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.