Natural Language V1beta2 API - Class Google::Cloud::Language::V1beta2::PartOfSpeech (v0.5.0)

Reference documentation and code samples for the Natural Language V1beta2 API class Google::Cloud::Language::V1beta2::PartOfSpeech.

Represents part of speech information for a token.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#aspect

def aspect() -> ::Google::Cloud::Language::V1beta2::PartOfSpeech::Aspect
Returns

#aspect=

def aspect=(value) -> ::Google::Cloud::Language::V1beta2::PartOfSpeech::Aspect
Parameter
Returns

#case

def case() -> ::Google::Cloud::Language::V1beta2::PartOfSpeech::Case
Returns

#case=

def case=(value) -> ::Google::Cloud::Language::V1beta2::PartOfSpeech::Case
Parameter
Returns

#form

def form() -> ::Google::Cloud::Language::V1beta2::PartOfSpeech::Form
Returns

#form=

def form=(value) -> ::Google::Cloud::Language::V1beta2::PartOfSpeech::Form
Parameter
Returns

#gender

def gender() -> ::Google::Cloud::Language::V1beta2::PartOfSpeech::Gender
Returns

#gender=

def gender=(value) -> ::Google::Cloud::Language::V1beta2::PartOfSpeech::Gender
Parameter
Returns

#mood

def mood() -> ::Google::Cloud::Language::V1beta2::PartOfSpeech::Mood
Returns

#mood=

def mood=(value) -> ::Google::Cloud::Language::V1beta2::PartOfSpeech::Mood
Parameter
Returns

#number

def number() -> ::Google::Cloud::Language::V1beta2::PartOfSpeech::Number
Returns

#number=

def number=(value) -> ::Google::Cloud::Language::V1beta2::PartOfSpeech::Number
Parameter
Returns

#person

def person() -> ::Google::Cloud::Language::V1beta2::PartOfSpeech::Person
Returns

#person=

def person=(value) -> ::Google::Cloud::Language::V1beta2::PartOfSpeech::Person
Parameter
Returns

#proper

def proper() -> ::Google::Cloud::Language::V1beta2::PartOfSpeech::Proper
Returns

#proper=

def proper=(value) -> ::Google::Cloud::Language::V1beta2::PartOfSpeech::Proper
Parameter
Returns

#reciprocity

def reciprocity() -> ::Google::Cloud::Language::V1beta2::PartOfSpeech::Reciprocity
Returns

#reciprocity=

def reciprocity=(value) -> ::Google::Cloud::Language::V1beta2::PartOfSpeech::Reciprocity
Parameter
Returns

#tag

def tag() -> ::Google::Cloud::Language::V1beta2::PartOfSpeech::Tag
Returns

#tag=

def tag=(value) -> ::Google::Cloud::Language::V1beta2::PartOfSpeech::Tag
Parameter
Returns

#tense

def tense() -> ::Google::Cloud::Language::V1beta2::PartOfSpeech::Tense
Returns

#tense=

def tense=(value) -> ::Google::Cloud::Language::V1beta2::PartOfSpeech::Tense
Parameter
Returns

#voice

def voice() -> ::Google::Cloud::Language::V1beta2::PartOfSpeech::Voice
Returns

#voice=

def voice=(value) -> ::Google::Cloud::Language::V1beta2::PartOfSpeech::Voice
Parameter
Returns