JP2004030399A - Input device having database adjusting function, and method - Google Patents
Input device having database adjusting function, and method Download PDFInfo
- Publication number
- JP2004030399A JP2004030399A JP2002187989A JP2002187989A JP2004030399A JP 2004030399 A JP2004030399 A JP 2004030399A JP 2002187989 A JP2002187989 A JP 2002187989A JP 2002187989 A JP2002187989 A JP 2002187989A JP 2004030399 A JP2004030399 A JP 2004030399A
- Authority
- JP
- Japan
- Prior art keywords
- database
- sentence
- input
- module
- key
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 62
- 230000006870 function Effects 0.000 description 24
- 238000012217 deletion Methods 0.000 description 8
- 230000037430 deletion Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 5
- 238000012790 confirmation Methods 0.000 description 4
- 239000000284 extract Substances 0.000 description 4
- 238000000354 decomposition reaction Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000002349 favourable effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Landscapes
- Machine Translation (AREA)
- Document Processing Apparatus (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
【0001】
【発明の属する技術分野】
本発明は、入力装置およびその方法に関し、詳しくは、データベースへの文の追加、および記憶されている文の削除を行うことによってデータベースを動的に調整する機能を有する入力装置およびその方法に関する。
【0002】
【従来の技術】
文字入力のためのソフトウェア、いわゆるインプットメソッドの最大の課題は、入力速度と入力の際に不便なことである。特に、漢字(中国語、日本語など)の入力の際の入力速度とその不便さが大きな課題となっている。
【0003】
インプットメソッドは数多くあるにもかかわらず、これらの課題に対して、現在満足な解決はなされていない。
【0004】
大部分のインプットメソッドは、入力速度の課題を解決することに重点を置いている。
【0005】
そして、この入力速度を増やす目的を成し遂げるために、多くのインプットメソッドは、文章の入力の際に、ユーザーに入力する文章を複数の言葉(単語または文字)に分解することを要求する。そしてそれは、ユーザーが使用しているインプットメソッドに固有の分解方法を習熟なければならない。
【0006】
したがって、ユーザーは本当に入力速度を増やすことができる前に、インプットメソッドに固有の文章の分解を学ぶために、多くの時間をその練習に費やさなければならない。
【0007】
一般的なユーザーにとっては、このような文章の分解を行う必要のあるインプットメソッドの使用方法を学ぶこと自体、難しくまた不便である。
【0008】
しかし、いくつかのインプットメソッドは、あらかじめ決められた文を記憶したデータベースを持つことで入力速度および入力の不便さを解決しようとしている。
【0009】
この解決方法は、あらかじめ決められた文が記憶されているデータベースから文を選ぶことによって、迅速な入力と、それによる時間節約を成し遂げるのを可能にしようとている。
【0010】
【発明が解決しようとする課題】
しかしながら、このような解決方法も、あまり満足の行くものではない。なぜなら、このようなデータベースの利用は、データベースに記憶されている文の数や、その用法の制限などにより制限されるために、様々なユーザーのニーズに答えることができない。
【0011】
このため、このような文を記憶したデータベースが本当に入力速度を増強することができるかどうか疑わしい。
【0012】
たとえインプットメソッドが、このようなデータベースを備えていたとしても、それらのインプットメソッドではユーザーがデータベースの中に文を追加してデータベースを拡張したり、逆に削除したりすることができない。そしてデータベースに文を追加してその内容を拡張したり、あるいはデータベースの中から不要な文を削除するためには、別途、データベースを直接操作するためのアプリケーションソフトウェアを必要とする。
【0013】
このような状況の下では、ユーザーは文のデータを入力している間に、データベースへの文の追加または文の削除を同時に行うことができない。そのため、文の入力とデータベースへの文の追加または文の削除の両方の操作を別々に行わなければならないことになり、それは結局ユーザーに不便を強いるものとなる。
【0014】
したがって、このようなデータベースは、不便で柔軟性にとぼしいものであり、また、ユーザーがこのようなデータベースを使用することへの関心を減退させることにもなる。
【0015】
本発明は、上述の課題を解決することでことを目的としてなされたもので、開いているファイル上やインプットメソッド上からデータベースに即座に文の追加、削除を行えるようにしたデータベース調整機能を有する入力装置およびその方法を提供することである。
【0016】
また、本発明の他の目的は、データベースへの文の追加、削除の手順を単純化することによって、入力速度を増やすことできるデータベース調整機能を有する入力装置およびその方法を提供することである。
【0017】
【課題を解決するための手段】
本発明の目的は、以下の構成により達成される。
【0018】
(1)文を記憶するデータベースと、ファイル上で選択された文とインプットメソッドから入力された文字とを入力する入力インターフェースモジュールと、前記入力インターフェースモジュールによってインプットメソッドから入力された文字と前記データベースの内容を対比して、当該文字を含む文をデータベースの中から抽出して表示する対比および表示モジュールと、ユーザーからの操作によって、前記入力インターフェースモジュールによってファイル上で選択されて入力された文を前記データベースに追加すると共に、前記対比および表示モジュールによって表示された文を前記データベースの中から削除するデータベース調整モジュールと、を有することを特徴とする入力装置。
【0019】
(2)前記データベース調整モジュールは、前記対比および表示モジュールによって表示された文の中からユーザーにより選択された文を削除することを特徴とする。
【0020】
(3)前記入力インターフェースモジュール、前記対比および表示モジュール、および前記データベース調整モジュールの設定を行う定義セットアップモジュールをさらに有することを特徴とする。
【0021】
(4)前記対比および表示モジュールによる表示はポップアップウインドウにより行うことを特徴とする。
【0022】
(5)アプリケーションソフトウェアから編集可能なファイルを開く段階と、前記ファイル上で文を選択する段階と、前記選択された文がデータベース内に存在するか否かを検索する段階と、前記選択された文が前記データベース内に存在しない場合に、前記選択された文を前記データベースに追加する段階と、を有することを特徴とする入力方法。
【0023】
(6)前記選択された文は強調表示されること特徴とする。
【0024】
(7)前記選択された文は、データベースの拡張を確認するキー入力があったときに、所定のルールに従って分割されて前記データベースに追加されることを特徴とする。
【0025】
(8)前記選択された文がデータベース内に存在する場合は、前記選択された文がデータベース内に存在することを示すメッセージを表示することを特徴とする。
【0026】
(9)前記表示は、ポップアップウインドウにより行うことを特徴とする。
【0027】
(10)前記選択された文は、句点および/または読点に基づいて分割されて前記データベースに追加されることを特徴とする。
【0028】
(11)入力された文字を受ける段階と、前記入力された文字と同じ文字を含む文をデータベースのなかから検索して抽出し、抽出した文にそれぞれキーを割り当てる段階と、前記割り当てられたキーのいずれかが押されることにより、当該押されたキーに割り当てた文を前記データベースの中から削除することを特徴とする入力方法。
【0029】
(12)前記キーは、割り当てられた文と共に表示されることを特徴とする。
【0030】
【発明の実施の形態】
本発明は、ダイナミックなデータベース調整機能を有する入力装置およびその方法である。それは、任意のアプリケーションソフトウェアの編集可能なファイルの中で、ダイナミックなデータベース調整機能(すなわちデータベースへの文の追加および文の削除)を実行することができる。
【0031】
本発明の詳細な内容および技術は、以下に説明する実施の形態により図面を参照して説明する。
【0032】
図1は、本発明を適用したデータベース調整機能を有する入力装置の機能構成を示すブロック図である。
【0033】
この入力装置は、入力インターフェースモジュール11、対比および表示モジュール12、データベース調整モジュール13、データベース14、定義セットアップモジュール15よりなる。
【0034】
入力インターフェースモジュール11は、ユーザーからの入力を受け付けて本装置を動作させるための入力インターフェースの提供が主な役割である。
【0035】
ユーザーは、入力インターフェースモジュール11による異なる入力方式を切り替えることができる。それは、入力状態(たとえば語、句読点、特別なシンボル)を切り替えること、入力モード(たとえば語、フレーズまたは文)を切り替えること、入力言語(たとえば簡易/従来の中国語、中国語/英語)を切り替えることである。
【0036】
このような入力インターフェースモジュール11による異なる入力方式の切り替えは、定義セットアップモジュール15によって実行される。
【0037】
そして入力インターフェース11は、ファイル上で選択された文(文字列)と、インプットメソッドにより打ち込まれた文字を本装置に入力する働きをする。すなわち、入力インターフェース11は、ファイル上で選択された文およびインプットメソッドから入力された文字を各モジュールに引き渡して入力するものである。したがって、入力インターフェースモジュール11は、他のアプリケーションソフトウェアのファイル上で選択された文(文字列)を、開かれているファイルの中から抽出して、その文をデータベースへ追加するために後述するデータベース調節モジュール13へ渡す。一方、インプットメソッドから入力された文字(または文字列)は、後述する対比および表示モジュール12に渡す。
【0038】
加えて入力インターフェースモジュール11は、ディスプレイ上に各種グラフィカルユーザインターフェースによるキーを表示し、ユーザーからの各キーのクリック動作によって、たとえば、文の追加や削除の際に確認する機能などを実行する。
【0039】
このようなグラフィカルユーザインターフェースによってユーザーが各種動作の実行を選択できることは、その利便性の向上に重要である。
【0040】
対比および表示モジュール12は、入力インターフェースモジュール11を通してインプットメソッドから入力された文字とデータベース14に記憶されている内容とを比較して、入力された文字を含む文をディスプレイに表示する機能を有する。この表示は、たとえばポップアップウインドウによって行われる。
【0041】
ここでは、インプットメソッドから文字入力が行われた場合は、インプットメソッドから入力された文字と同じ文字を文の最初に有する文を検索して一致する文を抽出し、これを後述するように、データベース調節モジュール13が文の削除のために割り当てたキー(この割り当てたキーを削除キーと称する)と共に表示する。
【0042】
なお、ユーザーは、対比するデータベース14の検索範囲を限定し、かつより正確な探索を行うために、複数の文字を入力してもよい。しかし、本発明においては、所望する文すべてを入力することを必要とせず、ユーザーが所望する文の少なくとも最初の一文字があればそれで十分である。
【0043】
また、対比および表示モジュール12は、その他のメッセージの表示なども、たとえばポップアップウインドウによって行う。
【0044】
データベース調整モジュール13は、ユーザーの操作によるデータベース14への文の追加、すなわちデータベース14の拡張と、データベース14からの文の削除を実行する。
【0045】
ユーザーが入力インターフェース11を通して文を追加しようとする場合、データベース調整モジュール13は、入力インターフェース11によってファイル上から選択された文(文字列)を、入力インターフェース11によって提供されている拡張確認キーがクリックされたときに受け取り、受け取った文がデータベース14中に存在するかどうか判断する。
【0046】
受け取った文がデータベース14中に存在する場合は、データベース調整モジュール13はその旨をユーザーに知らせるために、対比および表示モジュール12を通じて、ユーザーがアプリケーションソフトウェアのファイル上から選択した文がすでにデータベース14中に存在することを示すメッセージを、たとえばポップアップウインドウなどにより表示する。
【0047】
一方、受け取った文がデータベース14中に存在しない場合は、データベース調整モジュール13はその受け取った文がより短い文に分割する必要のある長い文やパラグラフであるかどうか判断する。この判断は、受け取った文中にある句読点などの有無によって判断する。なお、句読点での判断は、句点または読点のいずれか一方を使用するものであってもよい。特に長い文の場合、その中での短い文のまとまりに分割するためには句点により分割することで、分割した短い文自体も一つの文としてまとまりあるものとなる。なお、このような分割ルールは、定義セットアップモジュール15によってユーザーが任意に設定変更可能である。
【0048】
この分割処理は、受け取った文のデータの中に句点および/または読点などが含まれているかどうかを検索して、句点および/または読点が含まれている場合には、検出された句点および/または読点に基づいて受け取った文を分割する。
【0049】
このように長い文が正確に適切に分割される場合、それは後の文選択の際により便利である。そしてこれは、手動で長い文を編集する際にユーザーの時間を節約する。
【0050】
また、データベース調節モジュール13は、文削除のプロセスの際には、ユーザーが文に割り当てられた削除キーを押すことにより、データベース14の中から対応する文を直接削除する。
【0051】
このために、データベース調節モジュール13は、対比および表示モジュール12によってユーザーがインプットメソッドから入力された文字を含む文をディスプレイに表示する際に、該当する文に対してそれぞれ固有のキーを削除キーとして割り当て、各文に対して固有のキーを割り当てたことを対比および表示モジュール12に知らせる。これにより対比および表示モジュール12は、割り当てられた削除キーと共に抽出した文を表示する。したがって、対比および表示モジュール12が、複数の文を抽出して表示する場合には、複数の文のそれぞれに異なるキーが削除キーとして割り当てられて一緒に表示される。
【0052】
データベース調節モジュール13が、文に割り当てた削除キーはユーザーが文を削除するために使用するキーであり、たとえばナンバーキー(0〜9)、またはファンクションキー(F1〜F12)などが使用され、あるいはシフトキーとナンバーキーの組み合わせやシフトキーとファンクションキーの組み合わせなど複数のキーを組み合わせてもよい。なお、削除キーに使用するキーは定義セットアップモジュール15によってユーザーが任意に設定変更することができる。
【0053】
そして、データベース調節モジュール13、文に対応した削除キーが押されることにより、その削除キーに対応した文をデータベース14の中から削除する。
【0054】
データベース14は、様々な文を記憶したものである。そして、ユーザーから文の追加や削除が行われる。
【0055】
定義セットアップモジュール15は、入力インターフェースモジュール11、対比および表示モジュール12、データベース調整モジュール13を設定する。すなわち、削除キーにどのキーを使用するかを設定するキー定義、前記の入力状態、入力モード、および入力言語などの表示モードの定義、データベースファイルが複数ある場合に使用するデータベースを設定する対比ルールの定義、句点および/または読点など分割する基準を決める分割ルールの定義などを、入力インターフェースモジュール11、対比および表示モジュール12、およびデータベース調節モジュール13に設定する。
【0056】
なお、本装置における各モジュールの機能は、各モジュールとしての機能を達成するためのプログラムがコンピュータにより実行されることで各モジュールとして機能するものである。したがって、図1に示した本装置の各モジュールの機能は、これらモジュールの機能を達成するプログラムが実行されることにより互いに協調して機能するものである。
【0057】
図2は、この装置によるデータベースの拡張処理(文の追加処理)の手順を示すフローチャートである。
【0058】
ユーザーが別のアプリケーションソフトウェアのファイルから文(またはパラグラフやその他の文字列、以下同様)をデータベース14に追加登録したい場合、ユーザーはまず、そのアプリケーションソフトウェアを実行して、希望の文を持っている編集可能なファイルを開く(ステップ20)。また、そのようなファイルがすでに開かれている場合にはそのファイルを使用してもよい。
【0059】
そして、アプリケーションソフトウェア上から入力インターフェースモジュール11をスタートする(ステップ30)。
【0060】
ユーザーは、編集可能なファイルからデータベース14に追加したい任意の文を選択する(ステップ40)。選択された文は、データベース14に追加される内容である。
【0061】
最後に、ユーザーは入力インターフェースモジュール11により提供されている拡張確認キー(グラフィカルキー)をクリックすることによって選択された文をデータベース14に記憶させる(ステップ50)。その後、データベース14の拡張処理は終了する。
【0062】
図3は、このデータベース拡張処理のより詳しいフローチャートである。
【0063】
ユーザーによって追加したい文が選択された後、入力インターフェースモジュール11によって画面上に表示されている拡張確認キーがクリックされたとき(ステップ51)、入力インターフェースモジュール11は、ユーザーにより選択された文をデータベース調節モジュール13へ渡して、データベース調節モジュール13が、その文がデータベース14に存在しているか否かを調べる(ステップ52)。
【0064】
ここで、選択された文が存在している場合(ステップ52:Y)、データベース14に文を追加する必要はないので、データベース調節モジュール13は、ポップアップウインドウにその旨の単純なメッセージを表示してユーザーに知らせる(ステップ53)。
【0065】
一方、選択されている文が存在しない場合(ステップ52:N)、データベース調節モジュール13は、選択されている文が長くて、短い文に分割する必要があるか否かを判断する(ステップ54)。
【0066】
ここで分割する必要がない場合は(ステップ54:N)、データベース調節モジュール13はデータベース14に直接選択されている文を追加する(ステップ56)。
【0067】
一方、分割する必要がある場合(ステップ54:Y)は、データベース調節モジュール13は文を所定の分割ルールにしたがって分割し(ステップ55)、分割した文をデータベース14に追加する(ステップ56)。
【0068】
文の分割は、前述したとおり定義セットアップモジュール15によって設定された、たとえば文中の句読点などに基づいて行われる。
【0069】
したがって、文中に複数の句読点がある場合は、それにより適切に分割されてデータベース14に記憶される。このため、比較的長い文であっても、適切に分割されてデータベース14に追加される。
【0070】
次に、この装置によるデータベースからの文削除の処理を説明する。
【0071】
図4は、データベースからの文削除の処理手順を示すフローチャートである。
【0072】
文削除の手順は、まず、インプットメソッドおよび入力インターフェースモジュール11を起動する(ステップ60)。
【0073】
ユーザーは、インプットメソッドを利用して削除したい文の少なくとも最初の一文字を入力する(ステップ70)。したがって、このときユーザーには削除したい文のすべての文字を入力することを要求しない。
【0074】
入力された文字は入力インターフェース11により受け付けられて、対比および表示モジュール12に渡される。対比および表示モジュール12は、入力された文字とデータベース14の中の文とを対比して、入力された文字を最初の文字として含む文をすべて抽出して表示する。したがって、入力された文字を先頭に有する文が複数ある場合には、それら文はすべて抽出されて表示される。
【0075】
このとき、データベース調節モジュール13が、文の表示と同時に抽出された一つひとつの文に対して削除キー(たとえばナンバーキーまたはファンクションキーなど)を割り当てる(ステップ80)。割り当てられた削除キーの情報は対比および表示モジュール12に渡されて、割り当てられた一つひとつの文に対応させてディスプレイ上に表示される。
【0076】
なお、ユーザーは、文字入力の際に、より正確な検索と、対比範囲を減少するために、最初の文字として、複数の文字(単語などの文字列)を入力してもよい。
【0077】
その後、ユーザーが表示されている文に割り当てられている削除キーを押すことによってデータベース14から削除したい文を選択する。入力インターフェースモジュール11が、この削除キーの入力を受け付けて、受け付けたキーが何であるかの情報をデータベース調整モジュール13に渡す。データベース調整モジュール13は、受け取った削除キーの情報から、その削除キーに割り当てた文をデータベース14の中から削除する(ステップ90)。したがって、文削除の実行は、キー入力によって簡単に実行されることになる。
【0078】
次に、図4および図5に示す表示例を参照して、さらに説明する。
【0079】
まず、データベースの拡張について説明する。
【0080】
図4は、中国語の漢字を扱うことのできるアプリケーションソフトウェアによって開かれている編集可能な中国語のファイルの表示例である。
【0081】
データベースの拡張、すなわちデータベース14への文の追加は、ユーザーが、図4に示すアプリケーションソフトウェアによって開かれている編集可能なファイル(ファイル名「記事本」)の中の任意の文、すなわち、図4において符号200で示される文
【0082】
【外1】
【0083】
をデータベース14に追加したい場合、ユーザーは入力インターフェースモジュール11をこのアプリケーションプログラム上から起動して、該当する文200を選択する。この選択により該当する文200が強調表示(ハイライト表示や反転表示など)になっている。
【0084】
そして、ユーザーは入力インターフェースモジュール11によって提供されている拡張確認キー「造句」100をクリックすることで、データベース14にこの文200が上述した手順に従ってデータベース14に追加される。
【0085】
次に、データベースからの文の削除について説明する。
【0086】
図5は、データベースからの文削除の際の表示例を示す図面である。
【0087】
ユーザーがデータベース14から文を削除したいときには、ユーザーは削除したい文の最初の文字、ここでは、図5(a)に示すように、「我開始」をインプットメソッドにより入力することで、図5(b)に示すように、「我開始」から始まっている文がデータベース14の中から抽出されてディスプレイ上に表示される。このとき、表示される文には、一つひとつに削除キー(たとえばナンバーキーやファンクションキー)が割り当てられて表示される。図5においては、ナンバーキー0〜6とファンクションキーF12がそれぞれの文に割り当てられて表示されている。
【0088】
その後、ユーザーは、表示されている文の中から削除したい文に割り当てられているキーを押すことで、上述した手順に従って押されたキーに対応している文がデータベース14の中から削除される。
【0089】
図5(b)に示したものでは、ナンバーキー「6」がユーザーによって押されることにより、それに対応した符号300で示された文
【0090】
【外2】
【0091】
が削除されることになる。
【0092】
したがって、ユーザーは削除したい文の少なくとも最初の一文字を入力し、その後表示された文の中から、実際に削除したい文に対応しているキーを押すだけで、簡単にデータベース14から不要となった文を削除することができる。
【0093】
なお、削除に使用されるキーは、ナンバーキーやファンクションキーの他、たとえば「SHIFT」キーとナンバーキーとの組み合わせ、または「SHIFT」キーとアルファベットキーとの組み合わせとするなど、あらかじめユーザーが任意に決めておくことができる。どのキーを使用するかと言ったキーの組み合わせは、定義セットアップモジュール15により設定される。
【0094】
以上説明した本発明を適用した実施の形態によれば、ユーザーが任意のアプリケーションソフトウェアの編集可能なファイルの中から選択した文をデータベースの中に拡張することができるので、インプットメソッドの働きを強化することができる。
【0095】
また、本実施の形態によれば、ユーザーが使用する文を自由にデータベースに追加することができ、逆に不要な文は削除することができるので、ユーザーが頻繁に使用する文を含んでいるデータベースをダイナミックに構築することが可能となる。そして、このようなデータベースを使用することで文字入力を効率よく行うことができるようになる。また、これにより不要となった文は削除されるため、ユーザーはより速くデータベースを探索することができるようになる。
【0096】
また、本実施の形態によれば、データベースの編集を行うための特別なプログラムを別途起動する必要がなく、インプットメソッドを利用している間にデータベースへの文の追加、およびデータベースからの文の削除を処理することができる。
【0097】
それはまた、ユーザーにとっての好ましい文がデータベースにあることになるので、データベースを使用することへの関心を増加させる。さらに、それはユーザーの入力速度を非常に高めることが可能となる。
【0098】
さらに、本実施の形態によれば、データベースへの文の追加の際には、長い文であっても適切に、かつ自動的に分割されてデータベースに追加される。したがって、これによりデータベースに長文を格納することを可能にし、論理的な文を編集する際にユーザーの時間を節約することことができ、データベースの利便性を向上する。また、文を分割するルールを任意に変更可能としているので、ユーザーのニーズに合った形での文の分割が可能となる。
【0099】
さらに、本実施の形態では、文の追加に必要な情報をポップアップウインドウによりユーザーに通知することができるので、ユーザーがデータベースに文を入力する時間を節約することを可能にする。
【0100】
なお、以上本発明を実施の形態により説明したが、本発明は、この実施の形態に限定されるものではない。たとえば、上述した実施の形態では、対比および表示モジュール12は、入力された文字列によりデータベース14の中を検索する際に、入力された文字を最初の文字として含む文を抽出することとしたが、これに変えて、入力された文字(または文字列)を文の最初に限らず、途中に含む文、または最後に含む文を検索して抽出することとしてもよい。そしてこのような検索する文字列を文中のどこに含むかは定義セットアップモジュールによりユーザーが任意に設定できるようにしてもよい。
【0101】
さらに、上述した実施の形態では、図4および5に漢字を扱う表示例として中国語を示して説明したが、これに限らず、日本語のような同じく漢字を扱うアプリケーションソフトウェアやそれによって開かれたファイル、さらには韓国語、英語、およびその他の言語を扱うアプリケーションソフトウェアやそれによって開かれたファイル上から本発明を実施することも可能である。なお、その場合、文の分割に使用する基準は、各言語において句読点と同様の記号などを用いるとよい。
【0102】
また、本発明は、本発明の技術思想の範囲において、当業者が様々に変形することが可能であり、それら変形形態も本発明の特許請求の範囲に含まれるものである。
【0103】
【発明の効果】
以上説明したように本発明によれば、任意のアプリケーションソフトウェアによって開かれているファイル上から選択された文をデータベースの中に追加でき、逆に不要な文は、簡単に削除することができるので、ユーザーが頻繁に使用する文を含んでいるデータベースをダイナミックに構築することが可能となる。そして、このようなデータベースを使用することで文字入力を効率よく行うことができるようになる。
【図面の簡単な説明】
【図1】本発明を適用した実施の形態におけるデータベース調整機能を有する入力装置の機能構成を示すブロック図である。
【図2】データベースの拡張の手順を示すフローチャートである。
【図3】データベースの拡張手順の詳細なフローチャートである。
【図4】データベースの削除の手順を示すフローチャートである。
【図5】データベースへの文の追加の表示例を示す図面である。
【図6】データベースからの文の削除の表示例を示す図面である。
【符号の説明】
11 入力インターフェースモジュール
12 対比および表示モジュール
13 データベース調整モジュール
15 定義セットアップモジュール
14 データベース[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an input device and a method thereof, and more particularly to an input device having a function of dynamically adjusting a database by adding a sentence to a database and deleting a stored sentence and a method thereof.
[0002]
[Prior art]
The biggest challenge with software for character input, the so-called input method, is the speed and the inconvenience of input. In particular, the input speed and inconvenience when inputting kanji (Chinese, Japanese, etc.) are major issues.
[0003]
Despite the large number of input methods, there is currently no satisfactory solution to these issues.
[0004]
Most input methods focus on solving input speed issues.
[0005]
In order to accomplish the purpose of increasing the input speed, many input methods require a user to break a sentence into a plurality of words (words or characters) when inputting a sentence. And it must master the decomposition methods specific to the input method that the user is using.
[0006]
Thus, the user has to spend a lot of time practicing the input method-specific sentence decomposition before he can really increase the input speed.
[0007]
It is difficult and inconvenient for the average user to learn how to use input methods that need to perform such disassembly.
[0008]
However, some input methods attempt to solve input speed and inconvenience by having a database that stores predetermined sentences.
[0009]
This solution seeks to enable quick entry and thereby time savings by selecting a sentence from a database in which predetermined sentences are stored.
[0010]
[Problems to be solved by the invention]
However, such a solution is also not very satisfactory. This is because the use of such a database is limited by the number of sentences stored in the database and restrictions on its usage, and therefore cannot meet the needs of various users.
[0011]
Therefore, it is doubtful whether a database storing such sentences can really increase the input speed.
[0012]
Even if the input methods have such databases, those input methods do not allow the user to extend the database by adding statements to the database or delete it. To add a sentence to the database to extend its contents or to delete an unnecessary sentence from the database, application software for directly operating the database is separately required.
[0013]
Under such circumstances, the user cannot simultaneously add or delete a sentence from the database while entering sentence data. Therefore, the operation of both inputting a sentence and adding or deleting a sentence from the database must be performed separately, which inconveniences the user.
[0014]
Therefore, such a database is inconvenient and inflexible, and also diminishes the user's interest in using such a database.
[0015]
The present invention has been made for the purpose of solving the above-described problem, and has a database adjustment function that allows a statement to be immediately added to or deleted from a database from an open file or an input method. An input device and a method thereof are provided.
[0016]
It is another object of the present invention to provide an input device having a database adjustment function capable of increasing the input speed by simplifying a procedure for adding and deleting a sentence from a database, and a method thereof.
[0017]
[Means for Solving the Problems]
The object of the present invention is achieved by the following configurations.
[0018]
(1) a database for storing a sentence, an input interface module for inputting a sentence selected on a file and a character input from an input method, and a character input from the input method by the input interface module and a copy of the database. A comparison and display module for extracting and displaying a sentence containing the character from the database by comparing the contents, and a sentence selected and input on a file by the input interface module by an operation from a user. An input device, comprising: a database adjustment module for adding to a database and deleting a sentence displayed by the comparison and display module from the database.
[0019]
(2) The database adjustment module deletes a sentence selected by the user from the sentences displayed by the comparison and display module.
[0020]
(3) The apparatus further comprises a definition setup module for setting the input interface module, the comparison and display module, and the database adjustment module.
[0021]
(4) The comparison and the display by the display module are performed by a pop-up window.
[0022]
(5) opening an editable file from application software; selecting a sentence on the file; searching for whether the selected sentence exists in a database; Adding the selected sentence to the database if the sentence does not exist in the database.
[0023]
(6) The selected sentence is highlighted.
[0024]
(7) The selected sentence is divided according to a predetermined rule and added to the database when a key input for confirming expansion of the database is received.
[0025]
(8) When the selected sentence exists in the database, a message indicating that the selected sentence exists in the database is displayed.
[0026]
(9) The display is performed by a pop-up window.
[0027]
(10) The selected sentence is divided based on a period and / or a reading point and added to the database.
[0028]
(11) receiving the input character, searching and extracting a sentence including the same character as the input character from the database, and assigning a key to each of the extracted sentences; Wherein the sentence assigned to the pressed key is deleted from the database when any one of the keys is pressed.
[0029]
(12) The key is displayed together with the assigned sentence.
[0030]
BEST MODE FOR CARRYING OUT THE INVENTION
The present invention is an input device having a dynamic database adjustment function and a method thereof. It can perform dynamic database reconciliation functions (ie, add and delete sentences to the database) in editable files of any application software.
[0031]
The detailed contents and technology of the present invention will be described with reference to the drawings according to embodiments described below.
[0032]
FIG. 1 is a block diagram showing a functional configuration of an input device having a database adjustment function to which the present invention is applied.
[0033]
The input device includes an
[0034]
The main function of the
[0035]
The user can switch between different input methods by the
[0036]
Switching between different input methods by the
[0037]
Then, the
[0038]
In addition, the
[0039]
It is important for the user to be able to select execution of various operations by such a graphical user interface in order to improve convenience.
[0040]
The comparison and
[0041]
Here, when character input is performed from the input method, a sentence having the same character as the character input from the input method at the beginning of the sentence is searched to extract a matching sentence, and as described later, The key is displayed together with the key assigned by the
[0042]
Note that the user may input a plurality of characters in order to limit the search range of the
[0043]
The comparison and
[0044]
The
[0045]
When the user intends to add a sentence through the
[0046]
If the received sentence is present in the
[0047]
On the other hand, if the received sentence does not exist in the
[0048]
This division process searches whether or not the received sentence data includes a punctuation mark and / or a punctuation mark, and if the punctuation mark and / or the punctuation mark is included, detects the detected punctuation mark and / or the punctuation mark. Or split the sentence based on the readings.
[0049]
If such a long sentence is accurately and properly divided, it is more convenient for later sentence selection. And this saves the user time when manually editing long sentences.
[0050]
Also, during the sentence deletion process, the
[0051]
To this end, the
[0052]
The delete key assigned to the sentence by the
[0053]
When the delete key corresponding to the sentence is pressed, the
[0054]
The
[0055]
The
[0056]
The function of each module in the present apparatus functions as each module when a program for achieving the function of each module is executed by a computer. Therefore, the functions of each module of the present apparatus shown in FIG. 1 function in cooperation with each other by executing a program for achieving the functions of these modules.
[0057]
FIG. 2 is a flowchart showing the procedure of a database expansion process (sentence addition process) by this device.
[0058]
If the user wants to add a sentence (or paragraph or other character string, and so on) from another application software file to the
[0059]
Then, the
[0060]
The user selects any sentence to be added to the
[0061]
Finally, the user causes the
[0062]
FIG. 3 is a more detailed flowchart of the database extension process.
[0063]
After a sentence to be added is selected by the user, when the extended confirmation key displayed on the screen is clicked by the input interface module 11 (step 51), the
[0064]
Here, if the selected sentence exists (step 52: Y), there is no need to add the sentence to the
[0065]
On the other hand, when the selected sentence does not exist (Step 52: N), the
[0066]
If there is no need to divide the data (step 54: N), the
[0067]
On the other hand, if it is necessary to divide the sentence (step 54: Y), the
[0068]
The sentence is divided based on, for example, punctuation marks in the sentence set by the
[0069]
Therefore, if a sentence includes a plurality of punctuation marks, the sentence is appropriately divided and stored in the
[0070]
Next, a process of deleting a sentence from a database by this device will be described.
[0071]
FIG. 4 is a flowchart showing a processing procedure for deleting a sentence from the database.
[0072]
In the sentence deletion procedure, first, the input method and the
[0073]
The user inputs at least the first character of the sentence to be deleted using the input method (step 70). Therefore, the user is not required to enter all the characters of the sentence to be deleted at this time.
[0074]
The input characters are received by the
[0075]
At this time, the
[0076]
In addition, the user may input a plurality of characters (character strings such as words) as the first character in order to perform a more accurate search and reduce a comparison range at the time of character input.
[0077]
Thereafter, the user selects a sentence to be deleted from the
[0078]
Next, a further description will be given with reference to display examples shown in FIGS.
[0079]
First, expansion of the database will be described.
[0080]
FIG. 4 is a display example of an editable Chinese file opened by application software capable of handling Chinese kanji.
[0081]
The extension of the database, that is, the addition of a sentence to the
[0082]
[Outside 1]
[0083]
Is to be added to the
[0084]
Then, when the user clicks the extended confirmation key “phrase” 100 provided by the
[0085]
Next, deletion of a sentence from the database will be described.
[0086]
FIG. 5 is a diagram showing a display example when a sentence is deleted from the database.
[0087]
When the user wants to delete a sentence from the
[0088]
Thereafter, the user presses the key assigned to the sentence to be deleted from the displayed sentences, whereby the sentence corresponding to the pressed key is deleted from the
[0089]
In the example shown in FIG. 5B, when the number key “6” is pressed by the user, a sentence indicated by
[0090]
[Outside 2]
[0091]
Will be deleted.
[0092]
Therefore, the user simply enters at least the first character of the sentence to be deleted, and then presses a key corresponding to the sentence to be actually deleted from the displayed sentences, thereby making it unnecessary from the
[0093]
The key used for deletion may be a number key or a function key, or a combination of a “SHIFT” key and a number key or a combination of a “SHIFT” key and an alphabet key. You can decide. The key combination such as which key to use is set by the
[0094]
According to the embodiment to which the present invention described above is applied, the sentence selected by the user from the editable files of any application software can be extended into the database, so that the function of the input method is enhanced. can do.
[0095]
Further, according to the present embodiment, sentences used by the user can be freely added to the database, and unnecessary sentences can be deleted, and consequently, sentences used frequently by the user are included. A database can be dynamically constructed. By using such a database, character input can be performed efficiently. In addition, since unnecessary sentences are deleted, the user can search the database faster.
[0096]
Further, according to the present embodiment, there is no need to separately start a special program for editing the database, and a statement can be added to the database while using the input method, and a statement from the database can be added. The deletion can be handled.
[0097]
It also increases interest in using the database, as there will be favorable statements for the user in the database. In addition, it can greatly increase the user's input speed.
[0098]
Further, according to the present embodiment, when a sentence is added to the database, even a long sentence is appropriately and automatically divided and added to the database. Accordingly, this allows long sentences to be stored in the database, and saves the user time when editing logical sentences, thereby improving the convenience of the database. Further, since the rule for dividing a sentence can be arbitrarily changed, the sentence can be divided in a form that meets the needs of the user.
[0099]
Further, in the present embodiment, since information necessary for adding a sentence can be notified to the user by a pop-up window, it is possible to save time for the user to input a sentence to the database.
[0100]
Although the present invention has been described with reference to the embodiment, the present invention is not limited to this embodiment. For example, in the above-described embodiment, when the comparison and
[0101]
Furthermore, in the above-described embodiment, Chinese has been described as a display example for handling kanji in FIGS. 4 and 5, but the present invention is not limited to this. It is also possible to carry out the present invention on files that have been opened, as well as application software that handles Korean, English, and other languages, and files that have been opened thereby. In this case, as a criterion used to divide a sentence, it is preferable to use symbols similar to punctuation marks in each language.
[0102]
Further, the present invention can be variously modified by those skilled in the art within the scope of the technical idea of the present invention, and those modifications are also included in the scope of the claims of the present invention.
[0103]
【The invention's effect】
As described above, according to the present invention, a sentence selected from a file opened by any application software can be added to the database, and unnecessary sentences can be easily deleted. Thus, it is possible to dynamically build a database containing statements frequently used by users. By using such a database, character input can be performed efficiently.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a functional configuration of an input device having a database adjustment function according to an embodiment to which the present invention is applied.
FIG. 2 is a flowchart illustrating a procedure for expanding a database.
FIG. 3 is a detailed flowchart of a database extension procedure.
FIG. 4 is a flowchart showing a procedure for deleting a database.
FIG. 5 is a diagram showing a display example of adding a sentence to a database.
FIG. 6 is a diagram showing a display example of deletion of a sentence from a database.
[Explanation of symbols]
11 Input interface module
12. Contrast and display module
13 Database adjustment module
15 Definition setup module
14 Database
Claims (12)
ファイル上で選択された文とインプットメソッドから入力された文字とを入力する入力インターフェースモジュールと、
前記入力インターフェースモジュールによってインプットメソッドから入力された文字と前記データベースの内容を対比して、当該文字を含む文をデータベースの中から抽出して表示する対比および表示モジュールと、
ユーザーからの操作によって、前記入力インターフェースモジュールによってファイル上で選択されて入力された文を前記データベースに追加すると共に、前記対比および表示モジュールによって表示された文を前記データベースの中から削除するデータベース調整モジュールと、
を有することを特徴とする入力装置。A database for storing statements,
An input interface module for inputting a sentence selected on the file and characters input from the input method,
A comparison and display module for comparing the characters input from the input method by the input interface module and the contents of the database, extracting and displaying a sentence including the characters from the database,
A database adjustment module for adding a sentence selected and input on a file by the input interface module to the database and deleting a sentence displayed by the comparison and display module from the database by an operation from a user. When,
An input device comprising:
前記ファイル上で文を選択する段階と、
前記選択された文がデータベース内に存在するか否かを検索する段階と、
前記選択された文が前記データベース内に存在しない場合に、前記選択された文を前記データベースに追加する段階と、
を有することを特徴とする入力方法。Opening an editable file from the application software;
Selecting a sentence on the file;
Retrieving whether the selected sentence exists in a database;
Adding the selected sentence to the database if the selected sentence does not exist in the database;
An input method comprising:
前記入力された文字と同じ文字を含む文をデータベースのなかから検索して抽出し、抽出した文にそれぞれキーを割り当てる段階と、
前記割り当てられたキーのいずれかが押されることにより、当該押されたキーに割り当てた文を前記データベースの中から削除することを特徴とする入力方法。Receiving input characters,
Searching and extracting a sentence including the same character as the input character from the database and assigning a key to each of the extracted sentences,
An input method, wherein, when any one of the assigned keys is pressed, a sentence assigned to the pressed key is deleted from the database.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002187989A JP2004030399A (en) | 2002-06-27 | 2002-06-27 | Input device having database adjusting function, and method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002187989A JP2004030399A (en) | 2002-06-27 | 2002-06-27 | Input device having database adjusting function, and method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2004030399A true JP2004030399A (en) | 2004-01-29 |
Family
ID=31182865
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2002187989A Pending JP2004030399A (en) | 2002-06-27 | 2002-06-27 | Input device having database adjusting function, and method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2004030399A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2008124730A3 (en) * | 2007-04-09 | 2008-12-11 | Google Inc | Client input method |
-
2002
- 2002-06-27 JP JP2002187989A patent/JP2004030399A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2008124730A3 (en) * | 2007-04-09 | 2008-12-11 | Google Inc | Client input method |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20080300859A1 (en) | System and Method for Automatic Natural Language Translation of Embedded Text Regions in Images During Information Transfer | |
| JP2001134567A (en) | Electronic dictionary | |
| CN101943952A (en) | Mixed input method of at least two languages and input method system | |
| JP2000148748A (en) | Japanese syllbary-to-chinese character conversion and image retrieval and display system | |
| KR20040101306A (en) | Entering text into an electronic communications device | |
| JP2004030399A (en) | Input device having database adjusting function, and method | |
| CN101685375B (en) | Electronic apparatus with dictionary function | |
| JP2006163645A (en) | Method, device and program for retrieving information, computer readable recording medium and device recorded with the program | |
| US20030110451A1 (en) | Practical chinese classification input method | |
| JP2002358301A (en) | Electronic dictionary | |
| JP2009093299A (en) | Data input device, method, and program | |
| JP2001109740A (en) | Chinese document creation device and Chinese document creation method | |
| JP2024125787A (en) | Information search device, information search method, and program | |
| JPH08171568A (en) | Multiple language input method | |
| JPH06149790A (en) | Document processor | |
| KR100606807B1 (en) | Real-time search and sorting method of Chinese database, and terminal for it | |
| KR100476100B1 (en) | Practical chinese classification input method | |
| JP2000339304A (en) | Kana-kanji converting device | |
| JPS62282364A (en) | Character string retrieval system | |
| KR20040002157A (en) | Input system and method with dynamic database adjustment function | |
| JPH08297664A (en) | Character string processor | |
| JP2004086449A (en) | Chinese language phonetic orthography input device with comparison function for inputting imperfect or vague phonetic orthography | |
| JPH04169971A (en) | Document retrieving device | |
| JP2000348055A (en) | Method and device for retrieving information and computer readable recording medium | |
| JPH05120277A (en) | Document processor |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20060530 |
|
| A601 | Written request for extension of time |
Free format text: JAPANESE INTERMEDIATE CODE: A601 Effective date: 20060830 |
|
| A602 | Written permission of extension of time |
Free format text: JAPANESE INTERMEDIATE CODE: A602 Effective date: 20060904 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20061130 |
|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20061226 |