Cursor — AI code editor
Cursor is my main AI coding tool. If you were going to try it anyway, this referral gives new accounts 50% off the first month of Pro, Pro+, or Ultra (per Cursor’s current offer).
Example

Example layout based on an example in the Wikipedia article Interlinear gloss (illustrative; Leipzig-style conventions).
French Je t’aime means “I love you”, but the object pronoun sits before the verb, not after it. The object t’ is a clitic, a small word that leans on the verb. Aligned against English, the example shows the clitic getting its own box and the links crossing where the two languages disagree on order.
Each French token and its English match:
French orders the words subject, object, verb, while English orders them subject, verb, object. So t’ links to “you” at the end of the English line and aime links to “love” in the middle, and those two links cross. The crossing is the visual sign that the object and verb swap places between the languages.
A clitic is set off as its own token, and in some glossing styles it is joined to its host with a double hyphen or an equals sign rather than a plain space. Keeping t’ separate lets it link to its own English word and makes the reordering visible.
For the gloss labels and marks:
Open the example and adjust the split rules under Settings → Tokens so the elided t’ stays as one token. Export the diagram as PNG, SVG, or PDF for a lesson on pronoun placement.
Related examples:
Cursor is my main AI coding tool. If you were going to try it anyway, this referral gives new accounts 50% off the first month of Pro, Pro+, or Ultra (per Cursor’s current offer).