Class: Google::Cloud::DataLabeling::V1beta1::LabelTextRequest
- Inherits:
-
Object
- Object
- Google::Cloud::DataLabeling::V1beta1::LabelTextRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/datalabeling/v1beta1/data_labeling_service.rb
Overview
Request message for LabelText.
Defined Under Namespace
Modules: Feature
Instance Attribute Summary collapse
-
#basic_config ⇒ ::Google::Cloud::DataLabeling::V1beta1::HumanAnnotationConfig
Required.
-
#feature ⇒ ::Google::Cloud::DataLabeling::V1beta1::LabelTextRequest::Feature
Required.
-
#parent ⇒ ::String
Required.
-
#text_classification_config ⇒ ::Google::Cloud::DataLabeling::V1beta1::TextClassificationConfig
Configuration for text classification task.
-
#text_entity_extraction_config ⇒ ::Google::Cloud::DataLabeling::V1beta1::TextEntityExtractionConfig
Configuration for entity extraction task.
Instance Attribute Details
#basic_config ⇒ ::Google::Cloud::DataLabeling::V1beta1::HumanAnnotationConfig
Returns Required. Basic human annotation config.
378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 |
# File 'proto_docs/google/cloud/datalabeling/v1beta1/data_labeling_service.rb', line 378 class LabelTextRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Text labeling task feature. module Feature FEATURE_UNSPECIFIED = 0 # Label text content to one of more labels. TEXT_CLASSIFICATION = 1 # Label entities and their span in text. TEXT_ENTITY_EXTRACTION = 2 end end |
#feature ⇒ ::Google::Cloud::DataLabeling::V1beta1::LabelTextRequest::Feature
Returns Required. The type of text labeling task.
378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 |
# File 'proto_docs/google/cloud/datalabeling/v1beta1/data_labeling_service.rb', line 378 class LabelTextRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Text labeling task feature. module Feature FEATURE_UNSPECIFIED = 0 # Label text content to one of more labels. TEXT_CLASSIFICATION = 1 # Label entities and their span in text. TEXT_ENTITY_EXTRACTION = 2 end end |
#parent ⇒ ::String
Returns Required. Name of the data set to request labeling task, format: projects/{project_id}/datasets/{dataset_id}.
378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 |
# File 'proto_docs/google/cloud/datalabeling/v1beta1/data_labeling_service.rb', line 378 class LabelTextRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Text labeling task feature. module Feature FEATURE_UNSPECIFIED = 0 # Label text content to one of more labels. TEXT_CLASSIFICATION = 1 # Label entities and their span in text. TEXT_ENTITY_EXTRACTION = 2 end end |
#text_classification_config ⇒ ::Google::Cloud::DataLabeling::V1beta1::TextClassificationConfig
Returns Configuration for text classification task. One of text_classification_config and text_entity_extraction_config is required.
378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 |
# File 'proto_docs/google/cloud/datalabeling/v1beta1/data_labeling_service.rb', line 378 class LabelTextRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Text labeling task feature. module Feature FEATURE_UNSPECIFIED = 0 # Label text content to one of more labels. TEXT_CLASSIFICATION = 1 # Label entities and their span in text. TEXT_ENTITY_EXTRACTION = 2 end end |
#text_entity_extraction_config ⇒ ::Google::Cloud::DataLabeling::V1beta1::TextEntityExtractionConfig
Returns Configuration for entity extraction task. One of text_classification_config and text_entity_extraction_config is required.
378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 |
# File 'proto_docs/google/cloud/datalabeling/v1beta1/data_labeling_service.rb', line 378 class LabelTextRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Text labeling task feature. module Feature FEATURE_UNSPECIFIED = 0 # Label text content to one of more labels. TEXT_CLASSIFICATION = 1 # Label entities and their span in text. TEXT_ENTITY_EXTRACTION = 2 end end |