Class: Google::Cloud::Language::V1beta2::AnalyzeSyntaxResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/language/v1beta2/doc/google/cloud/language/v1beta2/language_service.rb

Overview

The syntax analysis response message.

Instance Attribute Summary collapse

Instance Attribute Details

#languageString

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.

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.



897
# File 'lib/google/cloud/language/v1beta2/doc/google/cloud/language/v1beta2/language_service.rb', line 897

class AnalyzeSyntaxResponse; end

#sentencesArray<Google::Cloud::Language::V1beta2::Sentence>

Returns Sentences in the input document.

Returns:



897
# File 'lib/google/cloud/language/v1beta2/doc/google/cloud/language/v1beta2/language_service.rb', line 897

class AnalyzeSyntaxResponse; end

#tokensArray<Google::Cloud::Language::V1beta2::Token>

Returns Tokens, along with their syntactic information, in the input document.

Returns:



897
# File 'lib/google/cloud/language/v1beta2/doc/google/cloud/language/v1beta2/language_service.rb', line 897

class AnalyzeSyntaxResponse; end