@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DatasetEntityRecognizerDocuments extends Object implements Serializable, Cloneable, StructuredPojo
Describes the documents submitted with a dataset for an entity recognizer model.
Constructor and Description |
---|
DatasetEntityRecognizerDocuments() |
Modifier and Type | Method and Description |
---|---|
DatasetEntityRecognizerDocuments |
clone() |
boolean |
equals(Object obj) |
String |
getInputFormat()
Specifies how the text in an input file should be processed.
|
String |
getS3Uri()
Specifies the Amazon S3 location where the documents for the dataset are located.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setInputFormat(String inputFormat)
Specifies how the text in an input file should be processed.
|
void |
setS3Uri(String s3Uri)
Specifies the Amazon S3 location where the documents for the dataset are located.
|
String |
toString()
Returns a string representation of this object.
|
DatasetEntityRecognizerDocuments |
withInputFormat(InputFormat inputFormat)
Specifies how the text in an input file should be processed.
|
DatasetEntityRecognizerDocuments |
withInputFormat(String inputFormat)
Specifies how the text in an input file should be processed.
|
DatasetEntityRecognizerDocuments |
withS3Uri(String s3Uri)
Specifies the Amazon S3 location where the documents for the dataset are located.
|
public void setS3Uri(String s3Uri)
Specifies the Amazon S3 location where the documents for the dataset are located.
s3Uri
- Specifies the Amazon S3 location where the documents for the dataset are located.public String getS3Uri()
Specifies the Amazon S3 location where the documents for the dataset are located.
public DatasetEntityRecognizerDocuments withS3Uri(String s3Uri)
Specifies the Amazon S3 location where the documents for the dataset are located.
s3Uri
- Specifies the Amazon S3 location where the documents for the dataset are located.public void setInputFormat(String inputFormat)
Specifies how the text in an input file should be processed. This is optional, and the default is ONE_DOC_PER_LINE. ONE_DOC_PER_FILE - Each file is considered a separate document. Use this option when you are processing large documents, such as newspaper articles or scientific papers. ONE_DOC_PER_LINE - Each line in a file is considered a separate document. Use this option when you are processing many short documents, such as text messages.
inputFormat
- Specifies how the text in an input file should be processed. This is optional, and the default is
ONE_DOC_PER_LINE. ONE_DOC_PER_FILE - Each file is considered a separate document. Use this option when you
are processing large documents, such as newspaper articles or scientific papers. ONE_DOC_PER_LINE - Each
line in a file is considered a separate document. Use this option when you are processing many short
documents, such as text messages.InputFormat
public String getInputFormat()
Specifies how the text in an input file should be processed. This is optional, and the default is ONE_DOC_PER_LINE. ONE_DOC_PER_FILE - Each file is considered a separate document. Use this option when you are processing large documents, such as newspaper articles or scientific papers. ONE_DOC_PER_LINE - Each line in a file is considered a separate document. Use this option when you are processing many short documents, such as text messages.
InputFormat
public DatasetEntityRecognizerDocuments withInputFormat(String inputFormat)
Specifies how the text in an input file should be processed. This is optional, and the default is ONE_DOC_PER_LINE. ONE_DOC_PER_FILE - Each file is considered a separate document. Use this option when you are processing large documents, such as newspaper articles or scientific papers. ONE_DOC_PER_LINE - Each line in a file is considered a separate document. Use this option when you are processing many short documents, such as text messages.
inputFormat
- Specifies how the text in an input file should be processed. This is optional, and the default is
ONE_DOC_PER_LINE. ONE_DOC_PER_FILE - Each file is considered a separate document. Use this option when you
are processing large documents, such as newspaper articles or scientific papers. ONE_DOC_PER_LINE - Each
line in a file is considered a separate document. Use this option when you are processing many short
documents, such as text messages.InputFormat
public DatasetEntityRecognizerDocuments withInputFormat(InputFormat inputFormat)
Specifies how the text in an input file should be processed. This is optional, and the default is ONE_DOC_PER_LINE. ONE_DOC_PER_FILE - Each file is considered a separate document. Use this option when you are processing large documents, such as newspaper articles or scientific papers. ONE_DOC_PER_LINE - Each line in a file is considered a separate document. Use this option when you are processing many short documents, such as text messages.
inputFormat
- Specifies how the text in an input file should be processed. This is optional, and the default is
ONE_DOC_PER_LINE. ONE_DOC_PER_FILE - Each file is considered a separate document. Use this option when you
are processing large documents, such as newspaper articles or scientific papers. ONE_DOC_PER_LINE - Each
line in a file is considered a separate document. Use this option when you are processing many short
documents, such as text messages.InputFormat
public String toString()
toString
in class Object
Object.toString()
public DatasetEntityRecognizerDocuments clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.