JP5861382B2 - Input support program, input support apparatus, and input support method - Google Patents

Input support program, input support apparatus, and input support method Download PDF

Info

Publication number
JP5861382B2
JP5861382B2 JP2011234614A JP2011234614A JP5861382B2 JP 5861382 B2 JP5861382 B2 JP 5861382B2 JP 2011234614 A JP2011234614 A JP 2011234614A JP 2011234614 A JP2011234614 A JP 2011234614A JP 5861382 B2 JP5861382 B2 JP 5861382B2
Authority
JP
Japan
Prior art keywords
sentence
input
sentence example
character string
examples
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
JP2011234614A
Other languages
Japanese (ja)
Other versions
JP2013092914A (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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2011234614A priority Critical patent/JP5861382B2/en
Publication of JP2013092914A publication Critical patent/JP2013092914A/en
Application granted granted Critical
Publication of JP5861382B2 publication Critical patent/JP5861382B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Document Processing Apparatus (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Machine Translation (AREA)

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.

特開平6−124301号公報JP-A-6-124301 特開2006−338588号公報JP 2006-338588 A

しかしながら、ユーザは、所望の文例が入力候補に含まれているにも拘わらず、その存在に気付かず、当該文例と同じ文字列を、直接入力してしまうケースが有る。このようなケースが度重なると、本当は利用頻度が高い文例であるにも拘わらず、入力候補の表示順においてなかなか上位に表示されないといった状態が発生してしまう。   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.

本発明の実施の形態における入力支援装置のハードウェア構成例を示す図である。It is a figure which shows the hardware structural example of the input assistance apparatus in embodiment of this invention. 本発明の実施の形態における入力支援装置の機能構成例を示す図である。It is a figure which shows the function structural example of the input assistance apparatus in embodiment of this invention. 入力支援部が実行する処理手順の一例を説明するためのフローチャートである。It is a flowchart for demonstrating an example of the process sequence which an input assistance part performs. 文例一覧表示処理の処理手順の一例を説明するためのフローチャートである。It is a flowchart for demonstrating an example of the process sequence of a sentence example list display process. 文例辞書の構成例を示す図である。It is a figure which shows the structural example of a sentence example dictionary. 文例入力処理の処理手順の一例を説明するためのフローチャートである。It is a flowchart for demonstrating an example of the process sequence of a sentence example input process. 文字列解析処理の一例を説明するためのフローチャートである。It is a flowchart for demonstrating an example of a character string analysis process. 入力文字バッファに記憶されている文字列の一例を示す図である。It is a figure which shows an example of the character string memorize | stored in the input character buffer. 登録文例バッファにおける抽出文例の記憶例を示す図である。It is a figure which shows the memory | storage example of the extracted sentence example in a registration sentence example buffer. 利用回数の加算値の判定処理の処理手順の一例を説明するためのフローチャートである。It is a flowchart for demonstrating an example of the process sequence of the determination process of the addition value of the use frequency. 条件記憶部の構成例を示す図である。It is a figure which shows the structural example of a condition memory | storage part.

以下、図面に基づいて本発明の実施の形態を説明する。図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 input support device 10 in FIG. 1 includes a drive device 100, an auxiliary storage device 102, a memory device 103, a CPU 104, an interface device 105, a display device 106, an input device 107, and the like that are mutually connected by a bus B.

入力支援装置10での処理を実現するプログラムは、記録媒体101によって提供される。プログラムを記録した記録媒体101がドライブ装置100にセットされると、プログラムが記録媒体101からドライブ装置100を介して補助記憶装置102にインストールされる。但し、プログラムのインストールは必ずしも記録媒体101より行う必要はなく、ネットワークを介して他のコンピュータよりダウンロードするようにしてもよい。補助記憶装置102は、インストールされたプログラムを格納すると共に、必要なファイルやデータ等を格納する。   A program that realizes processing in the input support apparatus 10 is provided by the recording medium 101. When the recording medium 101 on which the program is recorded is set in the drive device 100, the program is installed from the recording medium 101 to the auxiliary storage device 102 via the drive device 100. However, the program need not be installed from the recording medium 101 and may be downloaded from another computer via a network. The auxiliary storage device 102 stores the installed program and also stores necessary files and data.

メモリ装置103は、プログラムの起動指示があった場合に、補助記憶装置102からプログラムを読み出して格納する。CPU104は、メモリ装置103に格納されたプログラムに従って入力支援装置10に係る機能を実現する。インタフェース装置105は、ネットワークに接続するためのインタフェースとして用いられる。表示装置106はプログラムによるGUI(Graphical User Interface)等を表示する。入力装置107はキーボード及びマウス等であり、様々な操作指示を入力させるために用いられる。   The memory device 103 reads the program from the auxiliary storage device 102 and stores it when there is an instruction to start the program. The CPU 104 realizes functions related to the input support device 10 according to a program stored in the memory device 103. The interface device 105 is used as an interface for connecting to a network. The display device 106 displays a GUI (Graphical User Interface) or the like by a program. The input device 107 is a keyboard, a mouse, or the like, and is used for inputting various operation instructions.

なお、記録媒体101の一例としては、CD−ROM、DVDディスク、又はUSBメモリ等の可搬型の記録媒体が挙げられる。また、補助記憶装置102の一例としては、HDD(Hard Disk Drive)又はフラッシュメモリ等が挙げられる。記録媒体101及び補助記憶装置102のいずれについても、コンピュータ読み取り可能な記録媒体に相当する。   An example of the recording medium 101 is a portable recording medium such as a CD-ROM, a DVD disk, or a USB memory. An example of the auxiliary storage device 102 is an HDD (Hard Disk Drive) or a flash memory. Both the recording medium 101 and the auxiliary storage device 102 correspond to computer-readable recording media.

図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 input support apparatus 10 includes an editing unit 11, a conversion unit 12, an input support unit 13, and the like.

編集部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 input device 107. The editing unit 11 is realized, for example, by processing executed by the CPU 104 by word processing software or the like.

変換部12は、文書データDに入力される文字に関して、かな漢字変換を行う。変換部12は、例えば、IME(Input Method Editor)又はFEP(Front End Processor)等と呼ばれる、文字入力用ソフトの一例であり、かな漢字変換ソフトがCPU104に実行させる処理によって実現される。   The conversion unit 12 performs kana-kanji conversion on characters input to the document data D. The conversion unit 12 is an example of character input software called IME (Input Method Editor) or FEP (Front End Processor), and is realized by a process executed by the CPU 104 by the Kana-Kanji conversion software.

入力支援部13は、文書データDへの文字列の入力の支援を行う。入力支援部13は、読み又は未確定文字列の入力に応じ、入力候補とする文例の一覧を表示する。入力支援部13は、当該一覧の中から選択された文例を文書データDに入力(又は展開)する。   The input support unit 13 supports input of a character string into the document data D. The input support unit 13 displays a list of sentence examples as input candidates in response to input of a reading or an unconfirmed character string. The input support unit 13 inputs (or expands) the sentence example selected from the list into the document data D.

同図において、入力支援部13は、イベント監視部131、文例抽出部132、辞書更新部133、文例検索部134、表示順決定部135、文例一覧表示部136、文例入力部137、文例辞書記憶部141、及び条件記憶部142等を含む。文例辞書記憶部141及び条件記憶部142は、例えば、補助記憶装置102又は入力支援装置10とネットワークを介して接続される記憶装置等を用いて実現可能である。   In the figure, the input support unit 13 includes an event monitoring unit 131, a sentence example extraction unit 132, a dictionary update unit 133, a sentence example search unit 134, a display order determination unit 135, a sentence example list display unit 136, a sentence example input unit 137, and a sentence example dictionary storage. Unit 141, condition storage unit 142, and the like. The sentence dictionary storage unit 141 and the condition storage unit 142 can be realized using, for example, a storage device connected to the auxiliary storage device 102 or the input support device 10 via a network.

文例辞書記憶部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 event monitoring unit 131 monitors input events that occur in the input support device 10 and detects character input and the like. The input event refers to an event input by the user using the input device 107, for example.

文例抽出部132は、入力された文字列より文例を抽出する。文例の抽出には、例えば、形態素解析が用いられる。   The sentence example extraction unit 132 extracts a sentence example from the input character string. For example, morphological analysis is used to extract sentence examples.

辞書更新部133は、文例辞書の更新を行う。辞書更新部133は、例えば、文例辞書に新たな文例を登録したり、入力候補として表示され文例の中から選択された文例の利用回数を更新したりする。利用回数は、文例辞書において、文例ごとに記録されており、文例の表示順の決定に用いられる情報である。辞書更新部133は、また、入力候補として表示された文例の中から選択された文例のみならず、文例抽出部132によって抽出された文例と一致し、かつ、条件記憶部142が記憶する条件に合致する文例に関しても利用回数を更新する。条件記憶部142は、文例抽出部132によって抽出された文例と一致する文例に関して利用回数を増加させる条件を記憶する。   The dictionary update unit 133 updates the sentence example dictionary. For example, the dictionary updating unit 133 registers a new sentence example in the sentence example dictionary, or updates the number of times the sentence example displayed as an input candidate and selected from the sentence examples is used. The number of times of use is recorded for each sentence example in the sentence example dictionary, and is information used to determine the display order of the sentence examples. The dictionary updating unit 133 also matches the sentence example extracted by the sentence example extracting unit 132 as well as the sentence example selected from the sentence examples displayed as the input candidates, and the condition storage unit 142 stores the conditions. The usage count is also updated for the matching sentence example. The condition storage unit 142 stores a condition for increasing the number of uses for a sentence example that matches the sentence example extracted by the sentence example extraction unit 132.

文例検索部134は、文字の入力に応じて、当該文字に対応する文例を文例辞書記憶部141より検索する。表示順決定部135は、文例検索部134によって検索された文例を入力候補として表示する際の表示順序を決定する。文例一覧表示部136は、表示順決定部135によって決定された表示順序によって、文例検索部134によって検索された複数の文例の一覧を、入力候補として表示させる。文例入力部137は、表示された文例の一覧の中から選択された文例を、編集部11によって編集対象とされている文書データDに入力(展開)する。   The sentence example search unit 134 searches the sentence example dictionary storage unit 141 for a sentence example corresponding to the character in response to the input of the character. The display order determining unit 135 determines the display order when displaying the sentence examples searched by the sentence example searching unit 134 as input candidates. The sentence example list display unit 136 displays, as input candidates, a list of a plurality of sentence examples searched by the sentence example search unit 134 according to the display order determined by the display order determination unit 135. The sentence example input unit 137 inputs (expands) the sentence example selected from the displayed list of sentence examples to the document data D to be edited by the editing unit 11.

以下、入力支援装置10が実行する処理手順について説明する。図3は、入力支援部が実行する処理手順の一例を説明するためのフローチャートである。   Hereinafter, a processing procedure executed by the input support apparatus 10 will be described. FIG. 3 is a flowchart for explaining an example of a processing procedure executed by the input support unit.

入力支援部13が、例えば、プロセスとして起動されると、入力支援部13のイベント監視部131は、入力支援装置10において発生する入力イベントの監視を開始する(S101)。イベント監視部131によって何らかの入力イベントが検出されると(S101でYes)、入力支援部13は、入力イベントに応じた処理を実行する。   For example, when the input support unit 13 is activated as a process, the event monitoring unit 131 of the input support unit 13 starts monitoring input events that occur in the input support device 10 (S101). When any input event is detected by the event monitoring unit 131 (Yes in S101), the input support unit 13 executes processing according to the input event.

検出された入力イベントが文字入力イベントである場合(S102でYes)、入力支援部13は、入力された文字列(一つの文字であってもよい。)に基づいて、文例一覧表示処理を実行する(S103)。文例一覧表示処理の実行によって、当該文字列に対応する文例の一覧が、文書データDへの入力候補として表示装置106に表示される。なお、文字入力イベントは、文字の入力に応じて発生するイベントをいう。   When the detected input event is a character input event (Yes in S102), the input support unit 13 performs a sentence example list display process based on the input character string (may be one character). (S103). By executing the sentence example list display process, a list of sentence examples corresponding to the character string is displayed on the display device 106 as input candidates for the document data D. A character input event is an event that occurs in response to a character input.

検出された入力イベントが文字列確定イベントである場合(S104でYes)、イベント監視部131は、確定された文字列を、入力文字バッファに記録する(S105)。入力文字バッファは、例えば、メモリ装置103において、入力及び確定された文字列を記憶するための記憶領域である。   If the detected input event is a character string confirmation event (Yes in S104), the event monitoring unit 131 records the confirmed character string in the input character buffer (S105). The input character buffer is a storage area for storing a character string input and confirmed in the memory device 103, for example.

文字列確定イベントとは、未確定文字列に関して、入力の確定を示すイベントをいい、例えば、未確定文字列が表示されている状態において、リターンキーの押下に応じて発生するイベントをいう。但し、変換部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 conversion unit 12 is a half-width character such as a half-width katakana or a half-width alphanumeric character, the input of the half-width character itself corresponds to a character string confirmation event. This is because half-width characters become a fixed character string when they are input. Therefore, in the case of single-byte characters, a character string confirmation event is generated character by character. The undetermined character string refers to a character or character string in which the input character or character string is a conversion target by the conversion unit 12 and input is not confirmed.

なお、文字列確定イベントは、通常、文字入力イベントに続いて検出される。例えば、未確定文字列が入力された場合、文字入力イベントが検出される。当該未確定文字列が確定された場合、文字列確定イベントが検出される。また、半角文字等、当初より確定している文字が入力された場合、文字入力イベントが検出され、引き続いて文字列確定イベントが検出される。   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 example input unit 137 executes a sentence example input process (S107). By executing the sentence example input process, a sentence example selected from the sentence example list displayed by the sentence example list display process is input (expanded) to the document data D. The sentence example selection event is an event that occurs when a sentence example is selected from the sentence example list.

検出された入力イベントが文字列入力完了イベントである場合(S108でYes)、入力支援部13は、入力文字バッファに記憶された文字列に関して文字列解析処理を実行する(S109)。文字列入力完了イベントとは、所定の単位の文字列の入力の完了を示すイベントをいう。本実施の形態において、文字列入力完了イベントは、改行コードの入力であるとする。すなわち、改行が行われるたびに、文字列入力完了イベントが発生する。   If the detected input event is a character string input completion event (Yes in S108), the input support unit 13 performs a character string analysis process on the character string stored in the input character buffer (S109). The character string input completion event is an event indicating completion of inputting a character string in a predetermined unit. In the present embodiment, it is assumed that the character string input completion event is an input of a line feed code. That is, every time a line break is made, a character string input completion event occurs.

続いて、イベント監視部131は、入力文字バッファを初期化する(S110)。すなわち、入力文字バッファが空となる。したがって、改行が行われるたびに、入力文字バッファは空とされる。   Subsequently, the event monitoring unit 131 initializes the input character buffer (S110). That is, the input character buffer becomes empty. Thus, the input character buffer is emptied each time a line break is made.

検出された入力イベントが終了イベントである場合(S111でYes)、入力支援部13のプロセスは終了する。終了イベントは、入力支援部13に対する終了指示の入力に応じて発生するイベントである。   If the detected input event is an end event (Yes in S111), the process of the input support unit 13 ends. The end event is an event that occurs in response to an input of an end instruction to the input support unit 13.

入力イベントが上記以外のイベントである場合(S111でNo)、入力支援部13は、必要に応じて当該イベントに応じた処理を実行する(S112)。   When the input event is an event other than the above (No in S111), the input support unit 13 executes a process corresponding to the event as necessary (S112).

続いて、ステップ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 example search unit 134 searches a sentence example corresponding to the input character string from the sentence example dictionary stored in the sentence example dictionary storage unit 141.

図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 means the sentence example which contains 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 order determination unit 135 determines the display order of each sentence example based on the number of times each searched sentence example is used (S203). For example, the display order determination unit 135 sorts the retrieved sentence examples in descending order of the number of uses.

続いて、文例一覧表示部136は、決定された表示順序で、検索された文例の一覧を入力候補として表示装置106に表示させる(S204)。   Subsequently, the sentence example list display unit 136 causes the display device 106 to display a list of searched sentence examples as input candidates in the determined display order (S204).

続いて、図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 example input unit 137 inputs a sentence example selected from the list of sentence examples displayed as input candidates to the document data D that is to be edited by the editing unit 11. Subsequently, the dictionary updating unit 133 adds 1 to the number of uses recorded in the sentence example dictionary for the selected sentence example (S302).

このように、文例が選択されるたびに当該文例の利用回数が増加する。その結果、利用頻度の高い文例が、入力候補の上位に表示される可能性が高くなる。   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 example extraction unit 132 extracts a sentence example from the character string by performing analysis such as morphological analysis on the character string stored in the input character buffer.

図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 example extraction unit 132 stores the sentence example extracted from the input character string in the registered sentence example buffer. The registered sentence example buffer is a storage area for storing, for example, an extracted sentence example in the memory device 103. The extracted sentence example is hereinafter referred to as “extracted sentence example”.

図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 dictionary updating unit 133 determines whether or not there is a sentence example in the registered sentence example buffer (S402). When there is a sentence example in the registration buffer (Yes in S402), the dictionary updating unit 133 sets one sentence example as a processing target (S403). Hereinafter, a sentence example that is a processing target is referred to as a “target sentence example”.

続いて、辞書更新部133は、対象文例について、文例辞書に未登録であるか否かを判定する(S404)。対象文例が文例辞書に未登録である場合(S404でYes)、辞書更新部133は、対象文例とその読みとを文例辞書に登録する(S405)。この際、対象文例の利用回数には、「1」が記録される。   Subsequently, the dictionary updating unit 133 determines whether or not the target sentence example is unregistered in the sentence example dictionary (S404). If the target sentence example is not registered in the sentence example dictionary (Yes in S404), the dictionary updating unit 133 registers the target sentence example and its reading in the sentence example dictionary (S405). At this time, “1” is recorded as the number of uses of the target sentence example.

対象文例と一致する文例が文例辞書に既に登録されている場合(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 dictionary update unit 133 performs a process of determining an addition value (count-up number) for the number of times the sentence example that matches the target sentence example is used. (S405). Details of the determination process will be described later.

加算値の判定処理の結果、加算値が「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 dictionary update unit 133 repeats Step S403 and the subsequent steps. When the added value is “1” or more (Yes in S407), the dictionary updating unit 133 adds the added value to the number of times of using the sentence example that matches the target sentence example in the sentence example dictionary (S408).

続いて、ステップ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 dictionary update unit 133 counts the number N1 of sentence examples that match the target sentence example in the registered sentence example buffer (S502). For example, in the registered sentence example buffer shown in FIG. 9, regardless of which sentence example is the target sentence example, the sentence example that matches the target sentence example is one of the target sentence examples themselves. Therefore, regarding the registered sentence example buffer, the value of N1 is 1 regardless of which sentence example is the target sentence example.

なお、例えば、入力文字列が、「医療情報処理の佐藤様、お疲れ様です。医療情報処理の山田です。」であり、対象文例が「医療情報処理」である場合、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 dictionary updating unit 133 determines whether or not “sentence examples constituting all consecutive nouns” is valid as a condition in the condition storage unit 142 (S502).

図11は、条件記憶部の構成例を示す図である。図11において、条件記憶部142は、利用回数の加算対象に該当する条件ごとに、判定の要否が記憶されている。判定の要否は、条件の判定の要否、すなわち、条件の有効性を示す情報である。「○」は、判定が必要であること(有効であること)を示す。「×」は、判定が不要であること(無効であること)を示す。   FIG. 11 is a diagram illustrating a configuration example of the condition storage unit. In FIG. 11, the condition storage unit 142 stores the necessity of determination for each condition corresponding to the addition target of the usage count. The necessity of determination is information indicating the necessity of determination of the condition, that is, the validity of the condition. “◯” indicates that determination is necessary (effective). “X” indicates that determination is unnecessary (invalid).

図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 condition storage unit 142, so that It can be limited to sentence examples with high utility value. The “reuse value” here means that the contribution to the reduction of the input burden of the character string is large.

例えば、「名詞の連続の全部を構成する文例」という条件の設定は、次のような考えに基づく。基本的に、文例は長ければ長い程、再利用価値が高いと考えられる。仮に、「名詞の連続の全部を構成する文例」に含まれる各名詞に関しても、利用回数の加算対象とされると、「名詞の連続の全部を構成する文例」が、入力候補においてなかなか上位に表示されない可能性がある。「名詞の連続の全部を構成する文例」の一部の名詞又は名詞の連続は、他の「名詞の連続の全部を構成する文例」にも含まれる可能性が高く、当該名詞又は名詞の連続と一致する文例の利用回数が増加される機会が多くなると考えられるからである。「名詞の連続の全部を構成する文例」という条件を有効とすることで、上記のような不都合を解消できる可能性が高まり、再利用価値の高い文例が入力候補の上位に表示される可能性を高めることができる。   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 dictionary update unit 133 determines whether the target sentence example is a continuation of nouns (S503). That is, it is determined whether the target sentence example is a sentence example including only two or more nouns. Steps S503 to S506 are processes for determining whether or not the target sentence example corresponds to “sentence examples constituting all consecutive nouns”.

対象文例が名詞の連続である場合(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 dictionary updating unit 133 counts the number N2 of sentence examples partially including the target sentence example in the registered sentence example buffer (S504). A sentence example partially including a target sentence example refers to a sentence example including a target sentence example and including one or more other characters. For example, in the registered sentence example buffer shown in FIG. 9, when the third sentence example “medical information processing” is a target sentence example, there is no sentence example that partially includes the sentence example. Therefore, in this case, the value of N2 is 0. On the other hand, when the fourth sentence example “medical information” is a target sentence example, the third sentence example “medical information processing” is a sentence example including the target sentence example. Therefore, in this case, the value of N2 is 1.

続いて、辞書更新部133は、N1−N2の演算結果を、加算値とする(S504)。例えば、3番目の文例「医療情報処理」が対象文例である場合、N1−N2=1−0=1である。一方、4番目の文例「医療情報」が対象文例である場合、N1−N2=1−1=0である。   Subsequently, the dictionary updating unit 133 sets the calculation result of N1-N2 as an addition value (S504). For example, when the third sentence example “medical information processing” is the target sentence example, N1−N2 = 1−0 = 1. On the other hand, when the fourth sentence example “medical information” is a target sentence example, N1−N2 = 1−1 = 0.

続いて、辞書更新部133は、加算値が0より大きいか否かを判定する(S506)。すなわち、加算値が0より大きい場合、対象文例は、「名詞の連続の全部を構成する文例」に該当すると判定される。この場合、加算値は、入力文字列における、対象文例の出現回数に相当する。   Subsequently, the dictionary updating unit 133 determines whether or not the added value is greater than 0 (S506). That is, when the added value is larger than 0, it is determined that the target sentence example corresponds to “sentence examples constituting all of a series of nouns”. In this case, the added value corresponds to the number of appearances of the target sentence example in the input character string.

なお、各抽出文例が「名詞の連続の全部を構成する文例」に該当するか否かは、文例の抽出時(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 dictionary updating unit 133 determines whether or not the subject sentence example matches other valid conditions (S507). The valid condition is a condition in which the value of “necessity of determination” is “◯” in the condition storage unit 142 (FIG. 11). In the condition storage unit 142 of the present embodiment, each condition has an OR (logical sum) relationship. Therefore, it is determined whether or not any one condition stored in the condition storage unit 142 is met. However, the conditions in the condition storage unit 142 may be set on the assumption that the relationship between the conditions is an AND (logical product) relationship.

対象文例が、いずれかの有効条件に合致する場合(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 dictionary updating unit 133 sets the value of N1 as an added value (S508). On the other hand, when the target sentence example does not match any of the valid conditions (No in S507), the dictionary updating unit 133 sets 0 as an added value (S508).

ステップS506でYes、ステップS508、又はステップS509に続いて辞書更新部133は、対象文例と同一の文例を、登録文例バッファより削除する(S510)。対象文例と同一の文例が登録文例バッファに複数有る場合、当該同一の文例の出現回数については、既に加算値に含まれている。したがって、当該同一の文例に基づく利用回数の加算の重複を回避するために、ステップS510が実行される。   Following step Yes in step S506, step S508, or step S509, the dictionary updating unit 133 deletes the same sentence example as the target sentence example from the registered sentence example buffer (S510). When there are a plurality of sentence examples identical to the target sentence example in the registered sentence example buffer, the number of appearances of the same sentence example is already included in the added value. Accordingly, step S510 is executed in order to avoid duplication of addition of the number of uses based on the same sentence example.

図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 condition storage unit 142, but the condition for which the number of usages is not to be added ( That is, the negative condition) may be stored in the condition storage unit 142. In this case, the addition value of the sentence example that satisfies the passive condition may be 0.

上述したように、本実施の形態によれば、入力候補として表示された文例の中から選択された文例のみならず、文例の選択を経ずに直接入力された(キーボードから打ち込まれた)文字列から抽出された文例と一致する文例についても、利用回数が加算される。したがって、例えば、入力候補として表示されているにも拘わらず、下位に表示されていたため、ユーザが表示されていたことに気付かなかった文字列であって、ユーザが頻繁に入力する文字列と一致する文例を、入力候補の上位に表示させることができる。その結果、ユーザが入力する頻度の高い文例が入力候補の上位に表示される可能性が高くなり、当該入力候補からの文例の選択に関する操作性を向上させることができる。   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 example extraction unit 132 is an example of an extraction unit. The dictionary update unit 133 is an example of an increase unit.

以上、本発明の実施例について詳述したが、本発明は斯かる特定の実施形態に限定されるものではなく、特許請求の範囲に記載された本発明の要旨の範囲内において、種々の変形・変更が可能である。   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 SYMBOLS 10 Input support apparatus 11 Editing part 12 Conversion part 13 Input support part 100 Drive apparatus 101 Recording medium 102 Auxiliary storage apparatus 103 Memory apparatus 104 CPU
105 interface device 106 display device 107 input device 131 event monitoring unit 132 sentence example extraction unit 133 dictionary update unit 134 example search unit 135 display order determination unit 136 example list display unit 137 example input unit 141 example dictionary storage unit 142 condition storage unit B bus

Claims (8)

読みに対応付けて記憶部が記憶する文例の選択を経ずに入力された文字列から文例を抽出し、
前記記憶部が記憶する文例のうち、抽出された前記文例と一致する文例について、前記文例の選択に応じて更新され、前記記憶部が文例ごとに記憶する利用回数を、入力された前記文字列内における前記文例の出現回数分に対応付けて増加させる処理を
コンピュータに実行させる入力支援プログラム。
Extract the sentence example from the input character string without selecting the sentence example stored in the storage unit in association with the reading,
Of the sentence examples stored in the storage unit, the sentence string that matches the extracted sentence example is updated according to the selection of the sentence example, and the number of uses stored for each sentence example by the storage unit is input as the character string An input support program for causing a computer to execute a process of increasing in correspondence with the number of occurrences of the sentence example.
読みが入力された際に、前記記憶部を参照して、前記読みに対応する文例を前記利用回数が大きいものから順に変換文字列の候補として表示させる
処理を更にコンピュータに実行させる請求項1記載の入力支援プログラム。
The computer further executes a process of displaying, as a candidate for a conversion character string, in order from the sentence having the highest number of uses with reference to the storage unit when the reading is input, with reference to the storage unit. Input support program.
前記利用回数を増加させる処理は、前記記憶部が記憶する文例と一致する文例のうち、条件記憶部が記憶する条件に合致する文例について、前記利用回数を増加させる請求項1又は2記載の入力支援プログラム。   The input according to claim 1 or 2, wherein the process of increasing the number of uses increases the number of uses for a sentence example that matches a condition stored in a condition storage unit among sentence examples that match a sentence example stored in the storage unit. Support program. 名詞の連続の全部を構成する文例であることを前記条件として含む請求項3記載の入力支援プログラム。   The input support program according to claim 3, wherein the condition includes an example of a sentence that constitutes a whole series of nouns. 左右対称な記号によって囲まれている文例であることを前記条件として含む請求項3又は4記載の入力支援プログラム。   5. The input support program according to claim 3, wherein the condition includes that the sentence is surrounded by symmetrical symbols. 文字入力に応じて、文例の選択候補からの文例の選択を介さずに、特定の文例が複数入力された場合に、文例の選択に応じて更新され、前記文例の表示順の制御に用いるカウント値を入力された前記特定の文例の数に応じた量で更新する処理、
をコンピュータに実行させることを特徴とする入力支援プログラム。
A count that is updated according to the selection of the sentence examples and used to control the display order of the sentence examples when a plurality of specific sentence examples are inputted without selecting the sentence examples from the sentence example selection candidates according to the character input. A process of updating the value by an amount corresponding to the number of the specific sentence examples input;
An input support program for causing a computer to execute.
読みに対応付けて記憶部が記憶する文例の選択を経ずに入力された文字列から文例を抽出する抽出部と、
前記記憶部が記憶する文例のうち、抽出された前記文例と一致する文例について、前記文例の選択に応じて更新され、前記記憶部が文例ごとに記憶する利用回数を、入力された前記文字列内における前記文例の出現回数分に対応付けて増加させる増加部とを有する入力支援装置。
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;
Of the sentence examples stored in the storage unit, the sentence string that matches the extracted sentence example is updated according to the selection of the sentence example, and the number of uses stored for each sentence example by the storage unit is input as the character string And an increasing unit that increases the number of sentences in association with the number of appearances of the sentence example.
読みに対応付けて記憶部が記憶する文例の選択を経ずに入力された文字列から文例を抽出し、
前記記憶部が記憶する文例のうち、抽出された前記文例と一致する文例について、前記文例の選択に応じて更新され、前記記憶部が文例ごとに記憶する利用回数利用回数を、入力された前記文字列内における前記文例の出現回数分に対応付けて増加させる処理をコンピュータが実行する入力支援方法。
Extract the sentence example from the input character string without selecting the sentence example stored in the storage unit in association with the reading,
Of the sentence examples stored in the storage unit, the sentence examples that match the extracted sentence examples are updated according to the selection of the sentence examples, and the number of times of use that the storage unit stores for each sentence example is input. An input support method in which a computer executes a process of increasing in correspondence with the number of appearances of the sentence example in a character string.
JP2011234614A 2011-10-26 2011-10-26 Input support program, input support apparatus, and input support method Active JP5861382B2 (en)

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 JP2013092914A (en) 2013-05-16
JP5861382B2 true 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)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
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
JP5326945B2 (en) * 2009-09-01 2013-10-30 富士通株式会社 Character input support device, program, and character input support method

Also Published As

Publication number Publication date
JP2013092914A (en) 2013-05-16

Similar Documents

Publication Publication Date Title
JP4900158B2 (en) Search system, method and program
JP5861382B2 (en) Input support program, input support apparatus, and input support method
JP2007257369A (en) Information retrieval device
JP6723726B2 (en) Input support device
JP4734400B2 (en) Document search apparatus and program
JP5609718B2 (en) Input support program, input support device, and input support method
JP5803481B2 (en) Information processing apparatus and information processing program
JP5184987B2 (en) Index information creating apparatus, index information creating method and program
JP6753190B2 (en) Document retrieval device and program
JP4535186B2 (en) Electronic device and program with dictionary function
JP2010015515A (en) Electronic apparatus provided with dictionary function
JP5742454B2 (en) Input support program, input support apparatus, and input support method
JP2009199164A (en) Document management device, document management method and recording medium
JP2008117310A (en) Dictionary retrieval device and dictionary retrieval processing program
JP2008059169A (en) Chinese example sentence retrieval apparatus and program for process of retrieving chinese example sentence
JP6524668B2 (en) Document retrieval apparatus, document retrieval method, program,
JP5768561B2 (en) Input support program, input support apparatus, and input support method
JP2014146076A (en) Character string extraction method, character string extraction apparatus, and character string extraction program
JP2005044103A (en) Document creation device and method and program
JP2014178953A (en) Character input program and character input device
JP5259764B2 (en) Browsing support system, browsing support method and program
JP5262190B2 (en) Input completion device and input completion program
JP2013191106A (en) Input support program, input support device and input support method
JP2013077084A (en) Sentence example dictionary generation program and sentence example dictionary generation device
JP5880168B2 (en) Input support program, input support apparatus, 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