JP2015069334A - Character conversion program, character conversion device, and character conversion method - Google Patents
Character conversion program, character conversion device, and character conversion method Download PDFInfo
- Publication number
- JP2015069334A JP2015069334A JP2013202015A JP2013202015A JP2015069334A JP 2015069334 A JP2015069334 A JP 2015069334A JP 2013202015 A JP2013202015 A JP 2013202015A JP 2013202015 A JP2013202015 A JP 2013202015A JP 2015069334 A JP2015069334 A JP 2015069334A
- Authority
- JP
- Japan
- Prior art keywords
- reading
- stored
- acquired
- input
- sentence
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Machine Translation (AREA)
- Document Processing Apparatus (AREA)
Abstract
Description
本発明は、文字変換プログラム、文字変換装置、及び文字変換方法に関する。 The present invention relates to a character conversion program, a character conversion device, and a character conversion method.
読みに対応付けて文例が登録された辞書(以下、「文例辞書」という。)を利用して、読みの入力に応じて、当該読みに対応する文例の一覧を入力候補として提示するソフトウェア(以下、「文例入力ソフト」という。)が有る。一覧の中から選択された文例は、文書の編集画面に出力される。文例辞書には、ユーザによって入力された文章、当該文章の構成要素等が、文例として登録される。斯かる文例入力ソフトによれば、ユーザがよく利用する定型句等の入力作業を簡略化することができ、文書作成の作業効率を向上させることができる。 Using a dictionary in which sentence examples are registered in association with readings (hereinafter referred to as “sentence dictionary”), software that presents a list of sentence examples corresponding to the readings as input candidates in response to input of readings (hereinafter referred to as “input candidates”). , "Sentence example input software"). The sentence example selected from the list is output to the document editing screen. In the sentence example dictionary, sentences inputted by the user, components of the sentences, and the like are registered as sentence examples. According to such sentence example input software, it is possible to simplify the input work of fixed phrases and the like that are frequently used by the user, and to improve the work efficiency of document creation.
しかしながら、例えば、競合製品に関する報告書等の編修時において、ユーザが、製品名を正確に記憶しておらず、その綴りを誤って入力してしまうことが考えられる。誤記等、誤りを含む文章が入力された場合、文例辞書には、当該誤りを含む文例がそのまま登録されてしまう。そうすると、以降において、同じ誤りを含む文例が繰り返し入力されてしまう可能性が有る。 However, for example, when editing a report on a competing product, it is conceivable that the user does not correctly store the product name and erroneously inputs the spelling. When a sentence including an error such as an error is input, the sentence example including the error is registered as it is in the sentence example dictionary. Then, there is a possibility that sentence examples including the same error will be repeatedly input thereafter.
このような誤記は、例えば、競合製品等、編集対象の文書の主題に関する情報を公開しているWebページ等を参照することで或る程度防止可能であると考えられる。しかし、Webページ上に記載されている名称等を読み違えてしまう可能性は否めない。 Such an error is considered to be able to be prevented to some extent by referring to a Web page or the like that discloses information on the subject of the document to be edited, such as a competitive product. However, there is a possibility that a name or the like described on the Web page is misread.
そこで、一側面では、文書編修時における誤記の発生を低減させることを目的とする。 Therefore, an object of one aspect is to reduce the occurrence of typographical errors during document editing.
一つの案では、文字変換プログラムは、取得した文字列にネットワーク上のリソースの場所情報が含まれる場合に、該場所情報が示す場所に格納されたリソースにアクセスして文書データを取得し、取得した該文書データを解析して、該文書データに含まれる文の構成要素を抽出し、抽出した前記構成要素の読みを辞書データベースから取得し、抽出した前記構成要素と取得した前記読みとを対応づけて第一の記憶部に記憶し、記憶された前記読みの入力に応じた該読みの変換候補を表示する際に、前記読みと対応づけられて前記第一の記憶部に記憶された前記構成要素を前記変換候補として表示する、処理をコンピュータに実行させる。 In one proposal, when the acquired character string includes location information of a resource on the network, the character conversion program acquires the document data by accessing the resource stored in the location indicated by the location information. The document data is analyzed, the constituent elements of the sentence included in the document data are extracted, the extracted readings of the constituent elements are acquired from the dictionary database, and the extracted constituent elements correspond to the acquired readings Then, when displaying the conversion candidate of the reading according to the input of the stored reading stored in the first storage unit, the reading stored in the first storage unit in association with the reading A component is displayed as the conversion candidate, and the computer is caused to execute processing.
一態様によれば、文書編修時における誤記の発生を低減させることができる。 According to one aspect, it is possible to reduce the occurrence of errors during document editing.
以下、図面に基づいて本発明の実施の形態を説明する。図1は、本発明の実施の形態におけるシステム構成例を示す図である。図1において、入力支援装置10は、LAN(Local Area Network)又はインターネット等のネットワークを介して、1以上のWebサーバ装置20と通信可能に接続されている。
Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a diagram showing an example of a system configuration in the embodiment of the present invention. In FIG. 1, an
入力支援装置10は、例えば、PC(Personal Computer)、タブレット型端末、スマートフォン、又は携帯電話等である。入力支援装置10は、ユーザによる文章の入力作業の支援を行う。
The
Webサーバ装置20は、HTML(HyperText Markup Language)形式等のWebページを管理するコンピュータである。Webサーバ装置20は、入力支援装置10から要求されたWebページを、入力支援装置10に返信する。
The
図2は、本発明の実施の形態における入力支援装置のハードウェア構成例を示す図である。図2の入力支援装置10は、それぞれバスBで相互に接続されているドライブ装置100、補助記憶装置102、メモリ装置103、CPU104、インタフェース装置105、表示装置106、及び入力装置107等を有する。
FIG. 2 is a diagram illustrating a hardware configuration example of the input support apparatus according to the embodiment of the present invention. 2 includes a
入力支援装置10での処理を実現するプログラムは、記録媒体101によって提供される。プログラムを記録した記録媒体101がドライブ装置100にセットされると、プログラムが記録媒体101からドライブ装置100を介して補助記憶装置102にインストールされる。但し、プログラムのインストールは必ずしも記録媒体101より行う必要はなく、ネットワークを介して他のコンピュータよりダウンロードするようにしてもよい。補助記憶装置102は、インストールされたプログラムを格納すると共に、必要なファイルやデータ等を格納する。
A program that realizes processing in the
メモリ装置103は、プログラムの起動指示があった場合に、補助記憶装置102からプログラムを読み出して格納する。CPU104は、メモリ装置103に格納されたプログラムに従って入力支援装置10に係る機能を実現する。インタフェース装置105は、ネットワークに接続するためのインタフェースとして用いられる。表示装置106はプログラムによるGUI(Graphical User Interface)等を表示する。入力装置107はキーボード及びマウス等であり、様々な操作指示を入力させるために用いられる。
The
なお、記録媒体101の一例としては、CD−ROM、DVDディスク、又はUSBメモリ等の可搬型の記録媒体が挙げられる。また、補助記憶装置102の一例としては、HDD(Hard Disk Drive)又はフラッシュメモリ等が挙げられる。記録媒体101及び補助記憶装置102のいずれについても、コンピュータ読み取り可能な記録媒体に相当する。
An example of the
図3は、本発明の実施の形態における入力支援装置のソフトウェア構成例を示す図である。同図において、入力支援装置10は、編集部11、変換部12、及び入力支援部13等を有する。
FIG. 3 is a diagram illustrating a software configuration example of the input support apparatus according to the embodiment of the present invention. In FIG. 1, an
編集部11は、文書データの編集用の画面(以下、「文書編集画面」という。)を表示し、文書編集画面を介して入力される指示に応じ、文書データの表示、生成、及び編集等を行う。編集部11は、例えば、ワープロソフト、表計算ソフト、又はメーラー等のアプリケーションプログラムがCPU104に実行させる処理によって実現される。
The
変換部12は、文書編集画面に入力される文字に関して、例えば、かな漢字変換を行う。日本語以外の言語用の変換部12は、当該言語に応じた変換を行う。変換部12は、例えば、かな漢字変換ソフトのような、IME(Input Method Editor)又はFEP(Front End Processor)等と呼ばれるソフトウェアがCPU104に実行させる処理によって実現される。
The
入力支援部13は、編集部11が表示装置106に表示させる文書編集画面において編集対象とされている文書データに対する文字列の入力の支援等を行う。入力支援部13は、入力支援装置10にインストールされたプログラムが、CPU104に実行させる処理によって実現される。
The
図3において、入力支援部13は、入力監視部130、URL検知部131、文書取得部132、仮辞書生成部133、文例検索部134、文例一覧修正部135、文例一覧表示部136、文例出力部137、誤記修正部138、及び文例登録部139等を含む。入力支援部13は、また、入力文字記憶部14、文例辞書記憶部15、及び仮辞書記憶部16等を利用する。これら各部は、補助記憶装置102、又は入力支援装置10とネットワークを介して接続される記憶装置等を用いて実現可能である。入力文字記憶部14は、メモリ装置103を用いて実現されてもよい。
3, the
入力監視部130は、文書編集画面に対する文字の入力を監視する。入力監視部130は、入力が確定した文字(以下、「確定文字」という。)を、入力文字記憶部14に記憶する。確定文字とは、例えば、変換部12による変換(例えば、かな漢字変換)が確定した文字である。
The
URL検知部131は、文書編集画面に対するURLの入力を検知する。具体的には、URL検知部131は、入力文字記憶部14に記憶されている文字列内からURLを示す文字列を検索する。URLの検索方法は、公知技術に従って行われてもよい。例えば、URL検知部131は、URL形式に当てはまる文字列を、URLとして認識してもよい。
The
文書取得部132は、URL検知部131によって検知されたURLが示す場所に格納されたリソースにアクセスして、Webページを取得する。本実施の形態では、Webページは、Webサーバ装置20から取得される。仮辞書生成部133は、Webページに含まれている文字列から文の構成要素を、形態素解析等によって抽出する。仮辞書生成部133は、抽出された構成要素(以下、「抽出語」という。)が、当該抽出語の読みに対応付けられた辞書データ(以下、「仮辞書」という。)を生成する。生成された仮辞書は、仮辞書記憶部16に記憶される。Webページから抽出される抽出語は、名詞に限定されてもよい。また、読みは、基本的にひらがな又は小文字のアルファベットによって表現される。例えば、抽出語内のカタカナはひらがなに変換され、変換後の文字列が当該抽出語の読みとされる。抽出語内のアルファベットは、全て小文字変換され、変換後の文字列が当該抽出語の読みとされる。なお、抽出語内の漢字のひらがなへの変換には、例えば、変換部12が有している辞書データベースが用いられてもよい。すなわち、当該辞書データベースを利用して、漢字から読みを逆引きすることにより、当該辞書データベースから、漢字に対する読みが取得されてもよい。
The
文例検索部134は、未確定文字(読み)の入力に応じ、入力された未確定文字に合致する読みに対応付けられている文例の一覧(以下、「文例一覧」という。)を文例辞書記憶部15より検索する。文例一覧は、入力された読みの変換候補の一例である。未確定文字とは、変換部12によって変換対象とされた状態の文字であって、かつ、入力が確定されていない文字をいう。文例一覧に含まれる文例は一つであってもよい。文例辞書記憶部15は、文例辞書を記憶する。文例辞書は、読みに対応付けて文例が記録されたデータである。文例の具体例として、一以上の文節又は一以上の文の集合が挙げられる。但し、一つの単語が一つの文例として文例辞書記憶部15に登録されてもよいし、定型文が文例として登録されてもよい。文例辞書には、過去において入力された文章の構成要素も文例として登録される。すなわち、文例辞書の内容は、文章の入力に応じて変化する。
In response to an input of an unconfirmed character (reading), the sentence
文例一覧修正部135は、文例検索部134によって検索された文例一覧の内容を変更又は修正する。変更又は修正の一例として、入力された読みに対応付けられて仮辞書に含まれている抽出語を文例一覧へ追加することが挙げられる。また、文例一覧に含まれている文例において、仮辞書に登録されている抽出語と類似する範囲を、当該抽出語によって置換することも文例一覧の変更又は修正に該当する。
The sentence example
文例一覧表示部136は、文例一覧を、文書編集画面に対する入力候補として表示させる。文例出力部137は、文例一覧の中から選択された文例を、文書編集画面に出力(展開)する。
The sentence example
誤記修正部138は、文書編集画面に入力された文字列において、誤記である可能性の有る範囲を、仮辞書を用いて修正する。文例登録部139は、文書編集画面に対する改行の入力に応じ、改行が入力されるまでに入力文字記憶部14に記憶された文字列から文例を抽出し、当該文例を読みに対応付けて文例辞書に登録する。文字列からの文例の抽出には、例えば、形態素解析等が用いられる。文例に対する読みの生成方法は、抽出語に対する読みの生成方法と同様でよい。
The
以下、入力支援部13が実行する処理手順について説明する。図4は、入力支援部が実行する処理手順の一例を説明するためのフローチャートである。図4の処理は、編集部11が表示装置106に表示させている文書編集画面において、ユーザが、入力装置107を用いて文字列を入力する際に実行される。なお、文書編集画面に対する文字列の入力は、当該文書編修画面において編修対象とされている文書データに対する文字列の入力と等価である。
Hereinafter, a processing procedure executed by the
入力監視部130は、文書編集画面に対する何らかの入力を検知すると(S101でYES)、入力されたのは改行であるか否かを判定する(S102)。入力されたのが改行でない場合(S102でNO)、入力監視部130は、入力されたのは未確定文字であるか否かを判定する(S103)。
When the
未確定文字が入力された場合(S103でYES)、文例検索部134、文例一覧修正部135、及び文例一覧表示部136等は、文例一覧表示処理を実行する(S104)。文例一覧表示処理の実行によって、当該未確定状態の文字列が示す読みに対応する文例の一覧を含む画面(以下、「文例一覧画面」という。)が、表示装置106に表示される。なお、文例一覧に含まれる文例は、入力される未確定文字の増加に応じて、絞り込まれる。
When an unconfirmed character is input (YES in S103), the sentence
文例一覧画面が表示された状態において、文例一覧画面に含まれている文例一覧の中からいずれかの文例が選択されると(S105でYES)、文例出力部137は、選択された文例を、文書編集画面に出力する(S106)。その結果、文書編集画面は、当該文例が入力された状態となる。また、未確定であった1以上の文字は、文例によって置換される。続いて、文例出力部137は、選択された文例を、入力文字記憶部14に追加的に記憶する(S107)。
When any sentence example is selected from the sentence example list included in the sentence example list screen in a state where the sentence example list screen is displayed (YES in S105), the sentence
また、確定指示又はクリップボードからの文字列の貼り付け指示が入力された場合(S108でYES)、入力監視部130は、確定指示に係る文字若しくは文字列、又は貼り付けられた文字列を、入力文字記憶部14に追加的に記憶する(S109)。確定指示とは、未確定文字の確定の指示をいい、例えば、未確定文字が表示されている状態において、リターンキーの押下によって入力される。なお、入力文字記憶部14には、改行が行われるまでに入力された確定文字の集合(文字列)が記憶されることになる。また、コピー&ペースト又はカット&ペースト等によって貼り付けられた文字列も、貼り付けと同時に入力が確定するため、貼り付け指示についても確定指示と同様に扱われる。
When a confirmation instruction or a character string pasting instruction from the clipboard is input (YES in S108), the
一方、文書編集画面に対して改行が入力されると(S102でYES)、URL検知部131は、入力文字記憶部14に記憶されている文字列(以下、「入力文字列」という。)の中から、URLを示す文字列を検索する(S110)。なお、入力文字列は、確定されている文字列である。したがって、この時点において、入力文字列は、文書編集画面において、入力が確定した状態で表示されている。
On the other hand, when a line feed is input on the document editing screen (YES in S102), the
該当する文字列が検索された場合(S111でYES)、仮辞書生成部133は、仮辞書生成処理を実行する(S112)。仮辞書生成処理によって、検索されたURLによって特定されるWebページに基づく仮辞書が生成され、当該仮辞書が仮辞書記憶部16に記憶される。なお、URLを示す文字列が検索されなかった場合(S111でNO)、仮辞書生成処理は実行されない。
When the corresponding character string is searched (YES in S111), the temporary
続いて、誤記修正部138は、誤記修正処理を実行する(S113)。誤記修正処理では、入力文字列中において誤記である可能性の高い文字の修正が、仮辞書を用いて行われる。
Subsequently, the
続いて、文例登録部139は、入力文字列ついて形態素解析等を行うことにより、当該入力文字列から文例を抽出し、抽出された文例を、その読みに対応付けて文例辞書記憶部15に記憶する(S114)。すなわち、入力文字列の全部又は入力文字列の構成要素が文例として文例辞書記憶部15に記憶される。
Subsequently, the sentence
例えば、入力文字列(入力文字記憶部14の記憶内容)が、図5に示す通りである場合、図6に示されるような文例が、文例辞書記憶部15に記憶される。
For example, when the input character string (stored contents of the input character storage unit 14) is as shown in FIG. 5, a sentence example as shown in FIG. 6 is stored in the sentence example
図5は、入力文字列の例を示す図である。図5では、「文例入力ツールのBunreiWRITEが発売された。」という文字列が入力された例が示されている。 FIG. 5 is a diagram illustrating an example of an input character string. FIG. 5 shows an example in which a character string “BunreiWRITE, a sentence example input tool has been released” is input.
図6は、文例辞書記憶部の構成例を示す図である。図6において、文例辞書記憶部15は、文例ごとに、文例ID、読み、及び文例等を記憶する。文例IDは、文例ごとの識別情報であり、例えば、文例登録部139によって自動的に割り当てられる。読みは、文例に対する読みである。文例は、読みに対応付けられている文例である。なお、図6には、便宜上、図5に示した入力文字列から抽出される文例の一部が示されている。例えば、「文例」、「文例入力」、「文例入力ツール」、「発売」、「発売された」といった文例が登録されてもよい。すなわち、文章からの文例の抽出規則は所定のものに限定されない。また、図6では、過去に登録された文例についても、便宜上、省略されている。すなわち、文例辞書記憶部15には、過去に入力された文章から抽出された文例が、累積的に記憶される。また、読みと文例との対応付けは、必ずしも一対一でなくてもよい。なお、本実施の形態では、英文字の読みは、当該英文字の半角小文字とされる。例えば、図6では、「BunreiWrite」の読みは、「bunreiwrite」とされている。但し、英文字の読みは、当該英文字の半角又は全角の大文字とされてもよいし、他の規則に基づいて、英文字の読みが決定されてもよい。
FIG. 6 is a diagram illustrating a configuration example of the sentence example dictionary storage unit. In FIG. 6, the sentence example
続いて、文例登録部139は、入力文字記憶部14の記憶内容をクリアする(S115)。すなわち、入力文字列が、入力文字記憶部14から削除される。
Subsequently, the sentence
なお、図4は、1回の改行が入力されるまでの処理手順を示すものである。したがって、改行後に引き続き文書入力画面に対して文字が入力される場合、ステップS101以降が繰り返される。 FIG. 4 shows a processing procedure until a single line feed is input. Accordingly, when characters are continuously input to the document input screen after a line feed, step S101 and subsequent steps are repeated.
続いて、ステップS112の詳細について説明する。図7は、仮辞書生成処理の処理手順の一例を説明するためのフローチャートである。 Next, details of step S112 will be described. FIG. 7 is a flowchart for explaining an example of the processing procedure of the temporary dictionary generation processing.
ステップS201において、仮辞書生成部133は、URL検知部131によって検索された全てのURLについて、ステップS202〜S205の処理を実行したか否かを判定する。未処理のURLが1以上有る場合、仮辞書生成部133は、未処理のURLのうちの一つを処理対象とする。以下、処理対象とされたURLを「対象URL」という。
In step S <b> 201, the temporary
続いて、仮辞書生成部133は、対象URLが示すWebページを、Webサーバ装置20から取得する(S202)。例えば、仮辞書生成部133は、対象URL宛に対してWebページの取得要求を送信すると、対象URL宛に係るWebサーバ装置20から、対象URLに基づいて特定されるWebページが返信される。ここでは、図8に示されるようなWebページが取得されたこととする。
Subsequently, the temporary
図8は、Webページの一例を示す図である。図8では、「Bunreiwrite」という製品を紹介するWebページが取得された例が示されている。 FIG. 8 is a diagram illustrating an example of a Web page. FIG. 8 shows an example in which a Web page introducing a product “Bunrewrite” is acquired.
続いて、仮辞書生成部133は、Webページから抽出語を抽出する(又はWebページに含まれる文章等を抽出語に分解する)(S204)。Webページからの抽出語の抽出方法は、文章から文例の抽出方法と同様であってもよい。または、抽出語としての抽出対象は、単語(特に、名詞)に限定されてもよい。本実施の形態では、抽出語としての抽出対象は、名詞に限定される例について説明する。続いて、仮辞書生成部133は、抽出語及び当該抽出語の読みが対応付けられた仮辞書を、仮辞書記憶部16に記憶する(S205)。
Subsequently, the temporary
図9は、仮辞書記憶部の構成例を示す図である。図9において、仮辞書記憶部16は、抽出語ごとに、エディタID、読み、及び抽出語等を記憶する。エディタIDは、対象URLが入力された文書編集画面の識別情報である。例えば、文書編集画面のウィンドウの識別情報が、エディタIDとされてもよい。また、同一文書について、複数のウィンドウを開くことが可能であれば、文書編集画面において編集されているファイルのパス名が、エディタIDとされてもよい。エディタIDの用途については後述される。読みは、抽出語の読みである。抽出語の読みの生成方法は、文例辞書に登録される文例の読みの生成方法と同様でもよい。
FIG. 9 is a diagram illustrating a configuration example of the temporary dictionary storage unit. In FIG. 9, the temporary
ステップS202〜S205が、検索された全てのURLについて実行されると(S201でYES)、図7の処理は終了する。 When steps S202 to S205 are executed for all the searched URLs (YES in S201), the processing in FIG. 7 ends.
続いて、図4のステップS104の詳細について説明する。図10は、文例一覧表示処理の処理手順の一例を説明するためのフローチャートである。 Next, details of step S104 in FIG. 4 will be described. FIG. 10 is a flowchart for explaining an example of the processing procedure of the sentence example list display process.
ステップS301において、文例検索部134は、現時点における1以上の未確定文字(以下、「未確定文字列」という。)が示す読みに対応する文例を文例辞書記憶部15に記憶されている文例辞書より検索する。未確定文字列が示す読みに対応する文例とは、例えば、当該文例に対応する読みが、当該未確定文字列に適合する文例に適合する文例をいう。未確定文字列に適合する読みとは、例えば、当該読みの先頭からの一部又は全部が、未確定文字列に一致する読みをいう。
In step S <b> 301, the sentence
該当する文例が検索された場合(S302でYES)、文例一覧表示部136は、文例一覧画面を生成し、該当する文例を、文例一覧画面にセットする(S303)。
When the corresponding sentence example is searched (YES in S302), the sentence example
続いて、文例一覧修正部135は、文例一覧修正処理を実行する(S304)。文例一覧修正処理において、文例一覧画面に表示される文例一覧の内容が、仮辞書に基づいて変更される。続いて、文例一覧表示部136は、文例一覧画面を表示装置106に表示させる(S305)。
Subsequently, the sentence example
続いて、ステップS304の詳細について説明する。図11は、文例一覧修正処理の処理手順の一例を説明するためのフローチャートである。 Next, details of step S304 will be described. FIG. 11 is a flowchart for explaining an example of the processing procedure of the sentence example list correction process.
ステップS401において、文例一覧修正部135は、現在操作対象とされている(アクティブな)文書編集画面のエディタID(以下、「対象エディタID」という。)を取得する(S401)。エディタIDは、例えば、OS(Operating System)等において用意されているAPI(Application Program Interface)を利用して取得することができる。
In step S401, the sentence example
続いて、文例一覧修正部135は、対象エディタIDを含む仮辞書のレコードを、仮辞書記憶部16から取得する(S402)。すなわち、対象URLが入力された文書編集画面に関して記憶された仮辞書のレコードが取得される。これは、文書編集画面ごとに、編集対象とされている文書が異なることが考えられ、対象URLとは無関係な文書編集画面に対して、対象URLに基づく仮辞書を適用することについて、妥当性又は有効性が乏しいと考えられるからである。
Subsequently, the sentence example
1以上のレコード(以下、「対象レコード」という。)が取得された場合(S403でYES)、文例一覧修正部135は、文例一覧画面にセットされている各文例において、いずれかの対象レコードに含まれている抽出語と所定の関係を有する範囲を、当該抽出語によって置換する(S404)。当該範囲は、文例の全部又は一部である。また、所定の関係を有する範囲の一例として、いずれかの対象レコードに含まれている抽出語と類似する範囲が挙げられる。抽出語との類似の判定において、例えば、ひらがなとカタカナとの違い、半角と全角との違い、大文字と小文字との違いは、類似する範囲と判定されてもよい。また、公知の文字列の比較技術等に基づいて行われてもよい。例えば、所定の方法で算出される類似度が所定値以上である範囲が、類似する範囲と判定されてもよい。
When one or more records (hereinafter referred to as “target records”) are acquired (YES in S403), the sentence example
または、各文例の読みにおいて、いずれかの対象レコードに含まれている抽出語の読みに一致又は類似する範囲が有るか否かが判定されてもよい。抽出語の読みに一致又は類似する範囲を含む読みに対応する文例については、当該一致する読みの範囲に対応する文例の範囲が、当該抽出語によって置換される。 Alternatively, in reading each sentence example, it may be determined whether or not there is a range that matches or is similar to the reading of the extracted word included in any target record. For the sentence example corresponding to the reading including the range that matches or is similar to the reading of the extracted word, the range of the sentence example corresponding to the matching reading range is replaced by the extracted word.
続いて、文例一覧修正部135は、対象レコードの中から、現時点における未確定文字によって示される読みに対応する抽出語を検索する(S405)。読みに対応する抽出語の意味は、ステップS301における読みに対応する文例の意味と同様でよい。該当する抽出語(以下、「対象抽出語」という。)が検索された場合(S406でYES)、文例一覧修正部135は、対象抽出語を、文例一覧画面に追加的にセットする(S407)。すなわち、対象抽出語が、文例一覧画面における一つの選択肢として、文例一覧画面に追加される。但し、対象抽出語と同一の文例が既に文例一覧画面にセットされている場合、対象抽出語は文例一覧画面にセットされなくてもよい。なお、抽出語は、文例と異なる態様で表示されるように、文例一覧画面にセットされてもよい。
Next, the sentence example
上記の通り、本実施の形態において、文例一覧の変更とは、文例の全部又は一部を抽出語によって置換すること、及び文例一覧画面に対して対象抽出語の追加することである。但し、いずれか一方のみが行われてもよい。 As described above, in the present embodiment, changing the sentence example list means replacing all or part of the sentence examples with extracted words and adding the target extracted words to the sentence example list screen. However, only one of them may be performed.
図10及び図11の処理の意義について、具体的に説明する。図12は、文書編集画面に対する入力例を示す図である。 The significance of the processing of FIGS. 10 and 11 will be specifically described. FIG. 12 is a diagram showing an input example on the document editing screen.
図12において、文書編集画面W1には、URL511が入力され、改行された後、「ぶん」という未確定文字列が入力された状態が示されている。ここで、URL511が示すWebページは、図8に示した通りであるとする。したがって、URL511が入力され、改行された時点において、図9に示される仮辞書が生成されている。また、文例辞書記憶部15の内容は、図6の通りであるとする。
In FIG. 12, the document editing screen W1 shows a state in which the
この場合、「ぶん」の入力に応じて、図10において説明した処理が実行され、読みが「ぶん」で開始される文例が文例辞書記憶部15から検索される。図6によれば、「文例入力ツール」及び「文例入力ツールのBunreiWRITE」等が検索される。したがって、これらの文例が、文例一覧画面512にセットされる。但し、図11のステップS404において、「文例入力ツールのBunreiWRITE」のうちの「BunreiWRITE」の範囲(部分)は、図9における抽出語のうちの「Bunrewrite」によって置換される。ここで、「Bunrewrite」は、当該名称に係る製品に関するWebページから抽出された単語である。したがって、その綴りが正しい可能性は高いと考えられる。一方、「BunreiWRITE」の方は、過去においてユーザによって入力された文字列であり、その綴りが正しい可能性は、当該Webページに比較すると低いと考えられる。そこで、ステップS404においては、文例の一部又は全部が、当該一部又は全部に類似する抽出語によって置換されるのである。
In this case, the processing described in FIG. 10 is executed in response to the input of “bun”, and a sentence example starting with “bun” is retrieved from the sentence example
また、図11のステップS407によって、仮辞書に登録されている抽出語のうち、読みが「ぶん」で開始される「ブンレイライト」及び「ブンライ」が、文例一覧画面512に追加される。ユーザは、これらの抽出語を文例として利用することにより、製品に関する単語を正しい綴りで入力することができる。
In addition, in step S407 of FIG. 11, among the extracted words registered in the temporary dictionary, “bun rei light” and “bun rai” starting with “bun” are added to the sentence
このように、本実施の形態では、或る事項について説明する文書を作成する際に、当該事項に関する情報が記載されているWebページのURLが当該文書に記載されることが有るという事情に鑑みて、当該Webページから単語等が抽出される。抽出された単語によって、文例の修正又は文例の追加等が行われる。換言すれば、本実施の形態によれば、或る事項に関する文書を作成する際に、当該事項に関する情報が記載されているWebページのURLを記載しておけば、ユーザは、仮辞書に基づく入力補助を享受することができる。 As described above, in the present embodiment, when a document that explains a certain matter is created, a URL of a Web page that describes information about the matter may be described in the document. Thus, a word or the like is extracted from the Web page. Depending on the extracted word, the sentence example is corrected or the sentence example is added. In other words, according to the present embodiment, when a document related to a matter is created, if the URL of the Web page on which the information related to the matter is described, the user is based on the temporary dictionary. Input assistance can be enjoyed.
なお、或る文例の一つの範囲に対して置換候補となる(すなわち、当該範囲に類似する)抽出語が複数存在する場合は、例えば、文例一覧修正部135は、置換候補の一覧を含む画面を表示させてもよい。当該一覧の中から選択された抽出語によって、当該範囲が置換されてもよい。
When there are a plurality of extracted words that are replacement candidates (that is, similar to the range) for one range of a certain sentence example, for example, the sentence
また、置換候補の数に拘わらず、置換の要否を問い合わせる画面が表示されてもよい。ユーザによって置換が必要であることを示す入力が行われた場合に、置換が行われるようにしてもよい。 A screen for inquiring whether or not replacement is necessary may be displayed regardless of the number of replacement candidates. The replacement may be performed when the user inputs that the replacement is necessary.
続いて、図4のステップS113の詳細について説明する。図13は、誤記修正処理の処理手順の一例を説明するためのフローチャートである。 Next, details of step S113 in FIG. 4 will be described. FIG. 13 is a flowchart for explaining an example of the processing procedure of the error correction process.
ステップS501において、誤記修正部138は、現在操作対象とされている文書編集画面のエディタID(以下、「対象エディタID」という。)を取得する(S501)。続いて、誤記修正部138は、対象エディタIDを含む仮辞書のレコードを、仮辞書記憶部16から取得する(S502)。なお、ステップS501及びS502は、ステップS401及びS402と同様の処理である。
In step S501, the
1以上のレコード(以下、「対象レコード」という。)が取得された場合(S503でYES)、誤記修正部138は、入力文字列(入力文字記憶部14に記憶されている文字列)から、当該入力文字列を構成する単語を抽出する(S504)。単語の抽出は、例えば、形態素解析等を用いて行うことができる。続いて、誤記修正部138は、抽出された1以上の単語の中から、いずれかの対象レコードの抽出語に類似する単語を検索する(S505)。ここでの「類似」の意味は、図11の説明における類似の意味と同様でよい。
When one or more records (hereinafter, referred to as “target records”) are acquired (YES in S503), the
該当する単語が検索された場合(S506でYES)、誤記修正部138は、誤記問い合わせ画面を表示装置106に表示させる(S507)。
When the corresponding word is searched (YES in S506), the
図14は、誤記問い合わせ画面の表示例を示す図である。図14中、図12と同一部分には同一符号を付し、その説明は省略する。 FIG. 14 is a diagram illustrating a display example of an erroneous entry inquiry screen. In FIG. 14, the same parts as those in FIG.
図14では、文書編集画面510において、URL511が入力された後、入力文字列513が入力され、更に、改行が入力された状態が示されている。改行の入力に応じて、入力文字列513に関して、図13の処理が実行される。その結果、「文例入力ツール製品のBunreiWRITEが発売された。」という入力文字列513を構成する単語のうち、「BunreiWRITE」が、仮辞書内の「Bunreiwrite」と類似する単語(以下、「対象単語」という。)であると判定される。そこで、図14の例では、「BunreiWRITE」を「Bunreiwrite」に置換する否かをユーザに問い合わせる誤記問い合わせ画面520が表示されている。
FIG. 14 shows a state where an
誤記問い合わせ画面520において、キャンセルボタン522が押下されると(S508でNO)、ステップS509は実行されずに、図13の処理は終了する。
When the cancel
誤記問い合わせ画面520において、OKボタン521が押下される(すなわち、置換することが選択される)と(S508でYES)、誤記修正部138は、文書編集画面510に表示されている対象単語を、当該対象単語に類似する抽出語によって置換する(S509)。誤記修正部138は、また、入力文字記憶部14に記憶されている対象単語についても、当該抽出語によって置換する。
When the
図15は、誤記の修正後の文書編集画面の表示例を示す図である。図15では、入力文字列513における「BunreiWRITE」が「Bunreiwrite」に置換された例が示されている。
FIG. 15 is a diagram illustrating a display example of the document editing screen after correction of an error. FIG. 15 shows an example in which “BunreiWRITE” in the
なお、置換候補の抽出語が複数存在する場合は、誤記問い合わせ画面520において、複数の抽出語の中から一つの抽出語が選択可能とされてもよい。
When there are a plurality of replacement candidate extracted words, one extracted word may be selectable from the plurality of extracted words on the
このように、本実施の形態によれば、ユーザによって入力された文字列について、誤記の可能性が有る箇所を検知することができ、当該箇所を正しい綴りに修正することができる。なお、誤記問い合わせ画面520が表示されずに、強制的に抽出語への置換が行われてもよい。または、強制的な置換の許否が設定可能とされてもよい。
As described above, according to the present embodiment, it is possible to detect a place where there is a possibility of error in the character string input by the user, and to correct the place to the correct spelling. It should be noted that replacement with the extracted word may be forcibly performed without displaying the
なお、図13に示される誤記の修正機能は、必ずしも、文例の入力機能に併せて実施されなくてもよい。すなわち、誤記の修正機能の実施には、文例辞書は必ずしも必要とはされない。また、誤記の修正対象は、文例辞書に基づいて入力される文例である必要はない。したがって、誤記の修正機能は、文例の入力機能とは独立して実施されてもよい。 Note that the error correction function shown in FIG. 13 does not necessarily have to be implemented in conjunction with the sentence example input function. That is, the sentence example dictionary is not necessarily required to implement the correction function for erroneous entries. In addition, the correction target of the error is not necessarily a sentence example input based on the sentence example dictionary. Accordingly, the error correction function may be implemented independently of the sentence input function.
なお、本実施の形態では、URLが、文書編集画面に入力される文書データの位置情報、すなわち、リソースの場所情報として用いられる例について説明した。但し、URL以外のリソースの場所情報に関して、本実施の形態が適用されてもよい。例えば、共有フォルダに格納されているファイルパス名、データベースに格納されているデータの位置情報等がURLの代わりに用いられてもよい。 In this embodiment, the example in which the URL is used as the position information of the document data input to the document editing screen, that is, the resource location information has been described. However, this embodiment may be applied to the location information of resources other than the URL. For example, a file path name stored in the shared folder, location information of data stored in the database, and the like may be used instead of the URL.
なお、本実施の形態において、文書取得部132は、第一の取得部の一例である。仮辞書生成部133は、第二の取得部及び抽出部の一例である。文例一覧表示部136は、表示部の一例である。仮辞書記憶部16は、第一の記憶部の一例である。文例辞書記憶部15は、第二の記憶部の一例である。誤記修正部138は、置換部の一例である。入力支援装置10は、文字変換装置の一例である。
In the present embodiment, the
以上、本発明の実施例について詳述したが、本発明は斯かる特定の実施形態に限定されるものではなく、特許請求の範囲に記載された本発明の要旨の範囲内において、種々の変形・変更が可能である。 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.
以上の説明に関し、更に以下の項を開示する。
(付記1)
取得した文字列にネットワーク上のリソースの場所情報が含まれる場合に、該場所情報が示す場所に格納されたリソースにアクセスして文書データを取得し、
取得した該文書データを解析して、該文書データに含まれる文の構成要素を抽出し、
抽出した前記構成要素の読みを辞書データベースから取得し、
抽出した前記構成要素と取得した前記読みとを対応づけて第一の記憶部に記憶し、
記憶された前記読みの入力に応じた該読みの変換候補を表示する際に、前記読みと対応づけられて前記第一の記憶部に記憶された前記構成要素を前記変換候補として表示する、
処理をコンピュータに実行させる文字変換プログラム。
(付記2)
読みに対応づけて第二の記憶部に記憶されている文例の中から、入力された読みと対応づけられている文例の一覧を検索し、
検索された文例の一覧を、前記入力された読みと対応づけられて前記第一の記憶部に記憶された前記構成要素を用いて変更する処理を前記コンピュータに実行させ、
前記表示する処理は、変更された文例の一覧を表示する付記1記載の文字変換プログラム。
(付記3)
前記変更する処理は、前記入力された読みに対応づけられて前記第一の記憶部に記憶された前記構成要素を、検索された文例の一覧に対して追加する付記2記載の文字変換プログラム。
(付記4)
前記変更する処理は、検索された文例において、前記第一の記憶部に記憶された前記構成要素のいずれかと所定の関係を有する範囲を、当該いずれかの構成要素によって置換する付記2又は3記載の文字変換プログラム。
(付記5)
前記抽出する処理は、取得した該文書データを解析して、該文書データに含まれる名詞を抽出する付記1乃至4いずれか一項記載の文字変換プログラム。
(付記6)
前記表示する処理は、前記検索する処理によって検索された文例の一覧に対して追加された、前記第一の記憶部に記憶された文の構成要素を、前記検索する処理によって検索された文例とは異なる態様で表示することを特徴とする付記3記載の文字変換プログラム。
(付記7)
取得した文字列にネットワーク上のリソースの場所情報が含まれる場合に、該場所情報が示す場所に格納されたリソースにアクセスして文書データを取得し、
取得した該文書データを解析して、該文書データに含まれる文の構成要素を抽出し、
抽出した前記構成要素の読みを辞書データベースから取得し、
抽出した前記構成要素と取得した前記読みとを対応づけて第一の記憶部に記憶し、
入力された文字列において、前記第一の記憶部に記憶された前記構成要素のいずれかと所定の関係を有する範囲を、当該いずれかの構成要素によって置換する、
処理をコンピュータに実行させる文字変換プログラム。
(付記8)
前記置換する処理は、前記入力された文字列において、前記第一の記憶部に記憶された前記構成要素のいずれかと所定の関係を有する範囲を、当該いずれかの構成要素によって置換するか否かをユーザに選択させ、置換することが選択された場合に、当該範囲を当該構成要素によって置換する付記7記載の文字変換プログラム。
(付記9)
取得した文字列にネットワーク上のリソースの場所情報が含まれる場合に、該場所情報が示す場所に格納されたリソースにアクセスして文書データを取得する第一の取得部と、
取得した該文書データを解析して、該文書データに含まれる文の構成要素を抽出する抽出部と、
抽出した前記構成要素の読みを辞書データベースから取得する第二の取得部と、
抽出した前記構成要素と取得した前記読みとを対応づけて記憶する第一の記憶部と、
記憶された前記読みの入力に応じた該読みの変換候補を表示する際に、前記読みと対応づけられて前記第一の記憶部に記憶された前記構成要素を前記変換候補として表示する表示部と、
を有することを特徴とする文字変換装置。
(付記10)
読みに対応づけて第二の記憶部に記憶されている文例の中から、入力された読みと対応づけられている文例の一覧を検索する検索部と、
検索された文例の一覧を、前記入力された読みと対応づけられて前記第一の記憶部に記憶された前記構成要素を用いて変更する変更部とを有し、
前記表示部は、変更された文例の一覧を表示する付記9記載の文字変換装置。
(付記11)
前記変更部は、前記入力された読みに対応づけられて前記第一の記憶部に記憶された前記構成要素を、検索された文例の一覧に対して追加する付記10記載の文字変換装置。
(付記12)
前記変更部は、検索された文例において、前記第一の記憶部に記憶された前記構成要素のいずれかと所定の関係を有する範囲を、当該いずれかの構成要素によって置換する付記10又は11記載の文字変換装置。
(付記13)
前記抽出部は、取得した該文書データを解析して、該文書データに含まれる名詞を抽出する付記9乃至12いずれか一項記載の文字変換装置。
(付記14)
前記表示部は、前記検索する処理によって検索された文例の一覧に対して追加された、前記第一の記憶部に記憶された文の構成要素を、前記検索する処理によって検索された文例とは異なる態様で表示することを特徴とする付記11記載の文字変換装置。
(付記15)
取得した文字列にネットワーク上のリソースの場所情報が含まれる場合に、該場所情報が示す場所に格納されたリソースにアクセスして文書データを取得する第一の取得部と、
取得した該文書データを解析して、該文書データに含まれる文の構成要素を抽出する抽出部と、
抽出した前記構成要素の読みを辞書データベースから取得する第二の取得部と、
抽出した前記構成要素と取得した前記読みとを対応づけて記憶する第一の記憶部と、
入力された文字列において、前記第一の記憶部に記憶された前記構成要素のいずれかと所定の関係を有する範囲を、当該いずれかの構成要素によって置換する置換部と、
を有することを特徴とする文字変換装置。
(付記16)
前記置換部は、前記入力された文字列において、前記第一の記憶部に記憶された前記構成要素のいずれかと所定の関係を有する範囲を、当該いずれかの構成要素によって置換するか否かをユーザに選択させ、置換することが選択された場合に、当該範囲を当該構成要素によって置換する付記15記載の文字変換装置。
(付記17)
取得した文字列にネットワーク上のリソースの場所情報が含まれる場合に、該場所情報が示す場所に格納されたリソースにアクセスして文書データを取得し、
取得した該文書データを解析して、該文書データに含まれる文の構成要素を抽出し、
抽出した前記構成要素の読みを辞書データベースから取得し、
抽出した前記構成要素と取得した前記読みとを対応づけて第一の記憶部に記憶し、
記憶された前記読みの入力に応じた該読みの変換候補を表示する際に、前記読みと対応づけられて前記第一の記憶部に記憶された前記構成要素を前記変換候補として表示する、
処理をコンピュータが実行する文字変換方法。
(付記18)
読みに対応づけて第二の記憶部に記憶されている文例の中から、入力された読みと対応づけられている文例の一覧を検索し、
検索された文例の一覧を、前記入力された読みと対応づけられて前記第一の記憶部に記憶された前記構成要素を用いて変更する処理を前記コンピュータが実行し、
前記表示する処理は、変更された文例の一覧を表示する付記17記載の文字変換方法。
(付記19)
前記変更する処理は、前記入力された読みに対応づけられて前記第一の記憶部に記憶された前記構成要素を、検索された文例の一覧に対して追加する付記18記載の文字変換方法。
(付記20)
前記変更する処理は、検索された文例において、前記第一の記憶部に記憶された前記構成要素のいずれかと所定の関係を有する範囲を、当該いずれかの構成要素によって置換する付記18又は19記載の文字変換方法。
(付記21)
前記抽出する処理は、取得した該文書データを解析して、該文書データに含まれる名詞を抽出する付記17乃至20いずれか一項記載の文例変換方法。
(付記22)
前記表示する処理は、前記検索する処理によって検索された文例の一覧に対して追加された、前記第一の記憶部に記憶された文の構成要素を、前記検索する処理によって検索された文例とは異なる態様で表示することを特徴とする付記19記載の文字変換方法。
(付記23)
取得した文字列にネットワーク上のリソースの場所情報が含まれる場合に、該場所情報が示す場所に格納されたリソースにアクセスして文書データを取得し、
取得した該文書データを解析して、該文書データに含まれる文の構成要素を抽出し、
抽出した前記構成要素の読みを辞書データベースから取得し、
抽出した前記構成要素と取得した前記読みとを対応づけて第一の記憶部に記憶し、
入力された文字列において、前記第一の記憶部に記憶された前記構成要素のいずれかと所定の関係を有する範囲を、当該いずれかの構成要素によって置換する、
処理をコンピュータが実行する文字変換方法。
(付記24)
前記置換する処理は、前記入力された文字列において、前記第一の記憶部に記憶された前記構成要素のいずれかと所定の関係を有する範囲を、当該いずれかの構成要素によって置換するか否かをユーザに選択させ、置換することが選択された場合に、当該範囲を当該構成要素によって置換する付記23記載の文字変換方法。
Regarding the above description, the following items are further disclosed.
(Appendix 1)
When the location information of the resource on the network is included in the acquired character string, the document data is acquired by accessing the resource stored in the location indicated by the location information,
Analyzing the acquired document data, extracting constituent elements of a sentence included in the document data,
Get the extracted reading of the component from the dictionary database,
The extracted component and the acquired reading are associated with each other and stored in the first storage unit,
When displaying the conversion candidate of the reading corresponding to the input of the stored reading, the component that is associated with the reading and stored in the first storage unit is displayed as the conversion candidate.
A character conversion program that causes a computer to execute processing.
(Appendix 2)
Search the list of sentence examples associated with the input reading from the sentence examples stored in the second storage unit in association with the reading,
Causing the computer to execute a process for changing a list of retrieved sentence examples using the components stored in the first storage unit in association with the input reading;
The character conversion program according to supplementary note 1, wherein the displaying process displays a list of changed sentence examples.
(Appendix 3)
The character conversion program according to supplementary note 2, wherein the changing process adds the constituent element associated with the input reading and stored in the first storage unit to a list of searched sentence examples.
(Appendix 4)
Additional processing 2 or 3 in which the process of changing replaces a range having a predetermined relationship with any of the constituent elements stored in the first storage unit in the retrieved sentence example by any of the constituent elements. Character conversion program.
(Appendix 5)
The character conversion program according to any one of appendices 1 to 4, wherein the extracting process analyzes the acquired document data and extracts nouns included in the document data.
(Appendix 6)
The displaying process includes a sentence example searched by the searching process for a sentence component stored in the first storage unit added to the list of sentence examples searched by the searching process. The character conversion program according to appendix 3, characterized in that is displayed in a different manner.
(Appendix 7)
When the location information of the resource on the network is included in the acquired character string, the document data is acquired by accessing the resource stored in the location indicated by the location information,
Analyzing the acquired document data, extracting constituent elements of a sentence included in the document data,
Get the extracted reading of the component from the dictionary database,
The extracted component and the acquired reading are associated with each other and stored in the first storage unit,
In the input character string, a range having a predetermined relationship with any of the components stored in the first storage unit is replaced with any of the components.
A character conversion program that causes a computer to execute processing.
(Appendix 8)
Whether or not the replacement process replaces a range having a predetermined relationship with any one of the components stored in the first storage unit in the input character string by using any of the components. The character conversion program according to appendix 7, wherein the range is replaced by the component when the user selects and replaces the selected range.
(Appendix 9)
A first acquisition unit that acquires document data by accessing a resource stored in a location indicated by the location information when the acquired character string includes location information of a resource on the network;
An extraction unit that analyzes the acquired document data and extracts constituent elements of a sentence included in the document data;
A second acquisition unit for acquiring a reading of the extracted component from a dictionary database;
A first storage unit that stores the extracted component and the acquired reading in association with each other;
A display unit that displays the constituent elements associated with the readings and stored in the first storage unit as the conversion candidates when displaying the conversion candidates for the readings according to the stored input of the readings. When,
A character conversion device comprising:
(Appendix 10)
A search unit for searching a list of sentence examples associated with the input reading from among sentence examples stored in the second storage unit in association with the reading;
A change unit that changes a list of retrieved sentence examples using the components stored in the first storage unit in association with the input reading;
The character conversion device according to appendix 9, wherein the display unit displays a list of changed sentence examples.
(Appendix 11)
The character conversion device according to
(Appendix 12)
12. The
(Appendix 13)
The character conversion device according to any one of appendices 9 to 12, wherein the extraction unit analyzes the acquired document data and extracts nouns included in the document data.
(Appendix 14)
The display unit is added to the list of sentence examples searched by the searching process, and the sentence examples stored by the first storage unit are searched for by the searching process. The character conversion device according to
(Appendix 15)
A first acquisition unit that acquires document data by accessing a resource stored in a location indicated by the location information when the acquired character string includes location information of a resource on the network;
An extraction unit that analyzes the acquired document data and extracts constituent elements of a sentence included in the document data;
A second acquisition unit for acquiring a reading of the extracted component from a dictionary database;
A first storage unit that stores the extracted component and the acquired reading in association with each other;
In the input character string, a replacement unit that replaces a range having a predetermined relationship with any of the components stored in the first storage unit by any of the components,
A character conversion device comprising:
(Appendix 16)
Whether the replacement unit replaces a range having a predetermined relationship with any one of the components stored in the first storage unit with any one of the components in the input character string. The character conversion device according to
(Appendix 17)
When the location information of the resource on the network is included in the acquired character string, the document data is acquired by accessing the resource stored in the location indicated by the location information,
Analyzing the acquired document data, extracting constituent elements of a sentence included in the document data,
Get the extracted reading of the component from the dictionary database,
The extracted component and the acquired reading are associated with each other and stored in the first storage unit,
When displaying the conversion candidate of the reading corresponding to the input of the stored reading, the component that is associated with the reading and stored in the first storage unit is displayed as the conversion candidate.
A character conversion method in which processing is performed by a computer.
(Appendix 18)
Search the list of sentence examples associated with the input reading from the sentence examples stored in the second storage unit in association with the reading,
The computer executes a process of changing a list of retrieved sentence examples using the components stored in the first storage unit in association with the input reading,
The character conversion method according to appendix 17, wherein the displaying process displays a list of changed sentence examples.
(Appendix 19)
The character conversion method according to appendix 18, wherein the changing process includes adding the constituent element associated with the input reading and stored in the first storage unit to a list of searched sentence examples.
(Appendix 20)
The appendix 18 or 19, wherein the changing process replaces a range having a predetermined relationship with any one of the components stored in the first storage unit in the retrieved sentence example by any one of the components. Character conversion method.
(Appendix 21)
The sentence conversion method according to any one of appendices 17 to 20, wherein the extracting process analyzes the acquired document data and extracts nouns included in the document data.
(Appendix 22)
The displaying process includes a sentence example searched by the searching process for a sentence component stored in the first storage unit added to the list of sentence examples searched by the searching process. The character conversion method according to appendix 19, wherein the characters are displayed in different modes.
(Appendix 23)
When the location information of the resource on the network is included in the acquired character string, the document data is acquired by accessing the resource stored in the location indicated by the location information,
Analyzing the acquired document data, extracting constituent elements of a sentence included in the document data,
Get the extracted reading of the component from the dictionary database,
The extracted component and the acquired reading are associated with each other and stored in the first storage unit,
In the input character string, a range having a predetermined relationship with any of the components stored in the first storage unit is replaced with any of the components.
A character conversion method in which processing is performed by a computer.
(Appendix 24)
Whether or not the replacement process replaces a range having a predetermined relationship with any one of the components stored in the first storage unit in the input character string by using any of the components. The character conversion method according to supplementary note 23, wherein the range is replaced with the component when the user selects and replaces the selected range.
10 入力支援装置
11 編集部
12 変換部
13 入力支援部
14 入力文字記憶部
15 文例辞書記憶部
16 仮辞書記憶部
20 Webサーバ装置
100 ドライブ装置
101 記録媒体
102 補助記憶装置
103 メモリ装置
104 CPU
105 インタフェース装置
106 表示装置
107 入力装置
130 入力監視部
131 URL検知部
132 文書取得部
133 仮辞書生成部
134 文例検索部
135 文例一覧修正部
136 文例一覧表示部
137 文例出力部
138 誤記修正部
139 文例登録部
B バス
DESCRIPTION OF
105
Claims (10)
取得した該文書データを解析して、該文書データに含まれる文の構成要素を抽出し、
抽出した前記構成要素の読みを辞書データベースから取得し、
抽出した前記構成要素と取得した前記読みとを対応づけて第一の記憶部に記憶し、
記憶された前記読みの入力に応じた該読みの変換候補を表示する際に、前記読みと対応づけられて前記第一の記憶部に記憶された前記構成要素を前記変換候補として表示する、
処理をコンピュータに実行させる文字変換プログラム。 When the location information of the resource on the network is included in the acquired character string, the document data is acquired by accessing the resource stored in the location indicated by the location information,
Analyzing the acquired document data, extracting constituent elements of a sentence included in the document data,
Get the extracted reading of the component from the dictionary database,
The extracted component and the acquired reading are associated with each other and stored in the first storage unit,
When displaying the conversion candidate of the reading corresponding to the input of the stored reading, the component that is associated with the reading and stored in the first storage unit is displayed as the conversion candidate.
A character conversion program that causes a computer to execute processing.
検索された文例の一覧を、前記入力された読みと対応づけられて前記第一の記憶部に記憶された前記構成要素を用いて変更する処理を前記コンピュータに実行させ、
前記表示する処理は、変更された文例の一覧を表示する請求項1記載の文字変換プログラム。 Search the list of sentence examples associated with the input reading from the sentence examples stored in the second storage unit in association with the reading,
Causing the computer to execute a process for changing a list of retrieved sentence examples using the components stored in the first storage unit in association with the input reading;
The character conversion program according to claim 1, wherein the displaying process displays a list of changed sentence examples.
取得した該文書データを解析して、該文書データに含まれる文の構成要素を抽出し、
抽出した前記構成要素の読みを辞書データベースから取得し、
抽出した前記構成要素と取得した前記読みとを対応づけて第一の記憶部に記憶し、
入力された文字列において、前記第一の記憶部に記憶された前記構成要素のいずれかと所定の関係を有する範囲を、当該いずれかの構成要素によって置換する、
処理をコンピュータに実行させる文字変換プログラム。 When the location information of the resource on the network is included in the acquired character string, the document data is acquired by accessing the resource stored in the location indicated by the location information,
Analyzing the acquired document data, extracting constituent elements of a sentence included in the document data,
Get the extracted reading of the component from the dictionary database,
The extracted component and the acquired reading are associated with each other and stored in the first storage unit,
In the input character string, a range having a predetermined relationship with any of the components stored in the first storage unit is replaced with any of the components.
A character conversion program that causes a computer to execute processing.
取得した該文書データを解析して、該文書データに含まれる文の構成要素を抽出する抽出部と、
抽出した前記構成要素の読みを辞書データベースから取得する第二の取得部と、
抽出した前記構成要素と取得した前記読みとを対応づけて記憶する第一の記憶部と、
記憶された前記読みの入力に応じた該読みの変換候補を表示する際に、前記読みと対応づけられて前記第一の記憶部に記憶された前記構成要素を前記変換候補として表示する表示部と、
を有することを特徴とする文字変換装置。 A first acquisition unit that acquires document data by accessing a resource stored in a location indicated by the location information when the acquired character string includes location information of a resource on the network;
An extraction unit that analyzes the acquired document data and extracts constituent elements of a sentence included in the document data;
A second acquisition unit for acquiring a reading of the extracted component from a dictionary database;
A first storage unit that stores the extracted component and the acquired reading in association with each other;
A display unit that displays the constituent elements associated with the readings and stored in the first storage unit as the conversion candidates when displaying the conversion candidates for the readings according to the stored input of the readings. When,
A character conversion device comprising:
取得した該文書データを解析して、該文書データに含まれる文の構成要素を抽出する抽出部と、
抽出した前記構成要素の読みを辞書データベースから取得する第二の取得部と、
抽出した前記構成要素と取得した前記読みとを対応づけて記憶する第一の記憶部と、
入力された文字列において、前記第一の記憶部に記憶された前記構成要素のいずれかと所定の関係を有する範囲を、当該いずれかの構成要素によって置換する置換部と、
を有することを特徴とする文字変換装置。 A first acquisition unit that acquires document data by accessing a resource stored in a location indicated by the location information when the acquired character string includes location information of a resource on the network;
An extraction unit that analyzes the acquired document data and extracts constituent elements of a sentence included in the document data;
A second acquisition unit for acquiring a reading of the extracted component from a dictionary database;
A first storage unit that stores the extracted component and the acquired reading in association with each other;
In the input character string, a replacement unit that replaces a range having a predetermined relationship with any of the components stored in the first storage unit by any of the components,
A character conversion device comprising:
取得した該文書データを解析して、該文書データに含まれる文の構成要素を抽出し、
抽出した前記構成要素の読みを辞書データベースから取得し、
抽出した前記構成要素と取得した前記読みとを対応づけて第一の記憶部に記憶し、
記憶された前記読みの入力に応じた該読みの変換候補を表示する際に、前記読みと対応づけられて前記第一の記憶部に記憶された前記構成要素を前記変換候補として表示する、
処理をコンピュータが実行する文字変換方法。 When the location information of the resource on the network is included in the acquired character string, the document data is acquired by accessing the resource stored in the location indicated by the location information,
Analyzing the acquired document data, extracting constituent elements of a sentence included in the document data,
Get the extracted reading of the component from the dictionary database,
The extracted component and the acquired reading are associated with each other and stored in the first storage unit,
When displaying the conversion candidate of the reading corresponding to the input of the stored reading, the component that is associated with the reading and stored in the first storage unit is displayed as the conversion candidate.
A character conversion method in which processing is performed by a computer.
取得した該文書データを解析して、該文書データに含まれる文の構成要素を抽出し、
抽出した前記構成要素の読みを辞書データベースから取得し、
抽出した前記構成要素と取得した前記読みとを対応づけて第一の記憶部に記憶し、
入力された文字列において、前記第一の記憶部に記憶された前記構成要素のいずれかと所定の関係を有する範囲を、当該いずれかの構成要素によって置換する、
処理をコンピュータが実行する文字変換方法。 When the location information of the resource on the network is included in the acquired character string, the document data is acquired by accessing the resource stored in the location indicated by the location information,
Analyzing the acquired document data, extracting constituent elements of a sentence included in the document data,
Get the extracted reading of the component from the dictionary database,
The extracted component and the acquired reading are associated with each other and stored in the first storage unit,
In the input character string, a range having a predetermined relationship with any of the components stored in the first storage unit is replaced with any of the components.
A character conversion method in which processing is performed by a computer.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2013202015A JP2015069334A (en) | 2013-09-27 | 2013-09-27 | Character conversion program, character conversion device, and character conversion method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2013202015A JP2015069334A (en) | 2013-09-27 | 2013-09-27 | Character conversion program, character conversion device, and character conversion method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2015069334A true JP2015069334A (en) | 2015-04-13 |
Family
ID=52835954
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2013202015A Pending JP2015069334A (en) | 2013-09-27 | 2013-09-27 | Character conversion program, character conversion device, and character conversion method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2015069334A (en) |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002056004A (en) * | 2000-08-10 | 2002-02-20 | Ricoh Co Ltd | Document processing method, document processing apparatus, recording medium therefor, and database construction method, database construction apparatus, recording medium therefor |
| JP2004227150A (en) * | 2003-01-21 | 2004-08-12 | Fujitsu Ltd | Character string conversion processing program |
| JP2004287864A (en) * | 2003-03-24 | 2004-10-14 | Fuji Xerox Co Ltd | Message preparation supporting system, message preparation supporting server, message preparation supporting method and message preparation supporting program |
| JP2005099741A (en) * | 2003-09-02 | 2005-04-14 | Gf:Kk | Voice dictionary creation device, voice dictionary creation method and program |
| JP2010535377A (en) * | 2007-08-01 | 2010-11-18 | ジンジャー ソフトウェア、インコーポレイティッド | Automatic correction and improvement of context-sensitive languages using an Internet corpus |
| JP2013149107A (en) * | 2012-01-19 | 2013-08-01 | Fujitsu Ltd | Input support program, input support device, and input support method |
-
2013
- 2013-09-27 JP JP2013202015A patent/JP2015069334A/en active Pending
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002056004A (en) * | 2000-08-10 | 2002-02-20 | Ricoh Co Ltd | Document processing method, document processing apparatus, recording medium therefor, and database construction method, database construction apparatus, recording medium therefor |
| JP2004227150A (en) * | 2003-01-21 | 2004-08-12 | Fujitsu Ltd | Character string conversion processing program |
| JP2004287864A (en) * | 2003-03-24 | 2004-10-14 | Fuji Xerox Co Ltd | Message preparation supporting system, message preparation supporting server, message preparation supporting method and message preparation supporting program |
| JP2005099741A (en) * | 2003-09-02 | 2005-04-14 | Gf:Kk | Voice dictionary creation device, voice dictionary creation method and program |
| JP2010535377A (en) * | 2007-08-01 | 2010-11-18 | ジンジャー ソフトウェア、インコーポレイティッド | Automatic correction and improvement of context-sensitive languages using an Internet corpus |
| JP2013149107A (en) * | 2012-01-19 | 2013-08-01 | Fujitsu Ltd | Input support program, input support device, and input support method |
Non-Patent Citations (1)
| Title |
|---|
| 井上 亮文 外2名: "オンライン講義におけるノートテイク高速化のためのテキスト入力支援システム", マルチメディア,分散,協調とモバイル(DICOMO2007)シンポジウム論文集 情報処理学会シンポジ, vol. 第2007巻第1号, JPN6017008993, 29 June 2007 (2007-06-29), JP, pages 1044 - 1049, ISSN: 0003825676 * |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9959340B2 (en) | Semantic lexicon-based input method editor | |
| JP4502615B2 (en) | Similar sentence search device, similar sentence search method, and program | |
| CN111176650B (en) | Parser generation method, search method, server, and storage medium | |
| EP3356952B1 (en) | Method and system for ideogram character analysis | |
| US8583415B2 (en) | Phonetic search using normalized string | |
| US20250363302A1 (en) | Mapping entities in unstructured text documents via entity correction and entity resolution | |
| JP6003263B2 (en) | Minutes creation support apparatus, minutes creation support system, minutes creation support method, and program | |
| CN113495874A (en) | Information processing apparatus and computer readable medium | |
| JPWO2015075920A1 (en) | Input support apparatus, input support method, and program | |
| US7996768B2 (en) | Operations on document components filtered via text attributes | |
| JP2019057137A (en) | Information processing apparatus and information processing program | |
| JP2022055305A (en) | Text processing method for generating text summarization, apparatus, device, and storage medium | |
| JP6723726B2 (en) | Input support device | |
| JP2015069334A (en) | Character conversion program, character conversion device, and character conversion method | |
| JP2013077084A (en) | Sentence example dictionary generation program and sentence example dictionary generation device | |
| JP5897711B2 (en) | Input support device, input support method, and input support program | |
| US11170182B2 (en) | Braille editing method using error output function, recording medium storing program for executing same, and computer program stored in recording medium for executing same | |
| JP5123350B2 (en) | Test case creation system, method and program | |
| JP6203083B2 (en) | Unknown word extraction device and unknown word extraction method | |
| US20260030436A1 (en) | Information processing method, information processing apparatus, and information processing program | |
| JP2014199476A (en) | Machine translation device, machine translation method and program | |
| US20250103791A1 (en) | Structuring device, structuring method, and structuring program | |
| JP5230664B2 (en) | Similar word search server and method | |
| JP5742454B2 (en) | Input support program, input support apparatus, and input support method | |
| Alam et al. | Improving accessibility of archived raster dictionaries of complex script languages |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20160606 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20170308 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20170321 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20170522 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20171024 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20171213 |
|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20180703 |