Orange-OpenSource / conllueditor

ConllEditor is a tool to edit dependency syntax trees in CoNLL-U format.
BSD 3-Clause "New" or "Revised" License
53 stars 17 forks source link

Features smart dialog? #42

Open AngledLuffa opened 1 week ago

AngledLuffa commented 1 week ago

Am wondering - in the table view, the features editing appears to be done by manually adjusting the features. Is there a possibility of an interactive dialog where the features are separated into their different items and candidate values are proposed? I'm thinking somewhere where the raw features for a verb start off like this:

Gend=Masc|Number=Sg|Tense=Present

and clicking on it would give a sequence of radio buttons:

Gend =  X  Masc   O Fem
Number =    X Sg    O Plur
Tense = O Past   X Present   O Future

maybe with None as an option to indicate that feature isn't present for that word

Mostly I'm looking for ways to make the web interface as easy to use for non-technical people as possible

jheinecke commented 1 week ago

I'll have a look into that. Should be feasible when the valid values for features per UPOS are known

jheinecke commented 3 days ago

I'm working on that, but I'm stuck with the problem that the official documentation which features can go with which UPOS is not (yet) usable (see https://github.com/UniversalDependencies/docs/issues/1055). I think a local configuration file will be necessary until data/feats.json is cleaned up. What languages are you currently editing ? Could you provide me with a list for each language with UPOS <TAB>Feature=Value ... like

NOUN    Gender=Fem Gender=Masc Number=Dual Number=Plur Number=Sing
VERB    Tense=Past ....