Reference documentation and code samples for the Cloud Natural Language V1 Client class 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
Generated from protobuf message google.cloud.language.v1.PartOfSpeech
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ tag
int
The part of speech tag.
↳ aspect
int
The grammatical aspect.
↳ case
int
The grammatical case.
↳ form
int
The grammatical form.
↳ gender
int
The grammatical gender.
↳ mood
int
The grammatical mood.
↳ number
int
The grammatical number.
↳ person
int
The grammatical person.
↳ proper
int
The grammatical properness.
↳ reciprocity
int
The grammatical reciprocity.
↳ tense
int
The grammatical tense.
↳ voice
int
The grammatical voice.
getTag
The part of speech tag.
int
setTag
The part of speech tag.
var
int
$this
getAspect
The grammatical aspect.
int
setAspect
The grammatical aspect.
var
int
$this
getCase
The grammatical case.
int
setCase
The grammatical case.
var
int
$this
getForm
The grammatical form.
int
setForm
The grammatical form.
var
int
$this
getGender
The grammatical gender.
int
setGender
The grammatical gender.
var
int
$this
getMood
The grammatical mood.
int
setMood
The grammatical mood.
var
int
$this
getNumber
The grammatical number.
int
setNumber
The grammatical number.
var
int
$this
getPerson
The grammatical person.
int
setPerson
The grammatical person.
var
int
$this
getProper
The grammatical properness.
int
setProper
The grammatical properness.
var
int
$this
getReciprocity
The grammatical reciprocity.
int
setReciprocity
The grammatical reciprocity.
var
int
$this
getTense
The grammatical tense.
int
setTense
The grammatical tense.
var
int
$this
getVoice
The grammatical voice.
int
setVoice
The grammatical voice.
var
int
$this