Javascript library for converting conll sentence to json format and vice-versa. The code include some test and is written in TS !
Linguist, NLP researcher/engineer and computer scientist who want to show dependency tree in the browser. It is currently being used in :
- Arborator-Grew : A web-app for online collaborative dependency parsing.
- Reactive-Dep-Tree : An html plugin made with Vue.js for showing interactive dependency tree in the browser
- Surface Syntactic SUD : A guideline on Surface Syntactic Universal Dependencies (SUD). Just check the website and try to interact with the dependency trees to have a live demo :D.
- Change most of variables name to better suit with conllup-py porting
- modify _featuresConllToJson() so it order features in the order specified by UD (thank you @bguil):
In sorting, uppercase letters are considered identical to their lowercase counterparts.
- add : smart behavior for
replaceArrayOfTokens()
when a token split is detected. New tokens get their feats replicated from original splitted token, and preserve incoming governors relations
- fix : when tokens are replaced/deleted with
replaceArrayOfTokens()
method, the tokens pointing to these tokens only got the HEAD deleted but not the DEPREL. It now delet both of them so the outputted conllu is valid
add compatibility for node import (from 3rd party codebase)
(Still in development)
- Refactor the SentenceJson type to move the Group tokens in their own property (SentenceJson.GroupsToken)
- Add support of UDPipe SpacesAfter (=//n ; //t ; //v, //f, //r, /s) MISC logic
- add better error information when importing conll with less or more than 10 columns
- add public
constructTextFromTreeJson
method (that take into account the SpaceAfter=No misc)
- Fix aggressive normalization of hyphens in FORM and LEMMA
- Support for group token
1-2 it's _ _ _ _ _ _ _ _
1 it _ _ _ _ _ _ _ _
2 's _ _ _ _ _ _ _ _