Hanja IME: Difference between revisions

From Han Wiki
Jump to navigation Jump to search
→‎Resources: clayjar github
 
(13 intermediate revisions by the same user not shown)
Line 2: Line 2:


== Windows 10 ==
== Windows 10 ==
{{testedon|Windows 10 (Version 20H2, Build 29042.685)2021-01-09}}
{{testedon|2021-01-09|Windows 10 (Version 20H2, Build 29042.685)}}


I was introduced to Zhengma IME through a fellow friend, Münchner on Discord. Zhengma IME used to be available on Windows until Microsoft removed it due to a patient dispute, and resources around it seem very limited. As of 2021, the instruction available elsewhere on the Internet for Windows 10 seemed virtually non-existent in English. Zhengma dictionary file from my own GitHub (clayjar/rime-zhengma) is one of the ones that seemed to have been optimized for the Classical Chinese characters, or hanja, and that's why it's used here.  You can find other ones like Openvingen/rime-zhengma if you intend to use it for the Simplified Chinese characters.
I was introduced to Zhengma IME through a fellow friend, Münchner on Discord. Zhengma IME used to be available on Windows until Microsoft removed it due to a patient dispute, and resources around it seem very limited. As of 2021, the instruction available elsewhere on the Internet for Windows 10 seemed virtually non-existent in English. Zhengma dictionary file from my own GitHub (clayjar/rime-zhengma) is one of the ones that seemed to have been optimized for the Classical Chinese characters, or hanja, and that's why it's used here.  You can find other ones like Openvingen/rime-zhengma if you intend to use it for the Simplified Chinese characters.


한자를 입력하는 여러가지 방법이 있는 것으로 알고 있습니다. 예를 들어 창힐수입법(倉頡輸入法) 혹은 속성수입법(速成輸入法)이 있지만 잘 알려지지 않은 정마수입법(鄭碼輸入法)도 있습니다. 한자를 제일 빠르게 그리고 제일 효과적으로 입력할 수 있는 방법은 개인적으로 정마수입법이라고 생각됩니다. 그 이유는 소리음으로 타자를 치는 것이 아니라 한자의 구조를 따라 치는 방법이기 때문입니다. Windows 7까지는 기본으로 들어가 있었지만 어떤 특허관련으로 Windows 8 부터는 빠지게 되었다고 합니다. 여기 중국어를 위해 만들어진 RIME IME 를 기반으로 장마수입법 설치 방법을 기록합니다. 현제 사용법으로 [https://wenku.baidu.com/view/462a7826a5e9856a56126013.html?re=view 여기 영어로 있습니다]. 나중에 기회가 되면 한글로도 준비해 보겠습니다.
한자를 입력하는 여러가지 방법이 있는 것으로 알고 있습니다. 예를 들어 창힐수입법(倉頡輸入法) 혹은 속성수입법(速成輸入法)이 있지만 잘 알려지지 않은 정마수입법(鄭碼輸入法)도 있습니다. 한자를 빠르게 그리고 제일 효과적으로 입력할 수 있는 방법은 개인적으로 정마수입법이라고 생각됩니다. 그 이유는 소리음으로 타자를 치는 것이 아니라 한자의 구조를 따라 치는 방법이기 때문입니다. 보통 소리음으로 치는 것에 익숙하신 분들은 한자를 직접 쓰는 방법을 잃어버리게 되있지만 한자 구조로 타자를 칠경우 항상 머리속에 새긴는 역활을 하기 때문에 한자 쓰는 방법또한 머리속에 유지가 되는 유익한 점이 있습니다. 획순으로 입력하는 방법도 있지만 글자의 구조를 따라 쓰는 것보다 더 많은 키를 눌러야 하는 단점이 있습니다. Windows 7까지는 기본으로 들어가 있었지만 어떤 특허관련으로 Windows 8 부터는 빠지게 되었다고 합니다. 여기 중국어를 위해 만들어진 RIME IME 를 기반으로 장마수입법 설치 방법을 기록합니다. 현제 사용법으로 [https://wenku.baidu.com/view/462a7826a5e9856a56126013.html?re=view 여기 영어로 있습니다]. 나중에 기회가 되면 한글로도 준비해 보겠습니다.


# Installation
 
## Install RIME IME from https://rime.im/  Click on the blue button to download. (as of 2021/01/09) <br>:[[File:ClipCapIt-210109-152507.PNG|500px]]
=== Installation of RIME IME ===
### Click "I agree" :[[File:ClipCapIt-210109-155243.PNG|400px]]
# Install RIME IME from https://rime.im/  Click on the blue button to download. ([https://private.michaelhan.net/hanja/weasel-0.14.3.0-installer.exe v0.14.3.0 as of 2021/01/09])<br><br>:[[File:ClipCapIt-210109-152507.PNG|500px]]<br><br>
### Click "Install" if you're okay with the path <br>:[[File:ClipCapIt-210109-155415.PNG]]
# Click "I agree"<br><br>:[[File:ClipCapIt-210109-155243.PNG|400px]]<br><br>
### First box is to choose either Simplified (top) or Traditional Chinese (bottom), the second box is whether you want to accept default folder for the custom method files (left) or choose your own path (right). Click on 安裝 (install). <br>:[[File:ClipCapIt-210109-155836.PNG]]
# Click "Install" if you're okay with the path<br><br>:[[File:ClipCapIt-210109-155415.PNG]]<br><br>
### You will receive a confirmation box like this. It just says "Weasle has been installed," although you will still have to wait a little after clicking OK. <br>:[[File:ClipCapIt-210109-155913.PNG]]
# First box is to choose either Simplified (top) or Traditional Chinese (bottom), the second box is whether you want to accept default folder for the custom method files (left) or choose your own path (right). Click on 安裝 (install).<br><br>:[[File:ClipCapIt-210109-155836.PNG]]<br><br>
### The final dialog box looks like this.<br>:[[File:ClipCapIt-210109-160257.PNG]]
# You will receive a confirmation box like this. It just says "Weasle has been installed," although you will still have to wait a little after clicking OK.<br><br>:[[File:ClipCapIt-210109-155913.PNG]]<br><br>
## Check if your RIME IME works properly.
# The final dialog box looks like this.<br><br>:[[File:ClipCapIt-210109-160257.PNG]]<br><br>
## When you click on your IME/keyboard icon, you should see Chinese (Simplified, China)/Weasle listed.<br>:[[File:ClipCapIt-210109-160500.PNG]]<br>Press Shift+Left Alt or Windows+Space to switch to that IME.<br>:[[File:ClipCapIt-210109-160813.PNG]]<br>If you want to temporarily disable Chinese IME, just press Ctrl-Space to toggle instead of switching over to English IME.<br>:[[File:ClipCapIt-210109-161919.PNG]]<br>You can also press Ctrl+Left Shift to toggle between English and Chinese.
 
## Using the default method, which is pin-yin, you should be able to type 中國 by pressing ''zhguo'' and spacebar. <br>:[[File:ClipCapIt-210109-162057.PNG]]  :[[File:ClipCapIt-210109-162143.PNG]]<br>If you had chosen Simplified Chinese, it will look like this <br>:[[File:ClipCapIt-210109-162452.PNG]]
 
# Install files necessary for ZhengMa IME. In this example, we'll use the one prepared for the Traditional Chinese script (by Gong Mu).  If you want to use one prepared for Simplified, you're advised to use OpenVingen's version. NOTE: The key bindings are slightly different between the two -- one was optimized for the Traditional script, and the other for the Simplified.
==== Check if your RIME IME works properly ====
## Right click on Taskbar IME icon that has the character 中 <br> and you'll get a menu with the following<br>Input method setting (S)<br>Manage user dictionary (D)<br>User data sychronization (N)<br>Open [user] custom data folder (C)<br>Open program foler (P)<br>Open documentation (H)<br>Go to forum (J)<br>Check for an update (U)<br>Refresh/Reload (R)<br>Quit from algorithm service ?? (Q)<br>Choose SETTINGS (S).
# When you click on your IME/keyboard icon, you should see Chinese (Simplified, China)/Weasle listed.<br><br>:[[File:ClipCapIt-210109-160500.PNG]]<br><br>Press Shift+Left Alt or Windows+Space to switch to that IME.<br><br>:[[File:ClipCapIt-210109-160813.PNG]]<br><br>If you want to temporarily disable Chinese IME, just press Ctrl-Space to toggle instead of switching over to English IME.<br><br>:[[File:ClipCapIt-210109-161919.PNG]]<br><br>You can also press Ctrl+Left Shift to toggle between English and Chinese.<br><br>
## Click on Import more input methods.. button at the bottom left<br>:[[File:ClipCapIt-210109-164834.PNG]]
# Using the default method, which is pin-yin, you should be able to type 中國 by pressing ''zhguo'' and spacebar.<br><br>:[[File:ClipCapIt-210109-162057.PNG]]  :[[File:ClipCapIt-210109-162143.PNG]]<br><br>If you had chosen Simplified Chinese, it will look like this<br><br>:[[File:ClipCapIt-210109-162452.PNG]]<br><br>
## Enter "clayjar/rime-zhengma" and press enter. <br>:[[File:ClipCapIt-210109-183241.PNG]]<br>Press Enter once more and then type "exit" Enter to exit from console.
 
## On the same dialog box you can uncheck most of the boxes of methods, and check 安静郑码. Click on 中 two times in a row. If you have more than one methods available you can switch by using Ctrl+grave combination.
=== Install files necessary for Zhengma IME ===
# In this example, we'll use the one prepared for the Traditional Chinese script (by Gong Mu).  If you want to use one prepared for Simplified, you're advised to use OpenVingen's version. NOTE: The key bindings are slightly different between the two -- one was optimized for the Traditional script, and the other for the Simplified.<br><br>
# Right click on Taskbar IME icon that has the character 中 <br><br>and you'll get a menu with the following<br><br>:[[File:ClipCapIt-210109-204324.PNG]]<br>Input method setting (S)<br>Manage user dictionary (D)<br>User data sychronization (N)<br>Open [user] custom data folder (C)<br>Open program foler (P)<br>Open documentation (H)<br>Go to forum (J)<br>Check for an update (U)<br>Refresh/Reload (R)<br>Quit from algorithm service ?? (Q)<br><br>Choose SETTINGS (S) from the menu.<br><br>
# Click on Import more input methods.. button at the bottom left<br><br>:[[File:ClipCapIt-210109-164834.PNG]]<br><br>
# Enter "clayjar/rime-zhengma" and press enter. <br><br>:[[File:ClipCapIt-210109-183241.PNG]]<br><br>Press Enter once more and then type "exit" Enter to exit from console.<br><br>
# On the same dialog box you can uncheck most of the boxes of methods, and check 安静郑码. Click on 中 two times in a row. If you have more than one methods available you can switch by using Ctrl+grave combination.<br><br>
# You're all set to use Zhengma now!
# You're all set to use Zhengma now!
== OS X ==
{{testedon|2021-01-09|OS X 11.1|}}
* Contributed by Münchner/Discord
=== Adding RIME IME ===
# Install RIME IME from https://rime.im/ Click on the blue button to download.<br>:[[File:ClipCapIt-210109-191443.PNG]]
# Right click and open the file in your downloads directory titled "Squirrel.pkg"
# If prompted with this message click "Open"<br>:[[File:ClipCapIt-210109-191543.PNG]]
# In the installer, click "Continue"
# On the "Installation Type" page click "Install" if you are happy with the location it will install. If not, select "Change Install Location" and choose where you want it installed
# The Installer will prompt you to enter your password to install the program, do so.
# When complete you will be met with this screen on the Installer window.<br>:[[File:ClipCapIt-210109-191628.PNG]]
# Go to System Preferences > Keyboard > Input Sources > Chinese, Simplified and add "Squirrel" to the input methods list
=== Adding Zhengma ===
# Download the necessary ZhengMa files from https://github.com/lotem/rime-zhengma
# Select Squirrel from the drop down input method menu and click on Settings… after doing this you should be located in the directory ~/Library/Rime/<br>:[[File:ClipCapIt-210109-191751.PNG]]
# Once in this directory put all downloaded *.yaml files from the ZhengMa download in this folder
# Create a file named exactly "default.custom.yaml" with the following contents
#:patch:
#::schema_list:
#:::- schema: zhengma
# Select Squirrel in your input method menu and select "Deploy"
# You're all set to use Zhengma now!
== Resources ==
* [https://gjrobert.github.io/Rime-See-Me-squirrel/ Customize UI for RIME Squirrel]
* [https://github.com/clayjar/rime-zhengma RIME Zhengma Input Method (鄭碼輸入法)]

Latest revision as of 21:48, 9 January 2021

Zhengma Input Method (鄭碼輸入法, 정마수입법)

Windows 10

  • Last tested on Windows 10 (Version 20H2, Build 29042.685) (2021-01-09)

I was introduced to Zhengma IME through a fellow friend, Münchner on Discord. Zhengma IME used to be available on Windows until Microsoft removed it due to a patient dispute, and resources around it seem very limited. As of 2021, the instruction available elsewhere on the Internet for Windows 10 seemed virtually non-existent in English. Zhengma dictionary file from my own GitHub (clayjar/rime-zhengma) is one of the ones that seemed to have been optimized for the Classical Chinese characters, or hanja, and that's why it's used here. You can find other ones like Openvingen/rime-zhengma if you intend to use it for the Simplified Chinese characters.

한자를 입력하는 여러가지 방법이 있는 것으로 알고 있습니다. 예를 들어 창힐수입법(倉頡輸入法) 혹은 속성수입법(速成輸入法)이 있지만 잘 알려지지 않은 정마수입법(鄭碼輸入法)도 있습니다. 한자를 빠르게 그리고 제일 효과적으로 입력할 수 있는 방법은 개인적으로 정마수입법이라고 생각됩니다. 그 이유는 소리음으로 타자를 치는 것이 아니라 한자의 구조를 따라 치는 방법이기 때문입니다. 보통 소리음으로 치는 것에 익숙하신 분들은 한자를 직접 쓰는 방법을 잃어버리게 되있지만 한자 구조로 타자를 칠경우 항상 머리속에 새긴는 역활을 하기 때문에 한자 쓰는 방법또한 머리속에 유지가 되는 유익한 점이 있습니다. 획순으로 입력하는 방법도 있지만 글자의 구조를 따라 쓰는 것보다 더 많은 키를 눌러야 하는 단점이 있습니다. Windows 7까지는 기본으로 들어가 있었지만 어떤 특허관련으로 Windows 8 부터는 빠지게 되었다고 합니다. 여기 중국어를 위해 만들어진 RIME IME 를 기반으로 장마수입법 설치 방법을 기록합니다. 현제 사용법으로 여기 영어로 있습니다. 나중에 기회가 되면 한글로도 준비해 보겠습니다.


Installation of RIME IME

  1. Install RIME IME from https://rime.im/ Click on the blue button to download. (v0.14.3.0 as of 2021/01/09)

    :

  2. Click "I agree"

    :

  3. Click "Install" if you're okay with the path

    :

  4. First box is to choose either Simplified (top) or Traditional Chinese (bottom), the second box is whether you want to accept default folder for the custom method files (left) or choose your own path (right). Click on 安裝 (install).

    :

  5. You will receive a confirmation box like this. It just says "Weasle has been installed," although you will still have to wait a little after clicking OK.

    :

  6. The final dialog box looks like this.

    :


Check if your RIME IME works properly

  1. When you click on your IME/keyboard icon, you should see Chinese (Simplified, China)/Weasle listed.

    :

    Press Shift+Left Alt or Windows+Space to switch to that IME.

    :

    If you want to temporarily disable Chinese IME, just press Ctrl-Space to toggle instead of switching over to English IME.

    :

    You can also press Ctrl+Left Shift to toggle between English and Chinese.

  2. Using the default method, which is pin-yin, you should be able to type 中國 by pressing zhguo and spacebar.

    :  :

    If you had chosen Simplified Chinese, it will look like this

    :

Install files necessary for Zhengma IME

  1. In this example, we'll use the one prepared for the Traditional Chinese script (by Gong Mu). If you want to use one prepared for Simplified, you're advised to use OpenVingen's version. NOTE: The key bindings are slightly different between the two -- one was optimized for the Traditional script, and the other for the Simplified.

  2. Right click on Taskbar IME icon that has the character 中

    and you'll get a menu with the following

    :
    Input method setting (S)
    Manage user dictionary (D)
    User data sychronization (N)
    Open [user] custom data folder (C)
    Open program foler (P)
    Open documentation (H)
    Go to forum (J)
    Check for an update (U)
    Refresh/Reload (R)
    Quit from algorithm service ?? (Q)

    Choose SETTINGS (S) from the menu.

  3. Click on Import more input methods.. button at the bottom left

    :

  4. Enter "clayjar/rime-zhengma" and press enter.

    :

    Press Enter once more and then type "exit" Enter to exit from console.

  5. On the same dialog box you can uncheck most of the boxes of methods, and check 安静郑码. Click on 中 two times in a row. If you have more than one methods available you can switch by using Ctrl+grave combination.

  6. You're all set to use Zhengma now!

OS X

  • Last tested on OS X 11.1 (2021-01-09)
  • Contributed by Münchner/Discord

Adding RIME IME

  1. Install RIME IME from https://rime.im/ Click on the blue button to download.
    :
  2. Right click and open the file in your downloads directory titled "Squirrel.pkg"
  3. If prompted with this message click "Open"
    :
  4. In the installer, click "Continue"
  5. On the "Installation Type" page click "Install" if you are happy with the location it will install. If not, select "Change Install Location" and choose where you want it installed
  6. The Installer will prompt you to enter your password to install the program, do so.
  7. When complete you will be met with this screen on the Installer window.
    :
  8. Go to System Preferences > Keyboard > Input Sources > Chinese, Simplified and add "Squirrel" to the input methods list

Adding Zhengma

  1. Download the necessary ZhengMa files from https://github.com/lotem/rime-zhengma
  2. Select Squirrel from the drop down input method menu and click on Settings… after doing this you should be located in the directory ~/Library/Rime/
    :
  3. Once in this directory put all downloaded *.yaml files from the ZhengMa download in this folder
  4. Create a file named exactly "default.custom.yaml" with the following contents
    patch:
    schema_list:
    - schema: zhengma
  5. Select Squirrel in your input method menu and select "Deploy"
  6. You're all set to use Zhengma now!


Resources