[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Varnamproject-discuss] Map File

From: Kevin Martin
Subject: Re: [Varnamproject-discuss] Map File
Date: Wed, 16 Jul 2014 10:06:02 +0530

Syntax :

for example, consider the following lines :

vowels "a" => "അ",
       [["a"], "aa", "A"]  => ["ആ", "ാ"],
       "i" => ["ഇ", "ി"]

When varnam compiles the map file, it looks for a ruby function called "vowels" and passes "a" => "അ",
       [["a"], "aa", "A"]  => ["ആ", "ാ"], "i" => ["ഇ", "ി"] as arguments. The arguments are in "hashes" and is similar to python dictionaries. The arguments tell varnam that "a" should be mapped to അ and the letters in [["a"], "aa", "A"] to ആ or "ാ" depending on the context. Basically varnam stores these mappings in an sqlite database.

On Mon, Jul 14, 2014 at 11:46 AM, sooraj kenoth <address@hidden> wrote:
I had look at the syntax, but couldn't understand completely. I had
map file(for m17n) with me with few modifications. I just transformed
it as I understood. Please find the attached document.

It will be very nice if we can incorporate Alt+Shift or some special
keys to temporally switch the layout to access symbols. I mean holding
will switch and releasing will fall back to original. By defualt
remitonton or Inscript doest not contain all commonly used symbols or
Arabic numbers. So every time people has to switch the layout to do

Sooraj Kenoth
"I am Being the Change I Wish to See in the World"

reply via email to

[Prev in Thread] Current Thread [Next in Thread]