Nomadic challenges in the new century

Program code to convert Text to Bitig

Program code to convert Text to Bitig

Source code on Github: https://github.com/kzdll/Text2Bitig

In this post, I’ll dive under the hood and show you the pipeline JavaScript use to turn Latin(and Cyrillic) text into Turkic Bitig.



Getting Started
Exactly a year ago, I wrote an Android application that converts text to the Turkic alphabet (Turkic Bitig), Now I want to show in public how I wrote it and I think that the post will be a good guide for other programmers who wanted to work with the old Turkic alphabet...



Interface and options
needs add jquery
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
1 Textarea to edit the source text
2 Textarea for converted text
3 Options:
3.1 First Turkic «A» letter
3.2 Use Enisey «Ä»
3.3 Synharmonic «K» letter - for Kyrgyz, Tatar etc. language witch use one letter for [k] and [q]
3.4 Cryllic «и/у» diphtongs - these letters are diphtongs in Kazak (Kazakh) language
3.4 Modern punctual marks
3.5 Convert method:
3.5.1 Over dialect
3.5.2 Hide lib harmony vowles
3.5.3 Without any vowel harmonies


Steps (Algorithm or Block diagram without diagrams)
1. To convert the text to standard (my own standard*) Turkic latin alphabet, except Cyrillic "и" and "у";
2. To divide text into words;
3. To divide word into syllables;
4. To translate the syllable to Bitig

1 comment:

  1. Wow! Exactly what I was looking for. Thank you!

    ReplyDelete