The most basic Text::Unidecode port
Project description
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.
You can redistribute it and/or modify this port under the terms of either:
Artistic License, or
GPL or GPLv2+
If you’re OK with GPL-only, use unidecode (it has better memory usage and better transliteration quality).
text-unidecode supports Python 2.7 and 3.4+.
Installation
pip install text-unidecode
Usage
>>> from text_unidecode import unidecode >>> unidecode(u'какой-то текст') 'kakoi-to tekst'
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
text-unidecode-1.3.tar.gz
(76.9 kB
view hashes)
Built Distribution
Close
Hashes for text_unidecode-1.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1311f10e8b895935241623731c2ba64f4c455287888b18189350b67134a822e8 |
|
MD5 | d83b4ae91f2c89770e55bad5fe24c259 |
|
BLAKE2b-256 | a6a5c0b6468d3824fe3fde30dbb5e1f687b291608f9473681bbf7dabbf5a87d7 |