hjyreach / libhangul

Automatically exported from code.google.com/p/libhangul
GNU Lesser General Public License v2.1
0 stars 0 forks source link

Expected Korean output from IME for QWERTY keys (ㄱ+ㅣ+ 2 times ㅅ +ㅣ) is 기씨 but libhangul is showing 깃시 #17

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.run the IME with the above Input or (rlttl) in command line
2.
3.

What is the expected output? What do you see instead?
기씨

Outcome:
깃시

What version of the product are you using? On what operating system?
libhangul-0.1.0.tar.gz

Please provide any additional information below.

Original issue reported on code.google.com by suneel....@gmail.com on 29 Jun 2015 at 10:19

GoogleCodeExporter commented 8 years ago
Please fix this issue if this is a real issue in IME, I couldn't do anything to 
fix this

Original comment by suneel....@gmail.com on 29 Jun 2015 at 10:20

GoogleCodeExporter commented 8 years ago
You should press 'Shift+T' for 'ㅆ' on Dubeolsik.
See this links for more information about keyboard layouts:
http://libhangul.googlecode.com/git/doc/html/group__hangulkeyboards.html#layout_
2
https://en.wikipedia.org/wiki/Keyboard_layout#Hangul_.28for_Korean.29

Original comment by choe.hwanjin@gmail.com on 29 Jun 2015 at 10:39

GoogleCodeExporter commented 8 years ago
Hi Choe,

Thanks for the prompt response.
I think I understood the issue,please see the below look up table we are 
assigning to the chars from our GUI and getting the english text as a string 
and sending it to libhangul and getting the output from the libhangul.

         (key == "ㅂ")

            assign = "q";

         (key == "ㅈ")

            assign = "w";

         (key == "ㄷ")

            assign = "e";

         (key == "ㄱ")

            assign = "r";

         (key == "ㅅ")

            assign = "t";

         (key == "ㅛ")

            assign = "y";

         (key == "ㅕ")

            assign = "u";

         (key == "ㅑ")

            assign = "i";

         (key == "ㅐ")

            assign = "o";

         (key == "ㅔ")

            assign = "p";

         (key == "ㅁ")

            assign = "a";

         (key == "ㄴ")

            assign = "s";

         (key == "ㅇ")

            assign = "d";

         (key == "ㄹ")

            assign = "f";

         (key == "ㅎ")

            assign = "g";

         (key == "ㅗ")

            assign = "h";

         (key == "ㅓ")

            assign = "j";

         (key == "ㅏ")

            assign = "k";

         (key == "ㅣ")

            assign = "l";

         (key == "ㅋ")

            assign = "z";

         (key == "ㅌ")

            assign = "x";

         (key == "ㅊ")

            assign = "c";

         (key == "ㅍ")

            assign = "v";

         (key == "ㅠ")

            assign = "b";

         (key == "ㅜ")

            assign = "n";

         (key == "一")

            assign = "m";

        // For the upper case characters
         (key == "ㅃ")

            assign = "Q";

         (key == "ㅉ")

            assign = "W";

         (key == "ㄸ")

            assign = "E";

         (key == "ㄲ")

            assign = "R";

         (key == "ㅆ")

            assign = "T";

         (key == "ㅒ")

            assign = "O";

         (key == "ㅖ")

            assign = "P";

         (key == "SPC")

            assign = " ";

        else

            //Do Nothing

        return assign;

Could you please correct me if my assignment of the characters are wrong.?
Also attached the image of our GUI FYR.

Original comment by suneel....@gmail.com on 29 Jun 2015 at 11:05

Attachments:

GoogleCodeExporter commented 8 years ago
It looks OK.

Original comment by choe.hwanjin@gmail.com on 30 Jun 2015 at 1:11