Reference documentation and code samples for the Natural Language V1beta2 API class Google::Cloud::Language::V1beta2::AnalyzeEntitiesResponse.
The entity analysis response message.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#entities
def entities() -> ::Array<::Google::Cloud::Language::V1beta2::Entity>
Returns
- (::Array<::Google::Cloud::Language::V1beta2::Entity>) — The recognized entities in the input document.
#entities=
def entities=(value) -> ::Array<::Google::Cloud::Language::V1beta2::Entity>
Parameter
- value (::Array<::Google::Cloud::Language::V1beta2::Entity>) — The recognized entities in the input document.
Returns
- (::Array<::Google::Cloud::Language::V1beta2::Entity>) — The recognized entities in the input document.
#language
def language() -> ::String
Returns
- (::String) — The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See Document.language field for more details.
#language=
def language=(value) -> ::String
Parameter
- value (::String) — The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See Document.language field for more details.
Returns
- (::String) — The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See Document.language field for more details.