Class: Google::Cloud::Language::V1beta2::AnalyzeSyntaxResponse
- Inherits:
-
Object
- Object
- Google::Cloud::Language::V1beta2::AnalyzeSyntaxResponse
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/language/v1beta2/language_service.rb
Overview
The syntax analysis response message.
Instance Attribute Summary collapse
-
#language ⇒ ::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.
-
#sentences ⇒ ::Array<::Google::Cloud::Language::V1beta2::Sentence>
Sentences in the input document.
-
#tokens ⇒ ::Array<::Google::Cloud::Language::V1beta2::Token>
Tokens, along with their syntactic information, in the input document.
Instance Attribute Details
#language ⇒ ::String
Returns 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.
1075 1076 1077 1078 |
# File 'proto_docs/google/cloud/language/v1beta2/language_service.rb', line 1075 class AnalyzeSyntaxResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#sentences ⇒ ::Array<::Google::Cloud::Language::V1beta2::Sentence>
Returns Sentences in the input document.
1075 1076 1077 1078 |
# File 'proto_docs/google/cloud/language/v1beta2/language_service.rb', line 1075 class AnalyzeSyntaxResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#tokens ⇒ ::Array<::Google::Cloud::Language::V1beta2::Token>
Returns Tokens, along with their syntactic information, in the input document.
1075 1076 1077 1078 |
# File 'proto_docs/google/cloud/language/v1beta2/language_service.rb', line 1075 class AnalyzeSyntaxResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |