The most basic Text::Unidecode port (licensed under Artistic License)
Python Perl
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.rst

Text-Unidecode

Build Status

text-unidecode is the most basic port of the Text::Unidecode Perl library.

There are other Python ports of Text::Unidecode (unidecode and isounidecode). unidecode is GPL; isounidecode uses too much memory, and it didn't support Python 3 when this package was created.

This port is licensed under Artistic License and supports Python 2.7 and 3.3+. If you're OK with GPL, use unidecode (it has better memory usage and better transliteration quality).

Installation

pip install text-unidecode

Usage

>>> from text_unidecode import unidecode
>>> unidecode(u'какой-то текст')
u'kakoi-to tekst'