JP2013092914A - Input support program, input support device and input support method - Google Patents
Input support program, input support device and input support method Download PDFInfo
- Publication number
- JP2013092914A JP2013092914A JP2011234614A JP2011234614A JP2013092914A JP 2013092914 A JP2013092914 A JP 2013092914A JP 2011234614 A JP2011234614 A JP 2011234614A JP 2011234614 A JP2011234614 A JP 2011234614A JP 2013092914 A JP2013092914 A JP 2013092914A
- Authority
- JP
- Japan
- Prior art keywords
- sentence
- sentence example
- input
- storage unit
- character string
- 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.)
- Granted
Links
Images
Landscapes
- Machine Translation (AREA)
- Document Processing Apparatus (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
本発明は、入力支援プログラム、入力支援装置、及び入力支援方法に関する。 The present invention relates to an input support program, an input support apparatus, and an input support method.
従来、読みに対応付けて文例が記録された辞書(以下、「文例辞書」という。)を有し、読みの入力に応じて、当該読みに対応する文例の一覧を入力候補として提示するソフトウェア(以下、「文例入力ソフト」という。)が有る。なお、文例とは単語又は複数の単語の連鎖である。 Conventionally, software that has a dictionary (hereinafter referred to as “sentence dictionary”) in which sentence examples are recorded in association with readings, and presents a list of sentence examples corresponding to the readings as input candidates in accordance with the input of the readings ( Hereinafter, it is referred to as “sentence example input software”. The sentence example is a word or a chain of a plurality of words.
文例入力ソフトの利便性は、入力候補の文例の表示順に大きく依存する。例えば、利用頻度の高い文例が上位に表示されれば、ユーザにとって所望の文例が入力候補の上位において見つかる可能性が高くなり、文例入力ソフトの利便性が向上する。 The convenience of the sentence example input software largely depends on the display order of the input candidate sentence examples. For example, if a sentence example with high usage frequency is displayed at the top, the user is more likely to find a desired sentence example at the top of the input candidates, and the convenience of the sentence example input software is improved.
そこで、従来、読みの入力に応じて表示された文例の中から選択された回数を、文例ごとに記録しておき、当該回数に応じて、入力候補の表示順を決定することが行われている。 Therefore, conventionally, the number of times selected from sentence examples displayed according to the input of reading is recorded for each sentence example, and the display order of input candidates is determined according to the number of times. Yes.
しかしながら、ユーザは、所望の文例が入力候補に含まれているにも拘わらず、その存在に気付かず、当該文例と同じ文字列を、直接入力してしまうケースが有る。このようなケースが度重なると、本当は利用頻度が高い文例であるにも拘わらず、入力候補の表示順においてなかなか上位に表示されないといった状態が発生してしまう。 However, there are cases where the user directly inputs the same character string as the sentence example without being aware of the presence even though the desired sentence example is included in the input candidates. If such a case repeats, a state may occur in which the input candidate is not easily displayed in the higher order in the display order of the input candidates even though the sentence is actually used frequently.
そこで、一側面では、文例辞書に基づいて表示される入力候補からの文例の選択に関する操作性を向上させることができる入力支援プログラム、入力支援装置、及び入力支援方法の提供を目的とする。 Therefore, an object of one aspect is to provide an input support program, an input support apparatus, and an input support method that can improve operability related to selection of sentence examples from input candidates displayed based on a sentence example dictionary.
一つの案では、入力支援プログラムは、読みに対応付けて記憶部が記憶する文例の選択を経ずに入力された文字列から文例を抽出し、前記記憶部が記憶する文例のうち、抽出された文例と一致する文例について、前記記憶部が文例ごとに記憶する利用回数を増加させる処理をコンピュータに実行させる。 In one plan, the input support program extracts a sentence example from a character string input without selecting a sentence example stored in the storage unit in association with reading, and is extracted from the sentence examples stored in the storage unit. For a sentence example that matches a sentence example, the computer causes the computer to execute a process for increasing the number of times the storage unit stores each sentence example.
一態様によれば、文例辞書に基づいて表示される入力候補からの文例の選択に関する操作性を向上させることができる。 According to one aspect, it is possible to improve the operability related to the selection of sentence examples from input candidates displayed based on the sentence example dictionary.
以下、図面に基づいて本発明の実施の形態を説明する。図1は、本発明の実施の形態における入力支援装置のハードウェア構成例を示す図である。図1の入力支援装置10は、それぞれバスBで相互に接続されているドライブ装置100、補助記憶装置102、メモリ装置103、CPU104、インタフェース装置105、表示装置106、及び入力装置107等を有する。
Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a diagram illustrating a hardware configuration example of an input support apparatus according to an embodiment of the present invention. The
入力支援装置10での処理を実現するプログラムは、記録媒体101によって提供される。プログラムを記録した記録媒体101がドライブ装置100にセットされると、プログラムが記録媒体101からドライブ装置100を介して補助記憶装置102にインストールされる。但し、プログラムのインストールは必ずしも記録媒体101より行う必要はなく、ネットワークを介して他のコンピュータよりダウンロードするようにしてもよい。補助記憶装置102は、インストールされたプログラムを格納すると共に、必要なファイルやデータ等を格納する。
A program that realizes processing in the
メモリ装置103は、プログラムの起動指示があった場合に、補助記憶装置102からプログラムを読み出して格納する。CPU104は、メモリ装置103に格納されたプログラムに従って入力支援装置10に係る機能を実現する。インタフェース装置105は、ネットワークに接続するためのインタフェースとして用いられる。表示装置106はプログラムによるGUI(Graphical User Interface)等を表示する。入力装置107はキーボード及びマウス等であり、様々な操作指示を入力させるために用いられる。
The
なお、記録媒体101の一例としては、CD−ROM、DVDディスク、又はUSBメモリ等の可搬型の記録媒体が挙げられる。また、補助記憶装置102の一例としては、HDD(Hard Disk Drive)又はフラッシュメモリ等が挙げられる。記録媒体101及び補助記憶装置102のいずれについても、コンピュータ読み取り可能な記録媒体に相当する。
An example of the
図2は、本発明の実施の形態における入力支援装置の機能構成例を示す図である。同図において、入力支援装置10は、編集部11、変換部12、及び入力支援部13等を有する。
FIG. 2 is a diagram illustrating a functional configuration example of the input support apparatus according to the embodiment of the present invention. In FIG. 1, an
編集部11は、入力装置107を介して入力されるユーザの指示に応じて、文書データDの表示、生成、及び編集等を行う。編集部11は、例えば、ワープロソフト等がCPU104に実行させる処理によって実現される。
The editing unit 11 displays, generates, and edits the document data D in accordance with a user instruction input via the
変換部12は、文書データDに入力される文字に関して、かな漢字変換を行う。変換部12は、例えば、IME(Input Method Editor)又はFEP(Front End Processor)等と呼ばれる、文字入力用ソフトの一例であり、かな漢字変換ソフトがCPU104に実行させる処理によって実現される。
The
入力支援部13は、文書データDへの文字列の入力の支援を行う。入力支援部13は、読み又は未確定文字列の入力に応じ、入力候補とする文例の一覧を表示する。入力支援部13は、当該一覧の中から選択された文例を文書データDに入力(又は展開)する。
The
同図において、入力支援部13は、イベント監視部131、文例抽出部132、辞書更新部133、文例検索部134、表示順決定部135、文例一覧表示部136、文例入力部137、文例辞書記憶部141、及び条件記憶部142等を含む。文例辞書記憶部141及び条件記憶部142は、例えば、補助記憶装置102又は入力支援装置10とネットワークを介して接続される記憶装置等を用いて実現可能である。
In the figure, the
文例辞書記憶部141は、文例辞書を記憶する。文例辞書とは、文例の読みに対応付けて文例や文例の利用回数等が記録されているデータである。本実施の形態において、文例とは、単語、又は一以上の文節等、文の構成要素となる文字列や、一以上の文の集合を含む文字列等をいう。 The sentence example dictionary storage unit 141 stores a sentence example dictionary. The sentence example dictionary is data in which the sentence example and the number of times the sentence example is used are recorded in association with the reading of the sentence example. In the present embodiment, a sentence example refers to a character string that is a constituent element of a sentence, such as a word or one or more clauses, or a character string that includes a set of one or more sentences.
イベント監視部131は、入力支援装置10において発生する入力イベントを監視し、文字の入力等を検出する。入力イベントとは、例えば、入力装置107を用いてユーザによって入力されるイベントをいう。
The
文例抽出部132は、入力された文字列より文例を抽出する。文例の抽出には、例えば、形態素解析が用いられる。
The sentence
辞書更新部133は、文例辞書の更新を行う。辞書更新部133は、例えば、文例辞書に新たな文例を登録したり、入力候補として表示され文例の中から選択された文例の利用回数を更新したりする。利用回数は、文例辞書において、文例ごとに記録されており、文例の表示順の決定に用いられる情報である。辞書更新部133は、また、入力候補として表示された文例の中から選択された文例のみならず、文例抽出部132によって抽出された文例と一致し、かつ、条件記憶部142が記憶する条件に合致する文例に関しても利用回数を更新する。条件記憶部142は、文例抽出部132によって抽出された文例と一致する文例に関して利用回数を増加させる条件を記憶する。
The
文例検索部134は、文字の入力に応じて、当該文字に対応する文例を文例辞書記憶部141より検索する。表示順決定部135は、文例検索部134によって検索された文例を入力候補として表示する際の表示順序を決定する。文例一覧表示部136は、表示順決定部135によって決定された表示順序によって、文例検索部134によって検索された複数の文例の一覧を、入力候補として表示させる。文例入力部137は、表示された文例の一覧の中から選択された文例を、編集部11によって編集対象とされている文書データDに入力(展開)する。
The sentence
以下、入力支援装置10が実行する処理手順について説明する。図3は、入力支援部が実行する処理手順の一例を説明するためのフローチャートである。
Hereinafter, a processing procedure executed by the
入力支援部13が、例えば、プロセスとして起動されると、入力支援部13のイベント監視部131は、入力支援装置10において発生する入力イベントの監視を開始する(S101)。イベント監視部131によって何らかの入力イベントが検出されると(S101でYes)、入力支援部13は、入力イベントに応じた処理を実行する。
For example, when the
検出された入力イベントが文字入力イベントである場合(S102でYes)、入力支援部13は、入力された文字列(一つの文字であってもよい。)に基づいて、文例一覧表示処理を実行する(S103)。文例一覧表示処理の実行によって、当該文字列に対応する文例の一覧が、文書データDへの入力候補として表示装置106に表示される。なお、文字入力イベントは、文字の入力に応じて発生するイベントをいう。
When the detected input event is a character input event (Yes in S102), the
検出された入力イベントが文字列確定イベントである場合(S104でYes)、イベント監視部131は、確定された文字列を、入力文字バッファに記録する(S105)。入力文字バッファは、例えば、メモリ装置103において、入力及び確定された文字列を記憶するための記憶領域である。
If the detected input event is a character string confirmation event (Yes in S104), the
文字列確定イベントとは、未確定文字列に関して、入力の確定を示すイベントをいい、例えば、未確定文字列が表示されている状態において、リターンキーの押下に応じて発生するイベントをいう。但し、変換部12の入力モード又は入力文字種が、半角カタカナ又は半角英数等の半角文字の場合、半角文字の入力自体が、文字列確定イベントに相当する。半角文字は、入力された時点で、確定された文字列となるからである。したがって、半角文字の場合、1文字ずつ文字列確定イベントが発生する。未確定文字列とは、入力された文字又は文字列が、変換部12によって変換対象とされた状態の文字又は文字列であって、かつ、入力が確定されていない文字又は文字列をいう。
The character string confirmation event refers to an event indicating input confirmation regarding an unconfirmed character string, for example, an event that occurs in response to pressing of the return key in a state where an unconfirmed character string is displayed. However, when the input mode or input character type of the
なお、文字列確定イベントは、通常、文字入力イベントに続いて検出される。例えば、未確定文字列が入力された場合、文字入力イベントが検出される。当該未確定文字列が確定された場合、文字列確定イベントが検出される。また、半角文字等、当初より確定している文字が入力された場合、文字入力イベントが検出され、引き続いて文字列確定イベントが検出される。 Note that the character string confirmation event is normally detected following the character input event. For example, when an undetermined character string is input, a character input event is detected. When the unconfirmed character string is confirmed, a character string confirmation event is detected. In addition, when a character that has been confirmed from the beginning, such as a single-byte character, is input, a character input event is detected, and subsequently a character string determination event is detected.
検出された入力イベントが文例選択イベントである場合(S106でYes)、文例入力部137は、文例入力処理を実行する(S107)。文例入力処理の実行によって、文例一覧表示処理によって表示された文例一覧の中から選択された文例が、文書データDに入力(展開)される。なお、文例選択イベントは、文例一覧の中から文例が選択された際に発生するイベントをいう。
When the detected input event is a sentence example selection event (Yes in S106), the sentence
検出された入力イベントが文字列入力完了イベントである場合(S108でYes)、入力支援部13は、入力文字バッファに記憶された文字列に関して文字列解析処理を実行する(S109)。文字列入力完了イベントとは、所定の単位の文字列の入力の完了を示すイベントをいう。本実施の形態において、文字列入力完了イベントは、改行コードの入力であるとする。すなわち、改行が行われるたびに、文字列入力完了イベントが発生する。
If the detected input event is a character string input completion event (Yes in S108), the
続いて、イベント監視部131は、入力文字バッファを初期化する(S110)。すなわち、入力文字バッファが空となる。したがって、改行が行われるたびに、入力文字バッファは空とされる。
Subsequently, the
検出された入力イベントが終了イベントである場合(S111でYes)、入力支援部13のプロセスは終了する。終了イベントは、入力支援部13に対する終了指示の入力に応じて発生するイベントである。
If the detected input event is an end event (Yes in S111), the process of the
入力イベントが上記以外のイベントである場合(S111でNo)、入力支援部13は、必要に応じて当該イベントに応じた処理を実行する(S112)。
When the input event is an event other than the above (No in S111), the
続いて、ステップS103の詳細について説明する。図4は、文例一覧表示処理の処理手順の一例を説明するためのフローチャートである。 Next, details of step S103 will be described. FIG. 4 is a flowchart for explaining an example of a processing procedure of the sentence example list display process.
ステップS201において、文例検索部134は、入力された文字列に対応する文例を文例辞書記憶部141に記憶されている文例辞書より検索する。
In step S <b> 201, the sentence
図5は、文例辞書の構成例を示す図である。図5において、文例辞書は、文例ごとに、読み及び利用回数等を含む。 FIG. 5 is a diagram illustrating a configuration example of a sentence example dictionary. In FIG. 5, the sentence example dictionary includes reading and use counts for each sentence example.
読みは、文例に対する読みである。利用回数は、文例が利用された(入力対象として選択された)回数である。本実施の形態において、利用回数は、文例が利用された累積回数である。但し、過去の所定期間(例えば、過去数日間)において文例が利用された回数であってもよい。 A reading is a reading of a sentence example. The number of uses is the number of times the sentence example has been used (selected as an input target). In the present embodiment, the number of uses is the cumulative number of times the sentence example has been used. However, it may be the number of times the sentence example has been used in a predetermined period in the past (for example, the past several days).
なお、ステップ201において、入力された文字列に対応する文例とは、当該文例に対応する読みが入力された文字列に適合する文例、又は入力された文字列が未確定文字列である場合は、当該文例自体が未確定文字列に適合する文例をいう。入力された文字列に適合する読みとは、例えば、入力された文字列を先頭から含む読みをいう。入力された文字列と読みとが完全に一致する場合も含まれるし、読みの先頭の一部分が、入力された文字列に一致する場合も含まれる。また、未確定文字列に適合する文例とは、例えば、未確定文字列を先頭から含む文例をいう。未確定文字列と文例とが完全に一致する場合も含まれるし、文例の先頭の一部分が、未確定文字列に一致する場合も含まれる。 In step 201, the sentence example corresponding to the input character string is a sentence example that matches the character string to which the reading corresponding to the sentence example is input, or the input character string is an undetermined character string. The sentence example itself is a sentence example that matches the undetermined character string. The reading that matches the input character string is, for example, a reading that includes the input character string from the beginning. The case where the input character string and the reading completely match is also included, and the case where the first part of the reading matches the input character string is also included. Moreover, the sentence example suitable for an undetermined character string is a sentence example including an undetermined character string from the head, for example. The case where the undetermined character string and the sentence example completely match is included, and the case where the first part of the sentence example matches the undetermined character string is also included.
該当する文例が検索された場合(S202でYes)、表示順決定部135は、検索された各文例の利用回数に基づいて、当該各文例の表示順序を決定する(S203)。例えば、表示順決定部135は、利用回数の降順に、検索された文例をソートする。
When the corresponding sentence example is searched (Yes in S202), the display
続いて、文例一覧表示部136は、決定された表示順序で、検索された文例の一覧を入力候補として表示装置106に表示させる(S204)。
Subsequently, the sentence example
続いて、図3のステップS107の詳細について説明する。図6は、文例入力処理の処理手順の一例を説明するためのフローチャートである。 Next, details of step S107 in FIG. 3 will be described. FIG. 6 is a flowchart for explaining an example of the processing procedure of the sentence example input process.
ステップS301において、文例入力部137は、入力候補として表示された文例の一覧の中から選択された文例を、編集部11によって編集対象とされている文書データDに入力する。続いて、辞書更新部133は、選択された文例に関して、文例辞書に記録されている利用回数に1を加算する(S302)。
In step S <b> 301, the sentence
このように、文例が選択されるたびに当該文例の利用回数が増加する。その結果、利用頻度の高い文例が、入力候補の上位に表示される可能性が高くなる。 In this way, each time a sentence example is selected, the number of times the sentence example is used increases. As a result, there is a high possibility that sentence examples with high usage frequency will be displayed above the input candidates.
続いて、図3のステップS109の詳細について説明する。図7は、文字列解析処理の一例を説明するためのフローチャートである。なお、図7の処理は、文字列の入力に応じて表示された文例の一覧の中から文例が選択されることなく、文字列の入力が継続され、改行が行われた場合に実行される。 Next, details of step S109 in FIG. 3 will be described. FIG. 7 is a flowchart for explaining an example of the character string analysis processing. 7 is executed when the input of the character string is continued and a line feed is made without selecting the sentence example from the list of sentence examples displayed in response to the input of the character string. .
ステップS401において、文例抽出部132は、入力文字バッファに記憶されている文字列に関して形態素解析等の解析を行うことにより、当該文字列より文例を抽出する。
In step S401, the sentence
図8は、入力文字バッファに記憶されている文字列の一例を示す図である。入力文字バッファには、改行が行われるまでに、ユーザによって直接入力された文字列が記憶される。ユーザによって直接入力されたとは、文例の選択を経ずに入力されたことをいう。図8に示されるように、本実施の形態では、「お疲れ様です。医療情報処理の山田です。」という文字列が、入力文字バッファに記憶されていることとする。以下、入力文字バッファに記憶された文字列を、「入力文字列」という。 FIG. 8 is a diagram illustrating an example of a character string stored in the input character buffer. The input character buffer stores a character string directly input by the user before a line feed is made. “Directly input by the user” means input without selection of a sentence example. As shown in FIG. 8, in this embodiment, it is assumed that a character string “Thank you very much. Yamada for medical information processing” is stored in the input character buffer. Hereinafter, the character string stored in the input character buffer is referred to as an “input character string”.
文例抽出部132は、入力文字列から抽出された文例を、登録文例バッファに記憶する。登録文例バッファは、例えば、メモリ装置103において、抽出された文例を記憶するための記憶領域である。抽出された文例を、以下、「抽出文例」という。
The sentence
図9は、登録文例バッファにおける抽出文例の記憶例を示す図である。図9において、一行は、一つの文例に対応する。したがって、図9では、9個の文例が抽出された例が示されている。 FIG. 9 is a diagram illustrating a storage example of the extracted sentence example in the registered sentence example buffer. In FIG. 9, one line corresponds to one sentence example. Therefore, FIG. 9 shows an example in which nine sentence examples are extracted.
登録文例バッファでは、各文例について、当該文例に含まれる単語ごとに、品詞が付与されて記憶されている。各単語の品詞は、例えば、入力文字列の形態素解析の過程において特定される。 In the registered sentence example buffer, a part of speech is assigned to each sentence example and stored for each word included in the sentence example. The part of speech of each word is specified in the process of morphological analysis of the input character string, for example.
続いて、辞書更新部133は、登録文例バッファにおける文例の有無を判定する(S402)。登録バッファに文例が有る場合(S402でYes)、辞書更新部133は、一つの文例を処理対象とする(S403)。以下、処理対象とされた文例を、「対象文例」という。
Subsequently, the
続いて、辞書更新部133は、対象文例について、文例辞書に未登録であるか否かを判定する(S404)。対象文例が文例辞書に未登録である場合(S404でYes)、辞書更新部133は、対象文例とその読みとを文例辞書に登録する(S405)。この際、対象文例の利用回数には、「1」が記録される。
Subsequently, the
対象文例と一致する文例が文例辞書に既に登録されている場合(S404でNo)、辞書更新部133は、対象文例と一致する文例の利用回数に対する加算値(カウントアップ数)の判定処理を実行する(S405)。当該判定処理の詳細については後述される。
When a sentence example that matches the target sentence example has already been registered in the sentence example dictionary (No in S404), the
加算値の判定処理の結果、加算値が「0」である場合(S407でNo)、辞書更新部133は、ステップS403以降を繰り返す。加算値が「1」以上である場合(S407でYes)、辞書更新部133は、文例辞書において、対象文例と一致する文例の利用回数に対して、加算値を加算する(S408)。
As a result of the addition value determination process, when the addition value is “0” (No in S407), the
続いて、ステップS405の詳細について説明する。図10は、利用回数の加算値の判定処理の処理手順の一例を説明するためのフローチャートである。なお、図10の説明における対象文例は、図7のステップS405の段階における対象文例に一致する。 Next, details of step S405 will be described. FIG. 10 is a flowchart for explaining an example of the processing procedure of the determination process of the added value of the number of uses. Note that the target sentence example in the description of FIG. 10 matches the target sentence example in the step S405 in FIG.
ステップS501において、辞書更新部133は、登録文例バッファ内において、対象文例と一致する文例の数N1をカウントする(S502)。例えば、図9に示される登録文例バッファでは、いずれの文例が対象文例であっても、当該対象文例と一致する文例は当該対象文例自身の一つである。したがって、当該登録文例バッファに関しては、いずれの文例が対象文例である場合も、N1の値は1となる。
In step S501, the
なお、例えば、入力文字列が、「医療情報処理の佐藤様、お疲れ様です。医療情報処理の山田です。」であり、対象文例が「医療情報処理」である場合、N1の値は、2となる。 For example, if the input character string is “Mr. Sato of medical information processing, good work. Yamada of medical information processing”, and the target sentence example is “medical information processing”, the value of N1 is 2. Become.
続いて、辞書更新部133は、条件記憶部142において、「名詞の連続の全部を構成する文例」が条件として有効か否かを判定する(S502)。
Subsequently, the
図11は、条件記憶部の構成例を示す図である。図11において、条件記憶部142は、利用回数の加算対象に該当する条件ごとに、判定の要否が記憶されている。判定の要否は、条件の判定の要否、すなわち、条件の有効性を示す情報である。「○」は、判定が必要であること(有効であること)を示す。「×」は、判定が不要であること(無効であること)を示す。
FIG. 11 is a diagram illustrating a configuration example of the condition storage unit. In FIG. 11, the
図11において、1番目の条件「名詞のみを含む文例」は、一以上の名詞の連続の文例をいう。図9に示される文例のうち、3番目(医療情報処理)、4番目(医療情報)、5番目(情報処理)、6番目(医療)、7番目(情報)、8番目(処理)、及び9番目(山田)の文例が、当該条件に合致する。但し、図11の例では、当該文例の判定の要否は「×」であるため、本実施の形態においては、当該条件は、判定の対象とされない。 In FIG. 11, the first condition “sentence examples including only nouns” refers to consecutive sentence examples of one or more nouns. Of the example sentences shown in FIG. 9, the third (medical information processing), the fourth (medical information), the fifth (information processing), the sixth (medical information), the seventh (information), the eighth (processing), and The ninth sentence (Yamada) matches the condition. However, in the example of FIG. 11, since the necessity of the determination of the sentence example is “x”, the condition is not a determination target in the present embodiment.
2番目の条件「左右対称の記号で囲まれた文例」は、括弧等、左右対象の記号で囲まれた文例である。左右対称の記号は、二つの文字が対となって機能する記号であるともいえる。 The second condition “sentence example surrounded by left and right symmetrical symbols” is a sentence example surrounded by left and right target symbols such as parentheses. It can be said that a symmetrical symbol is a symbol in which two characters function as a pair.
3番目の条件「名詞以外を含む文例」は、名詞の単独又は名詞のみの連続ではない文例である。図9に示される文例のうち、1番目(お疲れ様です。)及び2番目(山田です。)の文例が、当該条件に合致する。 The third condition “sentence examples including other than nouns” is a sentence example that is not a single noun or a series of nouns alone. Of the sentence examples shown in FIG. 9, the first (Thank you for your work) and second (Yamada) sentence examples meet the conditions.
4番目の条件「名詞の連続の全部を構成する文例」は、名詞の連続の開始から終了までの全範囲を構成する文例をいう。例えば、図9において、「医療情報処理」が当該条件に合致する。「医療情報処理」は、「医療情報処理」という名詞の連続の全範囲を構成するからである。一方、「医療情報」、「情報処理」、「医療」、「情報」、及び「処理」は、いずれも、「医療情報処理」という名詞の連続において、その一部しか構成しない。したがって、これらの文例は、当該条件に合致しない。 The fourth condition “sentence example constituting all of a series of nouns” refers to a sentence example constituting the entire range from the start to the end of a noun series. For example, in FIG. 9, “medical information processing” matches the condition. This is because “medical information processing” constitutes the entire continuous range of the noun “medical information processing”. On the other hand, “medical information”, “information processing”, “medical”, “information”, and “processing” all constitute only a part of the noun sequence “medical information processing”. Therefore, these sentence examples do not meet the conditions.
抽出文例と一致する全ての文例の利用回数を増加させるのではなく、利用回数の加算対象を条件記憶部142に記憶された条件に合致する文例に限定することで、利用回数の加算対象を再利用価値の高い文例に限定することができる。ここでいう「再利用価値」とは、文字列の入力負担の軽減に対する寄与度が大きいことをいう。
Rather than increasing the number of uses of all sentence examples that match the extracted sentence examples, the number of use additions is limited to sentence examples that match the conditions stored in the
例えば、「名詞の連続の全部を構成する文例」という条件の設定は、次のような考えに基づく。基本的に、文例は長ければ長い程、再利用価値が高いと考えられる。仮に、「名詞の連続の全部を構成する文例」に含まれる各名詞に関しても、利用回数の加算対象とされると、「名詞の連続の全部を構成する文例」が、入力候補においてなかなか上位に表示されない可能性がある。「名詞の連続の全部を構成する文例」の一部の名詞又は名詞の連続は、他の「名詞の連続の全部を構成する文例」にも含まれる可能性が高く、当該名詞又は名詞の連続と一致する文例の利用回数が増加される機会が多くなると考えられるからである。「名詞の連続の全部を構成する文例」という条件を有効とすることで、上記のような不都合を解消できる可能性が高まり、再利用価値の高い文例が入力候補の上位に表示される可能性を高めることができる。 For example, the setting of the condition “sentence examples constituting all of a series of nouns” is based on the following idea. Basically, the longer the example sentence, the higher the reuse value. Even if each noun included in the “sentences that compose all of a series of nouns” is included in the number of times of use, “sentences that compose all of a series of nouns” are quite high in input candidates. It may not be displayed. Some nouns or a series of nouns in “an example sentence that constitutes a whole sequence of nouns” are likely to be included in another “an example sentence that constitutes a whole series of nouns”. This is because it is considered that there will be many opportunities to increase the number of times the sentence example that matches the above is used. By enabling the condition of “sentence examples that compose all of a series of nouns”, there is a higher possibility that the above inconveniences can be resolved, and the possibility that a sentence example with high reuse value will be displayed at the top of the input candidates Can be increased.
また、「左右対称の記号で囲まれた文例」を入力候補の中から選択することができれば、左右対称の記号の一方(左側)を入力しただけで、当該記号に囲まれた文字列に加えて他方の記号の入力をも省くことができる。このような観点において、「左右対称の記号で囲まれた文例」を利用回数の加算対象とすることで、再利用価値の高い文例が入力候補の上位に表示される可能性を高めることができる。 Also, if you can select “sentence examples surrounded by left-right symmetric symbols” from among the input candidates, you can add only one (left side) of left-right symmetric symbols and add them to the character string surrounded by the symbols. The input of the other symbol can also be omitted. From this point of view, “sentence examples surrounded by symmetrical symbols” can be added to the number of times of use, thereby increasing the possibility that a sentence example having a high reuse value will be displayed above the input candidates. .
「名詞の連続の全部を構成する文例」が条件として有効である場合(S502でYes)、対象文例は、辞書更新部133は、名詞の連続であるか否かを判定する(S503)。すなわち、対象文例は、2以上の名詞のみを含む文例であるか否かが判定される。なお、ステップS503〜S506は、対象文例が、「名詞の連続の全部を構成する文例」に該当するか否かを判定する処理である。
When “sentence examples constituting all of a series of nouns” is valid as a condition (Yes in S502), the
対象文例が名詞の連続である場合(S503でYes)、辞書更新部133は、登録文例バッファ内において、対象文例を一部に含む文例の数N2をカウントする(S504)。対象文例を一部に含む文例とは、対象文例を含み、かつ、他の一文字以上をも含む文例をいう。例えば、図9に示される登録文例バッファにおいて、3番目の文例「医療情報処理」が対象文例である場合、当該文例を一部に含む文例は無い。したがって、この場合、N2の値は0となる。一方、4番目の文例「医療情報」が対象文例である場合、3番目の文例「医療情報処理」が、対象文例を含む文例である。したがって、この場合、N2の値は1となる。
When the target sentence example is a series of nouns (Yes in S503), the
続いて、辞書更新部133は、N1−N2の演算結果を、加算値とする(S504)。例えば、3番目の文例「医療情報処理」が対象文例である場合、N1−N2=1−0=1である。一方、4番目の文例「医療情報」が対象文例である場合、N1−N2=1−1=0である。
Subsequently, the
続いて、辞書更新部133は、加算値が0より大きいか否かを判定する(S506)。すなわち、加算値が0より大きい場合、対象文例は、「名詞の連続の全部を構成する文例」に該当すると判定される。この場合、加算値は、入力文字列における、対象文例の出現回数に相当する。
Subsequently, the
なお、各抽出文例が「名詞の連続の全部を構成する文例」に該当するか否かは、文例の抽出時(S401)、すなわち、入力文字列に対する形態素解析等の実行時に判定されてもよい。形態素解析の実行時であれば、その解析の過程において、抽出された文例が「名詞の連続の全部を構成する文例」に該当するか否かを容易に判定することができる。この場合、「名詞の連続の全部を構成する文例」に該当すると判定された文例に関しては、例えば、登録文例バッファにおいて、「名詞の連続の全部を構成する文例」に該当することを示すフラグ情報が付与されればよい。図10の処理において、対象文例に当該フラグ情報が付与されている場合には、ステップS503〜S506の代わりに、登録文例バッファにおいて対象文例と一致し、かつ、当該フラグ情報が付与されている文例の数を加算値とする処理が実行されればよい。 It should be noted that whether or not each extracted sentence example corresponds to “a sentence example constituting all of a series of nouns” may be determined at the time of sentence example extraction (S401), that is, at the time of execution of a morphological analysis or the like on an input character string. . At the time of execution of morphological analysis, it is possible to easily determine whether or not the extracted sentence examples correspond to “sentence examples constituting all of a series of nouns” in the process of the analysis. In this case, with respect to the sentence examples determined to correspond to “sentence examples constituting all of a series of nouns”, for example, flag information indicating that “sentence examples constituting all of a series of nouns” in a registered sentence example buffer May be given. In the process of FIG. 10, when the flag information is assigned to the target sentence example, instead of steps S <b> 503 to S <b> 506, a sentence example that matches the target sentence example in the registered sentence example buffer and is assigned the flag information. It is only necessary to execute a process using the number of
一方、「名詞の連続の全部を構成する文例」が条件として有効ではない場合(S502でNo)、対象文例が名詞の連続でない場合(S503でNo)、又は対象文例が「名詞の連続の全部を構成する文例」ではない場合(S506でNo)、辞書更新部133は、対象文例が他の有効条件に合致するか否かを判定する(S507)。有効条件とは、条件記憶部142(図11)において、「判定の要否」の値が「○」である条件をいう。なお、本実施の形態の条件記憶部142において、各条件は、OR(論理和)の関係である。したがって、条件記憶部142に記憶されたいずれか一つの条件に合致するか否かが判定される。但し、各条件の関係が、AND(論理積)の関係となることを前提として、条件記憶部142における条件の設定が行われてもよい。
On the other hand, if “sentence examples constituting all of a series of nouns” is not valid as a condition (No in S502), if the target sentence examples are not continuous nouns (No in S503), or the target sentence examples are “all consecutive nouns” If it is not “sentence example that constitutes” (No in S506), the
対象文例が、いずれかの有効条件に合致する場合(S507でYes)、辞書更新部133は、N1の値を加算値とする(S508)。一方、対象文例が、いずれの有効条件にも合致しない場合(S507でNo)、辞書更新部133は、0を加算値とする(S508)。
When the target sentence example matches one of the valid conditions (Yes in S507), the
ステップS506でYes、ステップS508、又はステップS509に続いて辞書更新部133は、対象文例と同一の文例を、登録文例バッファより削除する(S510)。対象文例と同一の文例が登録文例バッファに複数有る場合、当該同一の文例の出現回数については、既に加算値に含まれている。したがって、当該同一の文例に基づく利用回数の加算の重複を回避するために、ステップS510が実行される。
Following step Yes in step S506, step S508, or step S509, the
図10の処理の結果、本実施の形態では、図5の文例辞書に登録されている文例のうち、「医療情報処理」という文例の利用回数に1が加算されることになる。仮に、「名詞以外を含む文例」が条件として有効である場合、図5の文例辞書に登録されている文例のうち、「お疲れ様です。」、「山田です。」、「医療情報処理の山田です。」の各文例の利用回数に1が加算される。なお、「医療情報処理の山田です。」については、図9の登録文例バッファには含まれていないが、これは、便宜上省略されたものである。すなわち、図9の登録文例バッファは、必ずしも、図8に示される入力文字列から抽出される全ての文例が列挙されているとは限らない。 As a result of the processing of FIG. 10, in this embodiment, 1 is added to the number of times of use of the sentence example “medical information processing” among the sentence examples registered in the sentence example dictionary of FIG. If “sentence examples including nouns” are valid as a condition, among the example sentences registered in the example dictionary in FIG. 5, “Thank you very much”, “I am Yamada”, “Yamada for medical information processing” 1 is added to the number of uses of each sentence example. Note that “I am Yamada of medical information processing.” Is not included in the registered sentence example buffer in FIG. 9, but is omitted for convenience. That is, the registered sentence example buffer in FIG. 9 does not necessarily list all sentence examples extracted from the input character string shown in FIG.
なお、図11の例では、利用回数の加算対象とする条件(すなわち、積極的条件)が条件記憶部142に記憶されている例が示されているが、利用回数の加算対象としない条件(すなわち、消極的条件)が条件記憶部142に記憶されていてもよい。この場合、消極的条件に合致する文例の加算値は、0とされればよい。
In the example of FIG. 11, an example is shown in which the condition for which the number of usages is to be added (that is, the positive condition) is stored in the
上述したように、本実施の形態によれば、入力候補として表示された文例の中から選択された文例のみならず、文例の選択を経ずに直接入力された(キーボードから打ち込まれた)文字列から抽出された文例と一致する文例についても、利用回数が加算される。したがって、例えば、入力候補として表示されているにも拘わらず、下位に表示されていたため、ユーザが表示されていたことに気付かなかった文字列であって、ユーザが頻繁に入力する文字列と一致する文例を、入力候補の上位に表示させることができる。その結果、ユーザが入力する頻度の高い文例が入力候補の上位に表示される可能性が高くなり、当該入力候補からの文例の選択に関する操作性を向上させることができる。 As described above, according to the present embodiment, not only the sentence examples selected from the sentence examples displayed as input candidates, but also the characters that are directly input (typed in from the keyboard) without selection of the sentence examples. The usage count is also added to a sentence example that matches the sentence example extracted from the column. Therefore, for example, although it is displayed as a candidate for input, it is displayed at the lower level, so it is a character string that the user did not notice that it was displayed and matches the character string that the user frequently inputs The sentence example to be displayed can be displayed at the top of the input candidates. As a result, there is a high possibility that a sentence example that is frequently input by the user is displayed at the top of the input candidates, and the operability related to the selection of the sentence examples from the input candidates can be improved.
なお、本実施の形態において、文例抽出部132は、抽出部の一例である。辞書更新部133は、増加部の一例である。
In the present embodiment, the sentence
以上、本発明の実施例について詳述したが、本発明は斯かる特定の実施形態に限定されるものではなく、特許請求の範囲に記載された本発明の要旨の範囲内において、種々の変形・変更が可能である。 As mentioned above, although the Example of this invention was explained in full detail, this invention is not limited to such specific embodiment, In the range of the summary of this invention described in the claim, various deformation | transformation・ Change is possible.
10 入力支援装置
11 編集部
12 変換部
13 入力支援部
100 ドライブ装置
101 記録媒体
102 補助記憶装置
103 メモリ装置
104 CPU
105 インタフェース装置
106 表示装置
107 入力装置
131 イベント監視部
132 文例抽出部
133 辞書更新部
134 文例検索部
135 表示順決定部
136 文例一覧表示部
137 文例入力部
141 文例辞書記憶部
142 条件記憶部
B バス
DESCRIPTION OF
105
Claims (7)
前記記憶部が記憶する文例のうち、抽出された文例と一致する文例について、前記記憶部が文例ごとに記憶する利用回数を増加させる処理をコンピュータに実行させる入力支援プログラム。 Extract the sentence example from the input character string without selecting the sentence example stored in the storage unit in association with the reading,
An input support program for causing a computer to execute a process of increasing the number of times the storage unit stores each sentence example for a sentence example that matches an extracted sentence example among sentence examples stored in the storage unit.
検索された文例の表示順序を、前記利用回数に基づいて決定し、
前記検索された文例を、決定された表示順序で表示装置に表示させる処理をコンピュータに実行させる請求項1記載の入力支援プログラム。 Search the storage unit for a sentence example in which the input character string matches the reading,
The display order of the retrieved sentence examples is determined based on the number of uses,
The input support program according to claim 1, wherein the computer executes a process of causing the display device to display the retrieved sentence examples in the determined display order.
前記記憶部が記憶する文例のうち、抽出された文例と一致する文例について、前記記憶部が文例ごとに記憶する利用回数を増加させる増加部とを有する入力支援装置。 An extraction unit for extracting a sentence example from a character string input without selecting a sentence example stored in the storage unit in association with the reading;
An input support apparatus including an increasing unit that increases the number of times the storage unit stores each sentence example for a sentence example that matches the extracted sentence example among the sentence examples stored in the storage unit.
前記記憶部が記憶する文例のうち、抽出された文例と一致する文例について、前記記憶部が文例ごとに記憶する利用回数を増加させる処理をコンピュータが実行する入力支援方法。 Extract the sentence example from the input character string without selecting the sentence example stored in the storage unit in association with the reading,
An input support method in which a computer executes a process of increasing the number of times the storage unit stores each sentence example for a sentence example that matches an extracted sentence example among sentence examples stored in the storage unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011234614A JP5861382B2 (en) | 2011-10-26 | 2011-10-26 | Input support program, input support apparatus, and input support method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011234614A JP5861382B2 (en) | 2011-10-26 | 2011-10-26 | Input support program, input support apparatus, and input support method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2013092914A true JP2013092914A (en) | 2013-05-16 |
JP5861382B2 JP5861382B2 (en) | 2016-02-16 |
Family
ID=48615988
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011234614A Active JP5861382B2 (en) | 2011-10-26 | 2011-10-26 | Input support program, input support apparatus, and input support method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5861382B2 (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005190389A (en) * | 2003-12-26 | 2005-07-14 | Matsushita Electric Ind Co Ltd | Device and method for processing characters, and program |
JP2007164278A (en) * | 2005-12-09 | 2007-06-28 | Nec Corp | Japanese processor, japanese processing method, and program for japanese processing |
JP2007323247A (en) * | 2006-05-31 | 2007-12-13 | Toshiba Digital Media Engineering Corp | Character string conversion device |
JP2011053866A (en) * | 2009-09-01 | 2011-03-17 | Fujitsu Ltd | Character input support device, program, and character input support method |
-
2011
- 2011-10-26 JP JP2011234614A patent/JP5861382B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005190389A (en) * | 2003-12-26 | 2005-07-14 | Matsushita Electric Ind Co Ltd | Device and method for processing characters, and program |
JP2007164278A (en) * | 2005-12-09 | 2007-06-28 | Nec Corp | Japanese processor, japanese processing method, and program for japanese processing |
JP2007323247A (en) * | 2006-05-31 | 2007-12-13 | Toshiba Digital Media Engineering Corp | Character string conversion device |
JP2011053866A (en) * | 2009-09-01 | 2011-03-17 | Fujitsu Ltd | Character input support device, program, and character input support method |
Also Published As
Publication number | Publication date |
---|---|
JP5861382B2 (en) | 2016-02-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20100115402A1 (en) | System for data entry using multi-function keys | |
KR20150083961A (en) | The method for searching integrated multilingual consonant pattern, for generating a character input unit to input consonants and apparatus thereof | |
JP4900158B2 (en) | Search system, method and program | |
JP2013069228A (en) | Information processor, information processing method and program | |
JP2017528777A (en) | Text information input method and apparatus | |
JP5861382B2 (en) | Input support program, input support apparatus, and input support method | |
JP6723726B2 (en) | Input support device | |
JP2019148859A (en) | Device and method supporting discovery of design pattern in model development environment using flow diagram | |
JP4734400B2 (en) | Document search apparatus and program | |
JP5184987B2 (en) | Index information creating apparatus, index information creating method and program | |
JP5609718B2 (en) | Input support program, input support device, and input support method | |
JP5259764B2 (en) | Browsing support system, browsing support method and program | |
JP6753190B2 (en) | Document retrieval device and program | |
JP5803481B2 (en) | Information processing apparatus and information processing program | |
JP2012118750A (en) | Information retrieval apparatus, retrieval input method and retrieval input program | |
JP2009199164A (en) | Document management device, document management method and recording medium | |
JP5742454B2 (en) | Input support program, input support apparatus, and input support method | |
JP2008117310A (en) | Dictionary retrieval device and dictionary retrieval processing program | |
JP6524668B2 (en) | Document retrieval apparatus, document retrieval method, program, | |
JP2014146076A (en) | Character string extraction method, character string extraction apparatus, and character string extraction program | |
JP5768561B2 (en) | Input support program, input support apparatus, and input support method | |
JP2014178953A (en) | Character input program and character input device | |
JP2013077084A (en) | Sentence example dictionary generation program and sentence example dictionary generation device | |
JP2005044103A (en) | Document creation device and method and program | |
JP2013191106A (en) | Input support program, input support device and input support method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20140704 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20141224 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20141226 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20150223 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20150317 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20150617 |
|
A911 | Transfer to examiner for re-examination before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20150624 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20150804 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20151005 |
|
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: 20151124 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20151207 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5861382 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |