public interface DependencyEdgeOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
int |
getHeadTokenIndex()
Represents the head of this token in the dependency tree.
|
DependencyEdge.Label |
getLabel()
The parse label for the token.
|
int |
getLabelValue()
The parse label for the token.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
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;
int getLabelValue()
The parse label for the token.
.google.cloud.language.v1beta2.DependencyEdge.Label label = 2;
DependencyEdge.Label getLabel()
The parse label for the token.
.google.cloud.language.v1beta2.DependencyEdge.Label label = 2;
Copyright © 2022 Google LLC. All rights reserved.