Parsing Leipzig glossing

Just threw up some work on parsing Leipzig Glossing Notation.

You can try it out in this simple test doohickey:

Here’s le link:

Our goal is to support as much of the Leipzig Glossing Rules as possible.

So far the code is just splitting on - and =, which is hardly anything to write home about, but the hope is that we can develop in the open using these tools. Feel free to leave a comment here or on the repo!


Revamped it quite a bit:

Now you can click a given word in the examples from the Leipzig rule (which need need to be presented here with more metadata), and see how it parses.

I’m hoping for complaints about what it gets wrong! (Infixes are particularly thorny…)

1 Like