Command line interface for Mozhi conversion
Varamozhi Editor internally works as a set of command line tools. Those tools can be directly used. This will especially be helpful if you need to convert very large files from one format to another. The direct tools are much much faster than the Varamozhi On-Screen program!
For using these tools, change directory to
C:\Program Files\Varamozhi Editor\bin
Following examples will show various uses of the command line interface...
(All these commands should be typed in one line)
To produce Malayalam in Kerala font to console from manglish:
malvi_mozhi_kerala < text_in_manglish.txt
To produce Malayalam in Kerala font as an HTML document from manglish:
malvi_mozhi_kerala -h < text_in_manglish.txt > text_in_kerala.html
To produce manglish from Malayalam text in Kerala font:
lamvi_kerala < text_in_kerala.txt > text_in_manglish.txt
Manglish text can be converted to Unicode as this:
The above two commands can be combined to produce Malayalam in Unicode from Kerala font:
lamvi_kerala < text_in_kerala.txt > text_in_manglish.txt ¦ malvi_mozhi_unicode -u text_in_unicode.html
By this command, we are 'piping' the output of first program 'lamvi_kerala' to the input of second program 'malvi_mozhi_unicode'. Please note the pipe symbol '' between the two parts of the command.
1. If you need to do some pre-processing of the file with Keralite text (or such ASCII text), please remember to save the same in ANSI/ASCII format before inputting it to the lamvi program. Otherwise, your output will be a text file of meaningless strings instead of proper varamozhi-style Manglish.
2. The main Varamozhi program (Ver 1.3.3 onwards) contains only the MatWeb and Unicode format conversion modules. If you need to convert files of any other font sets, please download and install the 'fonts add-on package' available at Varamozhi site. (Read details in another blog post here)