Turkish deasciifier based on Deniz Yüret's turkish-mode
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
debian
turkish
.gitignore
README.md
setup.py
tests.py
turkish-deasciify
turkish-deasciify.1

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