Skip to main content
Version: 1.0

Parser Dependency

Dependency Object

Dependence objects combine the results from the dependency parser with the understanding from the NLU api.

KEYTYPEDESCRIPTIONCONSTRAINTS
depstringsee list of dependency tags-
indexintbase index of the token, links the APIs togetherindex >= 0
lemmastring--
meaninglist of Category Objects--
refintindex of the parent dependence-1 for root, else >= 0
tagstringsee Tags-
valueValue Object--
sourcestringsource
[
{
"dep": "nsubj",
"index": 0,
"lemma": "je",
"len": 1,
"meaning": [
{
"sub": "Pronom",
"super": null
}
],
"ref": 1,
"source": "je",
"tag": "CLS",
"value": "S-1"
},
{
"dep": "root",
"index": 1,
"lemma": "promener",
"len": 1,
"meaning": [
{
"sub": "action_walk",
"super": "ACTION"
},
{
"sub": "action_move",
"super": "ACTION"
}
],
"ref": -1,
"source": "promene",
"tag": "V",
"value": null
},
{
"dep": "det",
"index": 2,
"lemma": "mon",
"len": 1,
"meaning": [],
"ref": 3,
"source": "mon",
"tag": "D",
"value": null
},
{
"dep": "obj",
"index": 3,
"lemma": "chien",
"len": 1,
"meaning": [
{
"sub": "dog",
"super": "ANIMAL"
}
],
"ref": 1,
"source": "chien",
"tag": "N",
"value": null
}
]

register-sticky