Python API referenceΒΆ

Every public module, function and class, generated from the docstrings. For how the pieces fit together, see usage.

tetrak_translit

Detect, transliterate and fold text in scripts that have several romanisations.

tetrak_translit.detect(text)

Detect the script of text and, for a registered script, its variant.

tetrak_translit.transliterate(text[, ...])

Transliterate text between a script and scheme.

tetrak_translit.fold(text, *[, script, scheme])

Fold text onto its canonical index form.

tetrak_translit.script

The two kinds of data everything else runs over: a script and a scheme.

tetrak_translit.engine

The transliteration engine: pure functions over a Scheme.

tetrak_translit.latin

Shared pieces of the Latin side of a fold.

tetrak_translit.registry

The scripts this package handles, and how to find the one a string is in.

tetrak_translit.hy

Armenian: the script, its five romanisation schemes, orthography and fold.

tetrak_translit.ka

Georgian: the script, three romanisation schemes and the fold.

tetrak_translit.cli

Command-line interface: tetrak-translit.