reynoldsnlp / udar

UDAR Does Accented Russian: A finite-state morphological analyzer of Russian that handles stressed wordforms.
GNU General Public License v3.0
26 stars 1 forks source link

Add text transliteration output #37

Closed reynoldsnlp closed 4 years ago

reynoldsnlp commented 4 years ago

https://en.wikipedia.org/wiki/Romanization_of_Russian#Transliteration_table

The idea would be that code something like the following would work:

t = Text('Слова на научную тему.')
t.transliterate()  # scholarly is the default
# 'Slova na naučnuju temu.'
t.transliterate('iso9')
# 'Slova na naučnuû temu.'
reynoldsnlp commented 4 years ago

resolved in b34532e672b5a4a27057b55061f1774765a8a7fe