Skip to content
New issue

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

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

Already on GitHub? # to your account

New formatting for defining layouts #578

Closed
eddieantonio opened this issue Dec 10, 2020 · 2 comments
Closed

New formatting for defining layouts #578

eddieantonio opened this issue Dec 10, 2020 · 2 comments
Labels
duplicate/out-of-date Issues that are partially or entirely outdated or redundant in being superseded by later issues feature meta-issue Overview issue with no *directly actionable* resolution requires-backend-work Requires work to Python, scripts, automation, etc. requires-frontend-work Work needs to be done on HTML, CSS, and/or JavaScript requires-linguistic-work get a linguist to deal with this!

Comments

@eddieantonio
Copy link
Member

@eddieantonio Here's a proposal for defining panes. Row and column labels are marked with _ and |, respectively (in comparison to < and ^). Both labels, but in particular the column labels can have a hierarchy, which is used to organize the panes according to available space. One can also use the column labels to refer to the panes. What is not indicated as a label is a reference to an FST-generated form. In this format, the forms are specified in full, indicating the lemma slot with {{lemma}} - this means that one would not necessarily need a separate specification/file for the paradigms and their generation.

[edited to introduce row hierarchy as well]

             | AI | Prs | Ind
_ Sg _ 1Sg   {{lemma}}+V+AI+Ind+1Sg
_ Sg _ 2Sg   {{lemma}}+V+AI+Ind+2Sg
_ Sg _ 3Sg   {{lemma}}+V+AI+Ind+3Sg
_ Pl _ 1Pl   {{lemma}}+V+AI+Ind+1Pl
_ Pl _ 12Pl  {{lemma}}+V+AI+Ind+12Pl 
_ Pl _ 2Pl   {{lemma}}+V+AI+Ind+2Pl
_ Pl _ 3Pl   {{lemma}}+V+AI+Ind+3Pl
_  _ 4Sg/Pl  {{lemma}}+V+AI+Ind+4Sg/Pl
_  _ X       {{lemma}}+V+AI+Ind+X

             | AI | Prs | Cnj
_ Sg _ 1Sg   PV/e+{{lemma}}+V+AI+Cnj+1Sg
_ Sg _ 2Sg   PV/e+{{lemma}}+V+AI+Cnj+2Sg
_ Sg _ 3Sg   PV/e+{{lemma}}+V+AI+Cnj+3Sg
_ Pl _ 1Pl   PV/e+{{lemma}}+V+AI+Cnj+1Pl
_ Pl _ 12Pl  PV/e+{{lemma}}+V+AI+Cnj+12Pl 
_ Pl _ 2Pl   PV/e+{{lemma}}+V+AI+Cnj+2Pl
_ Pl _ 3Pl   PV/e+{{lemma}}+V+AI+Cnj+3Pl
_  _ 4Sg/Pl  PV/e+{{lemma}}+V+AI+Cnj+4Sg/Pl
_  _ X       PV/e+{{lemma}}+V+AI+Cnj+X

The relabeling of the row and column labels, allowing for alternative schemes, is based on crk.altlabel.tsv. Space allowing, the two panes could be presented next to each other, in which case only one set of row labels would be necessary, and the column label for tense could be shared. If space would require the above to be presented in a single column vertically, then it would be a matter of UI design whether tense would be indicated as a column label for both panes, or only once.

Originally posted by @aarppe in #167 (comment)

@eddieantonio eddieantonio added feature requires-backend-work Requires work to Python, scripts, automation, etc. requires-frontend-work Work needs to be done on HTML, CSS, and/or JavaScript requires-linguistic-work get a linguist to deal with this! labels Dec 10, 2020
@eddieantonio
Copy link
Member Author

This is essential for addressing #568.

@eddieantonio eddieantonio added meta-issue Overview issue with no *directly actionable* resolution duplicate/out-of-date Issues that are partially or entirely outdated or redundant in being superseded by later issues labels Dec 16, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
duplicate/out-of-date Issues that are partially or entirely outdated or redundant in being superseded by later issues feature meta-issue Overview issue with no *directly actionable* resolution requires-backend-work Requires work to Python, scripts, automation, etc. requires-frontend-work Work needs to be done on HTML, CSS, and/or JavaScript requires-linguistic-work get a linguist to deal with this!
Projects
Status: Done
Development

No branches or pull requests

1 participant