Send feedback
Google Cloud Natural Language v1 API - Class DependencyEdge (3.6.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.6.0 keyboard_arrow_down
public sealed class DependencyEdge : IMessage<DependencyEdge>, IEquatable<DependencyEdge>, IDeepCloneable<DependencyEdge>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Natural Language v1 API class DependencyEdge.
Represents dependency parse tree information for a token. (For more
information on dependency labels, see
http://www.aclweb.org/anthology/P13-2017
Inheritance
object >
DependencyEdge
Namespace
Google.Cloud.Language.V1
Assembly
Google.Cloud.Language.V1.dll
Constructors
DependencyEdge()
DependencyEdge(DependencyEdge)
public DependencyEdge(DependencyEdge other)
Properties
HeadTokenIndex
public int HeadTokenIndex { get; set; }
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.
Property Value
Type
Description
int
Label
public DependencyEdge.Types.Label Label { get; set; }
The parse label for the token.
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 2024-10-01 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?
{"lastModified": "Last updated 2024-10-01 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-01 UTC."]]