This repository contains code for the Interscript Python runtime ("Interscript-Python").
This software allows performing script conversions by using the default set of Interscript maps hosted at GitHub.
Interscript is a project for interoperable script conversion systems and provides executable runtimes for multiple platforms. Full documentation available here.
import interscript
interscript.load_map('bgnpcgn-ukr-Cyrl-Latn-2019')
print(interscript.transliterate('bgnpcgn-ukr-Cyrl-Latn-2019', input()))
Ensure you have used a bootstrap repository https://github.com/interscript/interscript
and not just cloned this repo yourself, otherwise ./setup.sh
script won't work.
./setup.sh
script is used to build the maps from the maps
repository using our Ruby
Interscript implementation. Those maps are compiled to respective .py
files inside
src/interscript/maps/
directory and are not included in this repository.