Class: Google::Cloud::Language::V1::Token

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

Overview

Represents the smallest syntactic building block of the text.

Instance Attribute Summary collapse

Instance Attribute Details

#dependency_edgeGoogle::Cloud::Language::V1::DependencyEdge

Returns Dependency tree parse for this token.

Returns:



142
# File 'lib/google/cloud/language/v1/doc/google/cloud/language/v1/language_service.rb', line 142

class Token; end

#lemmaString

Returns:



142
# File 'lib/google/cloud/language/v1/doc/google/cloud/language/v1/language_service.rb', line 142

class Token; end

#part_of_speechGoogle::Cloud::Language::V1::PartOfSpeech

Returns Parts of speech tag for this token.

Returns:



142
# File 'lib/google/cloud/language/v1/doc/google/cloud/language/v1/language_service.rb', line 142

class Token; end

#textGoogle::Cloud::Language::V1::TextSpan

Returns The token text.

Returns:



142
# File 'lib/google/cloud/language/v1/doc/google/cloud/language/v1/language_service.rb', line 142

class Token; end