Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Features smart dialog? #42

Open
AngledLuffa opened this issue Sep 17, 2024 · 4 comments
Open

Features smart dialog? #42

AngledLuffa opened this issue Sep 17, 2024 · 4 comments

Comments

@AngledLuffa
Copy link

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
Copy link
Member

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

@jheinecke
Copy link
Member

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 UniversalDependencies/docs#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 ....

@jheinecke
Copy link
Member

I added a smart feature selection scheme in table view mode. You need to use the feats.json file from the UD-tools repository. Possibly the information for your language is erroneous in this file, than you need to create a new one based on your data (see README.md) or modify the one from UD.

@AngledLuffa
Copy link
Author

AngledLuffa commented Sep 30, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants