Page MenuHomePhabricator

Bamini keyboard map needs fix + Unit Tests
Open, MediumPublic

Description

Some deviations noted on Bamini layout.

http://tawp.in/r/2na0 பாமினி section.

No| english key stroke|expected result
1 |* (asterisk) |ழூ
2 |= |ஸ்ரீ
3 |i |$2ை
4 |n |$2ெ
5 |N |$2ே
6 |_ (underscore)| $2ூ (only for ஜ், ஷ், ஸ், ஹ்)
7 |{ |$2ு (only for ஜ், ஷ், ஸ், ஹ்)


Version: unspecified
Severity: normal
See Also:
https://github.com/wikimedia/jquery.ime/issues/189

Details

Reference
bz31904

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:51 PM
bzimport set Reference to bz31904.
bzimport added a subscriber: Unknown Object (MLST).

3 |i |$2ை
4 |n |$2ெ
5 |N |$2ே
6 |_ (underscore)| $2ூ (only for ஜ், ஷ், ஸ், ஹ்)
7 |{ |$2ு (only for ஜ், ஷ், ஸ், ஹ்)

Need some clarification on "$2".
i => $2ை means, மi => மை ?

and
ஜ_ => ஜூ ?

sodabottle wrote:

yes santhosh. what you describe is the requirement in both cases (i wasnt able to copy the glyphs without the $2 for some reason)

i => $2ை means, மi => மை ?

and
ஜ_ => ஜூ ?

Updated in r106435

Can you verify in translatewiki.net and confirm?

sodabottle wrote:

Tested Santosh. A few bugs/left out keystrokes have been reported by testers.

3, 4 and 5) கெ, கை, கொ, all appear broken as ெக, ைக, ைக (not sure if this happened because of the way we reported the issues 3, 4 and 5. If so apologies).

No| english key stroke|expected result

  1. } $2ூ (for ற், ந், ல், ன், த், ண் alone)
  2. + $2ூ (for ங், ஞ், வ், ய், ப் alone)
  3. ~ '

(In reply to comment #4)

Tested Santosh. A few bugs/left out keystrokes have been reported by testers.

3, 4 and 5) கெ, கை, கொ, all appear broken as ெக, ைக, ைக (not sure if this
happened because of the way we reported the issues 3, 4 and 5. If so
apologies).

The current rules are
f= க and fn = கெ, fN =கே and fi = கை .
In comment 0, in 3,4, and 5 you asked for கெ, கே and கை . and not for கெ, கை, கொ. Let me know if any corrections needed here.

Regarding ~=> ' , are you sure we need to remap Tilda to single quote ? I don't see single quote mapped to anything now.

junu.pv+public wrote:

(In reply to comment #4)

3, 4 and 5) கெ, கை, கொ, all appear broken as ெக, ைக, ைக (not sure if this
happened because of the way we reported the issues 3, 4 and 5. If so
apologies).

AFAIK, Bamini is a standard fixed keyboard. So we have to type characters in their order. To get கெ we have to type first 'க' then 'ெ', not as in visually we see vowel sign first in 'கெ', it is actually க+ெ

Junaid, does this mean this report is invalid, because the current implementation is "per standard"?

junu.pv+public wrote:

(In reply to comment #7)

Junaid, does this mean this report is invalid, because the current
implementation is "per standard"?

Not fully, I think and Santhosh already done a commit remaining few.

Its rare to find a native Bamini user(a known community editor, since most of the users who prefer this layout are anonymous srilankan tamils) to test and we have not caught hold of the person who reported this. We will try to chase and ask the user to verify. Me / Sodabottle are not probably the right people to test this. :|

(In reply to comment #6)

(In reply to comment #4)

3, 4 and 5) கெ, கை, கொ, all appear broken as ெக, ைக, ைக (not sure if this
happened because of the way we reported the issues 3, 4 and 5. If so
apologies).

AFAIK, Bamini is a standard fixed keyboard. So we have to type characters in
their order. To get கெ we have to type first 'க' then 'ெ', not as in visually
we see vowel sign first in 'கெ', it is actually க+ெ

Junaid,

https://addons.mozilla.org/en-us/firefox/addon/tamilvisai-tamilkey/ actually does as per bug report. i.e ‌ெ + க = கெ and so on for கெ, கை, கொ. This can potentially introduce a lot of junk if not typed properly but it seems to be specialty of the keyboard layouts (in Srilanka: Bamini, Renganathan). Quoting
"Key sequences are defined on the “type as you write” method "
from http://www.icta.lk/en/programmes/pli-development/104-local-languages-initiative-/651-sls-1326-2008-tamil-ict-standard.html

Assigning it to myself to fix bugs, add more unit tests now that there are 3 users who can help in testing and one of the newer editors brought the requirement of having Bamini at Village pump.

http://ta.wikipedia.org/wiki/%E0%AE%B5%E0%AE%BF%E0%AE%95%E0%AF%8D%E0%AE%95%E0%AE%BF%E0%AE%AA%E0%AF%8D%E0%AE%AA%E0%AF%80%E0%AE%9F%E0%AE%BF%E0%AE%AF%E0%AE%BE:%E0%AE%86%E0%AE%B2%E0%AE%AE%E0%AE%B0%E0%AE%A4%E0%AF%8D%E0%AE%A4%E0%AE%9F%E0%AE%BF#.E0.AE.8E.E0.AE.B4.E0.AF.81.E0.AE.A4.E0.AF.8D.E0.AE.A4.E0.AF.81.E0.AE.AA.E0.AF.8D.E0.AE.AF.E0.AF.86.E0.AE.B0.E0.AF.8D.E0.AE.AA.E0.AF.8D.E0.AE.AA.E0.AE.BF.E0.AE.AF.E0.AF.88_.E0.AE.8E.E0.AE.99.E0.AF.8D.E0.AE.95.E0.AF.87_.E0.AE.A4.E0.AE.B0.E0.AE.B5.E0.AE.BF.E0.AE.B1.E0.AE.95.E0.AF.8D.E0.AE.95.E0.AF.81.E0.AE.B5.E0.AE.A4.E0.AF.81.3F

Allegedly moved to Github but I can't find it here.

(In reply to comment #13)

Allegedly moved to Github but I can't find it here.

Thanks. Reported upstream:
https://github.com/wikimedia/jquery.ime/issues/189