BoGoEngine / bogo-python

Python library for implementing Vietnamese input method editors with a purely functional interface.
GNU General Public License v3.0
13 stars 7 forks source link

Refactor bogo.py. New API. #3

Closed lewtds closed 10 years ago

lewtds commented 10 years ago

Users of process_key() don't have to construct a config dictionary any more. The relevant config keys have been turned into optional arguments.

def process_key(string, key,                                                    
                  fallback_sequence="", input_method_definition=None,             
                  skip_non_vietnamese=True):