JP2012190211A - Program, device and method for input support - Google Patents
Program, device and method for input support Download PDFInfo
- Publication number
- JP2012190211A JP2012190211A JP2011052427A JP2011052427A JP2012190211A JP 2012190211 A JP2012190211 A JP 2012190211A JP 2011052427 A JP2011052427 A JP 2011052427A JP 2011052427 A JP2011052427 A JP 2011052427A JP 2012190211 A JP2012190211 A JP 2012190211A
- Authority
- JP
- Japan
- Prior art keywords
- sentence
- sentence example
- character string
- unit
- replacement
- 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
Abstract
Description
本発明は,ユーザの文字入力を支援する入力支援プログラム,入力支援装置および入力支援方法に関するものである。 The present invention relates to an input support program, an input support apparatus, and an input support method that support user character input.
文字入力操作におけるユーザの負荷を軽減するために,あらかじめ作成された文例辞書を利用して,ユーザにより入力された文字列を含む文例の一覧を表示し,その一覧からユーザが選択確定した文例を文書に出力する技術が知られている。 In order to reduce the user's burden in character input operations, a list of sentence examples including character strings input by the user is displayed using a sentence example dictionary created in advance, and sentence examples selected and confirmed by the user from the list are displayed. A technique for outputting to a document is known.
また,文章を,あらかじめ格納されたフレーズデータで作成する技術が知られている。この技術では,ユーザが入力した語に対して類義語検索が行われ,類義語が含まれるフレーズが検索され,文章の一部に設定される。 In addition, a technique for creating a sentence using phrase data stored in advance is known. In this technique, a synonym search is performed on a word input by a user, and a phrase including the synonym is searched and set in a part of a sentence.
例えば,文例入力で選択確定した文例が誤っている場合には,ユーザは,次に示す操作手順で文例を修正する。
1)誤った文例を削除する。
2)再度文字入力を行い,文例一覧を表示させる。
3)文例一覧から,正しい文例を選択する。
For example, when the sentence example selected and confirmed by inputting the sentence example is incorrect, the user corrects the sentence example by the following operation procedure.
1) Delete incorrect sentence examples.
2) Input characters again to display a list of example sentences.
3) Select the correct sentence example from the sentence example list.
上述の文例入力の技術では,文字入力操作におけるユーザの操作負担の軽減は図られているが,文例を修正する操作におけるユーザの操作負担の軽減は図られていない。 In the above-described sentence example input technique, a user's operation burden in a character input operation is reduced, but a user's operation burden in an operation for correcting a sentence example is not reduced.
一側面では,本発明は,ユーザによる文例を修正する操作において,ユーザの操作負担を軽減する技術を提供することを目的とする。 In one aspect, an object of the present invention is to provide a technique for reducing a user's operation burden in an operation of correcting a sentence example by a user.
1態様では,入力支援プログラムは,コンピュータを,次のように機能させる。 In one aspect, the input support program causes the computer to function as follows.
すなわち,前記プログラムは,前記プログラムがインストールされて実行されるコンピュータに,編集対象である文章の中における,文字列の指定を受け付け,記憶部に記憶される複数の文例が登録された文例辞書から,文字列を含む複数の文例を抽出し,文章における指定された文字列の位置から始まる第1の文例を,文例辞書から抽出された複数の文例の中から検出し,複数の文例の少なくとも一部を文章が表示される画面に出力し,出力された複数の文例の少なくとも一部のうち,第2の文例の選択を受け付け,検出された第1の文例を,第2の文例に置き換える処理を実行させる。 That is, the program receives from the sentence example dictionary in which a plurality of sentence examples stored in the storage unit are registered by accepting designation of a character string in a sentence to be edited by a computer on which the program is installed and executed. , Extracting a plurality of sentence examples including a character string, detecting a first sentence example starting from the position of the designated character string in the sentence from the plurality of sentence examples extracted from the sentence example dictionary, and at least one of the plurality of sentence examples. Processing to output the part to the screen on which the sentence is displayed, accepting selection of the second sentence example among at least some of the outputted sentence examples, and replacing the detected first sentence example with the second sentence example Is executed.
1態様では,ユーザによる文例を修正する操作において,ユーザの操作負担を軽減することが可能となる。 In one aspect, it is possible to reduce a user's operation burden in an operation of correcting a sentence example by the user.
以下,本実施の形態について,図を用いて説明する。 Hereinafter, the present embodiment will be described with reference to the drawings.
図1は,本実施の形態による入力支援部を備えたコンピュータの機能構成例を示す図である。 FIG. 1 is a diagram illustrating a functional configuration example of a computer including an input support unit according to the present embodiment.
図1に示すコンピュータ1は,入力支援部10,OS(Operating System)20,文書エディタ30を備える。
A
OS20は,入力処理部21,画面出力処理部22を備える。入力処理部21は,キーボードやマウスなどの入力装置から受ける入力に関する処理を行う。画面出力処理部22は,ディスプレイなどの表示装置に対する画面出力に関する処理を行う。入力支援部10や文書エディタ30は,OS20の入力処理部21や画面出力処理部22が提供する機能を用いて,キーボードやマウスなどの入力装置からのユーザの操作入力の受け付けや,ディスプレイなどの表示装置に対する画面出力を行う。
The OS 20 includes an
文書エディタ30は,コンピュータ1上で文書の作成や編集を行うアプリケーションである。文書エディタ30の例としては,例えば,ワードプロセッサや表計算ソフトなどの汎用的に文書を作成・編集するアプリケーションや,電子カルテエディタなどの特定の文書を作成・編集するアプリケーションなどが挙げられる。本実施の形態では,文書エディタ30は,ユーザによる文字入力が行われる際に,OS20を介して,入力支援部10による文字入力の支援機能を利用する。
The
入力支援部10は,ユーザが文字入力を行う際に,ユーザの文字入力を支援する。図1に示す入力支援部10は,文例辞書に登録された文例の入力を支援する機能や,編集対象の文字データ中の文例の修正を支援する機能などを持つ。入力支援部10は,辞書記憶部11,文例入力処理部12,文例修正部100を備える。
The
辞書記憶部11は,複数の文例が登録された文例辞書を記憶する記憶部である。文例は,あらかじめ文例辞書に登録された文字列である。例えば,ユーザは,文字入力において頻繁に使用すると考えられる文字列を,文例としてあらかじめ文例辞書に登録しておく。文例辞書に登録される文例は,単語レベルの短い文字列でもよいし,文書において数行に渡るような長い文字列でもよい。 The dictionary storage unit 11 is a storage unit that stores a sentence example dictionary in which a plurality of sentence examples are registered. The sentence example is a character string registered in advance in the sentence example dictionary. For example, the user registers in advance in the sentence example dictionary a character string that is considered to be frequently used in character input as a sentence example. The sentence example registered in the sentence example dictionary may be a short character string at the word level or a long character string extending over several lines in the document.
文例入力処理部12は,ユーザの文字入力時において,ユーザによる文例辞書に登録された文例の入力に関する処理を行う。例えば,文書エディタ30において,ユーザは,文書上でIME(Input Method Editor )の機能により文字入力を行う。このとき,文例入力処理部12は,IMEの機能と連携して,ユーザが入力した文字列をキーに文例辞書を検索し,該当する文例を画面にリスト表示する。ユーザがリストから文例を選択して確定する操作を行うと,文例入力処理部12は,ユーザが入力した文字列の位置に選択された文例を出力する。
The sentence example
文例修正部100は,編集対象の文字データ中の文例を修正する。本実施の形態では,編集対象の文字データが,文書エディタ30によって作成・編集される文書中の文章であるものとして,説明を行う。文例修正部100は,抽出部101,置換候補情報記憶部102,検出部103,削除候補情報記憶部104,提示部105,置換部106を備える。
The sentence
抽出部101は,編集対象から指定された文字列を含む文例を,辞書記憶部11に記憶された文例辞書から抽出する。例えば,ユーザは,編集対象の文書から修正したい文例の一部文字列を範囲指定し,本実施の形態の文例修正の機能を呼び出す操作を行う。このとき,抽出部101は,ユーザが編集対象の文書で指定した文字列を受け付け,その文字列を含む文例を文例辞書から抽出する。
The
抽出部101により文例辞書から抽出された文例は,本実施の形態による文例修正において,編集対象中の文例と置換する文例の候補である。以下では,抽出部101により文例辞書から抽出された文例を,置換候補文例とも呼ぶ。文例辞書から抽出された置換候補文例は,置換候補情報記憶部102に記憶される。置換候補情報記憶部102は,置換候補文例に関する情報を記憶する記憶部である。
The sentence example extracted from the sentence example dictionary by the
検出部103は,抽出部101により文例辞書から抽出された文例に一致する,ユーザに指定された文字列と同位置にある編集対象中の文例を検出する。本実施の形態の文例修正において,修正の対象となる編集対象中の文例は,ユーザに指定された文字列を含むので,抽出部101により文例辞書から抽出されたいずれかの文例に一致する。
The
検出部103により検出された文例は,本実施の形態による文例修正において,編集対象中から削除される候補の文例である。以下では,検出部103により検出された編集対象中の文例を,削除候補文例とも呼ぶ。検出された削除候補文例は,削除候補情報記憶部104に記憶される。削除候補情報記憶部104は,削除候補文例に関する情報を記憶する記憶部である。
The sentence example detected by the
提示部105は,文例辞書から抽出された文例を画面に提示する。提示部105は,文例辞書から抽出された文例,すなわち置換候補文例を,例えばユーザが選択操作を行いやすいリスト形式などを用いた画面表示で,ユーザに提示する。
The
また,提示部105は,検出された編集対象中の文例を画面に提示する。提示部105は,検出された編集対象中の文例,すなわち削除候補文例を,画面表示でユーザに提示する。削除候補文例が複数ある場合には,提示部105は,例えばユーザが選択操作を行いやすいタブ形式などを用いた画面表示で,ユーザに提示する。
In addition, the
置換部106は,検出された編集対象中の文例を,提示された文例辞書から抽出された文例から選択された置換対象文例に置き換える。例えば,ユーザは,画面で提示された置換候補文例から,置換対象文例を選択する操作を行う。ユーザが選択した置換対象文例は,本実施の形態による文例修正において,編集対象中の文例と置換する対象の文例である。このとき,置換部106は,ユーザが選択した置換対象文例を受け付け,検出された編集対象中の文例を置換対象文例に置き換える。
The
また,検出された編集対象中の文例が複数ある場合に,置換部106は,提示された編集対象中の文例から選択された削除対象文例を,提示された文例辞書から抽出された文例から選択された置換対象文例に置き換える。例えば,ユーザは,上述の置換対象文例を選択する操作に加えて,画面で提示された削除候補文例から,削除対象文例を選択する操作を行う。ユーザが選択した削除対象文例は,本実施の形態による文例修正において,編集対象から削除される被置換対象の文例である。このとき,置換部106は,ユーザが選択した置換対象文例を受け付けるとともに,ユーザが選択した削除対象文例を受け付け,編集対象中の削除対象文例を置換対象文例に置き換える。
In addition, when there are a plurality of detected sentence examples being edited, the
図2は,本実施の形態による入力支援部を備えたコンピュータのハードウェア構成の例を示す図である。 FIG. 2 is a diagram illustrating an example of a hardware configuration of a computer including an input support unit according to the present embodiment.
図1に示す入力支援部10は,例えば,コンピュータ1が備えるCPU(Central Processing Unit )2,主記憶となるメモリ3,記憶装置4,通信装置5,媒体読取・書込装置6,入力装置7,出力装置8等によって実現される。記憶装置4は,例えばHDD(Hard Disk Drive )などである。媒体読取・書込装置6は,例えばCD−R(Compact Disc Recordable )ドライブやDVD−R(Digital Versatile Disc Recordable )ドライブなどである。入力装置7は,例えばキーボード・マウスなどである。出力装置8は,例えばディスプレイ等の表示装置などである。
An
例えば,図1に示す入力支援部10および入力支援部10が備える各機能部は,コンピュータ1が備えるCPU2,メモリ3等のハードウェアと,ソフトウェアプログラムとによって実現することが可能である。コンピュータ1が実行可能なプログラムは,記憶装置4に記憶され,その実行時にメモリ3に読み出され,CPU2により実行される。
For example, the
コンピュータ1は,可搬型記録媒体から直接プログラムを読み取り,そのプログラムに従った処理を実行することもできる。また,コンピュータ1は,サーバコンピュータからプログラムが転送されるごとに,逐次,受け取ったプログラムに従った処理を実行することもできる。さらに,このプログラムは,コンピュータ1で読み取り可能な記録媒体に記録しておくことができる。
The
以下,本実施の形態の入力支援部10が提供するユーザの文字入力を支援する機能について,具体的な例を用いて説明する。
Hereinafter, the function that supports the user's character input provided by the
図3は,本実施の形態による文例入力の一例を説明する図である。 FIG. 3 is a diagram illustrating an example of sentence example input according to the present embodiment.
図3において,文書編集画面200は,作成・編集対象の文書が表示された文書エディタ30の画面である。図3に示す例では,文書エディタ30は電子カルテエディタであり,作成・編集される文書は電子カルテであるものとする。
In FIG. 3, a
図3(A)は,ユーザが文書に文字入力を行う際の文書編集画面200の例を示す。図3(A)に示すように,例えば,ユーザが文書中にキーボードで“こまく”と文字列201を入力する。このとき,文例入力処理部12は,文例辞書において,文字列201“こまく”をキーとした文例探索を行う。すなわち,文例入力処理部12は,読みが“こまく”の文字を文頭に含む文例を,文例辞書から抽出する。文例入力処理部12は,抽出された文例を並べた文例リスト202を文書編集画面200に表示する。
FIG. 3A shows an example of the
ユーザは,抽出された文例を用いる際に,文例リスト202から文書に入力する文例を選択し,確定する。例えば,図3(A)において,文例リスト202中の1つの文例を囲む枠はカーソルを示している。ユーザは,例えば,キーボードのカーソルキーを操作して文書に入力したい文例を選択し,キーボードのEnterキーで確定する。 When using the extracted sentence example, the user selects and confirms a sentence example to be input to the document from the sentence example list 202. For example, in FIG. 3A, a frame surrounding one sentence example in the sentence example list 202 indicates a cursor. For example, the user operates a cursor key on the keyboard to select a sentence example to be input to the document, and confirms with the Enter key on the keyboard.
図3(B)は,図3(A)の文例リスト202において文例“鼓膜:右atrophic”がユーザに選択され,確定された場合の文書編集画面200の例を示す。例えば,ユーザが,図3(A)の文例リスト202で“鼓膜:右atrophic”の文例を選択して確定すると,文例入力処理部12は,図3(B)に示すように,ユーザが入力した“こまく”の文字列201の位置に,文例“鼓膜:右atrophic”を出力する。
FIG. 3B shows an example of the
このような文例入力において,ユーザが,誤った文例を入力してしまう場合がある。例えば,図3に示す例において,ユーザが入力した文例“鼓膜:右atrophic”は間違いで,文例“鼓膜:右ややatrophic左正常”が正しいものとする。このとき,ユーザは,例えば,間違いの文例“鼓膜:右atrophic”を削除し,再び“こまく”の文字列201を入力して文例リスト202を表示させ,文例リスト202から文例“鼓膜:右ややatrophic左正常”を選択して確定する,といった手順で修正を行う。しかし,このような文例の修正操作は,ユーザにとって手間となる。
In such a sentence example input, the user may input a wrong sentence example. For example, in the example shown in FIG. 3, it is assumed that the sentence example “tympanic: right atrophic” input by the user is incorrect and the sentence example “tympanic: right atrophic left normal” is correct. At this time, for example, the user deletes the erroneous sentence example “tympanic: right atrophic”, inputs the
以下では,図4〜図9を用いて,文例の修正において,ユーザの操作負担を軽減する,本実施の形態の文例修正部100による処理の一例を説明する。
Hereinafter, an example of processing performed by the sentence
図4は,本実施の形態の文例修正における文字列の指定を示す図である。 FIG. 4 is a diagram illustrating designation of a character string in the sentence example correction according to the present embodiment.
図4に示す例は,図3に示す文例入力の例で入力された“鼓膜:右atrophic”を,別の文例に修正したい場合の例である。ユーザは,文書編集画面200において,編集対象である文書中の,他の文例に変更したい文例中の一部文字列を指定し,本実施の形態による文例修正の機能を利用する旨を示す操作を行う。以下では,文例修正において,編集対象の文書からユーザが指定した文字列を,指定文字列211とも呼ぶ。
The example shown in FIG. 4 is an example when it is desired to correct the “tympanic membrane: right atrophic” input in the example of sentence input shown in FIG. 3 to another sentence example. In the
例えば,ユーザは,図4に示すように,編集対象の文書が表示された文書編集画面200において,他の文例に修正したい文例“鼓膜:右atrophic”中の一部文字列“鼓膜”を,指定文字列211として範囲指定する。この状態で,ユーザは,本実施の形態による文例修正機能を起動する操作を行う。文例修正機能を起動する操作については,例えば,文例修正機能の起動が割り当てられたファンクションキーの押下や,アイコンの指定などの様々な設計が可能である。
For example, as shown in FIG. 4, the user edits a partial character string “tympanic” in a sentence example “tympanic: right atrophic” to be corrected to another sentence example on a
文例修正部100において,抽出部101は,指定文字列211を受け付けると,辞書記憶部11に記憶された文例辞書から,指定文字列211を含む文例を抽出する。
In the sentence
図5は,本実施の形態による文例辞書の例を示す図である。 FIG. 5 is a diagram illustrating an example of a sentence example dictionary according to the present embodiment.
図5に示す文例辞書110は,辞書記憶部11に記憶される文例辞書110の一例を示す。図5に示す文例辞書110は,キー,文例等の情報を持つ。図5に示す文例辞書110において,キーは,文例入力処理部12による文例の入力で,ユーザが入力した文字列から文例を検索する際に用いる情報である。図5に示す文例辞書110において,文例は,登録された文字列である。
A
ユーザによる文字入力時に,文例入力処理部12は,ユーザが入力した文字列201の読みが,文例辞書110におけるキーと前方一致する文例を抽出し,文書編集画面200に抽出された文例についての文例リスト202を表示する。
When the user inputs a character, the sentence example
例えば,図3(A)に示すように,ユーザが入力した文字列201が“こまく”である場合に,文例入力処理部12は,文例辞書110から,キーの文頭が“コマク”である文例を抽出する。例えば,図5に示す文例辞書110からキーの文頭が“コマク”である文例を抽出した結果が,図3(A)に示す文例リスト202となる。
For example, as illustrated in FIG. 3A, when the
なお,図5に示すキーの情報は文例の読みを示しており,文例入力処理部12は,ユーザによる日本語の文字列の入力がカタカナであってもひらがなであっても,またユーザによるアルファベットの入力が大文字であっても小文字であっても,キーと一致するとみなす。
Note that the key information shown in FIG. 5 indicates the reading of a sentence example, and the sentence example
ユーザが文字列を指定して文例修正を指示した場合には,文例修正部100の抽出部101は,指定文字列211を受け付け,辞書記憶部11に記憶された文例辞書110から,指定文字列211を含む文例を抽出する。例えば,図4に示すように,文書編集画面200において,編集対象の文書から“鼓膜”の文字列が指定された場合に,抽出部101は,指定文字列211の“鼓膜”で図5に示す文例辞書110を探索し,“鼓膜”の文字列を含む文例を抽出する。
When the user designates a character string and instructs to modify a sentence example, the
図6は,本実施の形態による置換候補テーブルの例を示す図である。 FIG. 6 is a diagram illustrating an example of a replacement candidate table according to the present embodiment.
図6に示す置換候補テーブル111は,置換候補情報記憶部102に記憶される置換候補文例に関する情報の一例を示す。図6に示す置換候補テーブル111は,文例,文字列長等の情報を持つ。図6に示す置換候補テーブル111において,文例は,抽出部101により文例辞書110から抽出された置換候補文例を示す。図6に示す置換候補テーブル111において,文字列長は,抽出された文例の文字コードのバイト数を示す。
The replacement candidate table 111 illustrated in FIG. 6 illustrates an example of information regarding replacement candidate sentence examples stored in the replacement candidate
例えば,抽出部101が図5に示す文例辞書110から指定文字列211“鼓膜”を含む文字列を抽出した結果が,図6に示す置換候補テーブル111となる。
For example, the
検出部103は,編集対象の文書中の指定文字列211を含む位置の文例を検出する。編集対象の文書中の指定文字列211を含む文例は,抽出部101により文例辞書110から抽出された指定文字列211を含む文例のいずれかに一致する。すなわち,検出部103は,置換候補テーブル111に記録された文例と一致する,編集対象の文書中のユーザが指定した位置の指定文字列211を含む文例を,削除候補文例として検出する。なお,検出される削除候補文例は,編集対象の文書中のユーザが指定した位置の指定文字列211を含む文字列と一致する,置換候補テーブル111に記録された文例であるとも言い換えられる。
The
図7は,本実施の形態による削除候補テーブルの例を示す図である。 FIG. 7 is a diagram illustrating an example of a deletion candidate table according to the present embodiment.
図7に示す削除候補テーブル112は,削除候補情報記憶部104に記憶される削除候補文例に関する情報の一例を示す。図7に示す削除候補テーブル112は,番号,文例等の情報を持つ。図7に示す削除候補テーブル112において,番号は,検出部103により検出された削除候補文例に割り当てられた番号である。図7に示す削除候補テーブル112において,文例は,検出部103により検出された削除候補文例を示す。
The deletion candidate table 112 illustrated in FIG. 7 illustrates an example of information regarding deletion candidate sentence examples stored in the deletion candidate
例えば,検出部103が,図6に示す置換候補テーブル111の文例に基づいて,図4の文書編集画面200に示す編集対象の文書中の指定文字列211“鼓膜”の位置から文例を検出した結果が,図7に示す削除候補テーブル112となる。
For example, the
提示部105は,置換候補情報記憶部102の置換候補テーブル111に記録された置換候補文例を,ディスプレイ等の表示装置の画面でユーザに提示する。
The presenting
図8は,本実施の形態による置換候補文例の画面提示の一例を示す図である。 FIG. 8 is a diagram showing an example of a screen presentation of a replacement candidate sentence example according to the present embodiment.
例えば,提示部105は,図8に示すように,図6に示す置換候補テーブル111に記録された置換候補文例の一覧である置換候補文例リスト212を,文書編集画面200上に表示する。ユーザは,置換候補文例リスト212で提示された置換候補文例から,置換対象文例214を選択する。
For example, as shown in FIG. 8, the
例えば,図8に示す文書編集画面200の置換候補文例リスト212上で,文例を囲む枠は,カーソルを示している。ユーザは,例えばキーボードのカーソルキーによる操作で,置換候補文例リスト212上のカーソルを動かし,Enterキーで置換対象文例214を決定する。
For example, on the replacement candidate
また,例えば,図7に示す削除候補テーブル112は,レコードが1つである。このとき,提示部105は,図8に示すように,図7に示す削除候補テーブル112に記録された“鼓膜:右atrophic”の文例を削除対象文例213として,編集対象の文書中の該当領域をユーザに示す。
For example, the deletion candidate table 112 shown in FIG. 7 has one record. At this time, as shown in FIG. 8, the presenting
置換部106は,編集対象の文書中の削除対象文例213を,置換候補文例リストから選択された置換対象文例214に置き換える。
The
図9は,本実施の形態による文例修正後の文書の例を示す図である。 FIG. 9 is a diagram showing an example of the document after the sentence example correction according to the present embodiment.
例えば,図8に示す例において,ユーザが,置換候補文例リスト212から“鼓膜:右ややatrophic左正常”の文例を置換対象文例214として選択したものとする。このとき,置換部106は,図8に示す削除対象文例213“鼓膜:右atrophic”を,置換対象文例214“鼓膜:右ややatrophic左正常”に置き換える。すなわち,置換部106は,図8に示す編集対象の文書から,削除対象文例213“鼓膜:右atrophic”を削除し,その削除位置に置換対象文例214“鼓膜:右ややatrophic左正常”を挿入する。文例修正後の文書は,図9に示す通りとなる。
For example, in the example illustrated in FIG. 8, it is assumed that the user has selected the sentence example “tympanic: right slightly atrophic left normal” as the replacement target sentence example 214 from the replacement
このように,本実施の形態の文例修正部100によって,ユーザは,簡単な操作で,編集対象の文書中の文例を別の文例に修正することが可能となる。これにより,ユーザによる編集対象の文字データを修正する操作において,ユーザの操作負担を軽減することが可能となる。
As described above, the sentence
ここまで説明した例は,編集対象の文書から検出される削除候補文例のパターンが1つである場合の例である。編集対象の文書から検出される削除候補文例のパターンが複数である場合でも,簡単な操作で文例修正を行うことが可能である。以下では,図10〜図16を用いて,編集対象の文書から検出される削除候補文例のパターンが複数である場合の例を説明する。なお,以下の説明では,上述の例と異なる部分を中心に説明を行う。 The example described so far is an example in which there is one deletion candidate sentence pattern detected from the document to be edited. Even when there are a plurality of patterns of deletion candidate sentence examples detected from the document to be edited, the sentence examples can be corrected with a simple operation. Hereinafter, an example in which there are a plurality of deletion candidate sentence example patterns detected from a document to be edited will be described with reference to FIGS. In the following description, the description will focus on parts different from the above example.
図10は,本実施の形態の文例修正における文字列の指定を示す図である。 FIG. 10 is a diagram showing the designation of a character string in the sentence example correction of the present embodiment.
図10に示す例では,文書編集画面200上の編集対象の文書において,ユーザは,文字列“鼓膜”を指定文字列211として範囲指定する。文例修正部100の抽出部101は,指定文字列211を受け付けると,辞書記憶部11に記憶された文例辞書から,指定文字列211を含む文例を抽出する。
In the example shown in FIG. 10, in the document to be edited on the
図11は,本実施の形態による文例辞書の例を示す図である。 FIG. 11 is a diagram illustrating an example of a sentence example dictionary according to the present embodiment.
図11に示す文例辞書110は,辞書記憶部11に記憶される文例辞書110の一例を示す。例えば,抽出部101は,図10の文書編集画面200に示すように,編集対象の文書から“鼓膜”の文字列が指定された場合に,指定文字列211の“鼓膜”で図11に示す文例辞書110を探索し,“鼓膜”の文字列を含む文例を抽出する。
A
図12は,本実施の形態による置換候補テーブルの例を示す図である。 FIG. 12 is a diagram showing an example of a replacement candidate table according to this embodiment.
図12に示す置換候補テーブル111は,置換候補情報記憶部102に記憶される置換候補文例に関する情報の一例を示す。例えば,抽出部101が図11に示す文例辞書110から指定文字列211“鼓膜”を含む文字列を抽出した結果が,図12に示す置換候補テーブル111となる。
A replacement candidate table 111 illustrated in FIG. 12 illustrates an example of information regarding replacement candidate sentence examples stored in the replacement candidate
図13は,本実施の形態による削除候補テーブルの例を示す図である。 FIG. 13 is a diagram showing an example of a deletion candidate table according to the present embodiment.
図13に示す削除候補テーブル112は,削除候補情報記憶部104に記憶される削除候補文例に関する情報の一例を示す。図13に示す削除候補テーブル112において,検出部103により検出された削除候補文例に割り当てられる番号は,文書編集画面200上で削除候補文例をユーザに提示する際のタブに付けられる番号となる。
The deletion candidate table 112 illustrated in FIG. 13 illustrates an example of information regarding deletion candidate sentence examples stored in the deletion candidate
例えば,検出部103が,図12に示す置換候補テーブル111の文例に基づいて,図10の文書編集画面200に示す編集対象の文書中の指定文字列211“鼓膜”の位置から文例を検出した結果が,図13に示す削除候補テーブル112となる。
For example, the
この例では,図13に示すように,図10に示す編集対象の文書中の指定文字列211“鼓膜”の位置から,3パターンの削除候補文例が検出される。検出部103は,検出された削除候補文例を文字列長の値が大きい順に並べ替えて,削除候補テーブル112に記録する。番号は,削除候補テーブル112に記録された順に,すなわち文字列長の値が大きい順に,大きい値が割り当てられている。
In this example, as shown in FIG. 13, three patterns of deletion candidate sentence examples are detected from the position of the designated
提示部105は,置換候補情報記憶部102の置換候補テーブル111に記録された置換候補文例と,削除候補情報記憶部104の削除候補テーブル112に記録された削除候補文例とを,ディスプレイ等の表示装置の画面でユーザに提示する。
The presenting
図14は,本実施の形態による置換候補文例・削除候補文例の画面提示の一例を示す図である。 FIG. 14 is a diagram showing an example of screen presentation of a replacement candidate sentence example / deletion candidate sentence example according to the present embodiment.
例えば,提示部105は,図14に示すように,図12に示す置換候補テーブル111に記録された置換候補文例の一覧である置換候補文例リスト212を,文書編集画面200に表示する。また,提示部105は,図14に示すように,図13に示す削除候補テーブル112に記録された削除候補文例を提示する削除候補文例タブ215を,文書編集画面200に表示する。
For example, as shown in FIG. 14, the
図15は,本実施の形態による削除候補文例タブ選択の一例を示す図である。 FIG. 15 is a diagram showing an example of deletion candidate sentence example tab selection according to the present embodiment.
例えば,図14に示す例において,ユーザが,置換候補文例リスト212から“鼓膜:左atrophic”の文例を置換対象文例214として選択する。置換対象文例214の選択を受けると,提示部105は,文書編集画面200から置換候補文例リスト212を消去する。図14に示す文書編集画面200から置換候補文例リスト212を消去した後の文書編集画面200は,図15に示す通りとなる。
For example, in the example illustrated in FIG. 14, the user selects the sentence example “tympanic: left atrophic” from the replacement
ユーザは,文書編集画面200において,削除候補文例タブ215への操作により,削除候補文例から削除対象文例213を選択する。ユーザは,例えばキーボードのカーソルキーによる操作で,指定するタブの番号を変更する。図15に示す文書編集画面200では,ユーザが指定したタブの番号に相当する削除候補文例の領域が,破線枠で囲まれて明示される。ユーザは,例えばキーボードのEnterキーを押下することで,削除対象文例213を決定する。
The user selects the deletion target sentence example 213 from the deletion candidate sentence examples by operating the deletion candidate
例えば,図15に示すように,ユーザが削除候補文例タブ215で3番のタブを選択すると,削除対象文例213は,破線の枠で囲まれた“鼓膜:右atrophicなので注意”となる。
For example, as illustrated in FIG. 15, when the user selects the third tab in the deletion candidate
置換部106は,削除候補文例タブ215で選択された削除対象文例213を,置換候補文例リスト212で選択された置換対象文例214に置き換える。
The
図16は,本実施の形態による文例修正後の文書の例を示す図である。 FIG. 16 is a diagram showing an example of the document after the sentence example correction according to the present embodiment.
例えば,置換部106は,編集対象の文書において,削除候補文例タブ215で選択された削除対象文例213“鼓膜:右atrophicなので注意”を,置換候補文例リスト212で選択された置換対象文例214“鼓膜:左atrophic”に置き換える。すなわち,置換部106は,編集対象の文書において,削除対象文例213“鼓膜:右atrophicなので注意”を削除し,その削除位置に置換対象文例214“鼓膜:左atrophic”を挿入する。文例修正後の文書は,図16に示す通りとなる。
For example, in the document to be edited, the
このように,編集対象の文書中の指定文字列211の位置に複数の削除候補文例のパターンがある場合でも,ユーザは,簡単な操作で,編集対象の文書中の文例を別の文例に修正することが可能となる。これにより,ユーザによる編集対象の文字データを修正する操作において,ユーザの操作負担を軽減することが可能となる。
In this way, even when there are a plurality of deletion candidate sentence patterns at the position of the designated
ここまで説明した例は,指定文字列211と前方一致する文例のみが,置換候補文例や削除候補文例となる例である。指定文字列211が文頭以外で部分一致する文例も置換候補文例や削除候補文例となる場合でも,簡単な操作で文例修正を行うことが可能である。以下では,図17〜図23を用いて,指定文字列211が文頭以外で部分一致する文例も置換候補文例や削除候補文例となる場合の例を説明する。なお,以下の説明では,上述の例と異なる部分を中心に説明を行う。
The example described so far is an example in which only a sentence example that matches forward with the designated
図17は,本実施の形態の文例修正における文字列の指定を示す図である。 FIG. 17 is a diagram showing designation of a character string in the sentence example correction according to the present embodiment.
図17に示す例では,文書エディタ30は,例えばワードプロセッサなどであるものとする。図17に示す文書編集画面200の例では,編集対象の文書において,ユーザは,文字列“CCCCC ”を指定文字列211として範囲指定する。
In the example shown in FIG. 17, it is assumed that the
図18は,本実施の形態による文例辞書の例を示す図である。 FIG. 18 is a diagram illustrating an example of a sentence example dictionary according to the present embodiment.
図18に示す文例辞書110は,辞書記憶部11に記憶される文例辞書110の一例を示す。例えば,抽出部101は,図17の文書編集画面200に示すように,編集対象の文書から“CCCCC ”の文字列が指定された場合に,指定文字列211“CCCCC ”で図18に示す文例辞書110を探索し,“CCCCC ”の文字列を含む文例を抽出する。
A
図19は,本実施の形態による置換候補テーブルの例を示す図である。 FIG. 19 is a diagram showing an example of a replacement candidate table according to the present embodiment.
図19に示す置換候補テーブル111は,置換候補情報記憶部102に記憶される置換候補文例に関する情報の一例を示す。例えば,抽出部101が図18に示す文例辞書110から指定文字列211“CCCCC ”を含む文例を抽出した結果が,図19に示す置換候補テーブル111となる。
A replacement candidate table 111 illustrated in FIG. 19 illustrates an example of information regarding replacement candidate sentence examples stored in the replacement candidate
ここで,検出部103は,図19に示す置換候補テーブル111の文例に基づいて,図17の文書編集画面200に示す編集対象の文書中の指定文字列211“CCCCC ”の位置から,削除候補文例を検出する。
Here, the
図20は,本実施の形態による削除候補テーブルの生成を説明する図である。 FIG. 20 is a diagram for explaining generation of a deletion candidate table according to the present embodiment.
図20(A)に示す削除候補ワークテーブル113は,削除候補テーブル112を生成する途中の段階で,一時的に使用されるテーブルである。検出部103は,検出された削除候補文例を,削除候補ワークテーブル113に記録する。図19に示す置換候補テーブル111の文例に基づいて,図17の文書編集画面200に示す編集対象の文書中の指定文字列211“CCCCC ”の位置から文例を検出した結果を記録したものが,図20(A)に示す削除候補ワークテーブル113となる。
The deletion candidate work table 113 shown in FIG. 20A is a table that is temporarily used during the generation of the deletion candidate table 112. The
まず,検出部103は,削除候補ワークテーブル113から,文頭の文字列が指定文字列211“CCCCC ”と一致する文例を抽出し,抽出された文例を文字列長が長い順にソートする。図20(B)は,図20(A)に示す削除候補ワークテーブル113から,文頭の文字列が指定文字列211“CCCCC ”と一致する文例を抽出し,文字列長が長い順にソートした結果である。検出部103は,図20(B)に示す結果を削除候補テーブル112に記録する。
First, the
次に,検出部103は,削除候補ワークテーブル113から,文頭以外の部分で文字列が指定文字列211“CCCCC ”と一致する文例を抽出し,抽出された文例を文字列長が短い順にソートする。図20(C)は,図20(A)に示す削除候補ワークテーブル113から,文頭以外の部分で文字列が指定文字列211“CCCCC ”と一致する文例を抽出し,文字列長が短い順にソートした結果である。検出部103は,図20(C)に示す結果を削除候補テーブル112に追加記録する。
Next, the
図21は,本実施の形態による削除候補テーブルの例を示す図である。 FIG. 21 is a diagram showing an example of a deletion candidate table according to the present embodiment.
図21に示す削除候補テーブル112は,削除候補情報記憶部104に記憶される削除候補文例に関する情報の一例を示す。図21に示す削除候補テーブル112は,まず図20(B)に示すソート結果の文例が記録され,次いで図20(C)に示すソート結果の文例が記録されることで生成された削除候補テーブル112である。
The deletion candidate table 112 illustrated in FIG. 21 illustrates an example of information regarding deletion candidate sentence examples stored in the deletion candidate
図21に示す削除候補テーブル112において,番号は,先に記録された文例のレコードから順に,大きな値が割り当てられている。すなわち,図21に示す削除候補テーブル112では,文頭の文字列が指定文字列211と一致する,文字列長が長い文例から順に大きな番号が割り当てられ,続いて,文頭以外の部分で文字列が指定文字列211と一致する,文字列長が短い文例から順に大きな番号が割り当てられている。
In the deletion candidate table 112 shown in FIG. 21, large numbers are assigned to the numbers in order from the record of the sentence example recorded earlier. That is, in the deletion candidate table 112 shown in FIG. 21, a large number is assigned in order from a sentence example having a long character string length in which the character string at the beginning of the sentence matches the designated
図19に示す置換候補テーブル111の文例に基づいて,図17の文書編集画面200に示す編集対象の文書中の指定文字列211“CCCCC ”の位置から文例を検出し,所定の順序でソートした最終結果が,図21に示す削除候補テーブル112となる。
Based on the sentence examples in the replacement candidate table 111 shown in FIG. 19, the sentence examples are detected from the position of the designated
図22は,本実施の形態による置換候補文例・削除候補文例の画面提示の一例を示す図である。 FIG. 22 is a diagram illustrating an example of a screen presentation of a replacement candidate sentence example / deletion candidate sentence example according to the present embodiment.
例えば,提示部105は,図22に示すように,図19に示す置換候補テーブル111に記録された置換候補文例の一覧である置換候補文例リスト212を,文書編集画面200に表示する。また,提示部105は,図22に示すように,図21に示す削除候補テーブル112に記録された削除候補文例を提示する削除候補文例タブ215を,文書編集画面200に表示する。
For example, as shown in FIG. 22, the
例えば,図22に示す例において,ユーザは,置換候補文例リスト212から“CCCCCDDDDDEEEEE ”の文例を置換対象文例214として選択する。また,図22に示す例において,ユーザは,削除候補文例タブ215における番号1のタブの指定で,“AAAAABBBBBCCCCCDDDDDEEEEE ”の文例を削除対象文例213として選択する。
For example, in the example illustrated in FIG. 22, the user selects the sentence example “CCCCCDDDDDEEEEE” from the replacement candidate
図23は,本実施の形態による文例修正後の文書の例を示す図である。 FIG. 23 is a diagram showing an example of the document after the sentence example correction according to the present embodiment.
例えば,置換部106は,編集対象の文書において,削除候補文例タブ215で選択された削除対象文例213“AAAAABBBBBCCCCCDDDDDEEEEE ”を,置換候補文例リスト212で選択された置換対象文例214“CCCCCDDDDDEEEEE ”に置き換える。すなわち,置換部106は,編集対象の文書において,削除対象文例213“AAAAABBBBBCCCCCDDDDDEEEEE ”を削除し,その削除位置に置換対象文例214“CCCCCDDDDDEEEEE ”を挿入する。文例修正後の文書は,図23に示す通りとなる。
For example, the
このように,指定文字列211が文頭以外で部分一致する文例も置換候補文例や削除候補文例となる場合でも,ユーザは,簡単な操作で,編集対象の文書中の文例を別の文例に修正することが可能となる。これにより,ユーザによる編集対象の文字データを修正する操作において,ユーザの操作負担を軽減することが可能となる。
In this way, even when the specified
ここまで,キーボードのカーソルキーやEnterキーなどで,文例の選択や確定を行う例を説明したが,マウスなどのポインティングデバイスで,文例の選択や確定を行うことも可能である。 Up to this point, the example of selecting and confirming the sentence example with the cursor key and Enter key of the keyboard has been described, but it is also possible to select and confirm the sentence example with a pointing device such as a mouse.
図24は,本実施の形態による文例修正において削除対象文例をマウス操作で選択する例を説明する図である。 FIG. 24 is a diagram illustrating an example in which a deletion target sentence example is selected by a mouse operation in the sentence example correction according to the present embodiment.
削除候補文例タブ215に対するマウス操作で削除対象文例を選択する際に,ユーザは,例えば,文書編集画面200で選択したい削除候補文例を示す番号のタブ上にマウスポインタ216を重ねて,マウスをクリックするなどの操作で選択を確定させる。
When selecting a deletion target sentence example by a mouse operation on the deletion candidate
図24に示す例において,マウスポインタ216が(1)に示すような削除候補文例タブ215の位置にあるときに,ユーザにより確定操作が行われたものとする。このとき,置換部106は,例えば,指定されたタブの番号に応じた削除候補文例が削除対象文例213として選択されたと判断する。図24に示す例では,置換部106は,番号4に対応する削除候補文例が,削除対象文例213として選択されたと判断する。
In the example shown in FIG. 24, it is assumed that the user performs a confirming operation when the
図24に示す例において,マウスポインタ216が(2)に示すような文字の位置にあるときに,ユーザにより確定操作が行われたものとする。このとき,置換部106は,例えば,指示文字列211からマウスポインタの位置の文字までの文字列を含む最も短い削除候補文例が削除対象文例213として選択されたと判断する。図24に示す例では,置換部106は,番号4に対応する削除候補文例が,削除対象文例213として選択されたと判断する。
In the example shown in FIG. 24, it is assumed that the confirmation operation is performed by the user when the
図24に示す例において,マウスポインタ216が(3)に示すような削除候補文例よりも前の位置にあるときに,ユーザにより確定操作が行われたものとする。このとき,置換部106は,例えば,編集対象の文書中で最も前の位置にあるタブの番号に応じた削除候補文例が削除対象文例213として選択されたと判断する。図24に示す例では,置換部106は,番号1に対応する削除候補文例が,削除対象文例213として選択されたと判断する。
In the example shown in FIG. 24, it is assumed that the user performs a confirming operation when the
図24に示す例において,マウスポインタ216が(4)に示すような削除候補文例よりも後ろの位置にあるときに,ユーザにより確定操作が行われたものとする。このとき,置換部106は,例えば,編集対象の文書中で最も後ろの位置にあるタブの番号に応じた削除候補文例が削除対象文例213として選択されたと判断する。図24に示す例では,置換部106は,番号4に対応する削除候補文例が,削除対象文例213として選択されたと判断する。
In the example shown in FIG. 24, it is assumed that when the
図24に示す例において,マウスポインタ216が(5)に示すような文書編集画面200の外の位置にあるときに,ユーザにより確定操作が行われたものとする。このとき,置換部106は,例えば,編集対象の文書中で最も後ろの位置にあるタブの番号に応じた削除候補文例が削除対象文例213として選択されたと判断する。図24に示す例では,置換部106は,番号4に対応する削除候補文例が,削除対象文例213として選択されたと判断する。
In the example shown in FIG. 24, it is assumed that the confirmation operation is performed by the user when the
このようなマウスポインタの位置に応じた削除対象文例の選択など,マウス操作に応じた処理に関する設計は,任意である。 The design related to the processing according to the mouse operation such as selection of the deletion target sentence example according to the position of the mouse pointer is arbitrary.
以下,本実施の形態の文例修正部100による処理の流れについて,図25〜図29に示すフローチャートを用いて説明する。
Hereinafter, the flow of processing by the sentence
図25は,本実施の形態の文例修正部による文例修正処理フローチャートである。 FIG. 25 is a flowchart of sentence example correction processing by the sentence example correction unit of the present embodiment.
文書エディタ30の文書編集画面200で,ユーザが,編集対象の文書で文字列を指定して文例修正を指示する操作を行うと,文例修正部100の抽出部101は,指定文字列211を受け付ける(ステップS10)。
When the user performs an operation of instructing a sentence example correction by specifying a character string in the document to be edited on the
抽出部101は,置換文例抽出処理を行う(ステップS11)。置換文例抽出処理の詳細については,後述する。提示部105は,置換文例抽出処理の結果である置換候補テーブル111に,置換候補文例があるかを判定する(ステップS12)。
The
置換候補文例がなければ(ステップS12のNO),文例修正部100は,処理を終了する。このとき,文例修正部100が,文例辞書110に指定文字列211を含む文例が登録されていない旨を,画面でユーザに通知するようにしてもよい。
If there is no replacement candidate sentence example (NO in step S12), the sentence
置換候補文例があれば(ステップS12のYES),提示部105は,文書編集画面200に置換候補文例リスト212を表示する(ステップS13)。文例辞書110から抽出された指定文字列211を含む置換候補文例が,ユーザに提示される。
If there is a replacement candidate sentence example (YES in step S12), the presenting
検出部103は,削除文例検出処理を行う(ステップS14)。削除文例検出処理の詳細については,後述する。提示部105は,削除文例検出処理の結果である削除候補テーブル112に,削除候補文例があるかを判定する(ステップS15)。
The
削除候補文例があれば(ステップS15のYES),提示部105は,削除候補文例提示処理を行う(ステップS16)。削除候補文例提示処理の詳細については,後述する。
If there is a deletion candidate sentence example (YES in step S15), the presenting
置換部106は,文例置換処理を行う(ステップS17)。文例置換処理の詳細については,後述する。
The
図26は,本実施の形態の抽出部による置換文例抽出処理フローチャートである。 FIG. 26 is a flowchart of replacement sentence example extraction processing by the extraction unit of the present embodiment.
抽出部101は,辞書記憶部11に記憶された文例辞書110のレコードを1つ取得する(ステップS20)。抽出部101は,文例辞書110から取得されたレコードの文例に,指定文字列211が含まれているかを判定する(ステップS21)。
The
文例に指定文字列211が含まれていれば(ステップS21のYES),抽出部101は,文例辞書110から取得されたレコードの文例を,置換候補情報記憶部102に記憶された置換候補テーブル111に追加記録する(ステップS22)。ここでは,置換文例抽出処理の開始前に,置換候補テーブル111がクリアされているものとする。
If the specified
抽出部101は,文例辞書110のすべてのレコードについて処理が終了したかを判定する(ステップS23)。すべてのレコードについて処理が終了していなければ(ステップS23のNO),抽出部101は,ステップS20の処理に戻って,文例辞書110の次のレコードについての処理に移る。
The
図27は,本実施の形態の検出部による削除文例検出処理フローチャートである。 FIG. 27 is a flowchart of a deletion sentence example detection process by the detection unit of the present embodiment.
検出部103は,置換候補情報記憶部102に記憶された置換候補テーブル111のレコードを1つ取得する(ステップS30)。検出部103は,置換候補テーブル111から取得されたレコードの文例が,編集対象の文書中のユーザに指定された位置の指定文字列211を含む文字列と一致するかを判定する(ステップS31)。
The
文例が文書中の指定文字列211を含む文字列と一致していれば(ステップS31のYES),検出部103は,置換候補テーブル111から取得されたレコードの文例を,削除候補ワークテーブル113に追加記録する(ステップS32)。ここでは,削除文例検出処理の開始前に,削除候補ワークテーブル113がクリアされているものとする。
If the sentence example matches the character string including the designated
検出部103は,置換候補テーブル111のすべてのレコードについて処理が終了したかを判定する(ステップS33)。すべてのレコードについて処理が終了していなければ(ステップS33のNO),検出部103は,ステップS30の処理に戻って,置換候補テーブル111の次のレコードについての処理に移る。
The
すべてのレコードについて処理が終了していれば(ステップS33のYES),検出部103は,削除候補ワークテーブル113のレコードを所定のルールでソートして,削除候補情報記憶部104に記憶された削除候補テーブル112に記録する(ステップS34)。ここでは,削除文例抽出処理の開始前に,削除候補テーブル112がクリアされているものとする。
If the processing has been completed for all the records (YES in step S33), the
図28は,本実施の形態の提示部による削除候補文例提示処理フローチャートである。 FIG. 28 is a flowchart of a deletion candidate sentence example presentation process by the presentation unit of the present embodiment.
提示部105は,削除候補情報記憶部104に記憶された削除候補テーブル112に,削除候補文例が複数あるかを判定する(ステップS40)。
The presenting
削除候補文例が複数なければ(ステップS40のNO),すなわち削除候補テーブル112に削除候補文例が1つしかなければ,提示部105は,その削除候補文例を削除対象文例213とする(ステップS41)。提示部105は,文書編集画面200において,削除対象文例213に一致する文書中の文例の領域をユーザに提示する(ステップS42)。
If there are not a plurality of deletion candidate sentence examples (NO in step S40), that is, if there is only one deletion candidate sentence example in the deletion candidate table 112, the
削除候補文例が複数あれば(ステップS40のYES),提示部105は,削除候補テーブル112のレコードを1つ取得する(ステップS43)。提示部105は,文書編集画面200において,削除候補テーブル112から取得されたレコードの削除候補文例に相当する文書中の文例の位置に,タブを表示する(ステップS44)。表示されるタブには,削除候補テーブル112から取得されたレコードの番号が付される。
If there are a plurality of deletion candidate sentence examples (YES in step S40), the presenting
提示部105は,削除候補テーブル112のすべてのレコードについて処理が終了したかを判定する(ステップS45)。すべてのレコードについて処理が終了していなければ(ステップS45のNO),提示部105は,ステップS43の処理に戻って,文例辞書削除候補テーブル112の次のレコードについての処理に移る。
The presenting
図29は,本実施の形態の置換部による文例置換処理フローチャートである。 FIG. 29 is a flowchart of sentence example replacement processing by the replacement unit of the present embodiment.
文書エディタ30の文書編集画面200で,ユーザが置換候補文例リスト212から置換対象文例214を選択する操作を行うと,置換部106は,選択された置換対象文例214を受け付ける(ステップS50)。ここで,提示部105は,文書編集画面200から,置換候補文例リスト212を消去する(ステップS51)。
When the user performs an operation of selecting the replacement target sentence example 214 from the replacement candidate
置換部106は,削除候補情報記憶部104に記憶された削除候補テーブル112に,削除候補文例があるかを判定する(ステップS52)。
The
削除候補文例がなければ(ステップS52のNO),置換部106は,編集対象の文書中の指定文字列211を,置換対象文例214に置き換える(ステップS53)。この例では,編集対象の文書中のユーザに指定された位置に指定文字列211を含む文例がない場合に,文書中の指定文字列211を置換対象文例214に置換している。
If there is no deletion candidate sentence example (NO in step S52), the
削除候補文例があれば(ステップS52のYES),置換部106は,削除候補テーブル112に削除候補文例が複数あるかを判定する(ステップS54)。削除候補文例が複数ある場合に(ステップS54のYES),ユーザが削除候補文例タブ215で削除対象文例213を選択する操作を行うと,置換部106は,選択された削除対象文例213を受け付ける(ステップS55)。ここで,提示部105は,文書編集画面200から,削除候補文例タブ215を消去する(ステップS56)。
If there is a deletion candidate sentence example (YES in step S52), the
置換部106は,編集対象の文書中の削除対象文例213を,置換対象文例214に置き換える(ステップS57)。
The
以上,本実施の形態について説明したが,本発明はその主旨の範囲において種々の変形が可能であることは当然である。 Although the present embodiment has been described above, the present invention can naturally be modified in various ways within the scope of the gist thereof.
例えば,本実施の形態では,文書中の文字データを編集対象としているが,他の文字データを編集対象としてもよい。例えば,ファイル名,フォルダ名,文書やインターネットなどの検索で入力される検索キーワード等の文字データが,編集対象であってもよい。 For example, in this embodiment, character data in a document is targeted for editing, but other character data may be targeted for editing. For example, character data such as a search keyword input in a search such as a file name, a folder name, a document, or the Internet may be an object to be edited.
以上の本実施の形態に関し,さらに以下の付記を開示する。 Regarding the above embodiment, the following additional notes are disclosed.
(付記1)
コンピュータに,
編集対象である文章の中における,文字列の指定を受け付け,
記憶部に記憶される複数の文例が登録された文例辞書から,前記文字列を含む複数の文例を抽出し,
前記文章における指定された前記文字列の位置から始まる第1の文例を,前記文例辞書から抽出された前記複数の文例の中から検出し,
前記複数の文例の少なくとも一部を前記文章が表示される画面に出力し,
出力された前記複数の文例の少なくとも一部のうち,第2の文例の選択を受け付け,
検出された前記第1の文例を,前記第2の文例に置き換える
処理を実行させるための入力支援プログラム。
(Appendix 1)
Computer
Accepts the specification of a character string in the text to be edited,
Extracting a plurality of sentence examples including the character string from a sentence example dictionary in which a plurality of sentence examples stored in the storage unit are registered;
Detecting a first sentence example starting from a position of the designated character string in the sentence from the plurality of sentence examples extracted from the sentence example dictionary;
Outputting at least a part of the plurality of sentence examples to a screen on which the sentence is displayed;
Receiving selection of a second sentence example among at least some of the plurality of outputted sentence examples;
An input support program for executing processing for replacing the detected first sentence example with the second sentence example.
(付記2)
前記コンピュータに,さらに,
検出された前記第1の文例を画面に提示し,
提示された前記第1の文例からの文例の選択を受け付ける処理を実行させ,
前記第2の文例に置き換える処理では,前記第1の文例から選択された文例を前記第2の文例に置き換える
ことを特徴とする付記1に記載の入力支援プログラム。
(Appendix 2)
In addition to the computer,
Present the detected first sentence example on the screen,
A process of accepting selection of a sentence example from the presented first sentence example;
The input support program according to
(付記3)
複数の文例が登録された文例辞書を記憶する辞書記憶部と,
編集対象である文章の中から指定された文字列を含む複数の文例を,前記文例辞書から抽出する抽出部と,
前記文章における指定された前記文字列の位置から始まる第1の文例を,前記文例辞書から抽出された前記複数の文例の中から検出する検出部と,
前記複数の文例の少なくとも一部を前記文章が表示される画面に出力する提示部と,
検出された前記第1の文例を,出力された前記複数の文例の少なくとも一部のうちから選択された第2の文例に置き換える置換部とを備える
ことを特徴とする入力支援装置。
(Appendix 3)
A dictionary storage unit for storing a sentence example dictionary in which a plurality of sentence examples are registered;
An extraction unit that extracts a plurality of sentence examples including a designated character string from sentences to be edited from the sentence example dictionary;
A detection unit for detecting a first sentence example starting from a position of the designated character string in the sentence from the plurality of sentence examples extracted from the sentence example dictionary;
A presentation unit that outputs at least a part of the plurality of sentence examples to a screen on which the sentence is displayed;
An input support apparatus comprising: a replacement unit that replaces the detected first sentence example with a second sentence example selected from at least some of the plurality of outputted sentence examples.
(付記4)
前記提示部は,さらに,検出された前記第1の文例を画面に提示し,
前記置換部は,提示された前記第1の文例から選択された文例を前記第2の文例に置き換える
ことを特徴とする付記3に記載の入力支援装置。
(Appendix 4)
The presenting unit further presents the detected first sentence example on a screen,
The input support apparatus according to
(付記5)
コンピュータが,
編集対象である文章の中における,文字列の指定を受け付け,
記憶部に記憶される複数の文例が登録された文例辞書から,前記文字列を含む複数の文例を抽出し,
前記文章における指定された前記文字列の位置から始まる第1の文例を,前記文例辞書から抽出された前記複数の文例の中から検出し,
前記複数の文例の少なくとも一部を前記文章が表示される画面に出力し,
出力された前記複数の文例の少なくとも一部のうち,第2の文例の選択を受け付け,
検出された前記第1の文例を,前記第2の文例に置き換える過程を実行する
ことを特徴とする入力支援方法。
(Appendix 5)
Computer
Accepts the specification of a character string in the text to be edited,
Extracting a plurality of sentence examples including the character string from a sentence example dictionary in which a plurality of sentence examples stored in the storage unit are registered;
Detecting a first sentence example starting from a position of the designated character string in the sentence from the plurality of sentence examples extracted from the sentence example dictionary;
Outputting at least a part of the plurality of sentence examples to a screen on which the sentence is displayed;
Receiving selection of a second sentence example among at least some of the plurality of outputted sentence examples;
An input support method comprising: executing a process of replacing the detected first sentence example with the second sentence example.
(付記6)
前記コンピュータが,さらに,
検出された前記第1の文例を画面に提示し,
提示された前記第1の文例からの文例の選択を受け付ける過程を実行し,
前記第2の文例に置き換える過程では,前記第1の文例から選択された文例を前記第2の文例に置き換える
ことを特徴とする付記5に記載の入力支援方法。
(Appendix 6)
Said computer further comprising:
Present the detected first sentence example on the screen,
Performing a process of accepting a selection of sentence examples from the presented first sentence example;
6. The input support method according to
1 コンピュータ
10 入力支援部
11 辞書記憶部
12 文例入力処理部
100 文例修正部
101 抽出部
102 置換候補情報記憶部
103 検出部
104 削除候補情報記憶部
105 提示部
106 置換部
20 OS
21 入力処理部
22 画面出力処理部
30 文書エディタ
DESCRIPTION OF
21
Claims (4)
編集対象である文章の中における,文字列の指定を受け付け,
記憶部に記憶される複数の文例が登録された文例辞書から,前記文字列を含む複数の文例を抽出し,
前記文章における指定された前記文字列の位置から始まる第1の文例を,前記文例辞書から抽出された前記複数の文例の中から検出し,
前記複数の文例の少なくとも一部を前記文章が表示される画面に出力し,
出力された前記複数の文例の少なくとも一部のうち,第2の文例の選択を受け付け,
検出された前記第1の文例を,前記第2の文例に置き換える
処理を実行させるための入力支援プログラム。 Computer
Accepts the specification of a character string in the text to be edited,
Extracting a plurality of sentence examples including the character string from a sentence example dictionary in which a plurality of sentence examples stored in the storage unit are registered;
Detecting a first sentence example starting from a position of the designated character string in the sentence from the plurality of sentence examples extracted from the sentence example dictionary;
Outputting at least a part of the plurality of sentence examples to a screen on which the sentence is displayed;
Receiving selection of a second sentence example among at least some of the plurality of outputted sentence examples;
An input support program for executing processing for replacing the detected first sentence example with the second sentence example.
検出された前記第1の文例を画面に提示し,
提示された前記第1の文例からの文例の選択を受け付ける処理を実行させ,
前記第2の文例に置き換える処理では,前記第1の文例から選択された文例を前記第2の文例に置き換える
ことを特徴とする請求項1に記載の入力支援プログラム。 In addition to the computer,
Present the detected first sentence example on the screen,
A process of accepting selection of a sentence example from the presented first sentence example;
The input support program according to claim 1, wherein in the process of replacing the second sentence example, the sentence example selected from the first sentence example is replaced with the second sentence example.
編集対象である文章の中から指定された文字列を含む複数の文例を,前記文例辞書から抽出する抽出部と,
前記文章における指定された前記文字列の位置から始まる第1の文例を,前記文例辞書から抽出された前記複数の文例の中から検出する検出部と,
前記複数の文例の少なくとも一部を前記文章が表示される画面に出力する提示部と,
検出された前記第1の文例を,出力された前記複数の文例の少なくとも一部のうちから選択された第2の文例に置き換える置換部とを備える
ことを特徴とする入力支援装置。 A dictionary storage unit for storing a sentence example dictionary in which a plurality of sentence examples are registered;
An extraction unit that extracts a plurality of sentence examples including a designated character string from sentences to be edited from the sentence example dictionary;
A detection unit for detecting a first sentence example starting from a position of the designated character string in the sentence from the plurality of sentence examples extracted from the sentence example dictionary;
A presentation unit that outputs at least a part of the plurality of sentence examples to a screen on which the sentence is displayed;
An input support apparatus comprising: a replacement unit that replaces the detected first sentence example with a second sentence example selected from at least some of the plurality of outputted sentence examples.
編集対象である文章の中における,文字列の指定を受け付け,
記憶部に記憶される複数の文例が登録された文例辞書から,前記文字列を含む複数の文例を抽出し,
前記文章における指定された前記文字列の位置から始まる第1の文例を,前記文例辞書から抽出された前記複数の文例の中から検出し,
前記複数の文例の少なくとも一部を前記文章が表示される画面に出力し,
出力された前記複数の文例の少なくとも一部のうち,第2の文例の選択を受け付け,
検出された前記第1の文例を,前記第2の文例に置き換える過程を実行する
ことを特徴とする入力支援方法。 Computer
Accepts the specification of a character string in the text to be edited,
Extracting a plurality of sentence examples including the character string from a sentence example dictionary in which a plurality of sentence examples stored in the storage unit are registered;
Detecting a first sentence example starting from a position of the designated character string in the sentence from the plurality of sentence examples extracted from the sentence example dictionary;
Outputting at least a part of the plurality of sentence examples to a screen on which the sentence is displayed;
Receiving selection of a second sentence example among at least some of the plurality of outputted sentence examples;
An input support method comprising: executing a process of replacing the detected first sentence example with the second sentence example.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011052427A JP5609718B2 (en) | 2011-03-10 | 2011-03-10 | Input support program, input support device, and input support method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011052427A JP5609718B2 (en) | 2011-03-10 | 2011-03-10 | Input support program, input support device, and input support method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2012190211A true JP2012190211A (en) | 2012-10-04 |
JP5609718B2 JP5609718B2 (en) | 2014-10-22 |
Family
ID=47083303
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011052427A Expired - Fee Related JP5609718B2 (en) | 2011-03-10 | 2011-03-10 | Input support program, input support device, and input support method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5609718B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012200546A (en) * | 2011-03-28 | 2012-10-22 | Fujitsu Ltd | Medical examination information input device, program and medical examination information input method |
KR101468919B1 (en) * | 2013-04-16 | 2014-12-04 | 서울대학교병원 (분사무소) | Method and system for managing medical order service |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000276466A (en) * | 1999-03-29 | 2000-10-06 | Toshiba Corp | Device and method for predicting character string and storage medium stored with character string predicting program |
JP2009543209A (en) * | 2006-07-03 | 2009-12-03 | クシュラー、クリフ | User interface system and method for text editing and menu selection |
JP2011028570A (en) * | 2009-07-27 | 2011-02-10 | Fujitsu Ltd | Device, method and program for inputting medical examination information |
-
2011
- 2011-03-10 JP JP2011052427A patent/JP5609718B2/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000276466A (en) * | 1999-03-29 | 2000-10-06 | Toshiba Corp | Device and method for predicting character string and storage medium stored with character string predicting program |
JP2009543209A (en) * | 2006-07-03 | 2009-12-03 | クシュラー、クリフ | User interface system and method for text editing and menu selection |
JP2011028570A (en) * | 2009-07-27 | 2011-02-10 | Fujitsu Ltd | Device, method and program for inputting medical examination information |
Non-Patent Citations (1)
Title |
---|
株式会社ジャムハウス, ATOK 2009のすべて 初版, vol. 第1版, JPN6014032054, 6 February 2009 (2009-02-06), JP, pages 38 - 42, ISSN: 0002866500 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012200546A (en) * | 2011-03-28 | 2012-10-22 | Fujitsu Ltd | Medical examination information input device, program and medical examination information input method |
KR101468919B1 (en) * | 2013-04-16 | 2014-12-04 | 서울대학교병원 (분사무소) | Method and system for managing medical order service |
Also Published As
Publication number | Publication date |
---|---|
JP5609718B2 (en) | 2014-10-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8976118B2 (en) | Method for character correction | |
JP5404726B2 (en) | Information processing apparatus, information processing method, and program | |
JP5609718B2 (en) | Input support program, input support device, and input support method | |
JP2009059159A (en) | Information processor, information processing method and program | |
JP6720274B2 (en) | Input support program, input support method, and input support device | |
JP4734400B2 (en) | Document search apparatus and program | |
JP5646220B2 (en) | Application document information processing apparatus, application document information processing method, and program | |
JP7092992B2 (en) | Document management program, document management device and document management method | |
JP5803481B2 (en) | Information processing apparatus and information processing program | |
JP3943582B2 (en) | Bilingual text matching device | |
JP5379416B2 (en) | Language processing apparatus and language processing method | |
JP2017091024A (en) | Input assistance device | |
US10255904B2 (en) | Reading-aloud information editing device, reading-aloud information editing method, and computer program product | |
JP5742454B2 (en) | Input support program, input support apparatus, and input support method | |
JP2005044103A (en) | Document creation device and method and program | |
JP2013077084A (en) | Sentence example dictionary generation program and sentence example dictionary generation device | |
JP4304146B2 (en) | Dictionary registration device, dictionary registration method, and dictionary registration program | |
US20230385540A1 (en) | Information processing method, information processing apparatus, and storage medium | |
JP2007193849A (en) | Kana (japanese syllabary)/kanji (chinese character) conversion system and method | |
JP5861382B2 (en) | Input support program, input support apparatus, and input support method | |
JP2001109740A (en) | Device and method for preparing chinese document | |
JP2013191106A (en) | Input support program, input support device and input support method | |
JP5880168B2 (en) | Input support program, input support apparatus, and input support method | |
JP5817602B2 (en) | Character input device, function execution method by character input, and character input program | |
JP5564932B2 (en) | Document proofreading support apparatus, program and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20131129 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20140620 |
|
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: 20140805 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140818 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5609718 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |