UAlbertaALTLab / morphodict

Plains Cree Intelligent Dictionary
https://itwewina.altlab.app/
Apache License 2.0
22 stars 12 forks source link

Show information about a word-form in pop-ups per each cell in paradigm #1094

Open aarppe opened 2 years ago

aarppe commented 2 years ago

We might want to present multiple types of information for each paradigm layout cell. For instance, the following:

${wâpamêw}+V+TA+Ind+1Sg+2SgO:

Originally posted by @aarppe in https://github.com/UAlbertaALTLab/morphodict/issues/397#issuecomment-667319602

aarppe commented 2 years ago

For generating the underlying morphotactic representation, we would need to use the specially compiled FST:

hfst-lookup -q src/fst/lexicon.hfst
wâpamêw+V+TA+Ind+1Sg+2SgO   kit2<wâpam>i2tin    0.000000

This underlying form would need to be mapped against the surface form - then the meaning/labeling of the morpheme can be unambiguously retrieved (from a relabeling file):

1 2 3 4
kit2< wâpam >i2ti >n
kit2 wâpam i2ti n
ki< wâpam >iti >n
aarppe commented 2 years ago

This expands from #1093 to cover information not only on morphemes.