Class: Google::Cloud::Language::V1::Token
- Inherits:
-
Object
- Object
- Google::Cloud::Language::V1::Token
- 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
-
#dependency_edge ⇒ Google::Cloud::Language::V1::DependencyEdge
Dependency tree parse for this token.
-
#lemma ⇒ String
Lemma[https://en.wikipedia.org/wiki/Lemma_%28morphology%29] of the token.
-
#part_of_speech ⇒ Google::Cloud::Language::V1::PartOfSpeech
Parts of speech tag for this token.
-
#text ⇒ Google::Cloud::Language::V1::TextSpan
The token text.
Instance Attribute Details
#dependency_edge ⇒ Google::Cloud::Language::V1::DependencyEdge
Returns Dependency tree parse for this token.
165 |
# File 'lib/google/cloud/language/v1/doc/google/cloud/language/v1/language_service.rb', line 165 class Token; end |
#lemma ⇒ String
Returns Lemma[https://en.wikipedia.org/wiki/Lemma_%28morphology%29] of the token.
165 |
# File 'lib/google/cloud/language/v1/doc/google/cloud/language/v1/language_service.rb', line 165 class Token; end |
#part_of_speech ⇒ Google::Cloud::Language::V1::PartOfSpeech
Returns Parts of speech tag for this token.
165 |
# File 'lib/google/cloud/language/v1/doc/google/cloud/language/v1/language_service.rb', line 165 class Token; end |
#text ⇒ Google::Cloud::Language::V1::TextSpan
Returns The token text.
165 |
# File 'lib/google/cloud/language/v1/doc/google/cloud/language/v1/language_service.rb', line 165 class Token; end |