Send feedback
Interface DependencyEdgeOrBuilder (2.19.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latest keyboard_arrow_down
public interface DependencyEdgeOrBuilder extends MessageOrBuilder
Methods
getHeadTokenIndex()
public abstract int getHeadTokenIndex()
Represents the head of this token in the dependency tree.
This is the index of the token which has an arc going to this token.
The index is the position of the token in the array of tokens returned
by the API method. If this token is a root token, then the
head_token_index
is its own index.
int32 head_token_index = 1;
Returns Type Description int
The headTokenIndex.
getLabel()
public abstract DependencyEdge.Label getLabel()
The parse label for the token.
.google.cloud.language.v1beta2.DependencyEdge.Label label = 2;
getLabelValue()
public abstract int getLabelValue()
The parse label for the token.
.google.cloud.language.v1beta2.DependencyEdge.Label label = 2;
Returns Type Description int
The enum numeric value on the wire for label.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-05-31 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?