JP5332761B2 - Character input program and information processing apparatus - Google Patents

Character input program and information processing apparatus Download PDF

Info

Publication number
JP5332761B2
JP5332761B2 JP2009060715A JP2009060715A JP5332761B2 JP 5332761 B2 JP5332761 B2 JP 5332761B2 JP 2009060715 A JP2009060715 A JP 2009060715A JP 2009060715 A JP2009060715 A JP 2009060715A JP 5332761 B2 JP5332761 B2 JP 5332761B2
Authority
JP
Japan
Prior art keywords
character
character string
input
window
gui window
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2009060715A
Other languages
Japanese (ja)
Other versions
JP2010217961A (en
Inventor
哲也 中村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Omron Corp
Original Assignee
Omron Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Omron Corp filed Critical Omron Corp
Priority to JP2009060715A priority Critical patent/JP5332761B2/en
Publication of JP2010217961A publication Critical patent/JP2010217961A/en
Application granted granted Critical
Publication of JP5332761B2 publication Critical patent/JP5332761B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Input From Keyboards Or The Like (AREA)
  • Machine Translation (AREA)
  • Document Processing Apparatus (AREA)

Description

本発明は、オペレーションシステムが導入されたコンピュータに文字入力システムとしての機能を設定するプログラム、およびこのプログラムによる文字入力システムが設定された情報処理装置に関する。   The present invention relates to a program for setting a function as a character input system in a computer in which an operation system is introduced, and an information processing apparatus in which the character input system by this program is set.

オペレーションシステム(以下、「OS」と略す場合もある。)が導入されているコンピュータには、「クリップボード」と呼ばれるメモリシステムを介して情報の転送を行う機能(コピーアンドペースト機能)が設けられている。この機能は、たとえば、あるアプリケーションウィンドウで編集中のデータを、同じウィンドウ内の別の場所に移動させたりコピーする場合に利用されるほか、あるアプリケーションウィンドウ内の情報を別のアプリケーションウィンドウに転送する目的で使用される場合もある。   A computer in which an operation system (hereinafter also referred to as “OS”) is installed has a function (copy and paste function) for transferring information via a memory system called a “clipboard”. Yes. This function can be used, for example, to move or copy data being edited in one application window to another location in the same window, and to transfer information in one application window to another application window. Sometimes used for purposes.

またこの種のコンピュータでは、アプリケーションウィンドウにアルファベットや数字以外の文字を入力する必要が生じた場合には、IME(Input Method Editor )と呼ばれる文字入力システムを起動する。OSには、このIMEを、入力対象のアプリケーションと一体になって動作するように制御する機能が設けられている。   In this type of computer, when it is necessary to input characters other than alphabets and numbers in the application window, a character input system called IME (Input Method Editor) is activated. The OS is provided with a function for controlling the IME so as to operate integrally with the input target application.

たとえば、OSとしてWindows(登録商標)が導入されたコンピュータでは、図6に示すように、OS内のIMF(Input Method Framework)と呼ばれる機能により、IMEおよびアプリケーションシステムを制御する。この制御の仕組みについて、図6中の符号を引用して説明すると、文字入力に関してユーザが行った操作(文字キーの操作、変換操作、確定操作など)に応じて、IMF101からIME200にキーイベント情報が渡される。IME200は、このキーイベント情報により操作内容を認識して、操作に応じた処理(文字列の組立、変換候補の抽出、変換後文字列の確定など)を実行し、その処理により設定した文字列をIMF101に出力する。   For example, in a computer in which Windows (registered trademark) is introduced as an OS, the IME and application system are controlled by a function called IMF (Input Method Framework) in the OS, as shown in FIG. The mechanism of this control will be described with reference to the reference numerals in FIG. 6. Key event information is sent from the IMF 101 to the IME 200 according to operations (character key operation, conversion operation, confirmation operation, etc.) performed by the user regarding character input. Is passed. The IME 200 recognizes the operation content based on the key event information, executes processing according to the operation (such as assembling a character string, extracting conversion candidates, and determining a converted character string), and sets the character string set by the processing Is output to the IMF 101.

一方で、アプリケーションシステム300からIMF101には、当該システムが実行するアプリケーションウィンドウ内のカーソルの位置などの情報が供給される。IMR101は、この位置情報に基づき表示位置を指定して、IME200から供給された文字列をアプリケーションシステム300に出力する。アプリケーションシステム300では、アプリケーションウィンドウ内の指定された位置に供給された文字列を表示する。   On the other hand, information such as the position of the cursor in the application window executed by the system is supplied from the application system 300 to the IMF 101. The IMR 101 designates a display position based on this position information, and outputs a character string supplied from the IME 200 to the application system 300. In the application system 300, the supplied character string is displayed at a designated position in the application window.

上記一連の処理により、ユーザの操作に応じた文字列がアクティブ状態のアプリケーションウィンドウに表示されることになる。   Through the above series of processing, a character string corresponding to the user's operation is displayed in the active application window.

日本語入力用のIMEでは、一般に、ローマ字表記のアルファベット文字列の入力を受け付けて、これをかな文字列に変換した後、さらに変換操作に応じてかな漢字変換を実行する。一方、他の言語用のIMEには、キーボードに文字の一部(韓国語の字母など。以下、これを「文字要素」という。)を割り付けて、キーボードの操作に応じて文字列を組み立てるものがある(たとえば特許文献1を参照。)。   In general, an IME for Japanese input accepts input of an alphabetic character string in Roman alphabet, converts it into a kana character string, and then executes kana-kanji conversion according to the conversion operation. On the other hand, in IMEs for other languages, a part of characters (Korean characters, etc., hereinafter referred to as “character elements”) is assigned to the keyboard, and a character string is assembled in accordance with the operation of the keyboard. (For example, refer to Patent Document 1).

また、文字入力操作を容易にする目的で、モニタ画面にキーボード画像を表示し、この画像中のキーをマウスでクリックすることによって、変換前の文字列を入力するようにしたシステムも開発されている(たとえば特許文献2を参照。)。   In addition, for the purpose of facilitating character input operation, a system has been developed that displays a keyboard image on the monitor screen and inputs a character string before conversion by clicking a key in the image with a mouse. (For example, refer to Patent Document 2).

特許第3796651号公報Japanese Patent No. 3796651 特開2002−117024号公報JP 2002-1117024 A

上記の特許文献1,2に記載されたものを含む従来のIMEは、IMFの定義に従って動作することを条件とするため、IMFに関する専門知識を持つ者でなければ、IMEを開発するのは困難である。またコンピュータに導入されるすべてのアプリケーションシステムに対してIMEの動作が保障されるように設計する必要があるため、新規のIMEを開発するには多大な労力がかかり、またプログラムが複雑になる。   Since conventional IMEs including those described in Patent Documents 1 and 2 are required to operate according to the definition of IMF, it is difficult to develop an IME unless one has expertise in IMF. It is. In addition, since it is necessary to design so that the operation of the IME is guaranteed for all application systems installed in the computer, it takes a lot of labor to develop a new IME, and the program becomes complicated.

本発明は上記の問題点に着目し、文字入力に関するOS側の定義によらずに、簡単な方法でアプリケーションウィンドウに文字を入力できるようにすることを、課題とする。   The present invention pays attention to the above problems, and an object thereof is to allow characters to be input to an application window by a simple method regardless of the definition on the OS side regarding character input.

本発明による文字入力用のプログラムは、オペレーションシステムと、オペレーションシステムの管理下で動作するアプリケーションシステムと、貼り付け対象の情報を一時保存するためのメモリシステム(具体的には「クリップボード」のことである。)とが設けられたコンピュータに導入されて、このコンピュータにアプリケーションシステムの起動に応じて立ち上げられたアプリケーションウィンドウへの文字入力処理を実行する機能を設定するためのものである。このプログラムは、以下の識別情報取得手段、文字列設定手段、文字列出力手段としてコンピュータを動作させる。 The character input program according to the present invention includes an operation system, an application system that operates under the management of the operation system, and a memory system (specifically, a “clipboard”) for temporarily storing information to be pasted. And a function for executing a character input process to an application window launched in response to the activation of the application system . This program operates a computer as the following identification information acquisition means, character string setting means, and character string output means .

識別情報取得手段は、オペレーションシステムからの呼び出しに応じて、この呼び出し時にアクティブな状態にあるアプリケーションウィンドウの識別情報をオペレーションシステムから取得する。 In response to a call from the operation system, the identification information acquisition unit acquires the identification information of the application window that is active at the time of the call from the operation system.

文字列設定手段は、オペレーションシステムからの呼び出しに応じて文字入力用のGUIウィンドウを立ち上げ、このGUIウィンドウ内における文字入力に関する操作をオペレーションシステムを介して受け付けて、その操作に応じた文字列を設定してGUIウィンドウ内に表示する。文字列出力手段は、GUIウィンドウにおいて当該ウィンドウ内に表示されている文字列をアプリケーションウィンドウへの入力文字列として確定する旨の確定操作をオペレーションシステムを介して受け付けたとき、当該文字列を貼り付けの対象とするコピー操作のキーイベント情報と、識別情報取得手段が取得した識別情報のアプリケーションウィンドウを貼り付け先として指定する貼り付け操作のキーイベント情報とを、連続してオペレーションシステムに出力する。 The character string setting means launches a character input GUI window in response to a call from the operation system, accepts an operation related to character input in the GUI window via the operation system, and selects a character string corresponding to the operation. Set and display in GUI window . The character string output means pastes the character string when a confirmation operation for confirming the character string displayed in the GUI window as the input character string to the application window is received via the operation system in the GUI window. The key event information of the copy operation to be the target and the key event information of the paste operation that specifies the application window of the identification information acquired by the identification information acquisition unit as the paste destination are continuously output to the operation system.

文字列出力手段は、上記の2種類のキーイベント情報を出力することによって、GUIウィンドウの立ち上がりによりアクティブ状態から非アクティブ状態となったアプリケーションウィンドウを一時的にアクティブ状態に戻して、前記コピー操作のキーイベント情報を受けたオペレーションシステムによりメモリシステムに保存された文字列を当該アプリケーションウィンドウ内に貼り付ける。The character string output means outputs the above two types of key event information, thereby temporarily returning the application window that has been changed from the active state to the inactive state due to the rise of the GUI window, so that the copy operation can be performed. The character string stored in the memory system by the operation system that has received the key event information is pasted into the application window.

上記構成のプログラムによれば、GUIウィンドウ内における文字入力に関する操作に応じて所定の文字列から他の文字種に変換する処理や、複数の文字要素を組み立てる処理などを実行して、アプリケーションウィンドウに入力するための文字列を設定した後、この文字列を確定する操作が行われたことに応じて当該文字列をオペレーションシステムに出力する。従来の文字入力システムでは、この出力がアプリケーションシステムに転送されるように、OSの定義情報に従った方法で情報の送信を行っているが、本発明では、確定された文字列を貼り付けの対象とするコピー操作のキーイベント情報を出力する。よって、OS側では、出力された文字列を通常のコピー操作に応じて出力された情報と同様に取り扱って、メモリシステム内に一時保存する。 According to the program with the above configuration, input to the application window by executing processing for converting a predetermined character string into another character type, processing for assembling a plurality of character elements, etc. in accordance with an operation related to character input in the GUI window After setting a character string to be used, the character string is output to the operation system in response to an operation for confirming the character string. In the conventional character input system, information is transmitted by a method according to the definition information of the OS so that the output is transferred to the application system. In the present invention, the confirmed character string is pasted. Outputs key event information for the target copy operation . Therefore, on the OS side, the output character string is handled in the same manner as information output in response to a normal copy operation, and is temporarily stored in the memory system.

さらに上記キーイベント情報に続いて、オペレーションシステムからの呼び出し時にアクティブな状態にあったアプリケーションウィンドウを貼り付け先として指定する貼り付け操作のキーイベント情報が送られる。指定されたアプリケーションウィンドウを実行するアプリケーションシステムは、OSにメモリシステムに保存されている文字列の送信を要求し、送信された文字列を上記のアプリケーションウィンドウ内のカーソルが置かれている位置に貼り付ける。これにより、GUIウィンドウにおいて確定された文字列がアプリケーションウィンドウに入力された状態となる。 Further , following the key event information, key event information of a pasting operation that designates an application window that was active when called from the operation system as a pasting destination is sent. The application system that executes the specified application window requests the OS to transmit the character string stored in the memory system, and pastes the transmitted character string at the position where the cursor is placed in the application window. wear. As a result, the character string determined in the GUI window is input to the application window.

また上記の方法では、OSからの呼び出し時にアクティブな状態にあるアプリケーションウィンドウの識別情報を取得し、この識別情報のアプリケーションウィンドウに上記のキーイベント情報が送信されるように制御することにより、入力対象のアプリケーションウィンドウを再びアクティブ状態にして文字列を入力するので、従来のIMEと同様の文字入力処理を支障なく実行することができる。   Further, in the above method, the identification information of the application window that is in an active state at the time of calling from the OS is acquired, and control is performed so that the key event information is transmitted to the application window of this identification information. Since the application window is activated again and the character string is input, the character input processing similar to the conventional IME can be executed without any trouble.

上記の文字列出力手段による処理は、貼り付け対象の情報を選択してメモリシステムに転送する処理(コピー)、およびメモリシステムに保存された情報を文字入力位置に貼り付ける処理(ペースト)を利用したものである。このように、本発明では、一般的なコピーアンドペースト機能を利用することによって、OSが定めたIMEの定義情報に従った処理を行わなくとも、アプリケーションシステムへの文字入力を行うことができる。また、オペレーションシステムの基本の機能を利用しているので、OSの管理下で動作する全てのアプリケーションに適用することが可能である。 The processing by the above character string output means uses processing for selecting information to be pasted and transferring it to the memory system (copying) , and processing for pasting information stored in the memory system to the character input position (pasting) It is a thing. As described above, in the present invention, by using a general copy and paste function, it is possible to input characters to the application system without performing processing according to the IME definition information defined by the OS. In addition, since the basic function of the operation system is used, it can be applied to all applications that operate under the management of the OS.

好ましい実施態様のプログラムでは、複数種の言語についてそれぞれ専用に設定された辞書ファイルがコンピュータ内に導入されていることを前提として、GUIウィンドウに、複数種の言語の中のいずれか1つを選択する操作を受け付けるための選択キーを含める。文字列設定手段は、選択キーによる言語の選択操作をオペレーションシステムを介して受け付けて、当該操作により選択された言語を入力対象の言語として認識する認識手段と、文字または文字要素を入力するGUIウィンドウ内での操作をオペレーションシステムを介して受け付けて、受け付けた入力情報により前記入力対象として認識した言語の辞書ファイルを検索することにより、入力操作に応じた変換候補の文字列を抽出してGUIウィンドウ内に表示する変換候補抽出手段とが設けられる。文字列出力手段は、GUIウィンドウ内に表示された変換候補を選択する操作をオペレーションシステムを介して受け付けたことに応じて、その操作により選択された変換候補の文字列を貼り付けの対象とするコピー操作のキーイベント情報を生成するIn the program of the preferred embodiment, on the assumption that dictionary files set for each of a plurality of types of languages are installed in the computer, any one of the plurality of types of languages is selected in the GUI window. Include a selection key to accept the operation to perform. The character string setting means receives a language selection operation by a selection key via the operation system, recognizes the language selected by the operation as a language to be input, and a GUI window for inputting characters or character elements In the GUI window, a conversion candidate character string corresponding to the input operation is extracted by searching the dictionary file of the language recognized as the input target based on the received input information. And conversion candidate extraction means for displaying within . String output means, in particular depending on the operation to select the conversion candidates displayed in the GUI window is accepted via the operating system, the object of Paste string conversion candidates selected by the operation Generate key event information for copy operations .

上記のプログラムによれば、入力対象の言語の選択を切り替える操作に応じて、選択された言語による文字列を入力することができる。またいずれの言語の文字列を入力する場合にも、文字または文字要素を入力する操作に応じて表示された変換候補の中の1つを選択することにより、文字入力作業を途中で終了して、アプリケーションシステムに入力する文字列を確定することができる。よって、1つの文字入力システムによって、ユーザの所望の言語を効率良く入力することが可能になる。   According to the above program, it is possible to input a character string in the selected language in accordance with an operation for switching the selection of the input target language. In addition, when inputting a character string in any language, by selecting one of conversion candidates displayed in accordance with an operation for inputting a character or a character element, the character input operation is terminated halfway. The character string to be input to the application system can be determined. Therefore, it becomes possible to input a user's desired language efficiently by one character input system.

より好ましい態様のプログラムでは、文字列設定手段に、認識手段により認識された入力対象の言語について、当該言語用の文字または文字要素が割り付けられたキーボードの画像をGUIウィンドウ内に表示するキーボード表示手段がさらに含まれる。また変換候補抽出手段は、GUIウィンドウ内に表示されたキーボードのキーに対する操作をオペレーションシステムを介して受け付けて、操作されたキーに対応する文字または文字要素を認識し、その認識結果に基づき入力対象の言語の辞書ファイルに対する検索処理を実行する。 In a program according to a more preferable aspect, keyboard display means for displaying in the GUI window an image of a keyboard to which characters or character elements for the language are assigned to the character string setting means for the input target language recognized by the recognition means. Is further included. Further, the conversion candidate extracting means accepts an operation on a keyboard key displayed in the GUI window via the operation system, recognizes a character or a character element corresponding to the operated key, and inputs an input object based on the recognition result. Execute the search process for the dictionary file in the specified language.

上記の態様によれば、ユーザが言語を選択する操作を行うと、その操作により選択された言語の文字または文字要素が割り付けられたキーボードの画像を含むGUIウィンドウが表示され、このウィンドウ内でのキー操作により文字または文字要素を入力しながら、その入力により設定された文字列を確認することが可能になる。よって文字や文字要素の入力がより一層容易になる。   According to the above aspect, when the user performs an operation of selecting a language, a GUI window including an image of a keyboard to which characters or character elements of the language selected by the operation are assigned is displayed. While inputting a character or a character element by a key operation, it is possible to check a character string set by the input. Therefore, it becomes easier to input characters and character elements.

さらに本発明では、オペレーションシステムと、オペレーションシステムの管理下で動作する所定数のアプリケーションシステムと、貼り付け対象の情報を一時保存するためのメモリシステムと、上記のプログラムによる文字入力システムとが導入された情報提供装置を提供することができる。   Furthermore, the present invention introduces an operation system, a predetermined number of application systems that operate under the control of the operation system, a memory system for temporarily storing information to be pasted, and a character input system using the above program. An information providing apparatus can be provided.

本発明によれば、GUIウィンドウ内に表示された文字列を確定する操作に応じて、その確定された文字列を貼り付けの対象とするコピー操作のキーイベント情報と、GUIウィンドウが立ち上げられる直前にアクティブな状態にあったアプリケーションシステムを貼り付け先として指定する貼り付け操作のキーイベント情報とを連続させてオペレーティングシステムに出力することによって、オペレーションシステムが文字入力に関して定義した処理を実行しなくともアプリケーションウィンドウに文字列を入力することができる。よって、文字入力に関するオペレーションシステムの定義情報を考慮せずに文字入力システムを開発することが可能になり、またプログラムの構成を簡単にすることができる。 According to the present invention, in response to an operation for confirming a character string displayed in the GUI window, the key event information of the copy operation for pasting the confirmed character string and the GUI window are launched. By continuously outputting to the operating system the key event information of the paste operation that specifies the application system that was in the active state immediately before as the paste destination , the operation system does not execute the processing defined for character input Both can be entered into the application window. Therefore, it is possible to develop a character input system without considering the definition information of the operation system related to character input, and the configuration of the program can be simplified.

本発明による文字入力システムが組み込まれたコンピュータシステムの構成を示す図である。It is a figure which shows the structure of the computer system incorporating the character input system by this invention. 文字入力システムが立ち上げるGUIウィンドウの構成例を示す図である。It is a figure which shows the structural example of the GUI window which a character input system starts. 日本語入力モードにおける文字入力の例を示す図である。It is a figure which shows the example of the character input in Japanese input mode. 韓国語入力モードにおける文字入力の例を示す図である。It is a figure which shows the example of the character input in Korean input mode. 日本語入力システムによる処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the process by a Japanese input system. 従来の文字入力システムが組み込まれたコンピュータシステムの構成を示す図である。It is a figure which shows the structure of the computer system incorporating the conventional character input system.

図1は、本発明を適用した文字入力システムが導入されたコンピュータシステムの例を示す、このコンピュータシステムには、オペレーションシステム(OS)1、このOS1の管理下で動作する文字入力システム2および複数のアプリケーションシステム3(図1では1つのみ示す。)、クリップボード4などが設けられる。   FIG. 1 shows an example of a computer system in which a character input system to which the present invention is applied is introduced. The computer system includes an operation system (OS) 1, a character input system 2 operating under the management of the OS 1, and a plurality of character input systems. Application system 3 (only one is shown in FIG. 1), a clipboard 4 and the like.

さらにこの実施例のコンピュータシステムには、日本語、簡体字表記の中国語、繁体字表記の中国語、韓国語の4種類の言語について、それぞれ専用の辞書ファイルD1,D2,D3,D4が設けられる。文字入力システム2には、これらの辞書ファイルD1〜D4を用いて4種類の言語による文字列を設定する機能や、設定した文字列を、アプリケーションシステム3が実行中のアプリケーションウィンドウに入力する機能が設けられる。   Furthermore, the computer system of this embodiment is provided with dedicated dictionary files D1, D2, D3, and D4 for four types of languages: Japanese, simplified Chinese, traditional Chinese, and Korean. . The character input system 2 has a function of setting character strings in four languages using these dictionary files D1 to D4 and a function of inputting the set character strings into an application window in which the application system 3 is executing. Provided.

上記のコンピュータシステムは、キーボード、マウス、モニタ装置(いずれも図示を省略。)などが接続されたパーソナルコンピュータに組み込まれる。OS1としては、具体的には、Windows(登録商標)の所定のバージョンのものが採用される。なお、図1では、図示の便宜上、各辞書ファイルD1〜D4を文字入力システム2のブロックの外に配置しているが、これらの辞書ファイルD1〜D4も文字入力システム2に含まれるものである。   The above computer system is incorporated into a personal computer to which a keyboard, a mouse, a monitor device (all not shown), etc. are connected. As the OS 1, specifically, a predetermined version of Windows (registered trademark) is employed. In FIG. 1, for convenience of illustration, the dictionary files D1 to D4 are arranged outside the block of the character input system 2, but these dictionary files D1 to D4 are also included in the character input system 2. .

上記の文字入力システム2は、OS1が動作している間、常駐状態に設定され、「ホットキー」と呼ばれる操作(Altキーまたはコントロールキーをその他の特定のキーと共に押下する操作)に応じて呼び出され、図2に示すようなGUIウィンドウ20を立ち上げる。   The character input system 2 is set to a resident state while the OS 1 is operating, and is called in response to an operation called “hot key” (operation of pressing an Alt key or a control key together with other specific keys). Then, a GUI window 20 as shown in FIG.

このGUIウィンドウ20には、キーボード画像による操作部21が設けられると共に、その上方に2つの表示領域22,23が設けられる。1番上の表示領域22には、入力対象の文字列が表示されるので、以下、この領域22を「文字列表示エリア22」という。GUIウィンドウ20の中央に配置された領域23には、候補の文字列が一覧表示されるので、以下、この領域23を「候補表示エリア23」という。   The GUI window 20 is provided with an operation unit 21 based on a keyboard image and two display areas 22 and 23 above the operation unit 21. Since the character string to be input is displayed in the uppermost display area 22, this area 22 is hereinafter referred to as “character string display area 22”. Since a list of candidate character strings is displayed in the area 23 arranged in the center of the GUI window 20, this area 23 is hereinafter referred to as a “candidate display area 23”.

操作部21には、複数の文字キー24が配列されるほか、変換キー25、確定キー26、バックスペースキー27、および言語選択用の4つの選択キー28が設けられる。   The operation unit 21 is provided with a plurality of character keys 24, a conversion key 25, a confirmation key 26, a backspace key 27, and four selection keys 28 for language selection.

ホットキー操作により立ち上げられた直後のGUIウィンドウ20は、あらかじめ登録された標準言語を入力するように設定される。この実施例では、日本語を標準言語としており、操作部21には、平仮名が割り当てられた文字キー24が配列されている。この状態下で日本語以外の言語の選択キー28を操作すると、選択された言語による入力モードに切り替えられ、操作部21の文字キー24の配列も、選択された言語に対応するものに更新される。 The GUI window 20 immediately after being started by hot key operation is set to input a standard language registered in advance. In this embodiment, Japanese is used as a standard language, and character keys 24 to which hiragana are assigned are arranged on the operation unit 21. When the selection key 28 of a language other than Japanese is operated in this state, the input mode is switched to the selected language, and the arrangement of the character keys 24 of the operation unit 21 is also updated to the one corresponding to the selected language. The

具体的には、簡体字表記の中国語が選択された場合には、ピンインが割り当てられた文字キー24が配列され、繁体字表記の中国語が選択された場合には、注音符号が割り当てられた文字キー24が配列される。また韓国語が選択された場合には、ハングルの字母が割り当てられた文字キー24が配列される。   Specifically, when Simplified Chinese is selected, the character keys 24 to which Pinyin is assigned are arranged, and when Traditional Chinese is selected, a melody is assigned. Character keys 24 are arranged. When Korean is selected, character keys 24 to which Hangul letters are assigned are arranged.

日本語の入力モードでは、文字キー24をクリックする操作に応じて平仮名文字列を組み立てると共に、日本語用の辞書ファイルD1を用いて、平仮名文字列を仮名漢字文字列に変換することができる。他の言語の入力モードでも、それぞれ文字キーの入力を受け付けながら、その言語用の辞書ファイルを参照し、言語の特性に応じた文字列の組み立て処理や変換処理を実行する。   In the Japanese input mode, a hiragana character string is assembled in response to an operation of clicking the character key 24, and the hiragana character string can be converted into a kana / kanji character string using the Japanese dictionary file D1. Even in input modes of other languages, while accepting input of character keys, the dictionary file for the language is referred to, and character string assembly processing and conversion processing according to language characteristics are executed.

さらにこの実施例では、文字列の入力をより容易にするために、各言語の入力モードにそれぞれ予測変換機能を設けている。   Further, in this embodiment, in order to make it easier to input a character string, a predictive conversion function is provided for each language input mode.

図3および図4は、ワードプロセッサ用のアプリケーションシステムが作成中の文書に文字入力を行う場合を例に、予測変換機能を用いた処理を示す。各図とも、上段に作成中の文書を示すアプリケーションウィンドウ30の変化を示し、下段にGUIウィンドウ20の変化を示す。各図の(イ)に示すように、立ち上げ直後のアプリケーションウィンドウ30では、実質的に表示されているのはカーソル31のみである。   FIGS. 3 and 4 show processing using the predictive conversion function, taking as an example a case where a word processor application system performs character input on a document being created. In each figure, the change in the application window 30 showing the document being created is shown in the upper row, and the change in the GUI window 20 is shown in the lower row. As shown in (a) of each figure, only the cursor 31 is substantially displayed in the application window 30 immediately after startup.

図3の例のGUIウィンドウ20には日本語入力モードが設定されている。図中の(A)は、文字キー24が2つ操作された時点のGUIウィンドウ20の表示状態を示すもので、丸印を付した文字キー24が操作されたキーであり、これらのキーの近傍に配置された丸付き数字は操作順序を示す(図4も同じ)。また、図中の29はマウスカーソルである。   A Japanese input mode is set in the GUI window 20 in the example of FIG. (A) in the figure shows the display state of the GUI window 20 at the time when two character keys 24 are operated. The character keys 24 with circles are operated. Circled numbers arranged in the vicinity indicate the operation order (the same applies to FIG. 4). Also, 29 in the figure is a mouse cursor.

この実施例では、文字キー24を操作する都度、操作されたキーに割り付けられた文字(この例では「こ」と「ん」)が文字列表示エリア22に表示され、表示された文字列を「読み」の先頭とする単語が候補表示エリア23に一覧表示される。   In this embodiment, each time the character key 24 is operated, characters assigned to the operated key (in this example, “ko” and “n”) are displayed in the character string display area 22, and the displayed character string is displayed. A list of words starting with “reading” is displayed in the candidate display area 23.

ここで、図3(B)に示すように、候補表示エリア23内に表示された候補のうちの1つを選択する操作(クリック操作により行われる。)が行われると、文字列表示エリア22の文字列は、選択された候補による文字列に置き換えられる(図3(C))。さらに、この状態下で確定キー26が操作されると、文字列表示エリア22に表示されている文字列(この例では「こんにちは」)がアプリケーションウィンドウ30に転送され、図3(ロ)に示すように、カーソル31の前に挿入される。これにより、GUIウィンドウ20での操作がアプリケーションウィンドウ30に反映された状態となる。   Here, as illustrated in FIG. 3B, when an operation (performed by a click operation) for selecting one of the candidates displayed in the candidate display area 23 is performed, the character string display area 22. Is replaced with a character string based on the selected candidate (FIG. 3C). Furthermore, the enter key 26 under this condition is operated (in this example "Hello") character string displayed on the character string display area 22 is transferred to the application window 30, shown in FIG. 3 (b) Thus, it is inserted in front of the cursor 31. As a result, the operation on the GUI window 20 is reflected in the application window 30.

つぎに、図4の例では、韓国語の入力モードが設定されている。この図の(A)も、文字キー24が2つ操作された時点のGUIウィンドウ20を示すもので、操作された文字キー24に割り付けられている字母が操作の順に文字列表示エリア22に表示される。また、これらの字母を含む文字が先頭に配置されている単語が、候補表示エリア23に一覧表示されている。   Next, in the example of FIG. 4, a Korean input mode is set. (A) of this figure also shows the GUI window 20 when two character keys 24 are operated. The characters assigned to the operated character keys 24 are displayed in the character string display area 22 in the order of operation. Is done. In addition, words in which characters including these letters are arranged at the head are listed in the candidate display area 23.

この場合にも、表示された候補のうちの1つを選択する操作が行われると、文字列表示エリア22内の文字列が選択された候補の文字列に置き換えられる(図4(B)(C))。さらにこの状態下で確定キー26が操作されると、文字列表示エリア22に表示されている文字列がアプリケーションウィンドウ30に転送され、図4(ロ)に示すように、カーソル31の前に挿入される。   Also in this case, when an operation for selecting one of the displayed candidates is performed, the character string in the character string display area 22 is replaced with the selected candidate character string (FIG. 4B ( C)). Further, when the enter key 26 is operated in this state, the character string displayed in the character string display area 22 is transferred to the application window 30 and inserted in front of the cursor 31 as shown in FIG. Is done.

簡体字表記や繁体時表記の中国語文字列を入力する場合にも、図3,4の例と同様に、文字キー24をクリック操作することにより文字列を組み立てながら、候補表示エリア23に候補の文字列を表示する。また、表示された候補の文字列の選択に応じて、文字列表示エリア22の表示を選択された候補の文字列に変更する点や、確定操作に応じて文字列表示エリア22内の文字列をアプリケーションウィンドウ30に転送する点についても、同様である。   When inputting a simplified Chinese character string or a traditional Chinese character string, a candidate string is displayed in the candidate display area 23 while assembling the character string by clicking the character key 24 as in the example of FIGS. Displays a string. Further, the display of the character string display area 22 is changed to the selected candidate character string in accordance with the selection of the displayed candidate character string, and the character string in the character string display area 22 in accordance with the confirmation operation. The same applies to the point that is transferred to the application window 30.

さらに、いずれの言語を入力する場合にも、変換操作や候補選択操作を繰り返して、複数の文節または複数の文を表す文字列を生成した後に、確定操作を行うことができる。   Furthermore, when inputting any language, it is possible to perform a confirming operation after generating a character string representing a plurality of phrases or a plurality of sentences by repeating the conversion operation and the candidate selection operation.

ここで図1に戻って、上記のGUIウィンドウ20による文字入力処理の仕組みについて説明する。
まず、操作部21や候補表示エリア23におけるクリック操作を受け付けるには、OS1から文字入力システム2に、マウス操作のイベント情報を供給し、文字入力システム2がそのイベント情報の内容を認識する。すなわち、文字入力システム2では、OS1を介して文字入力に関する各種操作を受け付けて、その操作に応じた処理(文字または文字要素の組み立て、候補の抽出、候補の選択)を実行することにより、入力対象の文字列を設定する。
Now, referring back to FIG. 1, the mechanism of the character input process using the GUI window 20 will be described.
First, in order to accept a click operation on the operation unit 21 or the candidate display area 23, the event information of the mouse operation is supplied from the OS 1 to the character input system 2, and the character input system 2 recognizes the contents of the event information. In other words, the character input system 2 accepts various operations related to character input via the OS 1 and performs processing (assembly of characters or character elements, extraction of candidates, selection of candidates) according to the operations, thereby performing input. Set the target character string.

またOS1から確定操作を示すイベント情報が与えられると、その時点で設定されている文字列(文字列表示エリア22に表示されている文字列)を出力するが、この出力は、クリップボード4に対して行われる。図1では、文字入力システム2からクリップボード4に直接文字列が出力されるように記載しているが、実際には、アプリケーションウィンドウ30に入力する対象の文字列を、貼り付け処理のためにクリップボード4に保存する情報として、文字入力システム2からOS1に送信し、OS1が当該文字列をクリップボード4に保存する。   Also, when event information indicating a confirming operation is given from the OS 1, the character string set at that time (the character string displayed in the character string display area 22) is output. This output is output to the clipboard 4. Done. In FIG. 1, it is described that the character string is directly output from the character input system 2 to the clipboard 4, but in reality, the target character string to be input to the application window 30 is clipped for pasting processing. 4 is transmitted from the character input system 2 to the OS 1 as information to be stored in the OS 4, and the OS 1 stores the character string in the clipboard 4.

また、文字入力システム2では、ホットキー操作によりGUIウィンドウ20を立ち上げる際に、ホットキー操作の際にアクティブな状態にあったアプリケーションウィンドウ30の識別情報(ウィンドウハンドル)をOS1から取得する。そして、このウィンドウハンドルにより、出力された文字列の貼り付け対象となるアプリケーションウィンドウを指定して、擬似的な貼り付け操作を示すキーイベント情報(以下、「貼り付けキーイベント」という。)を送信する。   Further, in the character input system 2, when the GUI window 20 is started by hot key operation, the identification information (window handle) of the application window 30 that is in an active state at the time of hot key operation is acquired from the OS 1. The window handle is used to specify an application window to which the output character string is to be pasted, and key event information (hereinafter referred to as “pasting key event”) indicating a pseudo pasting operation is transmitted. To do.

上記の貼り付けキーイベントの送信も、正確にはOS1に対して行われ、OS1からウィンドウハンドルに対応するアプリケーションウィンドウ30を実行するシステム3に渡される。プログラムレベルで説明すると、ホットキー操作に応じて取得したウィンドウハンドルを引数とするSendInput関数を実行することになる。   The above paste key event is also transmitted to the OS 1 accurately, and is passed from the OS 1 to the system 3 that executes the application window 30 corresponding to the window handle. Explaining at the program level, the SendInput function is executed with the window handle acquired in response to the hot key operation as an argument.

また、アプリケーションシステム3がクリップボード4から文字列を取得する処理も、正確には、アプリケーションシステム3からOS1にクリップボード4内の情報の転送を要求し、この要求に応じてOS1から転送された文字列を受け付けることにより行われる。   In addition, the process in which the application system 3 obtains a character string from the clipboard 4 accurately requests the OS 1 from the application system 3 to transfer information in the clipboard 4, and the character string transferred from the OS 1 in response to this request. It is done by accepting.

上記によれば、人がGUIウィンドウ20の文字列表示エリア22に表示された文字列を選択してコピー操作(Ctrl+C)を行った後に、入力対象のアプリケーションウィンドウ30をアクティブにして貼り付け操作(Ctrl+V)を実行した場合と同様の動作が、自動的に実行されることになる。このような処理により、OS1が定義するIMEの動作を実行しなくとも、基本的なカットアンドペーストの機能を用いてアプリケーションウィンドウ30への文字入力を実行することができる。   According to the above, after a person selects a character string displayed in the character string display area 22 of the GUI window 20 and performs a copy operation (Ctrl + C), the application window 30 to be input is activated and pasted ( The same operation as when Ctrl + V) is executed is automatically executed. By such processing, character input to the application window 30 can be executed using the basic cut and paste function without executing the IME operation defined by the OS 1.

図5は、文字入力システム2により実行される一連の手順を示す。以下、このフローチャートに基づき、文字入力システム2が実行する処理を整理して説明する。   FIG. 5 shows a series of procedures executed by the character input system 2. Hereinafter, processes executed by the character input system 2 will be described based on this flowchart.

まず、OS1の起動に続いて起動すると、ホットキーの登録内容や標準言語などの設定情報を読み込む処理(初期設定)を実行する(ST1)。以後は、ホットキー操作が行われるまで、非アクティブ状態で待機することになる。   First, when the OS 1 is started up after the OS 1 is started, processing (initial setting) for reading setting information such as hot key registration contents and standard language is executed (ST1). Thereafter, the apparatus waits in an inactive state until a hot key operation is performed.

ホットキー操作が行われると(ST2が「YES」)、OS1に、現在アクティブ状態にあるアプリケーションウィンドウ30のウィンドウハンドルの送信を要求し、この要求に応じて送信されたウィンドウハンドルを取得する(ST3)。さらにGUIウィンドウ20を表示し(ST4)、以後は、マウス操作を受け付けたOS1からのイベント情報によりユーザが実行した操作内容を認識し、その操作に応じた処理を実行する。   When a hot key operation is performed ("YES" in ST2), the OS 1 is requested to transmit the window handle of the application window 30 that is currently active, and the window handle transmitted in response to this request is acquired (ST3). ). Further, the GUI window 20 is displayed (ST4), and thereafter, the operation content performed by the user is recognized based on the event information from the OS 1 that has accepted the mouse operation, and processing corresponding to the operation is executed.

以下、GUIウィンドウ20の立ち上げ後に通常実行される処理を優先して説明する。
まず、立ち上げられたGUIウィンドウ20内の文字キー24が操作された場合(ST5,6が「NO」、ST7が「YES」)には、図3(A)および図4(A)に示したように、操作されたキーに対応する文字により入力対象の文字列を組み立てる(ST12)。また、現在の入力モードに対応する辞書ファイルを検索して、組み立てられた文字列に対応する候補の文字列を抽出し、抽出された文字列により候補表示エリア23内の表示を更新する(ST13)。
Hereinafter, processing that is normally executed after the GUI window 20 is started will be described with priority.
First, when the character key 24 in the launched GUI window 20 is operated ("NO" in ST5 and 6 and "YES" in ST7), the process is shown in FIGS. 3 (A) and 4 (A). As described above, a character string to be input is assembled with characters corresponding to the operated key (ST12). Further, the dictionary file corresponding to the current input mode is searched to extract candidate character strings corresponding to the assembled character strings, and the display in the candidate display area 23 is updated with the extracted character strings (ST13). ).

つぎに、所定の時点で候補表示エリア23内の候補を選択する操作が行われた場合(ST8が「YES」)には、図3(C)および図4(C)に示したように、選択された候補の文字列により文字列表示エリア22内の表示を更新する(ST13)。   Next, when an operation for selecting a candidate in the candidate display area 23 is performed at a predetermined time (ST8 is “YES”), as shown in FIG. 3C and FIG. 4C. The display in the character string display area 22 is updated with the selected candidate character string (ST13).

なお、図5には明示していないが、文字列の組み立て後に変換キー25の操作が行われた場合にも、辞書ファイルを検索し、候補表示エリア23に所定数の候補を表示する。また、表示された候補の中の1つが選択された場合には、その候補の文字列により文字列表示エリア22内の表示を更新する。   Although not explicitly shown in FIG. 5, even when the conversion key 25 is operated after the character string is assembled, the dictionary file is searched and a predetermined number of candidates are displayed in the candidate display area 23. When one of the displayed candidates is selected, the display in the character string display area 22 is updated with the candidate character string.

上記の各種操作により入力対象の文字列が設定された後に確定キー26が操作された場合(ST9が「YES」)には、その入力対象の文字列をクリップボード4に保存する対象の情報としてOS1に出力する(ST10)。さらにST3で取得したウィンドウハンドル宛の貼り付けキーイベントを出力する(ST11)。   When the enter key 26 is operated after the character string to be input is set by the above-described various operations (ST9 is “YES”), the OS 1 is used as information to be stored in the clipboard 4 as the target character string. (ST10). Further, the paste key event addressed to the window handle acquired in ST3 is output (ST11).

つぎに、選択キー28による言語の切替操作が行われた場合(ST5が「YES」)には、使用する辞書ファイルを選択された言語に対応するものに切り替えるとともに、操作部21の文字キー24のキーボード画像を変更する(ST15)。   Next, when a language switching operation is performed using the selection key 28 (ST5 is “YES”), the dictionary file to be used is switched to one corresponding to the selected language, and the character key 24 of the operation unit 21 is used. The keyboard image is changed (ST15).

また、GUIウィンドウ20の各エリア22,23に何も表示されていない状態下でホットキー操作が行われた場合(ST6が「YES」)には、GUIウィンドウ20を非表示状態に設定する(ST16)。ただし、この後も再びホットキー操作があれば、ST2が「YES」となり、以下、上記の説明と同様の手順を実行することができる。   When a hot key operation is performed in a state where nothing is displayed in each of the areas 22 and 23 of the GUI window 20 (ST6 is “YES”), the GUI window 20 is set to a non-display state ( ST16). However, if there is a hot key operation again after this, ST2 becomes “YES”, and the same procedure as described above can be executed thereafter.

なお、ST10で入力対象の文字列を出力する際には、この文字列をUnicode形式で表したデータとSJISコード形式で表したデータとの2種類を出力する。この出力を受けたOS1は、双方のデータをクリップボード4に保存する。また続いて出力された貼り付けキーイベントに応じて動作したアプリケーションシステム3も、2種類のデータを取り込んで、自システムで処理できる方のデータを選択する。なお、このとき貼り付け対象のアプリケーションウィンドウ30において、入力対象の言語に応じたフォントが選択されている場合には、選択されたフォントによる文字列を貼り付けることができる。   Note that when outputting a character string to be input in ST10, two types of data, that is, data representing the character string in Unicode format and data representing in SJIS code format are output. The OS 1 receiving this output saves both data in the clipboard 4. Further, the application system 3 that operates in response to the pasted key event that is output subsequently also takes in two types of data and selects the data that can be processed by the own system. At this time, if a font corresponding to the input target language is selected in the application window 30 to be pasted, a character string using the selected font can be pasted.

アプリケーションシステム3で上記の貼り付け処理が実行される間は、OS1からの貼り付けイベントの送信により、一時的に、貼り付け対象のアプリケーションウィンドウ30がアクティブ状態になり、GUIウィンドウ20は非アクティブ状態となる。しかし、貼り付け処理が終了すると、再び、GUIウィンドウ20がアクティブ状態に復帰し、以後も、引き続き、操作に応じて入力対象の文字列を設定し、出力することができる。すなわち、GUIウィンドウ20が立ち上げられる直前にアクティブな状態であったアプリケーションウィンドウ30を再びアクティブ状態にして文字列を入力し、その後、再びGUIウィンドウ20をアクティブ状態に復帰させることにより、アプリケーションウィンドウ30のアクティブ状態を維持したまま動作する従来のIMEと同様の処理を実行することができる。   While the above paste process is executed in the application system 3, the paste target application window 30 is temporarily activated by sending a paste event from the OS 1, and the GUI window 20 is inactive. It becomes. However, when the pasting process ends, the GUI window 20 returns to the active state again, and after that, the character string to be input can be set and output according to the operation. In other words, the application window 30 that has been in an active state immediately before the GUI window 20 is activated is made active again to input a character string, and then the GUI window 20 is returned to the active state again to thereby return the application window 30 to the active state. It is possible to execute processing similar to that of a conventional IME that operates while maintaining the active state.

さらに、文字入力処理の間に入力対象の言語を切り替える操作が行われた場合にも、その操作に応じて辞書ファイルや操作部21の表示を変更することができる(ST5,15)。   Further, even when an operation for switching the input target language is performed during the character input process, the display of the dictionary file and the operation unit 21 can be changed according to the operation (ST5, 15).

上記の如く、この実施例の文字入力システム2によれば、ユーザは、4種類の言語を自由に選択して入力を行うことができる。また入力作業の途中で、言語を切り替える必要が生じた場合にも、表示中のGUIウィンドウ20内の選択キー28を操作することにより、容易に入力モードを切り替えることができる。また、いずれの言語を入力する場合にも、予測変換機能を利用して効率の良い入力を行うことができるので、利便性が大幅に向上する。 As described above, according to the character input system 2 of this embodiment, the user can freely select and input four types of languages. In addition, even when the language needs to be switched during the input operation, the input mode can be easily switched by operating the selection key 28 in the GUI window 20 being displayed. In addition, when inputting any language, efficient input can be performed using the predictive conversion function, which greatly improves convenience.

なお、上記の実施例では、ホットキー操作によりGUIウィンドウ20を立ち上げるようにしたが、これに代えて、OS1のタスクバーに呼び出し用のアイコンを設け、このアイコンの操作に応じてGUIウィンドウ20を立ち上げるようにしてもよい。   In the above embodiment, the GUI window 20 is started by hot key operation. Instead, a call icon is provided on the task bar of the OS 1 and the GUI window 20 is opened according to the operation of this icon. You may make it start.

また、上記の実施例では、キーボード画像を含むGUIウィンドウ20によって、文字入力作業を支援するようにしたが、これに限らず、実際のキーボードからの操作に応じて入力対象の文字列を設定するようにしてもよい。   In the above embodiment, the character input operation is supported by the GUI window 20 including the keyboard image. However, the present invention is not limited to this, and a character string to be input is set according to an operation from the actual keyboard. You may do it.

1 オペレーションシステム(OS)
2 文字入力システム
3 アプリケーションシステム
4 クリップボード
20 GUIアプリケーション
21 操作部
22 文字列表示エリア
23 候補表示エリア
24 文字キー
26 確定キー
30 アプリケーションウィンドウ
D1,D2,D3,D4 辞書ファイル
1 Operation system (OS)
2 Character input system 3 Application system 4 Clipboard 20 GUI application 21 Operation unit 22 Character string display area 23 Candidate display area 24 Character key 26 Confirm key 30 Application window D1, D2, D3, D4 Dictionary file

Claims (6)

オペレーションシステムと、オペレーションシステムの管理下で動作するアプリケーションシステムと、貼り付け対象の情報を一時保存するためのメモリシステムとが設けられたコンピュータに、前記アプリケーションシステムの起動に応じて立ち上げられたアプリケーションウィンドウへの文字入力処理を実行する機能を設定するためのプログラムであって、
前記オペレーションシステムからの呼び出しに応じて、この呼び出し時にアクティブな状態にあるアプリケーションウィンドウの識別情報をオペレーションシステムから取得する識別情報取得手段、
前記オペレーションシステムからの呼び出しに応じて文字入力用のGUIウィンドウを立ち上げ、このGUIウィンドウ内における文字入力に関する操作を前記オペレーションシステムを介して受け付けて、その操作に応じた文字列を設定して前記GUIウィンドウ内に表示する文字列設定手段、
前記GUIウィンドウにおいて当該ウィンドウ内に表示されている文字列を前記アプリケーションウィンドウへの入力文字列として確定する旨の確定操作を前記オペレーションシステムを介して受け付けたとき、当該文字列を貼り付けの対象とするコピー操作のキーイベント情報と、前記識別情報取得手段が取得した識別情報のアプリケーションウィンドウを貼り付け先として指定する貼り付け操作のキーイベント情報とを、連続させて前記オペレーションシステムに出力することにより、前記GUIウィンドウの立ち上がりによりアクティブ状態から非アクティブ状態となったアプリケーションウィンドウを一時的にアクティブ状態に戻して、前記コピー操作のキーイベント情報を受けたオペレーションシステムにより前記メモリシステムに保存された文字列を当該アプリケーションウィンドウ内に貼り付ける文字列出力手段
の各手段として前記コンピュータを機能させることを特徴とする文字入力用のプログラム。
An application launched upon activation of the application system in a computer provided with an operation system, an application system operating under the management of the operation system, and a memory system for temporarily storing information to be pasted A program for setting a function for executing character input processing to a window,
In response to a call from the operation system, identification information acquisition means for acquiring, from the operation system, identification information of the application window that is active at the time of the call ,
In response to a call from the operation system, a character input GUI window is launched, an operation related to character input in the GUI window is received via the operation system, a character string corresponding to the operation is set, and the character string is set. Character string setting means to be displayed in the GUI window ;
When a confirmation operation for confirming a character string displayed in the GUI window as an input character string to the application window is received via the operation system in the GUI window, the character string is a target to be pasted. a key event information of the copy operation that, and the identification information acquiring means acquires the key event information paste operation specifying a paste destination application window identification information, by which is continuously output to the operating system The memory system is operated by the operation system which temporarily returns the application window which has been changed from the active state to the inactive state due to the rise of the GUI window and receives the key event information of the copy operation. String output means the stored string pasted into the application window,
A program for character input, which causes the computer to function as each means .
前記GUIウィンドウには、複数種の言語の中のいずれか1つを選択する操作を受け付けるための選択キーが含まれており、
前記文字列設定手段は、前記選択キーによる言語の選択操作を前記オペレーションシステムを介して受け付けて、当該操作により選択された言語を入力対象の言語として認識する認識手段と、文字または文字要素を入力するGUIウィンドウ内での操作を前記オペレーションシステムを介して受け付けて、受け付けた入力情報により前記入力対象として認識した言語の辞書ファイルを検索することにより、前記入力操作に応じた変換候補の文字列を抽出して前記GUIウィンドウ内に表示する変換候補抽出手段とが設けられており、
前記文字列出力手段は、前記GUIウィンドウ内に表示された変換候補の文字列を選択する操作を前記オペレーションシステムを介して受け付けたことに応じて、その操作により選択された変換候補の文字列を貼り付けの対象とする前記コピー操作のキーイベント情報を生成する、請求項1に記載された文字入力用のプログラム。
The GUI window includes a selection key for accepting an operation of selecting any one of a plurality of languages .
The character string setting unit receives a language selection operation by the selection key via the operation system, and recognizes a language selected by the operation as an input target language, and inputs a character or a character element. An operation in the GUI window to be received is received through the operation system, and a dictionary file of a language recognized as the input target is searched based on the received input information, whereby a character string of a conversion candidate corresponding to the input operation is obtained. Conversion candidate extraction means for extracting and displaying in the GUI window is provided,
In response to receiving an operation for selecting a conversion candidate character string displayed in the GUI window via the operation system, the character string output means receives the conversion candidate character string selected by the operation. The program for character input according to claim 1, wherein key event information of the copy operation to be pasted is generated .
前記文字列設定手段には、認識手段により認識された入力対象の言語について、当該言語用の文字または文字要素が割り付けられたキーボードの画像を前記GUIウィンドウ内に表示するキーボード表示手段がさらに含まれており、
前記変換候補抽出手段は、前記GUIウィンドウ内に表示されたキーボードのキーに対する操作を前記オペレーションシステムを介して受け付けて、操作されたキーに対応する文字または文字要素を認識し、その認識結果に基づき前記入力対象の言語の辞書ファイルに対する検索処理を実行する請求項2に記載された文字入力用のプログラム。
The character string setting means further includes keyboard display means for displaying, in the GUI window, an image of a keyboard to which characters or character elements for the language are assigned for the input target language recognized by the recognition means. And
The conversion candidate extraction unit accepts an operation on a keyboard key displayed in the GUI window via the operation system, recognizes a character or a character element corresponding to the operated key, and based on the recognition result The character input program according to claim 2, wherein search processing is performed for a dictionary file in the input target language.
オペレーションシステムと、オペレーションシステムの管理下で動作する所定数のアプリケーションシステムと、貼り付け対象の情報を一時保存するためのメモリシステムと、前記アプリケーションシステムの起動に応じて立ち上げられたアプリケーションウィンドウへの文字入力処理を実行する文字入力システムとが設けられた情報処理装置であって、
前記文字入力システムは、
前記オペレーションシステムからの呼び出しに応じて、この呼び出し時にアクティブな状態にあるアプリケーションウィンドウの識別情報をオペレーションシステムから取得する識別情報取得手段と、
前記オペレーションシステムからの呼び出しに応じて文字入力用のGUIウィンドウを立ち上げ、このGUIウィンドウ内における文字入力に関する操作を前記オペレーションシステムを介して受け付けて、その操作に応じた文字列を設定して前記GUIウィンドウ内に表示する文字列設定手段と、
前記GUIウィンドウにおいて当該ウィンドウ内に表示されている文字列を前記アプリケーションウィンドウへの入力文字列として確定する旨の確定操作を前記オペレーションシステムを介して受け付けたとき、当該文字列を貼り付けの対象とするコピー操作のキーイベント情報と、前記識別情報取得手段が取得した識別情報のアプリケーションウィンドウを貼り付け先として指定する貼り付け操作のキーイベント情報とを、連続させて前記オペレーションシステムに出力することにより、前記GUIウィンドウの立ち上がりによりアクティブ状態から非アクティブ状態となったアプリケーションウィンドウを一時的にアクティブ状態に戻して、前記コピー操作のキーイベント情報を受けたオペレーションシステムにより前記メモリシステムに保存された文字列を当該アプリケーションウィンドウ内に貼り付ける文字列出力手段とを、具備する、
ことを特徴とする情報処理装置。
An operation system, a predetermined number of application systems that operate under the management of the operation system, a memory system for temporarily storing information to be pasted, and an application window that is launched upon activation of the application system An information processing apparatus provided with a character input system that executes character input processing,
The character input system includes:
In response to a call from the operation system, identification information acquisition means for acquiring the identification information of the application window that is active at the time of the call from the operation system;
In response to a call from the operation system, a character input GUI window is launched, an operation related to character input in the GUI window is received via the operation system, a character string corresponding to the operation is set, and the character string is set. A character string setting means to be displayed in the GUI window ;
When a confirmation operation for confirming a character string displayed in the GUI window as an input character string to the application window is received via the operation system in the GUI window, the character string is a target to be pasted. a key event information of the copy operation that, and the identification information acquiring means acquires the key event information paste operation specifying a paste destination application window identification information, by which is continuously output to the operating system The memory system is operated by the operation system which temporarily returns the application window which has been changed from the active state to the inactive state due to the rise of the GUI window and receives the key event information of the copy operation. A character string output means pasted into the application window stored string comprises,
An information processing apparatus characterized by that.
前記文字入力システムには、複数種の言語について、それぞれ専用の辞書ファイルが設けられており、
前記GUIウィンドウには、複数種の言語の中のいずれか1つを選択する操作を受け付けるための選択キーが含まれており、
前記文字列設定手段は、前記選択キーによる言語の選択操作を前記オペレーションシステムを介して受け付けて、当該操作により選択された言語を入力対象の言語として認識する認識手段と、文字または文字要素を入力するGUIウィンドウ内での操作を前記オペレーションシステムを介して受け付けて、受け付けた入力情報により前記入力対象として認識した言語の辞書ファイルを検索することにより、前記入力操作に応じた変換候補の文字列を抽出して前記GUIウィンドウ内に表示する変換候補抽出手段とが設けられており、
前記文字列出力手段は、前記GUIウィンドウ内に表示された変換候補の文字列を選択する操作を前記オペレーションシステムを介して受け付けたことに応じて、その操作により選択された変換候補の文字列を貼り付けの対象とする前記コピー操作のキーイベント情報を生成する請求項4に記載された情報処理装置。
The character input system is provided with a dedicated dictionary file for each of a plurality of languages.
The GUI window includes a selection key for accepting an operation of selecting any one of a plurality of languages .
The character string setting unit receives a language selection operation by the selection key via the operation system, and recognizes a language selected by the operation as an input target language, and inputs a character or a character element. An operation in the GUI window to be received is received through the operation system, and a dictionary file of a language recognized as the input target is searched based on the received input information, whereby a character string of a conversion candidate corresponding to the input operation is obtained. Conversion candidate extraction means for extracting and displaying in the GUI window is provided,
The character string output means, the GUI operation to select the character string of the displayed conversion candidates in the window in response to the Installing received via the operation system, the string of the conversion candidate selected by the operation The information processing apparatus according to claim 4, wherein key event information of the copy operation that is a target of pasting is generated .
前記文字列設定手段には、認識手段により認識された入力対象の言語について、当該言語用の文字または文字要素が割り付けられたキーボードの画像を前記GUIウィンドウ内に表示するキーボード表示手段がさらに含まれており、
前記変換候補抽出手段は、前記GUIウィンドウ内に表示されたキーボードのキーに対する操作を前記オペレーションシステムを介して受け付けて、前記操作されたキーに対応する文字または文字要素を認識し、その認識結果に基づき前記入力対象の言語の辞書ファイルに対する検索処理を実行する、請求項5に記載された情報処理装置。
The character string setting means further includes keyboard display means for displaying, in the GUI window, an image of a keyboard to which characters or character elements for the language are assigned for the input target language recognized by the recognition means. And
The conversion candidate extraction unit accepts an operation on a keyboard key displayed in the GUI window through the operation system, recognizes a character or a character element corresponding to the operated key, and displays the recognition result. The information processing apparatus according to claim 5, wherein a search process is performed on a dictionary file in the input target language.
JP2009060715A 2009-03-13 2009-03-13 Character input program and information processing apparatus Active JP5332761B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009060715A JP5332761B2 (en) 2009-03-13 2009-03-13 Character input program and information processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009060715A JP5332761B2 (en) 2009-03-13 2009-03-13 Character input program and information processing apparatus

Publications (2)

Publication Number Publication Date
JP2010217961A JP2010217961A (en) 2010-09-30
JP5332761B2 true JP5332761B2 (en) 2013-11-06

Family

ID=42976793

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009060715A Active JP5332761B2 (en) 2009-03-13 2009-03-13 Character input program and information processing apparatus

Country Status (1)

Country Link
JP (1) JP5332761B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101704549B1 (en) * 2011-06-10 2017-02-22 삼성전자주식회사 Method and apparatus for providing interface for inpputing character
JP5984375B2 (en) * 2011-12-15 2016-09-06 株式会社日立公共システム Simplified character / correct character conversion device and simplified character / correct character conversion method using the device
US10379737B2 (en) 2015-10-19 2019-08-13 Apple Inc. Devices, methods, and graphical user interfaces for keyboard interface functionalities

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08153099A (en) * 1994-11-25 1996-06-11 Ee I Sofuto Kk Kana (japanese syllabary)/kanji (chinese character) converter

Also Published As

Publication number Publication date
JP2010217961A (en) 2010-09-30

Similar Documents

Publication Publication Date Title
US8463592B2 (en) Mode supporting multiple language input for entering text
US8031943B2 (en) Automatic natural language translation of embedded text regions in images during information transfer
KR100641838B1 (en) Method and system for inputing multi-language using symbol mixing text
KR101149982B1 (en) Asian language input using keyboard
KR100907671B1 (en) How to Edit Recording Media and Character Input
US20070156394A1 (en) Method of data entry for indic languages
JP2001249920A (en) Method and system for providing candidate for text from inference input source
JP2006276911A (en) Electronic equipment and program
JP2004252944A (en) Program, character input edit method and device, and recording medium
JP5332761B2 (en) Character input program and information processing apparatus
JP2010257392A (en) Device and method for inputting character, computer readable program, and recording medium
JPH10124505A (en) Character input device
US20020007382A1 (en) Computer having character input function,method of carrying out process depending on input characters, and storage medium
KR100275607B1 (en) Multistage front end processor system
JP2009020553A (en) Device and program for managing electronic file
JP4012047B2 (en) Electronic document creation apparatus, electronic document creation method, and program causing computer to execute the method
JPH11212967A (en) Prediction input device/method
JP2003296327A (en) Translation server, genre-classified online machine translation method, and program therefor
CN114661961A (en) Information processing apparatus, storage medium, and information processing method
JP2003196278A (en) Character input method, character input program and computer readable recording medium
JP2004265136A (en) Apparatus, method and program for input characters
JPH09293072A (en) Front-end processor
JP2001229156A (en) Character input support method, recording medium with recorded program for implementing the method, and information processor with character input support function
JP2009093299A (en) Data input device, method, and program
JP2002099547A (en) Computer device with character input function, program recording medium and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120113

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130409

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130607

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130702

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130715

R150 Certificate of patent or registration of utility model

Ref document number: 5332761

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150