Korean Solaris User's Guide

Chapter 5 Hanja Tool

The following sections describe the features of the Hanja tool and provide procedures that you can use to create and edit local Hangul-Hanja conversion dictionaries.

Hanja Tool Features

The Hanja Tool enables you to add or delete entries in a local Hangul–Hanja dictionary. This capability controls the available Hanja choices in the Hangul–Hanja conversion mode.


Note –

The system-wide Hangul–Hanja dictionary is read-only and cannot be edited.


The Hanja Tool is a viewer for the Hangul–Hanja dictionary, Because the dictionary file is in binary format, you would be unable to view it without the Hanja Tool.

Hanja Tool allows you to add an user-based Hangul–Hanja entry. The Hanja Tool adds the user-based Hangul–Hanja entry as an extension to the read-only, system-wide Hangul–Hanja dictionary, /usr/lib/im/locale/ko_KR/common/data/syshjd. Each user's entry for Hangul–Hanja conversion works seamlessly together with the system-wide Hangul–Hanja entry.

Using Hanja Tool

The Hanja Tool initially appears in ASCII input mode, as shown in the status area of the figure. Before you can type Korean characters in the Hanja Tool fields, you must type Control-Space to turn on the Hangul input mode.

The Hanja Tool input fields, scrolling list areas, and buttons are labelled and used as described in the following.

How to Launch the Hanja Tool

    Enter the following command to launch the Hanja Tool.


    system% sdthanja
    

    This command displays a Hanja Tool window, such as the following.

    The preceding context describes the graphic.

How to Find the Hanja for a Hangul word

Use the following procedure to find the Hanja associated with a Hangul word in the system and user parts of the Hangul-Hanja dictionary.

  1. Use the Launch the Hanja Tool.

  2. Type the Hangul word in the Hangul field.

    The entry appears highlighted in the preedit area as you type

  3. Type Control-K to commit the entry.

    Illustration shows the Hanja Tool with a Hangul word in the Hangul field.
  4. Click the Find button to search for the Hanja to associate with the committed Hangul.

    Illustration shows the Hanja Tool with Hanja for the committed Hangul word.

    The line beneath the status area shows the number of the word in the User and System dictionaries.

How to Add Hanja to the Hangul-Hanja Dictionary

Use the following procedure to add a Hanja word to the Hangul–Hanja dictionary.

  1. Click the Add button of the main screen to bring up the Add/Modify dialog box.

    The preceding context describes the graphic.
  2. Type a new word or change the existing word in the Add/Modify dialog box. Then use Control-K to commit the Hangul characters you want to associate with the Hanja in your dictionary.

    The preceding context describes the graphic.
  3. In the Hanja field, type the Hanja associated with the Hangul that you want to add to your dictionary.

    Use the character-by-character methods described in Using Hangul/Hanja Conversion to Enter Hanja.

    The preceding context describes the graphic.
  4. Click the Add button.

    A display such as the following appears.

    The preceding context describes the graphic.

    The line beneath the status area tells you the word was added to the User Dictionary. The User Dictionary is changed. The read-only System Dictionary cannot be changed.

    The preceding context describes the graphic.

How to Modify Hanja in the Hangul-Hanja Dictionary

Modifying a Hanja word is similar to the process for adding a Hanja word.

  1. Select a Hanja word from the User Dictionary and click the Modify button.

  2. Edit the Hangul associated with the Hanja in the Add/Modify dialog box. Then use Control-K to commit the Hangul characters you want to associate with the Hanja.

  3. In the Hanja field, type the Hanja associated with the modified Hangul.

    Use the character-by-character methods described in Using Hangul/Hanja Conversion to Enter Hanja.

  4. Click the Modify button.

How to Delete Hanja from the Hangul-Hanja Dictionary

To delete Hanja from the User Dictionary, use the following procedure.

  1. In the Hangul field type the Hangul word associated with the Hanja in your User Dictionary.

  2. Type Control-K to commit the Hangul input.

  3. Click the Find button.

    This displays the Hanja in the User Dictionary list area. Scroll through the list area to find the Hanja you want to delete.

  4. Click the Hanja you want to delete.

    The preceding context describes the graphic.
  5. Click the Delete button to delete the Hanja from the User Dictionary.

    A delete confirmation dialog box appears.

    The preceding context describes the graphic.
  6. Click OK if you are sure you want to delete the Hanja. Otherwise, click Cancel.

    The line beneath the status area tells you that the word was deleted from the User Dictionary. The User Dictionary is changed. The System Dictionary is read-only and cannot be changed.