Package com.google.cloud.language.v1
Enum DependencyEdge.Label
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<DependencyEdge.Label>
- Enclosing class:
- DependencyEdge
public static enum DependencyEdge.Label
extends Enum<DependencyEdge.Label>
implements com.google.protobuf.ProtocolMessageEnum
The parse label enum for the token.Protobuf enum
google.cloud.language.v1.DependencyEdge.Label-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAbbreviation modifierAdjectival complementAdverbial clause modifierAdverbial modifierAdverbial phrase modifierAdjectival modifier of an NPAppositional modifier of an NPAspect markerAttribute dependent of a copular verbAuxiliary (non-main) verbCausative auxiliaryPassive auxiliaryHelper auxiliaryCoordinating conjunctionClausal complement of a verb or adjectiveConjunctCopulaClausal subjectClausal passive subjectDependency (unable to determine)DeterminerDiscourseDislocated relation (for fronted/topicalized elements)Direct objectRentaishi (Prenominal modifier)ExpletiveForeign wordsGenitive modifierGenitive objectGoes with (part of a word in a text not well edited)Infinitival modifierIndirect objectKeywordList for chains of comparable itemsMarker (word introducing a subordinate clause)MeasureMulti-word expressionMulti-word verbal expressionNominal complement of a nounNegation modifierNoun compound modifierNominalized clauseNominalized clausal subjectNominalized clausal passiveNoun phrase used as an adverbial modifierNominal subjectPassive nominal subjectNumeric modifier of a nounElement of compound numberCompound of numeric modifierPunctuation markParataxis relationParticipial modifierThe complement of a preposition is a clauseObject of a prepositionPossession modifierPostverbal negative particlePredicate complementPreconjuntPredeterminerPrefixPrepositional modifierThe relationship between a verb and verbal morphemeParticleAssociative or possessive markerQuantifier phrase modifierRelative clause modifierComplementizer in relative clauseEllipsis without a preceding predicateReferentRemnantReparandumRootSuffix specifying a unit of numberSuffixName suffixName titleTemporal modifierTopic markerUnknownClause headed by an infinite form of the verb that modifies a nounVocativeOpen clausal complement -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAbbreviation modifierstatic final intAdjectival complementstatic final intAdverbial clause modifierstatic final intAdverbial modifierstatic final intAdverbial phrase modifierstatic final intAdjectival modifier of an NPstatic final intAppositional modifier of an NPstatic final intAspect markerstatic final intAttribute dependent of a copular verbstatic final intAuxiliary (non-main) verbstatic final intCausative auxiliarystatic final intPassive auxiliarystatic final intHelper auxiliarystatic final intCoordinating conjunctionstatic final intClausal complement of a verb or adjectivestatic final intConjunctstatic final intCopulastatic final intClausal subjectstatic final intClausal passive subjectstatic final intDependency (unable to determine)static final intDeterminerstatic final intDiscoursestatic final intDislocated relation (for fronted/topicalized elements)static final intDirect objectstatic final intRentaishi (Prenominal modifier)static final intExpletivestatic final intForeign wordsstatic final intGenitive modifierstatic final intGenitive objectstatic final intGoes with (part of a word in a text not well edited)static final intInfinitival modifierstatic final intIndirect objectstatic final intKeywordstatic final intList for chains of comparable itemsstatic final intMarker (word introducing a subordinate clause)static final intMeasurestatic final intMulti-word expressionstatic final intMulti-word verbal expressionstatic final intNominal complement of a nounstatic final intNegation modifierstatic final intNoun compound modifierstatic final intNominalized clausestatic final intNominalized clausal subjectstatic final intNominalized clausal passivestatic final intNoun phrase used as an adverbial modifierstatic final intNominal subjectstatic final intPassive nominal subjectstatic final intNumeric modifier of a nounstatic final intElement of compound numberstatic final intCompound of numeric modifierstatic final intPunctuation markstatic final intParataxis relationstatic final intParticipial modifierstatic final intThe complement of a preposition is a clausestatic final intObject of a prepositionstatic final intPossession modifierstatic final intPostverbal negative particlestatic final intPredicate complementstatic final intPreconjuntstatic final intPredeterminerstatic final intPrefixstatic final intPrepositional modifierstatic final intThe relationship between a verb and verbal morphemestatic final intParticlestatic final intAssociative or possessive markerstatic final intQuantifier phrase modifierstatic final intRelative clause modifierstatic final intComplementizer in relative clausestatic final intEllipsis without a preceding predicatestatic final intReferentstatic final intRemnantstatic final intReparandumstatic final intRootstatic final intSuffix specifying a unit of numberstatic final intSuffixstatic final intName suffixstatic final intName titlestatic final intTemporal modifierstatic final intTopic markerstatic final intUnknownstatic final intClause headed by an infinite form of the verb that modifies a nounstatic final intVocativestatic final intOpen clausal complement -
Method Summary
Modifier and TypeMethodDescriptionstatic DependencyEdge.LabelforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<DependencyEdge.Label>static DependencyEdge.LabelvalueOf(int value) Deprecated.static DependencyEdge.LabelvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static DependencyEdge.LabelReturns the enum constant of this type with the specified name.static DependencyEdge.Label[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN
Unknown
UNKNOWN = 0; -
ABBREV
Abbreviation modifier
ABBREV = 1; -
ACOMP
Adjectival complement
ACOMP = 2; -
ADVCL
Adverbial clause modifier
ADVCL = 3; -
ADVMOD
Adverbial modifier
ADVMOD = 4; -
AMOD
Adjectival modifier of an NP
AMOD = 5; -
APPOS
Appositional modifier of an NP
APPOS = 6; -
ATTR
Attribute dependent of a copular verb
ATTR = 7; -
AUX
Auxiliary (non-main) verb
AUX = 8; -
AUXPASS
Passive auxiliary
AUXPASS = 9; -
CC
Coordinating conjunction
CC = 10; -
CCOMP
Clausal complement of a verb or adjective
CCOMP = 11; -
CONJ
Conjunct
CONJ = 12; -
CSUBJ
Clausal subject
CSUBJ = 13; -
CSUBJPASS
Clausal passive subject
CSUBJPASS = 14; -
DEP
Dependency (unable to determine)
DEP = 15; -
DET
Determiner
DET = 16; -
DISCOURSE
Discourse
DISCOURSE = 17; -
DOBJ
Direct object
DOBJ = 18; -
EXPL
Expletive
EXPL = 19; -
GOESWITH
Goes with (part of a word in a text not well edited)
GOESWITH = 20; -
IOBJ
Indirect object
IOBJ = 21; -
MARK
Marker (word introducing a subordinate clause)
MARK = 22; -
MWE
Multi-word expression
MWE = 23; -
MWV
Multi-word verbal expression
MWV = 24; -
NEG
Negation modifier
NEG = 25; -
NN
Noun compound modifier
NN = 26; -
NPADVMOD
Noun phrase used as an adverbial modifier
NPADVMOD = 27; -
NSUBJ
Nominal subject
NSUBJ = 28; -
NSUBJPASS
Passive nominal subject
NSUBJPASS = 29; -
NUM
Numeric modifier of a noun
NUM = 30; -
NUMBER
Element of compound number
NUMBER = 31; -
P
Punctuation mark
P = 32; -
PARATAXIS
Parataxis relation
PARATAXIS = 33; -
PARTMOD
Participial modifier
PARTMOD = 34; -
PCOMP
The complement of a preposition is a clause
PCOMP = 35; -
POBJ
Object of a preposition
POBJ = 36; -
POSS
Possession modifier
POSS = 37; -
POSTNEG
Postverbal negative particle
POSTNEG = 38; -
PRECOMP
Predicate complement
PRECOMP = 39; -
PRECONJ
Preconjunt
PRECONJ = 40; -
PREDET
Predeterminer
PREDET = 41; -
PREF
Prefix
PREF = 42; -
PREP
Prepositional modifier
PREP = 43; -
PRONL
The relationship between a verb and verbal morpheme
PRONL = 44; -
PRT
Particle
PRT = 45; -
PS
Associative or possessive marker
PS = 46; -
QUANTMOD
Quantifier phrase modifier
QUANTMOD = 47; -
RCMOD
Relative clause modifier
RCMOD = 48; -
RCMODREL
Complementizer in relative clause
RCMODREL = 49; -
RDROP
Ellipsis without a preceding predicate
RDROP = 50; -
REF
Referent
REF = 51; -
REMNANT
Remnant
REMNANT = 52; -
REPARANDUM
Reparandum
REPARANDUM = 53; -
ROOT
Root
ROOT = 54; -
SNUM
Suffix specifying a unit of number
SNUM = 55; -
SUFF
Suffix
SUFF = 56; -
TMOD
Temporal modifier
TMOD = 57; -
TOPIC
Topic marker
TOPIC = 58; -
VMOD
Clause headed by an infinite form of the verb that modifies a noun
VMOD = 59; -
VOCATIVE
Vocative
VOCATIVE = 60; -
XCOMP
Open clausal complement
XCOMP = 61; -
SUFFIX
Name suffix
SUFFIX = 62; -
TITLE
Name title
TITLE = 63; -
ADVPHMOD
Adverbial phrase modifier
ADVPHMOD = 64; -
AUXCAUS
Causative auxiliary
AUXCAUS = 65; -
AUXVV
Helper auxiliary
AUXVV = 66; -
DTMOD
Rentaishi (Prenominal modifier)
DTMOD = 67; -
FOREIGN
Foreign words
FOREIGN = 68; -
KW
Keyword
KW = 69; -
LIST
List for chains of comparable items
LIST = 70; -
NOMC
Nominalized clause
NOMC = 71; -
NOMCSUBJ
Nominalized clausal subject
NOMCSUBJ = 72; -
NOMCSUBJPASS
Nominalized clausal passive
NOMCSUBJPASS = 73; -
NUMC
Compound of numeric modifier
NUMC = 74; -
COP
Copula
COP = 75; -
DISLOCATED
Dislocated relation (for fronted/topicalized elements)
DISLOCATED = 76; -
ASP
Aspect marker
ASP = 77; -
GMOD
Genitive modifier
GMOD = 78; -
GOBJ
Genitive object
GOBJ = 79; -
INFMOD
Infinitival modifier
INFMOD = 80; -
MES
Measure
MES = 81; -
NCOMP
Nominal complement of a noun
NCOMP = 82; -
UNRECOGNIZED
-
-
Field Details
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUEUnknown
UNKNOWN = 0;- See Also:
-
ABBREV_VALUE
public static final int ABBREV_VALUEAbbreviation modifier
ABBREV = 1;- See Also:
-
ACOMP_VALUE
public static final int ACOMP_VALUEAdjectival complement
ACOMP = 2;- See Also:
-
ADVCL_VALUE
public static final int ADVCL_VALUEAdverbial clause modifier
ADVCL = 3;- See Also:
-
ADVMOD_VALUE
public static final int ADVMOD_VALUEAdverbial modifier
ADVMOD = 4;- See Also:
-
AMOD_VALUE
public static final int AMOD_VALUEAdjectival modifier of an NP
AMOD = 5;- See Also:
-
APPOS_VALUE
public static final int APPOS_VALUEAppositional modifier of an NP
APPOS = 6;- See Also:
-
ATTR_VALUE
public static final int ATTR_VALUEAttribute dependent of a copular verb
ATTR = 7;- See Also:
-
AUX_VALUE
public static final int AUX_VALUEAuxiliary (non-main) verb
AUX = 8;- See Also:
-
AUXPASS_VALUE
public static final int AUXPASS_VALUEPassive auxiliary
AUXPASS = 9;- See Also:
-
CC_VALUE
public static final int CC_VALUECoordinating conjunction
CC = 10;- See Also:
-
CCOMP_VALUE
public static final int CCOMP_VALUEClausal complement of a verb or adjective
CCOMP = 11;- See Also:
-
CONJ_VALUE
public static final int CONJ_VALUEConjunct
CONJ = 12;- See Also:
-
CSUBJ_VALUE
public static final int CSUBJ_VALUEClausal subject
CSUBJ = 13;- See Also:
-
CSUBJPASS_VALUE
public static final int CSUBJPASS_VALUEClausal passive subject
CSUBJPASS = 14;- See Also:
-
DEP_VALUE
public static final int DEP_VALUEDependency (unable to determine)
DEP = 15;- See Also:
-
DET_VALUE
public static final int DET_VALUEDeterminer
DET = 16;- See Also:
-
DISCOURSE_VALUE
public static final int DISCOURSE_VALUEDiscourse
DISCOURSE = 17;- See Also:
-
DOBJ_VALUE
public static final int DOBJ_VALUEDirect object
DOBJ = 18;- See Also:
-
EXPL_VALUE
public static final int EXPL_VALUEExpletive
EXPL = 19;- See Also:
-
GOESWITH_VALUE
public static final int GOESWITH_VALUEGoes with (part of a word in a text not well edited)
GOESWITH = 20;- See Also:
-
IOBJ_VALUE
public static final int IOBJ_VALUEIndirect object
IOBJ = 21;- See Also:
-
MARK_VALUE
public static final int MARK_VALUEMarker (word introducing a subordinate clause)
MARK = 22;- See Also:
-
MWE_VALUE
public static final int MWE_VALUEMulti-word expression
MWE = 23;- See Also:
-
MWV_VALUE
public static final int MWV_VALUEMulti-word verbal expression
MWV = 24;- See Also:
-
NEG_VALUE
public static final int NEG_VALUENegation modifier
NEG = 25;- See Also:
-
NN_VALUE
public static final int NN_VALUENoun compound modifier
NN = 26;- See Also:
-
NPADVMOD_VALUE
public static final int NPADVMOD_VALUENoun phrase used as an adverbial modifier
NPADVMOD = 27;- See Also:
-
NSUBJ_VALUE
public static final int NSUBJ_VALUENominal subject
NSUBJ = 28;- See Also:
-
NSUBJPASS_VALUE
public static final int NSUBJPASS_VALUEPassive nominal subject
NSUBJPASS = 29;- See Also:
-
NUM_VALUE
public static final int NUM_VALUENumeric modifier of a noun
NUM = 30;- See Also:
-
NUMBER_VALUE
public static final int NUMBER_VALUEElement of compound number
NUMBER = 31;- See Also:
-
P_VALUE
public static final int P_VALUEPunctuation mark
P = 32;- See Also:
-
PARATAXIS_VALUE
public static final int PARATAXIS_VALUEParataxis relation
PARATAXIS = 33;- See Also:
-
PARTMOD_VALUE
public static final int PARTMOD_VALUEParticipial modifier
PARTMOD = 34;- See Also:
-
PCOMP_VALUE
public static final int PCOMP_VALUEThe complement of a preposition is a clause
PCOMP = 35;- See Also:
-
POBJ_VALUE
public static final int POBJ_VALUEObject of a preposition
POBJ = 36;- See Also:
-
POSS_VALUE
public static final int POSS_VALUEPossession modifier
POSS = 37;- See Also:
-
POSTNEG_VALUE
public static final int POSTNEG_VALUEPostverbal negative particle
POSTNEG = 38;- See Also:
-
PRECOMP_VALUE
public static final int PRECOMP_VALUEPredicate complement
PRECOMP = 39;- See Also:
-
PRECONJ_VALUE
public static final int PRECONJ_VALUEPreconjunt
PRECONJ = 40;- See Also:
-
PREDET_VALUE
public static final int PREDET_VALUEPredeterminer
PREDET = 41;- See Also:
-
PREF_VALUE
public static final int PREF_VALUEPrefix
PREF = 42;- See Also:
-
PREP_VALUE
public static final int PREP_VALUEPrepositional modifier
PREP = 43;- See Also:
-
PRONL_VALUE
public static final int PRONL_VALUEThe relationship between a verb and verbal morpheme
PRONL = 44;- See Also:
-
PRT_VALUE
public static final int PRT_VALUEParticle
PRT = 45;- See Also:
-
PS_VALUE
public static final int PS_VALUEAssociative or possessive marker
PS = 46;- See Also:
-
QUANTMOD_VALUE
public static final int QUANTMOD_VALUEQuantifier phrase modifier
QUANTMOD = 47;- See Also:
-
RCMOD_VALUE
public static final int RCMOD_VALUERelative clause modifier
RCMOD = 48;- See Also:
-
RCMODREL_VALUE
public static final int RCMODREL_VALUEComplementizer in relative clause
RCMODREL = 49;- See Also:
-
RDROP_VALUE
public static final int RDROP_VALUEEllipsis without a preceding predicate
RDROP = 50;- See Also:
-
REF_VALUE
public static final int REF_VALUEReferent
REF = 51;- See Also:
-
REMNANT_VALUE
public static final int REMNANT_VALUERemnant
REMNANT = 52;- See Also:
-
REPARANDUM_VALUE
public static final int REPARANDUM_VALUEReparandum
REPARANDUM = 53;- See Also:
-
ROOT_VALUE
public static final int ROOT_VALUERoot
ROOT = 54;- See Also:
-
SNUM_VALUE
public static final int SNUM_VALUESuffix specifying a unit of number
SNUM = 55;- See Also:
-
SUFF_VALUE
public static final int SUFF_VALUESuffix
SUFF = 56;- See Also:
-
TMOD_VALUE
public static final int TMOD_VALUETemporal modifier
TMOD = 57;- See Also:
-
TOPIC_VALUE
public static final int TOPIC_VALUETopic marker
TOPIC = 58;- See Also:
-
VMOD_VALUE
public static final int VMOD_VALUEClause headed by an infinite form of the verb that modifies a noun
VMOD = 59;- See Also:
-
VOCATIVE_VALUE
public static final int VOCATIVE_VALUEVocative
VOCATIVE = 60;- See Also:
-
XCOMP_VALUE
public static final int XCOMP_VALUEOpen clausal complement
XCOMP = 61;- See Also:
-
SUFFIX_VALUE
public static final int SUFFIX_VALUEName suffix
SUFFIX = 62;- See Also:
-
TITLE_VALUE
public static final int TITLE_VALUEName title
TITLE = 63;- See Also:
-
ADVPHMOD_VALUE
public static final int ADVPHMOD_VALUEAdverbial phrase modifier
ADVPHMOD = 64;- See Also:
-
AUXCAUS_VALUE
public static final int AUXCAUS_VALUECausative auxiliary
AUXCAUS = 65;- See Also:
-
AUXVV_VALUE
public static final int AUXVV_VALUEHelper auxiliary
AUXVV = 66;- See Also:
-
DTMOD_VALUE
public static final int DTMOD_VALUERentaishi (Prenominal modifier)
DTMOD = 67;- See Also:
-
FOREIGN_VALUE
public static final int FOREIGN_VALUEForeign words
FOREIGN = 68;- See Also:
-
KW_VALUE
public static final int KW_VALUEKeyword
KW = 69;- See Also:
-
LIST_VALUE
public static final int LIST_VALUEList for chains of comparable items
LIST = 70;- See Also:
-
NOMC_VALUE
public static final int NOMC_VALUENominalized clause
NOMC = 71;- See Also:
-
NOMCSUBJ_VALUE
public static final int NOMCSUBJ_VALUENominalized clausal subject
NOMCSUBJ = 72;- See Also:
-
NOMCSUBJPASS_VALUE
public static final int NOMCSUBJPASS_VALUENominalized clausal passive
NOMCSUBJPASS = 73;- See Also:
-
NUMC_VALUE
public static final int NUMC_VALUECompound of numeric modifier
NUMC = 74;- See Also:
-
COP_VALUE
public static final int COP_VALUECopula
COP = 75;- See Also:
-
DISLOCATED_VALUE
public static final int DISLOCATED_VALUEDislocated relation (for fronted/topicalized elements)
DISLOCATED = 76;- See Also:
-
ASP_VALUE
public static final int ASP_VALUEAspect marker
ASP = 77;- See Also:
-
GMOD_VALUE
public static final int GMOD_VALUEGenitive modifier
GMOD = 78;- See Also:
-
GOBJ_VALUE
public static final int GOBJ_VALUEGenitive object
GOBJ = 79;- See Also:
-
INFMOD_VALUE
public static final int INFMOD_VALUEInfinitival modifier
INFMOD = 80;- See Also:
-
MES_VALUE
public static final int MES_VALUEMeasure
MES = 81;- See Also:
-
NCOMP_VALUE
public static final int NCOMP_VALUENominal complement of a noun
NCOMP = 82;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static DependencyEdge.Label valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-