[go: up one dir, main page]

JP2015069334A - Character conversion program, character conversion device, and character conversion method - Google Patents

Character conversion program, character conversion device, and character conversion method Download PDF

Info

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
Application number
JP2013202015A
Other languages
Japanese (ja)
Inventor
真史 山田
Masashi Yamada
真史 山田
正博 川崎
Masahiro Kawasaki
正博 川崎
久保田 真木
Maki Kubota
真木 久保田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2013202015A priority Critical patent/JP2015069334A/en
Publication of JP2015069334A publication Critical patent/JP2015069334A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Machine Translation (AREA)
  • Document Processing Apparatus (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce the occurrence of misentry in the case of compiling a document.SOLUTION: A character conversion program is configured to allow a computer to execute processing of: acquiring, when the place information of a resource on a network is included in an acquired character string, document data by performing access to a resource stored in the place indicated by the place information; analyzing the acquired document data to extract the components of a sentence included in the document data; acquiring the reading of the extracted components from a dictionary database; storing the extracted components and the acquired reading in association in a first storage part; and displaying, when displaying the conversion candidates of the reading corresponding to the input of the stored reading, the components stored in association with the reading in the first storage part as the conversion candidates.

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.

特開2008−97405号公報JP 2008-97405 A 特開2004−334630号公報JP 2004-334630 A 特開平10−320389号公報Japanese Patent Laid-Open No. 10-320389

しかしながら、例えば、競合製品に関する報告書等の編修時において、ユーザが、製品名を正確に記憶しておらず、その綴りを誤って入力してしまうことが考えられる。誤記等、誤りを含む文章が入力された場合、文例辞書には、当該誤りを含む文例がそのまま登録されてしまう。そうすると、以降において、同じ誤りを含む文例が繰り返し入力されてしまう可能性が有る。   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.

本発明の実施の形態におけるシステム構成例を示す図である。It is a figure which shows the system configuration example in embodiment of this invention. 本発明の実施の形態における入力支援装置のハードウェア構成例を示す図である。It is a figure which shows the hardware structural example of the input assistance apparatus in embodiment of this invention. 本発明の実施の形態における入力支援装置のソフトウェア構成例を示す図である。It is a figure which shows the software structural example of the input assistance apparatus in embodiment of this invention. 入力支援部が実行する処理手順の一例を説明するためのフローチャートである。It is a flowchart for demonstrating an example of the process sequence which an input assistance part performs. 入力文字列の例を示す図である。It is a figure which shows the example of an input character string. 文例辞書記憶部の構成例を示す図である。It is a figure which shows the structural example of a sentence example dictionary memory | storage part. 仮辞書生成処理の処理手順の一例を説明するためのフローチャートである。It is a flowchart for demonstrating an example of the process sequence of a temporary dictionary production | generation process. Webページの一例を示す図である。It is a figure which shows an example of a web page. 仮辞書記憶部の構成例を示す図である。It is a figure which shows the structural example of a temporary dictionary memory | storage part. 文例一覧表示処理の処理手順の一例を説明するためのフローチャートである。It is a flowchart for demonstrating an example of the process sequence of a sentence example list display process. 文例一覧修正処理の処理手順の一例を説明するためのフローチャートである。It is a flowchart for demonstrating an example of the process sequence of a sentence example list correction process. 文書編集画面に対する入力例を示す図である。It is a figure which shows the example of input with respect to a document edit screen. 誤記修正処理の処理手順の一例を説明するためのフローチャートである。It is a flowchart for demonstrating an example of the process sequence of an error correction process. 誤記問い合わせ画面の表示例を示す図である。It is a figure which shows the example of a display of a misprint inquiry screen. 誤記の修正後の文書編集画面の表示例を示す図である。It is a figure which shows the example of a display of the document edit screen after correction of an error.

以下、図面に基づいて本発明の実施の形態を説明する。図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 input support apparatus 10 is connected to one or more Web server apparatuses 20 through a network such as a LAN (Local Area Network) or the Internet so as to be communicable.

入力支援装置10は、例えば、PC(Personal Computer)、タブレット型端末、スマートフォン、又は携帯電話等である。入力支援装置10は、ユーザによる文章の入力作業の支援を行う。   The input support apparatus 10 is, for example, a PC (Personal Computer), a tablet terminal, a smartphone, a mobile phone, or the like. The input support device 10 assists the user in inputting text.

Webサーバ装置20は、HTML(HyperText Markup Language)形式等のWebページを管理するコンピュータである。Webサーバ装置20は、入力支援装置10から要求されたWebページを、入力支援装置10に返信する。   The web server device 20 is a computer that manages web pages in the HTML (HyperText Markup Language) format or the like. The Web server device 20 returns the Web page requested from the input support device 10 to the input support device 10.

図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 drive device 100, an auxiliary storage device 102, a memory device 103, a CPU 104, an interface device 105, a display device 106, an input device 107, and the like that are mutually connected by a bus B.

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

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

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

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

編集部11は、文書データの編集用の画面(以下、「文書編集画面」という。)を表示し、文書編集画面を介して入力される指示に応じ、文書データの表示、生成、及び編集等を行う。編集部11は、例えば、ワープロソフト、表計算ソフト、又はメーラー等のアプリケーションプログラムがCPU104に実行させる処理によって実現される。   The editing unit 11 displays a screen for editing document data (hereinafter referred to as “document editing screen”), and displays, generates, and edits document data in accordance with an instruction input via the document editing screen. I do. The editing unit 11 is realized, for example, by processing executed by the CPU 104 by an application program such as word processing software, spreadsheet software, or mailer.

変換部12は、文書編集画面に入力される文字に関して、例えば、かな漢字変換を行う。日本語以外の言語用の変換部12は、当該言語に応じた変換を行う。変換部12は、例えば、かな漢字変換ソフトのような、IME(Input Method Editor)又はFEP(Front End Processor)等と呼ばれるソフトウェアがCPU104に実行させる処理によって実現される。   The conversion unit 12 performs, for example, kana-kanji conversion on characters input to the document editing screen. The conversion unit 12 for languages other than Japanese performs conversion according to the language. The conversion unit 12 is realized, for example, by processing executed by the CPU 104 by software called IME (Input Method Editor) or FEP (Front End Processor) such as Kana-Kanji conversion software.

入力支援部13は、編集部11が表示装置106に表示させる文書編集画面において編集対象とされている文書データに対する文字列の入力の支援等を行う。入力支援部13は、入力支援装置10にインストールされたプログラムが、CPU104に実行させる処理によって実現される。   The input support unit 13 supports input of a character string with respect to document data to be edited on a document editing screen displayed on the display device 106 by the editing unit 11. The input support unit 13 is realized by a process executed by the CPU 104 by a program installed in the input support apparatus 10.

図3において、入力支援部13は、入力監視部130、URL検知部131、文書取得部132、仮辞書生成部133、文例検索部134、文例一覧修正部135、文例一覧表示部136、文例出力部137、誤記修正部138、及び文例登録部139等を含む。入力支援部13は、また、入力文字記憶部14、文例辞書記憶部15、及び仮辞書記憶部16等を利用する。これら各部は、補助記憶装置102、又は入力支援装置10とネットワークを介して接続される記憶装置等を用いて実現可能である。入力文字記憶部14は、メモリ装置103を用いて実現されてもよい。   3, the input support unit 13 includes an input monitoring unit 130, a URL detection unit 131, a document acquisition unit 132, a temporary dictionary generation unit 133, a sentence example search unit 134, a sentence example list correction unit 135, a sentence example list display unit 136, and a sentence example output. A part 137, an error correction part 138, a sentence example registration part 139, and the like. The input support unit 13 also uses an input character storage unit 14, a sentence example dictionary storage unit 15, a temporary dictionary storage unit 16, and the like. Each of these units can be realized using the auxiliary storage device 102 or a storage device connected to the input support device 10 via a network. The input character storage unit 14 may be realized using the memory device 103.

入力監視部130は、文書編集画面に対する文字の入力を監視する。入力監視部130は、入力が確定した文字(以下、「確定文字」という。)を、入力文字記憶部14に記憶する。確定文字とは、例えば、変換部12による変換(例えば、かな漢字変換)が確定した文字である。   The input monitoring unit 130 monitors character input on the document editing screen. The input monitoring unit 130 stores a character whose input has been confirmed (hereinafter referred to as “determined character”) in the input character storage unit 14. The fixed character is, for example, a character that has been converted by the conversion unit 12 (for example, kana-kanji conversion).

URL検知部131は、文書編集画面に対するURLの入力を検知する。具体的には、URL検知部131は、入力文字記憶部14に記憶されている文字列内からURLを示す文字列を検索する。URLの検索方法は、公知技術に従って行われてもよい。例えば、URL検知部131は、URL形式に当てはまる文字列を、URLとして認識してもよい。   The URL detection unit 131 detects the input of a URL on the document editing screen. Specifically, the URL detection unit 131 searches for a character string indicating the URL from the character string stored in the input character storage unit 14. The URL search method may be performed according to a known technique. For example, the URL detection unit 131 may recognize a character string that matches the URL format as a URL.

文書取得部132は、URL検知部131によって検知されたURLが示す場所に格納されたリソースにアクセスして、Webページを取得する。本実施の形態では、Webページは、Webサーバ装置20から取得される。仮辞書生成部133は、Webページに含まれている文字列から文の構成要素を、形態素解析等によって抽出する。仮辞書生成部133は、抽出された構成要素(以下、「抽出語」という。)が、当該抽出語の読みに対応付けられた辞書データ(以下、「仮辞書」という。)を生成する。生成された仮辞書は、仮辞書記憶部16に記憶される。Webページから抽出される抽出語は、名詞に限定されてもよい。また、読みは、基本的にひらがな又は小文字のアルファベットによって表現される。例えば、抽出語内のカタカナはひらがなに変換され、変換後の文字列が当該抽出語の読みとされる。抽出語内のアルファベットは、全て小文字変換され、変換後の文字列が当該抽出語の読みとされる。なお、抽出語内の漢字のひらがなへの変換には、例えば、変換部12が有している辞書データベースが用いられてもよい。すなわち、当該辞書データベースを利用して、漢字から読みを逆引きすることにより、当該辞書データベースから、漢字に対する読みが取得されてもよい。   The document acquisition unit 132 accesses a resource stored at a location indicated by the URL detected by the URL detection unit 131 and acquires a Web page. In the present embodiment, the web page is acquired from the web server device 20. The temporary dictionary generation unit 133 extracts sentence components from a character string included in the Web page by morphological analysis or the like. The temporary dictionary generation unit 133 generates dictionary data (hereinafter referred to as “temporary dictionary”) in which the extracted component (hereinafter referred to as “extracted word”) is associated with the reading of the extracted word. The generated temporary dictionary is stored in the temporary dictionary storage unit 16. The extracted words extracted from the web page may be limited to nouns. In addition, readings are basically expressed in hiragana or lower case alphabets. For example, katakana in the extracted word is converted into hiragana, and the converted character string is read as the extracted word. The alphabet in the extracted word is all converted to lower case, and the converted character string is read as the extracted word. For example, a dictionary database possessed by the conversion unit 12 may be used for conversion of kanji in the extracted word into hiragana. That is, readings for kanji characters may be acquired from the dictionary database by reversely reading the kanji characters using the dictionary database.

文例検索部134は、未確定文字(読み)の入力に応じ、入力された未確定文字に合致する読みに対応付けられている文例の一覧(以下、「文例一覧」という。)を文例辞書記憶部15より検索する。文例一覧は、入力された読みの変換候補の一例である。未確定文字とは、変換部12によって変換対象とされた状態の文字であって、かつ、入力が確定されていない文字をいう。文例一覧に含まれる文例は一つであってもよい。文例辞書記憶部15は、文例辞書を記憶する。文例辞書は、読みに対応付けて文例が記録されたデータである。文例の具体例として、一以上の文節又は一以上の文の集合が挙げられる。但し、一つの単語が一つの文例として文例辞書記憶部15に登録されてもよいし、定型文が文例として登録されてもよい。文例辞書には、過去において入力された文章の構成要素も文例として登録される。すなわち、文例辞書の内容は、文章の入力に応じて変化する。   In response to an input of an unconfirmed character (reading), the sentence example search unit 134 stores a list of sentence examples (hereinafter referred to as “sentence list”) associated with a reading that matches the input unconfirmed character. Search from unit 15. The sentence example list is an example of input conversion candidates. An undetermined character is a character that has been converted by the conversion unit 12 and has not yet been confirmed for input. One sentence example may be included in the sentence example list. The sentence example dictionary storage unit 15 stores a sentence example dictionary. The sentence example dictionary is data in which sentence examples are recorded in association with reading. Specific examples of sentence examples include one or more clauses or a set of one or more sentences. However, one word may be registered in the sentence example dictionary storage unit 15 as one sentence example, and a fixed sentence may be registered as a sentence example. In the sentence example dictionary, constituent elements of sentences input in the past are also registered as sentence examples. That is, the contents of the sentence example dictionary change according to the input of the sentence.

文例一覧修正部135は、文例検索部134によって検索された文例一覧の内容を変更又は修正する。変更又は修正の一例として、入力された読みに対応付けられて仮辞書に含まれている抽出語を文例一覧へ追加することが挙げられる。また、文例一覧に含まれている文例において、仮辞書に登録されている抽出語と類似する範囲を、当該抽出語によって置換することも文例一覧の変更又は修正に該当する。   The sentence example list correcting unit 135 changes or corrects the contents of the sentence example list searched by the sentence example searching unit 134. As an example of the change or correction, an extracted word associated with the input reading and included in the temporary dictionary can be added to the sentence example list. Further, in the sentence examples included in the sentence example list, replacing a range similar to the extracted word registered in the temporary dictionary with the extracted word corresponds to the change or correction of the sentence example list.

文例一覧表示部136は、文例一覧を、文書編集画面に対する入力候補として表示させる。文例出力部137は、文例一覧の中から選択された文例を、文書編集画面に出力(展開)する。   The sentence example list display unit 136 displays the sentence example list as input candidates for the document editing screen. The sentence example output unit 137 outputs (expands) a sentence example selected from the sentence example list on the document editing screen.

誤記修正部138は、文書編集画面に入力された文字列において、誤記である可能性の有る範囲を、仮辞書を用いて修正する。文例登録部139は、文書編集画面に対する改行の入力に応じ、改行が入力されるまでに入力文字記憶部14に記憶された文字列から文例を抽出し、当該文例を読みに対応付けて文例辞書に登録する。文字列からの文例の抽出には、例えば、形態素解析等が用いられる。文例に対する読みの生成方法は、抽出語に対する読みの生成方法と同様でよい。   The errant correction unit 138 corrects a range that may be errant in the character string input on the document editing screen, using a temporary dictionary. The sentence example registration unit 139 extracts a sentence example from the character string stored in the input character storage unit 14 until a line break is input in response to the input of a line break on the document editing screen, and associates the sentence example with the reading to determine the sentence example dictionary. Register with. For example, morphological analysis is used to extract a sentence example from a character string. The reading generation method for the sentence example may be the same as the reading generation method for the extracted word.

以下、入力支援部13が実行する処理手順について説明する。図4は、入力支援部が実行する処理手順の一例を説明するためのフローチャートである。図4の処理は、編集部11が表示装置106に表示させている文書編集画面において、ユーザが、入力装置107を用いて文字列を入力する際に実行される。なお、文書編集画面に対する文字列の入力は、当該文書編修画面において編修対象とされている文書データに対する文字列の入力と等価である。   Hereinafter, a processing procedure executed by the input support unit 13 will be described. FIG. 4 is a flowchart for explaining an example of a processing procedure executed by the input support unit. The processing in FIG. 4 is executed when the user inputs a character string using the input device 107 on the document editing screen displayed on the display device 106 by the editing unit 11. Note that the input of a character string to the document editing screen is equivalent to the input of a character string to the document data that is to be edited on the document editing screen.

入力監視部130は、文書編集画面に対する何らかの入力を検知すると(S101でYES)、入力されたのは改行であるか否かを判定する(S102)。入力されたのが改行でない場合(S102でNO)、入力監視部130は、入力されたのは未確定文字であるか否かを判定する(S103)。   When the input monitoring unit 130 detects any input on the document editing screen (YES in S101), the input monitoring unit 130 determines whether or not the input is a line feed (S102). When the input is not a line feed (NO in S102), the input monitoring unit 130 determines whether or not the input is an unconfirmed character (S103).

未確定文字が入力された場合(S103でYES)、文例検索部134、文例一覧修正部135、及び文例一覧表示部136等は、文例一覧表示処理を実行する(S104)。文例一覧表示処理の実行によって、当該未確定状態の文字列が示す読みに対応する文例の一覧を含む画面(以下、「文例一覧画面」という。)が、表示装置106に表示される。なお、文例一覧に含まれる文例は、入力される未確定文字の増加に応じて、絞り込まれる。   When an unconfirmed character is input (YES in S103), the sentence example search unit 134, the sentence example list correction unit 135, the sentence example list display unit 136, and the like execute a sentence example list display process (S104). By executing the sentence example list display process, a screen including a list of sentence examples corresponding to the reading indicated by the character string in the unconfirmed state (hereinafter referred to as “sentence list screen”) is displayed on the display device 106. Note that the sentence examples included in the sentence example list are narrowed down according to an increase in the number of unconfirmed characters that are input.

文例一覧画面が表示された状態において、文例一覧画面に含まれている文例一覧の中からいずれかの文例が選択されると(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 example output unit 137 The data is output to the document editing screen (S106). As a result, the document editing screen is in a state in which the sentence example is input. In addition, one or more characters that have not been confirmed are replaced by sentence examples. Subsequently, the sentence example output unit 137 additionally stores the selected sentence example in the input character storage unit 14 (S107).

また、確定指示又はクリップボードからの文字列の貼り付け指示が入力された場合(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 input monitoring unit 130 inputs a character or a character string related to the confirmation instruction or a pasted character string. It is additionally stored in the character storage unit 14 (S109). The confirmation instruction refers to an instruction to confirm an unconfirmed character, and is input, for example, by pressing the return key in a state where the unconfirmed character is displayed. The input character storage unit 14 stores a set (character string) of confirmed characters that are input before a line feed is made. Also, since the input of a character string pasted by copy & paste or cut & paste is confirmed at the same time as pasting, the pasting instruction is handled in the same manner as the confirmation instruction.

一方、文書編集画面に対して改行が入力されると(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 URL detection unit 131 stores a character string stored in the input character storage unit 14 (hereinafter referred to as “input character string”). A character string indicating the URL is searched from among them (S110). The input character string is a confirmed character string. Therefore, at this time, the input character string is displayed on the document editing screen in a state where the input is confirmed.

該当する文字列が検索された場合(S111でYES)、仮辞書生成部133は、仮辞書生成処理を実行する(S112)。仮辞書生成処理によって、検索されたURLによって特定されるWebページに基づく仮辞書が生成され、当該仮辞書が仮辞書記憶部16に記憶される。なお、URLを示す文字列が検索されなかった場合(S111でNO)、仮辞書生成処理は実行されない。   When the corresponding character string is searched (YES in S111), the temporary dictionary generation unit 133 executes a temporary dictionary generation process (S112). Through the temporary dictionary generation process, a temporary dictionary based on the Web page specified by the searched URL is generated, and the temporary dictionary is stored in the temporary dictionary storage unit 16. If a character string indicating a URL is not searched (NO in S111), the temporary dictionary generation process is not executed.

続いて、誤記修正部138は、誤記修正処理を実行する(S113)。誤記修正処理では、入力文字列中において誤記である可能性の高い文字の修正が、仮辞書を用いて行われる。   Subsequently, the error correction unit 138 executes an error correction process (S113). In the error correction process, correction of a character that is likely to be erroneous in the input character string is performed using a temporary dictionary.

続いて、文例登録部139は、入力文字列ついて形態素解析等を行うことにより、当該入力文字列から文例を抽出し、抽出された文例を、その読みに対応付けて文例辞書記憶部15に記憶する(S114)。すなわち、入力文字列の全部又は入力文字列の構成要素が文例として文例辞書記憶部15に記憶される。   Subsequently, the sentence example registration unit 139 extracts a sentence example from the input character string by performing morphological analysis on the input character string, and stores the extracted sentence example in the sentence example dictionary storage unit 15 in association with the reading. (S114). That is, the entire input character string or the constituent elements of the input character string are stored in the sentence example dictionary storage unit 15 as a sentence example.

例えば、入力文字列(入力文字記憶部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 dictionary storage unit 15.

図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 dictionary storage unit 15 stores a sentence example ID, a reading, a sentence example, and the like for each sentence example. The sentence example ID is identification information for each sentence example, and is automatically assigned by the sentence example registration unit 139, for example. A reading is a reading of a sentence example. A sentence example is a sentence example associated with reading. FIG. 6 shows a part of a sentence example extracted from the input character string shown in FIG. 5 for convenience. For example, sentence examples such as “sentence example”, “sentence example input”, “sentence example input tool”, “release”, and “released” may be registered. That is, the rule for extracting a sentence example from a sentence is not limited to a predetermined rule. In FIG. 6, sentence examples registered in the past are also omitted for convenience. That is, the sentence example dictionary storage unit 15 cumulatively stores sentence examples extracted from sentences input in the past. Further, the correspondence between readings and sentence examples is not necessarily one-to-one. In the present embodiment, the reading of an English character is a single-byte lowercase letter of the English character. For example, in FIG. 6, the reading of “BunreiWrite” is “bunrewrite”. However, the reading of the English character may be a single-byte or full-width capital letter of the English character, or the reading of the English character may be determined based on other rules.

続いて、文例登録部139は、入力文字記憶部14の記憶内容をクリアする(S115)。すなわち、入力文字列が、入力文字記憶部14から削除される。   Subsequently, the sentence example registration unit 139 clears the stored contents of the input character storage unit 14 (S115). That is, the input character string is deleted from the input character storage unit 14.

なお、図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 dictionary generation unit 133 determines whether or not the processing in steps S <b> 202 to S <b> 205 has been executed for all URLs searched by the URL detection unit 131. When there are one or more unprocessed URLs, the temporary dictionary generation unit 133 sets one of the unprocessed URLs as a processing target. Hereinafter, the URL to be processed is referred to as “target URL”.

続いて、仮辞書生成部133は、対象URLが示すWebページを、Webサーバ装置20から取得する(S202)。例えば、仮辞書生成部133は、対象URL宛に対してWebページの取得要求を送信すると、対象URL宛に係るWebサーバ装置20から、対象URLに基づいて特定されるWebページが返信される。ここでは、図8に示されるようなWebページが取得されたこととする。   Subsequently, the temporary dictionary generation unit 133 acquires the Web page indicated by the target URL from the Web server device 20 (S202). For example, when the temporary dictionary generation unit 133 transmits a Web page acquisition request to the target URL, the Web page specified based on the target URL is returned from the Web server device 20 related to the target URL. Here, it is assumed that a Web page as shown in FIG. 8 has been acquired.

図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 dictionary generation unit 133 extracts extracted words from the Web page (or decomposes sentences included in the Web page into extracted words) (S204). The method for extracting extracted words from a Web page may be the same as the method for extracting sentence examples from sentences. Or the extraction object as an extraction word may be limited to a word (especially noun). In the present embodiment, an example in which an extraction target as an extraction word is limited to a noun will be described. Subsequently, the temporary dictionary generation unit 133 stores the temporary dictionary in which the extracted word and the reading of the extracted word are associated with each other in the temporary dictionary storage unit 16 (S205).

図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 dictionary storage unit 16 stores an editor ID, a reading, an extracted word, and the like for each extracted word. The editor ID is identification information of the document editing screen in which the target URL is input. For example, the identification information of the window of the document editing screen may be the editor ID. If a plurality of windows can be opened for the same document, the path name of the file being edited on the document editing screen may be used as the editor ID. The usage of the editor ID will be described later. The reading is a reading of the extracted word. The method of generating the reading of the extracted word may be the same as the method of generating the reading of the sentence example registered in the sentence example dictionary.

ステップ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 example search unit 134 stores a sentence example dictionary stored in the sentence example dictionary storage unit 15 corresponding to the reading indicated by one or more unconfirmed characters (hereinafter referred to as “unconfirmed character string”) at the present time. Search more. The sentence example corresponding to the reading indicated by the undetermined character string is, for example, a sentence example in which the reading corresponding to the sentence example matches the sentence example that matches the undetermined character string. The reading that matches the undetermined character string means, for example, a reading in which a part or all of the reading from the beginning matches the undetermined character string.

該当する文例が検索された場合(S302でYES)、文例一覧表示部136は、文例一覧画面を生成し、該当する文例を、文例一覧画面にセットする(S303)。   When the corresponding sentence example is searched (YES in S302), the sentence example list display unit 136 generates a sentence example list screen and sets the corresponding sentence example on the sentence example list screen (S303).

続いて、文例一覧修正部135は、文例一覧修正処理を実行する(S304)。文例一覧修正処理において、文例一覧画面に表示される文例一覧の内容が、仮辞書に基づいて変更される。続いて、文例一覧表示部136は、文例一覧画面を表示装置106に表示させる(S305)。   Subsequently, the sentence example list correcting unit 135 executes a sentence example list correcting process (S304). In the sentence example list correction process, the contents of the sentence example list displayed on the sentence example list screen are changed based on the temporary dictionary. Subsequently, the sentence example list display unit 136 displays a sentence example list screen on the display device 106 (S305).

続いて、ステップ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 list correcting unit 135 acquires an editor ID (hereinafter referred to as “target editor ID”) of the document editing screen that is currently operated (active) (S401). The editor ID can be acquired using, for example, an API (Application Program Interface) prepared in an OS (Operating System) or the like.

続いて、文例一覧修正部135は、対象エディタIDを含む仮辞書のレコードを、仮辞書記憶部16から取得する(S402)。すなわち、対象URLが入力された文書編集画面に関して記憶された仮辞書のレコードが取得される。これは、文書編集画面ごとに、編集対象とされている文書が異なることが考えられ、対象URLとは無関係な文書編集画面に対して、対象URLに基づく仮辞書を適用することについて、妥当性又は有効性が乏しいと考えられるからである。   Subsequently, the sentence example list correcting unit 135 acquires a temporary dictionary record including the target editor ID from the temporary dictionary storage unit 16 (S402). That is, a temporary dictionary record stored with respect to the document editing screen in which the target URL is input is acquired. This is because the document to be edited is different for each document editing screen, and the validity of applying the temporary dictionary based on the target URL to the document editing screen unrelated to the target URL. Alternatively, it is considered that the effectiveness is poor.

1以上のレコード(以下、「対象レコード」という。)が取得された場合(S403でYES)、文例一覧修正部135は、文例一覧画面にセットされている各文例において、いずれかの対象レコードに含まれている抽出語と所定の関係を有する範囲を、当該抽出語によって置換する(S404)。当該範囲は、文例の全部又は一部である。また、所定の関係を有する範囲の一例として、いずれかの対象レコードに含まれている抽出語と類似する範囲が挙げられる。抽出語との類似の判定において、例えば、ひらがなとカタカナとの違い、半角と全角との違い、大文字と小文字との違いは、類似する範囲と判定されてもよい。また、公知の文字列の比較技術等に基づいて行われてもよい。例えば、所定の方法で算出される類似度が所定値以上である範囲が、類似する範囲と判定されてもよい。   When one or more records (hereinafter referred to as “target records”) are acquired (YES in S403), the sentence example list correcting unit 135 sets any target record in each sentence example set on the sentence example list screen. A range having a predetermined relationship with the included extracted word is replaced with the extracted word (S404). The said range is all or a part of sentence examples. In addition, as an example of a range having a predetermined relationship, a range similar to an extracted word included in any one of the target records can be given. In the similarity determination with the extracted word, for example, a difference between hiragana and katakana, a difference between half-width and full-width, and a difference between uppercase and lowercase letters may be determined as a similar range. Further, it may be performed based on a known character string comparison technique or the like. For example, a range in which the similarity calculated by a predetermined method is a predetermined value or more may be determined as a similar range.

または、各文例の読みにおいて、いずれかの対象レコードに含まれている抽出語の読みに一致又は類似する範囲が有るか否かが判定されてもよい。抽出語の読みに一致又は類似する範囲を含む読みに対応する文例については、当該一致する読みの範囲に対応する文例の範囲が、当該抽出語によって置換される。   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 list correcting unit 135 searches the target record for an extracted word corresponding to the reading indicated by the unconfirmed character at the current time (S405). The meaning of the extracted word corresponding to the reading may be the same as the meaning of the sentence example corresponding to the reading in step S301. When a corresponding extracted word (hereinafter referred to as “target extracted word”) is searched (YES in S406), the sentence example list correcting unit 135 additionally sets the target extracted word on the sentence example list screen (S407). . That is, the target extracted word is added to the sentence example list screen as one option on the sentence example list screen. However, when the same sentence example as the target extracted word is already set on the sentence example list screen, the target extracted word may not be set on the sentence example list screen. The extracted words may be set on the sentence example list screen so that the extracted words are displayed in a different form from the sentence examples.

上記の通り、本実施の形態において、文例一覧の変更とは、文例の全部又は一部を抽出語によって置換すること、及び文例一覧画面に対して対象抽出語の追加することである。但し、いずれか一方のみが行われてもよい。   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 URL 511 is input, a line feed is entered, and an unconfirmed character string “Bun” is input. Here, it is assumed that the Web page indicated by the URL 511 is as shown in FIG. Accordingly, when the URL 511 is input and a line feed is made, the temporary dictionary shown in FIG. 9 is generated. The contents of the sentence example dictionary storage unit 15 are as shown in FIG.

この場合、「ぶん」の入力に応じて、図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 dictionary storage unit 15. According to FIG. 6, “sentence example input tool”, “sentence example input tool BunreiWRITE”, and the like are searched. Accordingly, these sentence examples are set on the sentence example list screen 512. However, in step S404 of FIG. 11, the range (part) of “BunreiWRITE” in “BunreiWRITE of sentence example input tool” is replaced by “Bunrewwrite” of the extracted words in FIG. Here, “Bunrewrite” is a word extracted from a Web page related to the product related to the name. Therefore, the possibility that the spelling is correct is considered high. On the other hand, “BunreiWRITE” is a character string input by the user in the past, and the possibility that the spelling is correct is considered to be lower than that of the Web page. Therefore, in step S404, a part or all of the sentence example is replaced with an extracted word similar to the part or all.

また、図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 example list screen 512. By using these extracted words as sentence examples, the user can input words related to products with correct spelling.

このように、本実施の形態では、或る事項について説明する文書を作成する際に、当該事項に関する情報が記載されている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 list correcting unit 135 displays a screen including a list of replacement candidates. May be displayed. The range may be replaced by an extracted word selected from the list.

また、置換候補の数に拘わらず、置換の要否を問い合わせる画面が表示されてもよい。ユーザによって置換が必要であることを示す入力が行われた場合に、置換が行われるようにしてもよい。   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 error correction unit 138 obtains an editor ID (hereinafter referred to as “target editor ID”) of the document editing screen that is currently the operation target (S501). Subsequently, the error correction unit 138 acquires a temporary dictionary record including the target editor ID from the temporary dictionary storage unit 16 (S502). Note that steps S501 and S502 are the same processes as steps S401 and S402.

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 error correction unit 138 determines from the input character string (character string stored in the input character storage unit 14): Words constituting the input character string are extracted (S504). The extraction of words can be performed using, for example, morphological analysis. Subsequently, the error correction unit 138 searches the extracted one or more words for a word similar to the extracted word of any target record (S505). The meaning of “similar” here may be the same as the similar meaning in the description of FIG. 11.

該当する単語が検索された場合(S506でYES)、誤記修正部138は、誤記問い合わせ画面を表示装置106に表示させる(S507)。   When the corresponding word is searched (YES in S506), the error correction unit 138 displays the error inquiry screen on the display device 106 (S507).

図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 input character string 513 is input after a URL 511 is input and a line feed is further input on the document editing screen 510. The process of FIG. 13 is executed for the input character string 513 in response to the input of a line feed. As a result, among the words constituting the input character string 513, “BunreiWRITE of the sentence example input tool product has been released.”, “BunreiWRITE” is a word similar to “Bunrewrite” in the temporary dictionary (hereinafter “target word”). ").). Accordingly, in the example of FIG. 14, an error inquiry screen 520 for inquiring the user whether to replace “BunreiWRITE” with “Bunrewrite” is displayed.

誤記問い合わせ画面520において、キャンセルボタン522が押下されると(S508でNO)、ステップS509は実行されずに、図13の処理は終了する。   When the cancel button 522 is pressed on the error inquiry screen 520 (NO in S508), step S509 is not executed, and the process in FIG. 13 ends.

誤記問い合わせ画面520において、OKボタン521が押下される(すなわち、置換することが選択される)と(S508でYES)、誤記修正部138は、文書編集画面510に表示されている対象単語を、当該対象単語に類似する抽出語によって置換する(S509)。誤記修正部138は、また、入力文字記憶部14に記憶されている対象単語についても、当該抽出語によって置換する。   When the OK button 521 is pressed on the error inquiry screen 520 (that is, replacement is selected) (YES in S508), the error correction unit 138 changes the target word displayed on the document editing screen 510 to the target word. The extracted word similar to the target word is replaced (S509). The error correction unit 138 also replaces the target word stored in the input character storage unit 14 with the extracted word.

図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 input character string 513 is replaced with “Bunrewrite”.

なお、置換候補の抽出語が複数存在する場合は、誤記問い合わせ画面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 misprint inquiry screen 520.

このように、本実施の形態によれば、ユーザによって入力された文字列について、誤記の可能性が有る箇所を検知することができ、当該箇所を正しい綴りに修正することができる。なお、誤記問い合わせ画面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 error inquiry screen 520. Alternatively, whether or not forced replacement is permitted may be set.

なお、図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 document acquisition unit 132 is an example of a first acquisition unit. The temporary dictionary generation unit 133 is an example of a second acquisition unit and an extraction unit. The sentence example list display unit 136 is an example of a display unit. The temporary dictionary storage unit 16 is an example of a first storage unit. The sentence example dictionary storage unit 15 is an example of a second storage unit. The error correction unit 138 is an example of a replacement unit. The input support device 10 is an example of a character conversion device.

以上、本発明の実施例について詳述したが、本発明は斯かる特定の実施形態に限定されるものではなく、特許請求の範囲に記載された本発明の要旨の範囲内において、種々の変形・変更が可能である。   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 10, wherein the changing unit adds the constituent element associated with the input reading and stored in the first storage unit to a list of searched sentence examples.
(Appendix 12)
12. The supplementary note 10 or 11, wherein the changing unit 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 device.
(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 11, wherein the character conversion device displays the data in different modes.
(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 supplementary note 15, wherein when the user selects and replaces the range, the range is replaced by the component.
(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 SYMBOLS 10 Input support apparatus 11 Editing part 12 Conversion part 13 Input support part 14 Input character storage part 15 Example dictionary storage part 16 Temporary dictionary storage part 20 Web server apparatus 100 Drive apparatus 101 Recording medium 102 Auxiliary storage apparatus 103 Memory apparatus 104 CPU
105 interface device 106 display device 107 input device 130 input monitoring unit 131 URL detection unit 132 document acquisition unit 133 temporary dictionary generation unit 134 example search unit 135 example list correction unit 136 example list display unit 137 example output unit 138 error correction unit 139 example Registration Department B Bus

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.
前記変更する処理は、前記入力された読みに対応づけられて前記第一の記憶部に記憶された前記構成要素を、検索された文例の一覧に対して追加する請求項2記載の文字変換プログラム。   The character conversion program according to claim 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. . 前記変更する処理は、検索された文例において、前記第一の記憶部に記憶された前記構成要素のいずれかと所定の関係を有する範囲を、当該いずれかの構成要素によって置換する請求項2又は3記載の文字変換プログラム。   The process for changing replaces a range having a predetermined relationship with any one of the components stored in the first storage unit by any one of the components in the retrieved sentence example. The character conversion program described. 取得した文字列にネットワーク上のリソースの場所情報が含まれる場合に、該場所情報が示す場所に格納されたリソースにアクセスして文書データを取得し、
取得した該文書データを解析して、該文書データに含まれる文の構成要素を抽出し、
抽出した前記構成要素の読みを辞書データベースから取得し、
抽出した前記構成要素と取得した前記読みとを対応づけて第一の記憶部に記憶し、
入力された文字列において、前記第一の記憶部に記憶された前記構成要素のいずれかと所定の関係を有する範囲を、当該いずれかの構成要素によって置換する、
処理をコンピュータに実行させる文字変換プログラム。
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.
前記置換する処理は、前記入力された文字列において、前記第一の記憶部に記憶された前記構成要素のいずれかと所定の関係を有する範囲を、当該いずれかの構成要素によって置換するか否かをユーザに選択させ、置換することが選択された場合に、当該範囲を当該構成要素によって置換する請求項5記載の文字変換プログラム。   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 claim 5, wherein when the user selects and replaces the range, the range is replaced by the component. 取得した文字列にネットワーク上のリソースの場所情報が含まれる場合に、該場所情報が示す場所に格納されたリソースにアクセスして文書データを取得する第一の取得部と、
取得した該文書データを解析して、該文書データに含まれる文の構成要素を抽出する抽出部と、
抽出した前記構成要素の読みを辞書データベースから取得する第二の取得部と、
抽出した前記構成要素と取得した前記読みとを対応づけて記憶する第一の記憶部と、
記憶された前記読みの入力に応じた該読みの変換候補を表示する際に、前記読みと対応づけられて前記第一の記憶部に記憶された前記構成要素を前記変換候補として表示する表示部と、
を有することを特徴とする文字変換装置。
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.
JP2013202015A 2013-09-27 2013-09-27 Character conversion program, character conversion device, and character conversion method Pending JP2015069334A (en)

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)

* Cited by examiner, † Cited by third party
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

Patent Citations (6)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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