The indian-language-font-converter package

[Tags: bsd3, library]

The package is made for people who want to get the sentences in Hindi, Marathi, Kannada, Gujarati, Bengali, Telugu, Malayalam, Punjabi, Oriya font so that they don't need to remember keys on keyboards when they type these scripts. Or they don't need to waste time on virtual keyboards where everything works with a mouse.

[Skip to ReadMe]


Versions0.0, 0.1, 0.2
Change logNone available
Dependenciesbase (>=3 && <5), gtk, HDBC, HDBC-sqlite3 [details]
AuthorAkash Fulchand Jagdhane
MaintainerAkash Fulchand Jagdhane
UploadedMon Dec 2 20:16:41 UTC 2013 by AkashJagdhane
Downloads612 total (14 in last 30 days)
0 []
StatusDocs available [build log]
Successful builds reported [all 1 reports]




Maintainers' corner

For package maintainers and hackage trustees

Readme for indian-language-font-converter-0.2

** How To install this cabal package :

1) go to the extracted directory "indian-language-font-converter-0.0"

2) on terminal , fire the following commands :
      $ sudo runhaskell Setup.hs configure
      $ sudo runhaskell Setup.hs build
      $ sudo runhaskell Setup.hs install

3) to check if the package is installed into ghci, do the following :
      $ ghci
      prelude> :module IndianLanguage

   If you will reach something like "prelude IndianLanguage>" in haskell then you can say that the package is properly installed.

4) whenever you need to use this package, just put "Languages.db" file into a current directory, else the functions will give an error(related to sql)

5) well, we can now use this package

** Testing the package :

1) we have three modules : 

2) IndianLanguage.HandleTranslation is a supporting module for the remaining two modules. Our main aim is to use first module listed above.

3) Prelude> :module IndianLanguage.Font 
   Prelude IndianLanguage.Font> convertToStr "marathi" "maaze naav Aakaash aahe" 

   It will generate a window having a textview with "माझे नाव आकाश आहे" in it.
   Prelude IndianLanguage.Font> convertToFile "marathi" "inputFile.txt" "outputFile.txt"

   Here, inputFile.txt will have any number of sentences on marathi meaning but which are written in english alphabets, like :

   File Line No 1 : maaze naav aakaash aahe. 
   File Line No 2 : mee chinchawadd madhye raahato. 
   File Line No 3 : aakaash maazaa mitra aahe. 
   File Line No 4 : aaj guruvaar aahe. 
   File Line No 5 : shubh prabhaat. 

   And after calling "convertToFile" function, our "outputFile.txt" will contain :
   File Line No 1 : माझे नाव आकाश आहे .
   File Line No 2 : मी चिंचवड मध्ये राहतो . 
   File Line No 3 : आकाश माझा मित्र आहे . 
   File Line No 4 : आज गुरुवार आहे . 
   File Line No 5 : शुभ प्रभात .