UAlbertaALTLab / morphodict

The Language Independent Intelligent Dictionary
https://morphodict.readthedocs.io/
Apache License 2.0
23 stars 11 forks source link

The relabeling or table formatting is not working properly #1064

Closed aarppe closed 2 years ago

aarppe commented 2 years ago

The creation of the table seems to miss out on the label for the second column (i.e. neither Theme nor any of its relabeling appear), and then selecting the wrong relabelings, e.g. selecting the relabels for Intransitive (verbs) for Imperfective aspect, and showing no relabeling for Perfective aspect.

image

The HTML source for the table is the following:

"analysis": "<table colspan=2><tr><td>Aspect</td><td>Theme</td></tr><tr><td>Ipfv</td><td>ītsīy</td></tr><tr><td>Pfv</td><td>yītsày</td></tr><tr><td>Prog</td><td>–</td></tr><tr><td>Ipfv+Rep</td><td>náchīsh</td></tr><tr><td>Pfv+Rep</td><td>náyīchīsh</td></tr></table>"

aarppe commented 2 years ago

I've now recreated the srs2eng test dictionary, making use of the HTML for tabular lexicographical information, to be found here: https://github.com/UAlbertaALTLab/morphodict/blob/main/src/srseng/resources/dictionary/srseng_test_db.importjson