Open denysvitali opened 5 years ago
Given the following structure layer1.zip
UAM Corpus Tools generates this:
Our tool generates the following JSON:
{
"version": 1,
"data": {
"root": {
"id": "clauses",
"children": [
{
"id": "CLAUSES-TYPE",
"children": [
{
"id": "material"
},
{
"id": "mental"
},
{
"id": "verbal"
},
{
"id": "relational"
},
{
"id": "existential"
}
]
},
{
"id": "CLAUSES-TYPE2",
"children": [
{
"id": "nonfinite-clause",
"children": [
{
"id": "NONFINITE-CLAUSE-TYPE",
"children": [
{
"id": "gerund-clause"
},
{
"id": "participle-clause"
},
{
"id": "infinitive-clause"
}
]
}
]
},
{
"id": "finite-clause",
"children": [
{
"id": "FINITE-CLAUSE-TYPE",
"children": [
{
"id": "modal"
},
{
"id": "nonmodal"
}
]
}
]
}
]
},
{
"id": "CLAUSES-TYPE3",
"children": [
{
"id": "passive-clause"
},
{
"id": "active-clause"
}
]
}
]
}
}
}
e3be205
71a5c83:
a245878:
It should be possible to view the document structure in a tree on the left side of the page, so that the user can choose some parts of the document.