Library for implementing Vietnamese input method editors with a purely functional interface.
Project description
BoGo is a Vietnamese input method conversion library. This library is intentionally functional with no internal state and side-effect.
Usage
>>> import bogo >>> bogo.process_sequence('meof') 'mèo' >>> bogo.process_sequence('meo2', rules=bogo.get_vni_definition()) 'mèo' >>> bogo.process_sequence('system') 'system' >>> bogo.process_sequence('system', skip_non_vietnamese=False) 'sýtem'
More help available with:
>>> help(bogo.core)
Some functions from bogo.core are exported to package toplevel:
process_key()
process_sequence()
get_telex_definition()
get_vni_definition()
BoGo is extensively tested with Python 2.7, Python 3.2 and Python 3.3.
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
bogo-1.1.tar.gz
(23.6 kB
view details)
File details
Details for the file bogo-1.1.tar.gz
.
File metadata
- Download URL: bogo-1.1.tar.gz
- Upload date:
- Size: 23.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe38ef5d5678a5ab423fd10405076ba574855045ac5f7d2d8373ad285f15b79e |
|
MD5 | 12ed6ec217be91edc782df61d00a9c18 |
|
BLAKE2b-256 | 09dbb0c6e952cf0fef72970dd3f430396cba73c863641d5fb7db257448de0cd6 |