Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Turkish deasciifier based on Deniz Yüret's turkish-mode
Python
Branch: master

Merge pull request #2 from faraday/master

bugfix : missing sys module import was causing problems with setup.py
latest commit 971d00011b
@emres authored

README.md

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
Something went wrong with that request. Please try again.