Library for implementing Vietnamese input method editors with a purely functional interface.
BoGo is a Vietnamese input method conversion library. This library is intentionally functional with no internal state and side-effect.
>>> 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:
Some functions from bogo.core are exported to package toplevel:
BoGo is extensively tested with Python 2.7, Python 3.2 and Python 3.3.