#[non_exhaustive]pub struct EntityRecognizerDocuments { /* private fields */ }Expand description
Describes the training documents submitted with an entity recognizer.
Implementations§
source§impl EntityRecognizerDocuments
impl EntityRecognizerDocuments
sourcepub fn s3_uri(&self) -> Option<&str>
pub fn s3_uri(&self) -> Option<&str>
Specifies the Amazon S3 location where the training documents for an entity recognizer are located. The URI must be in the same region as the API endpoint that you are calling.
sourcepub fn test_s3_uri(&self) -> Option<&str>
pub fn test_s3_uri(&self) -> Option<&str>
Specifies the Amazon S3 location where the test documents for an entity recognizer are located. The URI must be in the same AWS Region as the API endpoint that you are calling.
sourcepub fn input_format(&self) -> Option<&InputFormat>
pub fn input_format(&self) -> Option<&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.
source§impl EntityRecognizerDocuments
impl EntityRecognizerDocuments
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture EntityRecognizerDocuments.
Trait Implementations§
source§impl Clone for EntityRecognizerDocuments
impl Clone for EntityRecognizerDocuments
source§fn clone(&self) -> EntityRecognizerDocuments
fn clone(&self) -> EntityRecognizerDocuments
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more