-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
36a53cb
commit 0e9a281
Showing
14 changed files
with
810 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,172 @@ | ||
( function ( $ ) { | ||
'use strict'; | ||
|
||
var orLekhani = { | ||
id: 'or-lekhani', | ||
name: 'ଫୋନେଟିକ', | ||
description: 'Odia Lekhani phonetic input method', | ||
date: '2012-10-14', | ||
URL: 'http://github.com/wikimedia/jquery.ime', | ||
author: 'Junaid P V, Subhashish Panigrahi and Jnanaranjan Sahu', | ||
license: 'GPLv3', | ||
version: '1.0', | ||
contextLength: 4, | ||
maxKeyLength: 2, | ||
patterns: [ | ||
[ '\\\\([A-Za-z\\>_~\\.0-9])', '\\\\', '$1' ], | ||
|
||
[ '([କ-ହୟୱଡ଼ଢ଼ଙ୍କଙ୍ଖଙ୍ଗଙ୍ଘଞ୍ଚଞ୍ଛଞ୍ଝଣ୍ଟଣ୍ଠଣ୍ଡଣ୍ଢନ୍ତନ୍ଥନ୍ଦନ୍ଧମ୍ପମ୍ଫମ୍ବମ୍ଭଞ୍ଜ])a', '$1ା' ], | ||
[ '([କ-ଳଲନ୍ଧଥଡ଼ଢ଼ହୟୱରକ୍ଷଶସଷଙ୍କଙ୍ଖଙ୍ଗଙ୍ଘଞ୍ଚଞ୍ଛଞ୍ଝଣ୍ଟଣ୍ଠଣ୍ଡଣ୍ଢନ୍ତନ୍ଥନ୍ଦନ୍ଧମ୍ପମ୍ଫମ୍ବମ୍ଭଞ୍ଜ])i', '$1\u0b3f' ], | ||
[ '([କ-ହୟୱଡ଼ଢ଼ଙ୍କଙ୍ଖଙ୍ଗଙ୍ଘଞ୍ଚଞ୍ଛଞ୍ଝଣ୍ଟଣ୍ଠଣ୍ଡଣ୍ଢନ୍ତନ୍ଥନ୍ଦନ୍ଧମ୍ପମ୍ଫମ୍ବମ୍ଭଞ୍])I', '$1ୀ' ], | ||
[ '([କ-ହୟୱଡ଼ଢ଼ଙ୍କଙ୍ଖଙ୍ଗଙ୍ଘଞ୍ଚଞ୍ଛଞ୍ଝଣ୍ଟଣ୍ଠଣ୍ଡଣ୍ଢନ୍ତନ୍ଥନ୍ଦନ୍ଧମ୍ପମ୍ଫମ୍ବମ୍ଭଞ୍])u', '$1\u0b41' ], | ||
[ '([କ-ହୟୱ])(U|\u0b41u)', '$1\u0b42' ], | ||
[ '([କ-ହୟୱ])R', '$1\u0b43' ], | ||
[ '([କ-ହୟୱ])\u0b43R', '$1\u0b44' ], | ||
[ '([କ-ହୟୱ])୍ଳ୍l', '$1ୢ' ], | ||
[ '([କ-ହୟୱ])ୢl', '$1ୣ' ], | ||
[ '([କ-ହୟୱଡ଼ଢ଼ଙ୍କଙ୍ଖଙ୍ଗଙ୍ଘଞ୍ଚଞ୍ଛଞ୍ଝଣ୍ଟଣ୍ଠଣ୍ଡଣ୍ଢନ୍ତନ୍ଥନ୍ଦନ୍ଧମ୍ପମ୍ଫମ୍ବମ୍ଭଞ୍])e', '$1େ' ], | ||
[ '([କ-ହୟୱଡ଼ଢ଼ଙ୍କଙ୍ଖଙ୍ଗଙ୍ଘଞ୍ଚଞ୍ଛଞ୍ଝଣ୍ଟଣ୍ଠଣ୍ଡଣ୍ଢନ୍ତନ୍ଥନ୍ଦନ୍ଧମ୍ପମ୍ଫମ୍ବମ୍ଭଞ୍])o', '$1ୋ' ], | ||
[ '([କ-ହୟୱଡ଼ଢ଼ଙ୍କଙ୍ଖଙ୍ଗଙ୍ଘଞ୍ଚଞ୍ଛଞ୍ଝଣ୍ଟଣ୍ଠଣ୍ଡଣ୍ଢନ୍ତନ୍ଥନ୍ଦନ୍ଧମ୍ପମ୍ଫମ୍ବମ୍ଭଞ୍])(ାu|ୋu)', '$1ୌ' ], | ||
[ '([କ-ହୟୱ])E', '$1\u0B48' ], | ||
[ '([କ-ହୟୱ])(w|v)', '$1୍ୱ' ], | ||
[ '([କ-ହୟୱ])~', '$1\u200C' ], | ||
|
||
[ '([କ-ହୱ])y', '$1୍ୟ' ], // <consonant>y | ||
|
||
[ 'z', '୍' ], // halanta | ||
[ '\\.', '।' ], // purnacheda | ||
[ 'ଅa', 'ଆ' ], | ||
[ 'ଏe', 'ଐ' ], | ||
[ '(ଅu|O)', 'ଔ' ], | ||
[ 'ଋR', 'ୠ' ], // RR | ||
[ 'ଳl', 'ଌ' ], // Ll | ||
[ 'ଌl', 'ୡ' ], // Lll | ||
[ 'ଞ୍ଚh', 'ଞ୍ଛ' ], // nch | ||
[ 'ଞ୍ଜh', 'ଞ୍ଝ' ], // njh | ||
[ 'ଙ୍କh', 'ଙ୍ଖ' ], // nkh | ||
[ 'ଙ୍ଗh', 'ଙ୍ଘ' ], // ngh | ||
[ 'ମ୍ବh', 'ମ୍ଭ' ], // mbh or nbh | ||
[ 'ଣ୍ଡai', 'ଣ୍ଡାଇ' ], // NDai | ||
[ 'ଜ୍ଜh', 'ଜ୍ଝ' ], // jjh | ||
[ 'ଚ୍ଚh', 'ଚ୍ଛ' ], // cch | ||
|
||
[ 'ଣG', 'ଙ' ], // NG | ||
[ 'ଣg', 'ଞ' ], // Ng | ||
[ 'କh', 'ଖ' ], // kh | ||
[ 'ଗh', 'ଘ' ], // gh | ||
[ 'ନc', 'ଞ୍ଚ' ], // nc | ||
[ 'ନg', 'ଙ୍ଗ' ], // ng | ||
[ 'ଚh', 'ଛ' ], // ch | ||
[ 'C', 'ଛ' ], // ch | ||
[ 'ଜh', 'ଝ' ], // jh | ||
[ 'ନj', 'ଞ୍ଜ' ], // nj | ||
[ 'ନk', 'ଙ୍କ' ], // nk | ||
[ 'ନd', 'ନ୍ଦ' ], // nd | ||
[ 'ନD|ଣD', 'ଣ୍ଡ' ], // nd | ||
[ 'ଣDh', 'ଣ୍ଢ' ], // ndh | ||
[ 'ନdh', 'ନ୍ଧ' ], // ndht | ||
[ 'ଟh', 'ଠ' ], // Th | ||
[ 'ଡh', 'ଢ' ], // Dh | ||
[ 'ତh', 'ଥ' ], // th | ||
[ 'ଦh', 'ଧ' ], // dh | ||
[ '(f|ପh|P)', 'ଫ' ], // ph or f | ||
[ 'ବh', 'ଭ' ], // bh | ||
[ 'ସh', 'ଷ' ], // sh | ||
[ 'ମb', 'ମ୍ବ' ], // mb or nb | ||
[ 'ଣT', 'ଣ୍ଟ' ], // NT | ||
[ 'ଣTh', 'ଣ୍ଠ' ], // NTh | ||
[ '(ଷ|ମ)p', '$1୍ପ' ], // sp/shp | ||
[ 'shp', 'ଷ୍ପ' ], // sp | ||
[ 'ଂM', 'ଁ' ], // MM | ||
|
||
[ 'କk', 'କ୍କ' ], // kk | ||
[ 'ଗg', 'ଗ୍ଗ' ], // gg | ||
[ 'ଚc', 'ଚ୍ଚ' ], // cc | ||
[ 'ଜj', 'ଜ୍ଜ' ], // jj | ||
[ 'ଦd', 'ଦ୍ଦ' ], // dd | ||
[ 'ଟT', 'ଟ୍ଟ' ], // TT | ||
[ 'ଡD', 'ଡ୍ଡ' ], // DD | ||
[ 'ତt', 'ତ୍ତ' ], // tt | ||
[ 'ଲl', 'ଲ୍ଲ' ], // ll | ||
[ 'ପp', 'ପ୍ପ' ], // pp | ||
[ '_', '\u200c' ], | ||
|
||
[ 'ଆ\\\\', '\u0B3E' ], // aa sign | ||
[ 'ଇ\\\\', '\u0B3F' ], // i sign | ||
[ 'ଈ\\\\', '\u0B40' ], // I sign | ||
[ 'ଉ\\\\', '\u0B41' ], // u sign | ||
[ 'ଉ\\\\', '\u0B42' ], // U sign | ||
[ 'ଋ\\\\', '\u0B43' ], // R sign | ||
[ 'ୠ\\\\', '\u0B44' ], // RR sign | ||
[ 'ଌ\\\\', '\u0B62' ], // L sign | ||
[ 'ୡ\\\\', '\u0B63' ], // LL sign | ||
[ 'ଏ\\\\', '\u0B47' ], // e sign | ||
[ 'ଐ\\\\', '\u0B48' ], // ai sign | ||
[ 'ଓ\\\\', '\u0B4B' ], // o sign | ||
[ 'ଔ\\\\', '\u0B4C' ], // au sign | ||
|
||
[ '\u200c?a', 'ଅ' ], | ||
[ 'b', 'ବ' ], | ||
[ 'c', '', 'ଚ' ], | ||
[ 'd', 'ଦ' ], | ||
[ '\u200c?e', 'ଏ' ], | ||
[ 'g', 'ଗ' ], | ||
[ 'G', 'ଘ' ], | ||
[ 'h', 'ହ' ], | ||
[ '\u200c?i', 'ଇ' ], | ||
[ 'j', 'ଜ' ], | ||
[ 'k', 'କ' ], | ||
[ 'l', 'ଲ' ], | ||
[ 'm', 'ମ' ], | ||
[ 'n', 'ନ' ], | ||
[ '\u200c?o', 'ଓ' ], | ||
[ 'p', 'ପ' ], | ||
[ 'q', 'ଡ଼' ], | ||
[ 'r', 'ର' ], | ||
[ 's', 'ସ' ], | ||
[ 't', 'ତ' ], | ||
[ '\u200c?u', 'ଉ' ], | ||
[ '[vwVW]', 'ୱ' ], | ||
[ 'x', 'କ୍ଷ' ], | ||
[ '[Y]', 'ୟ' ], | ||
[ '[y]', 'ଯ' ], | ||
[ '\u200c?A', 'ଆ' ], | ||
[ 'B', 'ବ' ], | ||
[ 'C', 'ଛ' ], | ||
[ 'D', 'ଡ' ], | ||
[ '\u200c?E', 'ଐ' ], | ||
[ 'F', 'ଫ' ], | ||
[ 'G', 'ଗ' ], | ||
[ 'H', 'ଃ' ], | ||
[ '\u200c?I', 'ଈ' ], | ||
[ 'J', 'ଯ' ], | ||
[ 'K', 'ଖ' ], | ||
[ 'L', 'ଳ' ], | ||
[ 'M', 'ଂ' ], | ||
[ 'N', 'ଣ' ], | ||
[ '\u200c?O', 'ଔ' ], | ||
[ 'P', 'ଫ' ], | ||
[ 'Q', 'ଢ଼' ], | ||
[ 'R', 'ଋ' ], | ||
[ 'S', 'ଶ' ], | ||
[ 'T', 'ଟ' ], | ||
[ '\u200c?U', 'ଊ' ], | ||
[ 'X', 'ଁ' ], | ||
[ 'Z', 'ଜ୍ଞ' ], | ||
[ '//', '୍ର' ], | ||
|
||
[ '0', '୦' ], | ||
[ '1', '୧' ], | ||
[ '2', '୨' ], | ||
[ '3', '୩' ], | ||
[ '4', '୪' ], | ||
[ '5', '୫' ], | ||
[ '6', '୬' ], | ||
[ '7', '୭' ], | ||
[ '8', '୮' ], | ||
[ '9', '୯' ] | ||
] | ||
}; | ||
|
||
$.ime.register( orLekhani ); | ||
}( jQuery ) ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
Lekhani is a phonetic Odia input layout. Lekhani draws inspiration from "Oriya phonetic typing on Ubuntu" and "Oriya - QUERTY" on Mac. It was initiated in 2011 and implemented on Mediawiki during 2012. | ||
|
||
Features | ||
|
||
Lekhani is a phonetic input layout, so individual key input gives Odia characters without a halanta | ||
Halanta ( ୍ ) is normally used to type conjuncts (ଯୁକ୍ତାଷର). You need to type z to get ୍. For example type କ ୍ (Type z)ତ to get କ୍ତ. | ||
Most used conjuncts (e.g. ଙ୍କ, ଙ୍ଖ, ଙ୍ଗ, ମ୍ପ, ଞ୍ଜ, ମ୍ବ) could be written by joining two characters with a halanta (z is used to type halanta) | ||
|
||
Vowels | ||
ଅ ଆ ଇ ଈ ଉ ଊ | ||
a aa i I u U | ||
ଏ ଐ ଓ ଔ ଋ | ||
e ai o au R | ||
|
||
Consonants | ||
କ ଖ ଗ ଘ ଙ | ||
k kh g gh NG | ||
ଚ ଛ ଜ ଝ ଞ | ||
c Ch j jh Ng | ||
ଟ ଠ ଡ ଢ ଣ | ||
T Th D Dh N | ||
ତ ଥ ଦ ଧ ନ | ||
t th d dh n | ||
ପ ଫ ବ ଭ ମ | ||
p ph/F b bh m | ||
ଯ ର ଲ ୱ ଶ | ||
y r l w S | ||
ଷ ସ ହ ଳ କ୍ଷ | ||
X s h L x | ||
ଜ୍ଞ ଡ଼ ଢ଼ | ||
Z q Q | ||
|
||
Matra | ||
କା କି କୀ କେ କୈ କୁ କୂ କୋ କୌ | ||
ka ki kI ke kE ku kU ko kou | ||
୍ (ହଳନ୍ତ) କ୍ର କ୍ରା କ୍ରି କ୍ରେ କ୍ରୋ କ୍ରୀ କ୍ରୌ କ୍ରୈ | ||
z kzr kzra kzri kzre kzro kzrI kzrou kzrE | ||
Conjuncts | ||
କ୍କ | ||
kk ଚ୍ଚ | ||
cc ଚ୍ଛ | ||
cch ଜ୍ଜ | ||
jj ଟ୍ଟ | ||
TT ଡ୍ଡ | ||
DD ଣ୍ଣ | ||
NzN ତ୍ତ | ||
tt ଦ୍ଦ | ||
dd ନ୍ନ | ||
nn ପ୍ପ | ||
pp ଭ୍ଭ | ||
bhzbh ମ୍ମ | ||
mzm ଲ୍ଲ | ||
ll | ||
ଜ୍ଝ | ||
jzjh ତ୍ଥ | ||
tzth ଦ୍ଧ | ||
dzdh ବ୍ଦ | ||
dzdh ବ୍ଧ | ||
bzdh କ୍ଟ କ୍ତ କ୍ଥ କ୍ନ କ୍ମ କ୍ର କ୍ଳ କ୍ଲ କ୍ୱ | ||
କ୍ସ | ||
kzs ଗ୍ଣ | ||
gzm ଗ୍ର | ||
gzr ଗ୍ଳ | ||
gzL ଗ୍ଳ | ||
gzL ଗ୍ୱ | ||
gw ଘ୍ନ | ||
ghzn ଘ୍ର | ||
ghzr ଙ୍କ | ||
nk ଙ୍ଖ | ||
nkh ଙ୍ଗ | ||
ng ଙ୍ଘ | ||
ngh ଚ୍ର | ||
czr ଜ୍ର | ||
jzr | ||
ଞ୍ଚ | ||
nc ଞ୍ଛ | ||
nch ଞ୍ଜ | ||
nj ଞ୍ଝ | ||
njh | ||
|
||
Test examples | ||
|
||
Use halanta ୍ to join two characters to write conjuncts (Odia: ଯୁକ୍ତାକ୍ଷର or Juktakhyara) z | ||
|
||
ସହର= s_hr | ||
ସ୍ୱର୍ଣ୍ଣ = swrzNzN | ||
ପ୍ରତି = p zrti | ||
ପ୍ରୌଢ଼ = pzrouQ | ||
କୃତ୍ୟ = kRtY | ||
ଟାଇପ୍ର = Taipz_r | ||
|
||
Resources: | ||
1. Help page in English: https://www.mediawiki.org/wiki/Help:Extension:UniversalLanguageSelector/Input_methods/or-lekhani | ||
2. Help page in Odia: https://or.wikipedia.org/s/oup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
c Source code from Wikimedia jQuery IME (https://github.com/wikimedia/jquery.ime/tree/master/rules/or).IMEs created by multiple developers. | ||
store(&VERSION) '9.0' | ||
store(&TARGETS) 'any windows macosx linux web iphone ipad androidphone androidtablet mobile desktop tablet' | ||
store(&NAME) 'Lekhani' | ||
store(ÐNOLOGUECODE) 'ori' | ||
store(©RIGHT) '© O Foundation' | ||
store(&MESSAGE) 'Designed by Subhashish Panigrahi for O Foundation' | ||
store(&LANGUAGE) 'x0448' | ||
store(&WINDOWSLANGUAGES) 'x0448' | ||
store(&BITMAP) 'Lekhani.ico' | ||
store(&VISUALKEYBOARD) 'Lekhani.kvk' | ||
store(&KMW_HELPFILE) 'Lekhani-help.htm' | ||
store(&KMW_EMBEDJS) 'Lekhani-code.js' | ||
store(&KMW_EMBEDCSS) 'Lekhani.css' | ||
store(&INCLUDECODES) 'Lekhani-codes.txt' | ||
begin Unicode > use(main) | ||
|
||
|
||
group(main) using keys | ||
+ [K_0] > '୦' | ||
+ [K_9] > '୯' | ||
+ [K_8] > '୮' | ||
+ [K_7] > '୭' | ||
+ [K_6] > '୬' | ||
+ [K_5] > '୫' | ||
+ [K_4] > '୪' | ||
+ [K_3] > '୩' | ||
+ [K_2] > '୨' | ||
+ [K_1] > '୧' | ||
+ [K_M] > 'ମ' | ||
+ [K_N] > 'ନ' | ||
+ [K_B] > 'ବ' | ||
+ [K_V] > 'ୱ' | ||
+ [K_C] > 'ଚ' | ||
+ [K_X] > 'କ୍ଷ' | ||
+ [K_Z] > '୍' | ||
+ [K_L] > 'ଲ' | ||
+ [K_J] > 'ଜ' | ||
+ [K_H] > 'ହ' | ||
+ [K_G] > 'ଗ' | ||
+ [K_F] > 'ଫ' | ||
+ [K_D] > 'ଦ' | ||
+ [K_S] > 'ସ' | ||
+ [K_A] > 'ଅ' | ||
+ [K_P] > 'ପ' | ||
+ [K_O] > 'ଓ' | ||
+ [K_I] > 'ଇ' | ||
+ [K_U] > 'ଉ' | ||
+ [K_Y] > 'ଯ' | ||
+ [K_T] > 'ତ' | ||
+ [K_R] > 'ର' | ||
+ [K_E] > 'ଏ' | ||
+ [K_W] > 'ୱ' | ||
+ [K_Q] > 'ଡ଼' | ||
+ [SHIFT K_L] > 'ଳ' | ||
+ [SHIFT K_Y] > 'ୟ' | ||
+ [SHIFT K_V] > 'ୱ' | ||
+ [SHIFT K_Z] > 'ଜ୍ଞ' | ||
+ [SHIFT K_W] > 'ୱ' | ||
+ [SHIFT K_Q] > 'ଢ଼' | ||
+ [SHIFT K_P] > 'ଫ' | ||
+ [SHIFT K_S] > 'ଶ' | ||
+ [SHIFT K_B] > 'ବ' | ||
+ [SHIFT K_F] > 'ଫ' | ||
+ [SHIFT K_N] > 'ଣ' | ||
+ [SHIFT K_D] > 'ଡ' | ||
+ [SHIFT K_T] > 'ଟ' | ||
+ [SHIFT K_R] > 'ଋ' | ||
+ [SHIFT K_U] > 'ଊ' | ||
+ [SHIFT K_I] > 'ଈ' | ||
+ [SHIFT K_A] > 'ଆ' | ||
+ [SHIFT K_X] > 'ଁ' | ||
+ [SHIFT K_M] > 'ଂ' | ||
+ [SHIFT K_H] > 'ଃ' | ||
+ [SHIFT K_J] > 'ଝ' | ||
+ [SHIFT K_C] > 'ଛ' | ||
+ [SHIFT K_G] > 'ଘ' | ||
+ [SHIFT K_O] > 'ଔ' | ||
+ [SHIFT K_E] > 'ଐ' | ||
+ [SHIFT K_K] > 'ଖ' | ||
+ [K_K] > 'କ' |
Binary file not shown.
Binary file not shown.
Oops, something went wrong.