Currently the Narayam hindi transliteration scheme requires inputting a after a consonant to remove the viram. This poses a problem with word-ends in hindi which usually have schwa sncope but are written without the viram.
The required system is that inputting a space after any consonant should remove the viram, but if ~ (which is the default viram key) is pressed before pressing space, the viram should not be removed. This was attempted in https://gerrit.wikimedia.org/r/#change,3514 patchsets 2 and 3 but the rules did not behave as expected. The rule to remove the viram on space worked correctly but forcing the viram to stay by pressing the viram key did not work.
Current behaviour: raama gives राम and raam[space] gives राम्[space]
raameshwaram gives रामेश्वरम् and raameshwaram[space] gives रामेश्वरम्[space]
Wanted behaviour: raama gives राम and raam[space] gives and राम[space] (viram is removed)
raameshwaram[space] gives रामेश्वरम[space] and raameshwaram~[space] gives रामेश्वरम्[space] (former removes the viram while latter retains it)
The consensus for schwa syncope rule was obtained at http://hi.wikipedia.org/wiki/%E0%A4%B5%E0%A4%BF%E0%A4%95%E0%A4%BF%E0%A4%AA%E0%A5%80%E0%A4%A1%E0%A4%BF%E0%A4%AF%E0%A4%BE:%E0%A4%9A%E0%A5%8C%E0%A4%AA%E0%A4%BE%E0%A4%B2/Narayam
I should add that this is probably the most important rule that is missing right now. Having this ability is very important from a user-perspective.
PS:Filing this bug since I've been unable o fix this myself (I still don't know why the rule in patchset 3 of the submitted change didn't work.)
Version: unspecified
Severity: normal