US-ASCII transliterations of Unicode text
Project description
BA
A0q0...", but
that's nearly useless to the user who actually wants to read what
the text says.
What Unihandecode provides is a function, 'decode(...)' that
takes Unihancode data and tries to represent it in ASCII characters
(i.e., the universally displayable characters between 0x00 and 0x7F).
The representation is almost always an attempt at transliteration
-- i.e., conveying, in Roman letters, the pronunciation expressed by
the text in some other writing system.
For example;
>>>d = Unidecoder()
>>>d.decode(u"\u5317\u4EB0")
'Bei Jing'.
d = Unidecoder(lang='ja')
>>>d.decode(u"\u5317\u4EB0")
'Pe King'
Platform: UNKNOWN
Provides: unihandecode
that's nearly useless to the user who actually wants to read what
the text says.
What Unihandecode provides is a function, 'decode(...)' that
takes Unihancode data and tries to represent it in ASCII characters
(i.e., the universally displayable characters between 0x00 and 0x7F).
The representation is almost always an attempt at transliteration
-- i.e., conveying, in Roman letters, the pronunciation expressed by
the text in some other writing system.
For example;
>>>d = Unidecoder()
>>>d.decode(u"\u5317\u4EB0")
'Bei Jing'.
d = Unidecoder(lang='ja')
>>>d.decode(u"\u5317\u4EB0")
'Pe King'
Platform: UNKNOWN
Provides: unihandecode
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Unihandecode-0.81.tar.gz
(1.8 MB
view details)
Built Distribution
File details
Details for the file Unihandecode-0.81.tar.gz
.
File metadata
- Download URL: Unihandecode-0.81.tar.gz
- Upload date:
- Size: 1.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bdecb982c54a70e20fc7e04039b814388d896b26cc29ce81e898f0043e3f15cf |
|
MD5 | 4b7bc1a6b2817088c0fc1869c17edcc4 |
|
BLAKE2b-256 | 3ec0527dadf35f8faa7575729749bf269d57e2b0dbb53f30703963655d71f5fc |
File details
Details for the file Unihandecode-0.81-py2.py3-none-any.whl
.
File metadata
- Download URL: Unihandecode-0.81-py2.py3-none-any.whl
- Upload date:
- Size: 2.4 MB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 432a31d6b765abd8b9ce16ef7f63b7de653abdfe98f486ea5ea398b2146faf6f |
|
MD5 | 5afb6611aa1730be1a0d3f385f2fcd7c |
|
BLAKE2b-256 | f4803a71df8167ecb2eda3bc26f675992f337c44cbaadf09d03e73d376229635 |