Method for customizing kana-kanji conversion system and kana-kanji conversion system5659772Abstract A plurality of customization files, each including customizing information of a kana-kanji conversion system and display information corresponding to the customizing information, is prepared. A customization file selected from the plurality of customization files is opened (step 100), a window showing the selected customization file is displayed on a CRT, and customization is performed in an interactive way in accordance with user's instructions (step 104). The customized customization file is saved as a new file. When a kana-kanji conversion program is used, the display information of the selected customization file is displayed at an arbitrary predetermined position (preferably, in the lowest line) within the window displayed on the CRT. Claims What is claimed is: Description FIELD OF THE INVENTION
TABLE 1
______________________________________
*For input of Roman-characters
/IND="Roman character"
/MDP=d:.Yen.whwin.Yen.WHDCT.PRO
/UDC=d:.Yen.whwin.Yen.WHLEARN.DCT
/FNC=d:.Yen.whwin.Yen.ROMAJI.FNC
/RTB=d:.Yen.whwin.Yen.ROMAJI.RTB
/CHR=d:.Yen.whwin.Yen.ROMAJI.CHR
______________________________________
In Table 1, the text beginning with the mark "*" in the first line of this customization file is a comment. The file specified by "/IND=" in the second line is kanji indicator information which is display information. This kanji indicator information is preferably displayed in the lowermost line of each individual window screen of a multi-window. This kanji indicator information may be, for example, names for identifying customized users in charge, such as "For Tanaka" and "For Ozawa", functions such as "IBM MKK style" and "For input of special Roman characters", specified dictionaries such as "For input of chemical terms", "For input of atomic energy terms", or the like, and an input form such as "Roman-character input", "Kana input" or the like. The kanji indicator information is described by a user by a customizing method which will be described below. In Table 1, as the kanji indicator information, "Roman character" is specified. This means that a person who created the customization file intends that the customization by the customization file be suitable for a style of inputting special Roman characters. It should be noted that, even if, in a state in which this customization file is selected, the Roman-character input mode is switched to a kana input mode by, for example, pressing a "front" key and "hiragana" key at the same time, the character "R" which represents the Roman-character input mode merely disappears, which does not mean that the indicator information of "Roman character" displayed in the lowermost line within the window is switched to "kana input". The file specified by "/MDP=" in the third line is a multi-dictionary profile in which a specified multi-dictionary profile name is described. The file specified by "/UDC=" in the fourth line is a learning dictionary file, in which a specified learning dictionary name, i.e., a so-called user-defined dictionary name, is described. Phrases and their readings registered by the user at an arbitrary point in time are accumulated in the learning dictionary file. The file specified by "/FNC=" in the fifth line is a function definition file. The function definition file is used to specify a kana-kanji converting function such as first-reading, batch conversion, or automatic determination which is made by inputting "(period mark)". The file specified by "/RTB=" in the sixth line is a Roman-character definition file. The Roman-character definition file is used to define that, for example, in the Roman-character input mode, the hiragana character "" is inputted by "ti" or "chi", the hiragana character "" is inputted by "xn" or "nn", or the like. The file specified by "/CHR=" in the seventh line is a non Roman-character definition file. The non Roman-character definition file is used to define that, when, in a hiragana input mode, a shift key and the " " key are pressed at the same time, "*" is inputted rather than " " Each line of the customization file is represented in an ordinary text file as illustrated in Table 1. However, each customization file may be represented in a particular binary form, and it suffices that the customization file can be represented in accordance with the specification of a customization file-reading portion of the kana-kanji conversion program. Next, an example of a start-up time reference file is shown in Table
TABLE 2
______________________________________
[Install]
InstDir=d:.Yen.whwin
User=Rika Oyamada
[Editor]
DefProfileName=d:.Yen.whwin.Yen.ROMAJI.CUS
______________________________________
In the reference file shown in Table 2, the content described in "InstDir=" of [Install] is a directory of a file in which the kana-kanji conversion system of the present embodiment is introduced. This file includes other start-up time reference files, a plurality of customization files, or the like. The content described in "User=" is a name of a registered user, which is input at the time of introduction of the kana-kanji conversion system of the present embodiment. The content described in "DefProfileName=" is a name of the start-up time reference file. Namely, the start-up time reference file is created when the kana-kanji conversion system of the present embodiment is introduced, and the start-up time reference file is updated when the customization file is selected and modified. Then, the name of the start-up time reference file described in "DefProfileName=" is renamed. Next, a control processing routine of the present embodiment will be described. When a routine for modifying the specified customization file which is shown in FIG. 3 is initiated by double-clicking a predetermined icon, or by clicking an item of a title bar on a predetermined window displaying a pull-down menu to select a menu, in step 110, a customization file selection panel which is the window shown in FIG. 4 is displayed on a CRT to select one of a plurality of customization files. In the "Explanation" of this customization file selection panel, a title which corresponds to a customizable "Comment" portion in a window shown in FIG. 6 which will be described later, is displayed. By selecting a title such as "For Oyamada" and "For Roman-character input" which is displayed in the "Explanation", it is possible to switch the designation of the customization file. The title can be selected by operating a mouse and positioning a cursor to a title to be selected, and clicking the title. In step 112, when it is determined that a title of a customization file selection panel was clicked, reverse display of the clicked title is effected in step 114. As a result, the selected title can be confirmed. The title "For Oyamada" represented with reverse display in FIG. 4 indicates the title of the customization file currently being selected. This title is displayed in the "Comments" section. Further, when a check box of ".quadrature. File name indication (F)" on the customization file selection panel is clicked, a file name can also be displayed together with a title name. Moreover, when a large number of customization files exists and all of these files are not displayed in the "Explanation" section of the customization file selection panel, a title list of the customization files can be scrolled vertically by clicking a scroll bar located at the right-hand end of the window shown in FIG. 4. Here, when "Save (H)" is clicked, the process proceeds from step 116 to step 118. In step 118, information relating to a customization file which corresponds to a selected title is reflected on the reference file which has the contents shown in Table 2 and which is stored in a hard disk, so that the name of the start-up time reference file in the reference file is renamed. On the other hand, when "Temporary setting (I)" is clicked, the process proceeds from step 120 to step 122. In step 122, the display is switched to a customization file corresponding-to a temporarily-selected title. However, the contents of the reference file are not updated. Accordingly, when the power source is temporarily turned off and the system is again turned on, or when the window system is temporarily terminated and is then started again (the latter assumes Windows), the process returns to the designation of the customization file. The above-described processes are repeated until it is determined that the routine has ended in step 124. FIG. 5 shows a customization utility which is a program for customizing a customization file, the customization utility being initiated by double-clicking a predetermined icon, or by clicking an item of a title bar on a predetermined window displaying a pull-down menu to select a menu. When this utility is initiated, in step 100, the customization file specified in the routine shown in FIG. 3 is opened. In the next step 102, the window shown in FIG. 6, which indicates the contents of the customization file, namely, a dialog box, is displayed on the CRT. As a result, customization can be performed in accordance with the user's instructions. In this case, the customization means that the contents of the dialog box are rewritten in accordance with the user's instructions, and that the rewritten contents are saved a file of a different name. In FIG. 6, the contents described in the "Comments" section become a title when one of the plurality of customization files is selected. In this case, the text which starts with the mark indicated by "*" in Table 1 is displayed (in the above-described example, "For input of Roman characters" is displayed). The contents described in the "Comments" section can be modified by the routine for modifying the specified customization file, which was explained with reference to FIG. 3. The contents described in the "Indicator" section is kanji indicator information which is displayed as a kanji indicator at the time of pressing a kanji key, for example, on the lowermost line of a window in which the customization file becomes valid (see FIG. 8). In respective sections of a dictionary profile name and a learning dictionary name, dictionary file names are respectively listed. The kana-kanji conversion program is used to retrieve corresponding vocabulary from the plurality of dictionary files, or to select and list a plurality of words. In FIG. 6, when "Setting (S) . . . " is clicked, another customization, such as selection of the function definition file or Roman-character definition file shown in Table 1, can be performed. The user can click the "File (F)" in the title bar shown in FIG. 6 to display a pull-down menu (not shown) on the screen, and Call, for example, save or cancel a file by selecting a desired item from "Save", "Save as", "Cancel", "Exit", and the like. Thus, since the present embodiment makes it possible to invoke one of the plurality of customization files to display a dialog box on the screen, and to edit the invoked customization file in an interactive way, customization can be easily performed. The edited contents (customized file) are saved as a new customization file by selecting "Save". When it is determined that "Exit" has been selected in step 106, the customization file is closed in step 108. When a particular DOS prompt window (see FIG. 8) is initiated, or when a kanji key is pressed in a state in which a particular DOS prompt window is displayed, the routine shown in FIG. 7 is initiated. In step 130, a KKC (kana-kanji conversion program) reads in the start-up time reference file, reads a customization file name set in the start-up time reference file. In step 132, the KKC reads the contents of the specified customization file. Then, the KKC reads kanji indicator information, dictionary profile, definition file, or the like, from the customization file. In step 134, the KKC displays the contents of the kanji indicator in the lowermost line of the window, and at the same time, effects kana-kanji conversion processing in accordance with the dictionary profile, definition file, or the like. As a result, the user can easily confirm the customization mode of the kana-kanji conversion system which is currently set, for each of the individual windows. The DOS prompt window shown in FIG. 8 is created as follows. First, in the case of Windows, when the kana-kanji conversion program of the present embodiment is introduced, a group window named, e.g., "Writing Heads" (trademark of International Business Machines Corporation), is displayed. In this case, various applications are stored, as individual icons, in a group named "Application". Further, Windows is usually provided with an icon of a DOS prompt. When double-clicking of this icon is effected, a window (or an entire screen), which shows the DOS prompt of "C:Y=>" and in which an ordinary DOS application can run, is opened. FIG. 9 illustrates an example of a group (provisionally called Writing Heads) of the kana-kanji conversion program of the present embodiment. As can be seen from FIG. 9, WH-DOS prompt icon exists. When double-clicking of this icon is effected, a window called WH-DOS prompt shown in FIG. 8 is opened, and the kana-kanji conversion program of the present embodiment can be utilized within the WH-DOS prompt window. The start-up time shown in FIG. 7 indicates, in one embodiment of Windows, the time of creating the WH-DOS prompt window. A customization file set at the time of creating this WH-DOS prompt window is read in, and is set in the WH-DOS prompt. Then, a kanji indicator within the read-in customization file is displayed in the WH-DOS prompt, as "For Oyamada", "Roman character", or the like, shown in FIG. 8. In FIG. 8, the kanji indicator in the underside WH-DOS prompt is "For Oyamada", while the kanji indicator in the upper-side WH-DOS prompt is "Roman character". Further, in an Windows environment, the kanji indicator is "kana input". As illustrated in FIG. 8, a WH-DOS prompt window is created each time double-clicking of the WH-DOS prompt icon shown in FIG. 9 is effected, with the result that a plurality of WH-DOS prompt windows exist. In the WH-DOS prompt, when "exit" is typed and a return key is pressed, that WH-DOS prompt window vanishes. This structure will be further described below with reference to FIG. 10. In other words, when the WH-DOS prompt is created, the kana-kanji conversion program gives a uniform integer value to the WH-DOS prompt. (The uniform integer value is referred to as a kana-kanji control handle. In FIG. 10, the value is represented as k=1, but actually, it is not always a sequential number.) At the same time, the kana-kanji conversion program creates, in a system memory, a control table entry in which a memory is allocated and is looked up by the kana-kanji control handle. The contents of the table entry contain the contents shown in Table 1. Next, when another WH-DOS prompt is created, another control table entry is allocated in the system memory, and a pointer which indicates this new entry is set in the first control table entry. Further, if any one of the two WH-DOS prompts vanishes by "exit" being selected, the associated entry is released from the memory and a pointer indicating the released entry is updated so as to indicate an entry associated with another active WH-DOS prompt. Windows, which is a non-preemptive OS, was described in the above-described embodiment. However, since OS/2 is a preemptive OS, the OS/2 has a higher degree of freedom. In an individual DOS prompt, a control panel similar to that of FIG. 4 is opened by, for example, pressing a control (CTRL) key and a kanji key at the same time, and a customization file can be reselected. Then, when entering into a kana-kanji conversion mode on that DOS prompt window, a newly-set customization file becomes valid. In the foregoing, Windows and OS/2 were described. However, the present invention is not limited to the above-described OS, and can be also applied to any kana-kanji conversion system which uses a kana-kanji conversion program, such as X-Window system (trademark of MIT), ordinary MS-DOS, an ordinary word processor, or the like. Further, in the above description, display information is displayed as it is. However, all of the display information or the necessary display information may first be displayed, and the display information in the selected customization file may be represented with reverse display. Further, the present invention is not limited to use in a multi-window system, and can also be applied mainly to a character-based session of a single task, such as MS-DOS (trademark of Microsoft Inc.). This is because, even in MS-DOS, the kana-kanji conversion program can usually be customized by a user, and displaying the state of customization as an indicator is significant for the user. Moreover, in the above-described embodiment, the indicator information is displayed in the lowermost line of a screen or window. However, in accordance with the present invention, the position where the indicator information is displayed is not limited to the above-described position, and the indicator information may be displayed at any arbitrary position which is not a hindrance to the display of an application program. Further, by designating display of the indicator information within the customization file, the indicator information may be displayed at a position which the user desires. As described above, the customizing method of the present invention offers the effect that it makes it possible for a user to easily confirm a customization mode which is currently set, in a kana-kanji conversion system. Further, the kana-kanji system of the present invention offers the effect that a kana-kanji system which allows a user to easily confirm a customization file which is currently set can be provided.
|
Same subclass Same class Consider this |
||||||||||
