PartOfSpeech
class PartOfSpeech extends Message
Represents part of speech information for a token.
Protobuf type Google\Cloud\Language\V1beta2\PartOfSpeech
Methods
No description
The part of speech tag.
The part of speech tag.
The grammatical aspect.
The grammatical aspect.
The grammatical case.
The grammatical case.
The grammatical form.
The grammatical form.
The grammatical gender.
The grammatical gender.
The grammatical mood.
The grammatical mood.
The grammatical number.
The grammatical number.
The grammatical person.
The grammatical person.
The grammatical properness.
The grammatical properness.
The grammatical reciprocity.
The grammatical reciprocity.
The grammatical tense.
The grammatical tense.
The grammatical voice.
The grammatical voice.
Details
at line 91
__construct()
at line 102
int
getTag()
The part of speech tag.
Generated from protobuf field .google.cloud.language.v1beta2.PartOfSpeech.Tag tag = 1;
at line 113
setTag(int $var)
The part of speech tag.
Generated from protobuf field .google.cloud.language.v1beta2.PartOfSpeech.Tag tag = 1;
at line 125
int
getAspect()
The grammatical aspect.
Generated from protobuf field .google.cloud.language.v1beta2.PartOfSpeech.Aspect aspect = 2;
at line 136
setAspect(int $var)
The grammatical aspect.
Generated from protobuf field .google.cloud.language.v1beta2.PartOfSpeech.Aspect aspect = 2;
at line 148
int
getCase()
The grammatical case.
Generated from protobuf field .google.cloud.language.v1beta2.PartOfSpeech.Case case = 3;
at line 159
setCase(int $var)
The grammatical case.
Generated from protobuf field .google.cloud.language.v1beta2.PartOfSpeech.Case case = 3;
at line 171
int
getForm()
The grammatical form.
Generated from protobuf field .google.cloud.language.v1beta2.PartOfSpeech.Form form = 4;
at line 182
setForm(int $var)
The grammatical form.
Generated from protobuf field .google.cloud.language.v1beta2.PartOfSpeech.Form form = 4;
at line 194
int
getGender()
The grammatical gender.
Generated from protobuf field .google.cloud.language.v1beta2.PartOfSpeech.Gender gender = 5;
at line 205
setGender(int $var)
The grammatical gender.
Generated from protobuf field .google.cloud.language.v1beta2.PartOfSpeech.Gender gender = 5;
at line 217
int
getMood()
The grammatical mood.
Generated from protobuf field .google.cloud.language.v1beta2.PartOfSpeech.Mood mood = 6;
at line 228
setMood(int $var)
The grammatical mood.
Generated from protobuf field .google.cloud.language.v1beta2.PartOfSpeech.Mood mood = 6;
at line 240
int
getNumber()
The grammatical number.
Generated from protobuf field .google.cloud.language.v1beta2.PartOfSpeech.Number number = 7;
at line 251
setNumber(int $var)
The grammatical number.
Generated from protobuf field .google.cloud.language.v1beta2.PartOfSpeech.Number number = 7;
at line 263
int
getPerson()
The grammatical person.
Generated from protobuf field .google.cloud.language.v1beta2.PartOfSpeech.Person person = 8;
at line 274
setPerson(int $var)
The grammatical person.
Generated from protobuf field .google.cloud.language.v1beta2.PartOfSpeech.Person person = 8;
at line 286
int
getProper()
The grammatical properness.
Generated from protobuf field .google.cloud.language.v1beta2.PartOfSpeech.Proper proper = 9;
at line 297
setProper(int $var)
The grammatical properness.
Generated from protobuf field .google.cloud.language.v1beta2.PartOfSpeech.Proper proper = 9;
at line 309
int
getReciprocity()
The grammatical reciprocity.
Generated from protobuf field .google.cloud.language.v1beta2.PartOfSpeech.Reciprocity reciprocity = 10;
at line 320
setReciprocity(int $var)
The grammatical reciprocity.
Generated from protobuf field .google.cloud.language.v1beta2.PartOfSpeech.Reciprocity reciprocity = 10;
at line 332
int
getTense()
The grammatical tense.
Generated from protobuf field .google.cloud.language.v1beta2.PartOfSpeech.Tense tense = 11;
at line 343
setTense(int $var)
The grammatical tense.
Generated from protobuf field .google.cloud.language.v1beta2.PartOfSpeech.Tense tense = 11;
at line 355
int
getVoice()
The grammatical voice.
Generated from protobuf field .google.cloud.language.v1beta2.PartOfSpeech.Voice voice = 12;
at line 366
setVoice(int $var)
The grammatical voice.
Generated from protobuf field .google.cloud.language.v1beta2.PartOfSpeech.Voice voice = 12;