Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gbroques/interlinearizer

Generates an interlinear text — a text with translation between lines — given translation pairs of semantic units (the shortest possible part of a phrase which makes sense when translated).
https://github.com/gbroques/interlinearizer

interlinear interlinear-gloss interlinear-subtitles interlinear-text

Last synced: about 2 months ago
JSON representation

Generates an interlinear text — a text with translation between lines — given translation pairs of semantic units (the shortest possible part of a phrase which makes sense when translated).

Awesome Lists containing this project

README

        

# interlinearizer

Generates an *[interlinear text](https://en.wikipedia.org/wiki/Interlinear_gloss)* — a text with translation between lines — given translation pairs of semantic units (the shortest possible part of a phrase which makes sense when translated).

Translations are separated by a tab, pairs by a newline `\n`, and paragraphs by pipes `|`.

For example:
```
Esto This
es is
un an
texto text
traducido translated
a to
Interlinear. Interlinear.
| |
Esto This
es is
sólo just
un an
ejemplo. example.
|
Usalo Use it
por favor. please.
```

![interlinear text example](./interlinear-text-example.png)

Inspired from [Interlinear Books](https://interlinearbooks.com/) and their [interlinearizer tool](https://interlinearbooks.com/tools/interlinearizer/).