Anonymous

Changes

From SMC Wiki

Payyans

472 bytes added, 05:28, 25 January 2009
Ascii to Unicode:
from payyans import Payyans
p=Payyans("input.pdf","unicode.txt","/usr/share/payyans/maps/karthika.mpamap")
p.ascii2unicode()
Unicode to Ascii:
from payyans import Payyans
p=Payyans("unicode.txt","ascii.txt","/usr/share/payyans/maps/karthika.mpamap")
p.unicode2ascii()
ASCII word to Unicode:
from payyans import Payyan
p=Payyan()
p.mapping_filename="/usr/share/payyans/maps/indulekha.map"
unicode_word = p.word2Unicode(ascii_word)
Unicode word to ASCII:
from payyans import Payyan
p=Payyan()
p.mapping_filename="/usr/share/payyans/maps/indulekha.map"
ascii_word = p.word2ASCII(unicode_word)
Payyans Package Help
class Payyans
| Methods defined here: | | __init__(self, input_file, output_file, mapping_file) | | ascii2unicode(self) | | unicode2ascii(self) | | word2ASCII(self, unicode_str) | | word2Unicode(self, ascii_str)
==നന്ദി==