Natural Language V1 API - Class Google::Cloud::Language::V1::PartOfSpeech (v0.10.2)

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

Represents part of speech information for a token. Parts of speech are as defined in http://www.lrec-conf.org/proceedings/lrec2012/pdf/274_Paper.pdf

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#aspect

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

#aspect=

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

#case

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

#case=

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

#form

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

#form=

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

#gender

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

#gender=

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

#mood

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

#mood=

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

#number

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

#number=

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

#person

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

#person=

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

#proper

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

#proper=

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

#reciprocity

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

#reciprocity=

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

#tag

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

#tag=

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

#tense

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

#tense=

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

#voice

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

#voice=

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