kirianguiller / reactive-dep-tree Goto Github PK
View Code? Open in Web Editor NEWInteractive dependency trees in the browser !
License: GNU Affero General Public License v3.0
Interactive dependency trees in the browser !
License: GNU Affero General Public License v3.0
The last example on comp page in SUD guidelines is not correctly displayed.
It seems that the CoNLL code is not well interpreted: with "Show conll", the multiword token "au" has the ID 8
instead of 8-9
in the original data.
Is it possible to use some metadata to highlight a specific tokens of a specific relation (with another color, bold text…)
If not, this is a feature request!
On page https://surfacesyntacticud.github.io/guidelines/u/particular_phenomena/lvc/, a sentence is not well-displayed.
This seems to be links to an encoding in the conll code: line with token 5 contains "-" instead of "_".
I do not correct the CoNLL file now, such that you can see the problem. Maybe the code of reactive-dep-tree should handle this kind of errors
For the code below, in a Bootstrap table cell, the tokens overlap. The CONLL is from the PROIEL project. Zooming in or out in the browser doesn't seem to make any difference. Is there a way to either manually or automatically cause the canvas to be larger or the text to be smaller?
<script
src="https://unpkg.com/reactive-dep-tree/dist/reactive-dep-tree.umd.js"
async
deferred
></script>
[…]
<reactive-dep-tree
interactive="true"
conll="1 cum cum G G- INFLn 17 adv _ _
2 ergo ergo D Df INFLn 17 aux _ _
3 natus nascor V V- NUMBs|TENSr|MOODp|VOICp|GENDm|CASEn 1 pred _ _
4 esset sum V V- PERS3|NUMBs|TENSi|MOODs|VOICa 3 aux _ _
5 Iesus Iesus N Ne NUMBs|GENDm|CASEn 3 sub _ _
6 in in R R- INFLn 3 adv _ _
7 Bethleem Bethleem N Ne INFLn 6 obl _ _
8 Iudaeae Iudaea N Ne NUMBs|GENDf|CASEg 7 atr _ _
9 in in R R- INFLn 17 adv _ _
10 diebus dies N Nb NUMBp|GENDf|CASEb 9 obl _ _
11 Herodis Herodes N Ne NUMBs|GENDm|CASEg 10 atr _ _
12 regis rex N Nb NUMBs|GENDm|CASEg 11 apos _ _
13 ecce ecce I I- INFLn 17 aux _ _
14 magi magus N Nb NUMBp|GENDm|CASEn 17 sub _ _
15 ab ab R R- INFLn 17 obl _ _
16 oriente oriens N Nb NUMBs|GENDm|CASEb 15 obl _ _
17 venerunt venio V V- PERS3|NUMBp|TENSr|MOODi|VOICa 0 pred _ _
18 Hierosolymam Hierosolyma N Ne NUMBs|GENDf|CASEa 17 obl _ _
19 dicentes dico V V- NUMBp|TENSp|MOODp|VOICa|GENDm|CASEn 17 xadv _ _
"></reactive-dep-tree>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.