Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::TagParsingConfig::EntityParsingConfig.
Configuration for parsing a tag entity class.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#entity_class
def entity_class() -> ::String
Returns
- (::String) — Required. The tag entity class name. This should match the class name produced by the tag entity detection model.
#entity_class=
def entity_class=(value) -> ::String
Parameter
- value (::String) — Required. The tag entity class name. This should match the class name produced by the tag entity detection model.
Returns
- (::String) — Required. The tag entity class name. This should match the class name produced by the tag entity detection model.
#entity_matching_strategy
def entity_matching_strategy() -> ::Google::Cloud::VisionAI::V1::TagParsingConfig::EntityParsingConfig::EntityMatchingStrategy
Returns
- (::Google::Cloud::VisionAI::V1::TagParsingConfig::EntityParsingConfig::EntityMatchingStrategy) — Optional. Entity matching strategy.
#entity_matching_strategy=
def entity_matching_strategy=(value) -> ::Google::Cloud::VisionAI::V1::TagParsingConfig::EntityParsingConfig::EntityMatchingStrategy
Parameter
- value (::Google::Cloud::VisionAI::V1::TagParsingConfig::EntityParsingConfig::EntityMatchingStrategy) — Optional. Entity matching strategy.
Returns
- (::Google::Cloud::VisionAI::V1::TagParsingConfig::EntityParsingConfig::EntityMatchingStrategy) — Optional. Entity matching strategy.
#regex
def regex() -> ::String
Returns
- (::String) — Optional. An regular expression hint.
#regex=
def regex=(value) -> ::String
Parameter
- value (::String) — Optional. An regular expression hint.
Returns
- (::String) — Optional. An regular expression hint.