#[non_exhaustive]pub struct DatasetEntityRecognizerDocuments { /* private fields */ }Expand description
Describes the documents submitted with a dataset for an entity recognizer model.
Implementations§
source§impl DatasetEntityRecognizerDocuments
impl DatasetEntityRecognizerDocuments
sourcepub fn s3_uri(&self) -> Option<&str>
pub fn s3_uri(&self) -> Option<&str>
Specifies the Amazon S3 location where the documents for the dataset are located.
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 DatasetEntityRecognizerDocuments
impl DatasetEntityRecognizerDocuments
sourcepub fn builder() -> DatasetEntityRecognizerDocumentsBuilder
pub fn builder() -> DatasetEntityRecognizerDocumentsBuilder
Creates a new builder-style object to manufacture DatasetEntityRecognizerDocuments.
Trait Implementations§
source§impl Clone for DatasetEntityRecognizerDocuments
impl Clone for DatasetEntityRecognizerDocuments
source§fn clone(&self) -> DatasetEntityRecognizerDocuments
fn clone(&self) -> DatasetEntityRecognizerDocuments
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl PartialEq<DatasetEntityRecognizerDocuments> for DatasetEntityRecognizerDocuments
impl PartialEq<DatasetEntityRecognizerDocuments> for DatasetEntityRecognizerDocuments
source§fn eq(&self, other: &DatasetEntityRecognizerDocuments) -> bool
fn eq(&self, other: &DatasetEntityRecognizerDocuments) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DatasetEntityRecognizerDocuments
Auto Trait Implementations§
impl RefUnwindSafe for DatasetEntityRecognizerDocuments
impl Send for DatasetEntityRecognizerDocuments
impl Sync for DatasetEntityRecognizerDocuments
impl Unpin for DatasetEntityRecognizerDocuments
impl UnwindSafe for DatasetEntityRecognizerDocuments
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more