johnwdubois / rezonator

Rezonator: Dynamics of human engagement
34 stars 1 forks source link

interlineaR #519

Open johnwdubois opened 4 years ago

johnwdubois commented 4 years ago

Consider import/export of interlineaR. (Could be relevant for ToolBox import.)

https://cran.r-project.org/web/packages/interlineaR/interlineaR.pdf https://github.com/sylvainloiseau/interlineaR

NOTE: interlineaR uses EMELD format, available in Flex/ToolBox.

Alternatives Pepper-Salt #515

kayaulai commented 4 years ago

Looks like a straightforward one to implement in RezonateR, since I just need to get it into a format suitable for importing into Rezonator as a CSV. (Whoever uses interlinearR is already going to use R, so I don't think there's any real gain from native support of interlineaR output in Rezonator.) Once Georgio's recent import fixes have gone live, I'll do this.

kayaulai commented 4 years ago

I tried using interlineaR on a Pangloss document (specifically this one from Martine Mazoudon), but the sentences frame was completely wrong. I'm not sure about other import formats support by Rezonator, but for Pangloss at least, I think we can just build our own Pangloss -> Rezonator import tool.

kayaulai commented 4 years ago

I've written a function for interlineaR -> Rezonator-friendly TSV as well as one directly from Pangloss. I will later test out the other data sources that interlineaR can handle. However, currently the import into Rezonator is still not successful (still with the issue of not handling rows correctly, with one word per unit).