Turkish deasciifier based on Deniz Yüret's turkish-mode
Latest commit 971d000 Apr 25, 2014 @emres Merge pull request #2 from faraday/master
bugfix : missing sys module import was causing problems with setup.py


turkish-deasciifier: Turkish deasciifier

This is a deasciifier for Turkish. It takes a Turkish string containing only ASCII characters and replaces the relevant characters with their corresponding Turkish letters.

This system is based on the turkish-mode by Dr. Deniz Yüret.

Example library usage:

    from turkish.deasciifier import Deasciifier

    my_ascii_turkish_txt = "Opusmegi cagristiran catirtilar."
    deasciifier = Deasciifier(my_ascii_turkish_txt.decode("utf-8"))
    my_deasciified_turkish_txt = deasciifier.convert_to_turkish()
    print my_deasciified_turkish_txt.encode("utf-8")

Example command line usage:

    $ echo "Opusmegi cagristiran catirtilar." | turkish-deasciify
    $ cat somefile.txt | turkish-deasciify