JP2001092821A - Sentence proofreading device and computer-readable recording medium recording sentence proofreading program - Google Patents

Sentence proofreading device and computer-readable recording medium recording sentence proofreading program

Info

Publication number
JP2001092821A
JP2001092821A JP27148199A JP27148199A JP2001092821A JP 2001092821 A JP2001092821 A JP 2001092821A JP 27148199 A JP27148199 A JP 27148199A JP 27148199 A JP27148199 A JP 27148199A JP 2001092821 A JP2001092821 A JP 2001092821A
Authority
JP
Japan
Prior art keywords
word
synonym
occurrence
dictionary
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
JP27148199A
Other languages
Japanese (ja)
Inventor
Takao Kato
隆夫 加藤
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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP27148199A priority Critical patent/JP2001092821A/en
Publication of JP2001092821A publication Critical patent/JP2001092821A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a sentence proofreading device which improves the efficiency of proofreading work by preventing the erroneous correction of the word which is in a cooccurrence relation with a prescribed word when the prescribed word is changed to a near-synonym. SOLUTION: A sentence proofreading device is composed of a well known computer provided with a CPU, a ROM, and a RAM, an input device, a display device, etc. At the time of performing a sentence proofreading process, the device divides an inputted sentence into words by performing morphological analysis and converts an arbitrary original word into a near-synonym by displaying the near-synonym by referring to a near-synonym dictionary (S1). Then the device fetches the original word (S2) and another word in the sentence (S3) and retrieves another word which is in a cooccurrence relation with the original word by referring to a cooccurrence dictionary (S5). When cooccurrence data exist ('YES' in S6), the device retrieves the near- synonym of another word (S7). When the near-synonym exists ('YES' in S8), the device changes the other word to the near-synonym by displaying and selecting the near-synonym (S9).

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、文章校正装置に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a sentence correction device.

【0002】[0002]

【従来の技術】入力された文章を校正する文章校正装置
により文章を校正する場合、その文章中の単語、例えば
「席」という単語を同義語に置き換えたい場合がある。
そのため予めシステムに類義語辞書を準備しておき、特
定の単語と類義語の関係にある単語、例えば「座席」、
「椅子」、「シート」等を置き換えの候補として表示
し、ここからユーザーに所望の単語を選択させて置き換
えるようにしたものがある。このような類義語辞書を備
えた文章校正装置であれば、いちいち辞書を手元で調べ
たり、別途類義語辞書を起動して検索する必要がなく文
章校正を円滑に行うことができる。日本語の文章中に
は、単語同士密接な関係があるものがある。例えば「席
をウツス」、「写真をウツス」、「映画をウツス」の場
合、同じ「ウツス」という発音であっても意味は異な
り、これらに用いられる漢字は、それぞれ「席を移
す」、「写真を写す(撮す)」、「映画を映す」のよう
に使い分けられる。ほかにも「愛鳥シュウカン」という
場合は、「週刊」「週間」「習慣」等のうち、「週間」
を用いて「愛鳥週間」と表記する。このような特定の単
語と、これに密接な関係がある単語を、共起関係がある
といい、このような共起関係にある単語の組み合わせを
共起辞書として格納しておき仮名漢字変換の際に用いる
ことにより、正確な仮名漢字変換ができるものがあっ
た。文章の校正中に単語を類義語に変換した場合、例え
ば「席を移す。」という文のうち、「席」を「座席」と
した場合、「座席を移す。」としても意味は通じるが、
和語を用いた「席を移す。」の「席」を、漢語である
「座席」としたときは、「席」と密接な関係にある「移
す」を「移動する」という漢語にして「座席を移動す
る。」という文にした方が、文としてのバランスが良く
なるような場合がある。
2. Description of the Related Art When proofreading a sentence using a sentence proofreading device that proofreads an input sentence, it is sometimes desired to replace a word in the sentence, for example, the word "seat" with a synonym.
Therefore, a synonym dictionary is prepared in the system in advance, and words having a relation between a specific word and a synonym, for example, “seat”,
In some cases, "chairs", "seats", and the like are displayed as replacement candidates, and the user is allowed to select a desired word and replace them. With a sentence proofreading device equipped with such a synonym dictionary, there is no need to check the dictionary at hand or start a separate synonym dictionary separately to perform a search, so that the sentence proofreading can be performed smoothly. Some Japanese sentences have a close relationship between words. For example, in the case of "Utsusu to seat", "Utsusu to photograph", and "Utsusu to movie", even if the pronunciation is the same "Utsusu", the meanings are different, and the kanji used for these are "Transfer seat" and " It can be used as "take a picture" or "show a movie". In addition, if you refer to “Atori Shukan”, “weekly”, “weekly”, “customs”, etc.
And "Atori Week". Such a specific word and a word closely related to it are said to have a co-occurrence relationship, and a combination of words having such a co-occurrence relationship is stored as a co-occurrence dictionary, and the kana-kanji conversion In some cases, accurate kana-kanji conversion can be performed by using this function. When the word is converted to a synonym during the proofreading of the sentence, for example, in the sentence "Transfer the seat.", If "Seat" is replaced by "Seat", the meaning is also understood as "Transfer the seat."
When the “seat” of “transfer seats” in Japanese is replaced with the Chinese word “seat”, “transfer”, which is closely related to “seat”, is converted to the Chinese word “move” and “ In some cases, the sentence "Move your seat."

【0003】[0003]

【発明が解決しようとする課題】しかしながら、このよ
うな共起関係にある複数の単語は、文中に散らばって存
在することがあり、「席」を「座席」と変更したとき
に、離れた位置にある「移す」を発見し、これを「移
動」に変更するのは煩雑であり、校正者に負担を与え校
正作業の能率を低くするという問題があった。さらに、
またこれを見逃し、「移動」に変更し忘れることもあ
り、文としてのバランスを崩してしまい校正作業の品質
を下げてしまうという問題があった。
However, a plurality of words having such a co-occurrence relationship may be scattered in a sentence, and when "seat" is changed to "seat", a plurality of words may be located apart from each other. It is cumbersome to find "move" in the above and change it to "move", which has a problem that a burden is imposed on the proofreader and the efficiency of the proofreading operation is reduced. further,
In addition, there is a problem that the operator may overlook this and forget to change it to “move”, which breaks the balance as a sentence and lowers the quality of the proofreading work.

【0004】この発明は上記課題を解決するものであ
り、所定の単語を類義語に変更した場合に、この単語と
共起関係にある単語の修正ミスを防止し、校正作業の能
率を高めるとともに、校正作業の品質を高めることがで
きる文章校正装置を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention solves the above-mentioned problem. When a predetermined word is changed to a synonym, the correction of a word co-occurring with this word is prevented, and the efficiency of the proofreading operation is improved. An object of the present invention is to provide a sentence proofreading device that can improve the quality of proofreading work.

【0005】併せて、このような文章校正処理をコンピ
ュータに実行させる文章校正処理プログラムを記録した
コンピュータ読取可能な記録媒体を提供することも目的
とする。
Another object of the present invention is to provide a computer-readable recording medium on which a sentence correction processing program for causing a computer to execute such a sentence correction processing is recorded.

【0006】[0006]

【課題を解決するための手段】この目的を達成するため
に、請求項1に係る発明の文章校正装置では、日本語文
章を入力するための入力手段と、情報を表示可能な表示
手段と、単語の表記と品詞情報等を記憶した形態素解析
辞書と、所定の単語についての類義語を記憶した類義語
辞書と、所定の単語と共起関係にある共起語を対応させ
て記憶する共起辞書と、前記入力手段により入力された
日本語文章を前記形態素解析辞書に基づいて単語ごとに
分割する形態素解析手段と、単語を前記類義語辞書を参
照して検索し、当該単語の類義語を抽出する類義語辞書
検索手段と、任意の単語に対して、前記類義語辞書検索
手段によって抽出された類義語を前記表示手段に表示
し、元の単語を前記入力手段により選択された類義語に
置き換える類義語変換手段と、前記類義語に置き換えら
れた前記元の単語が類義語に変換されたとき、当該元の
単語の属する文章中の別の単語について、前記元の単語
と共起関係にある単語を前記共起辞書を参照して検索す
ることにより共起語を抽出する共起辞書検索手段と、前
記共起辞書検索手段により抽出された共起語について前
記類義語辞書を参照し検索して類義語を抽出し、当該抽
出された類義語を前記表示手段に表示し、元の単語の共
起語を前記入力手段により選択された類義語に置き換え
る共起語類義語変換手段を備えることを特徴とする。
In order to achieve this object, a sentence proofreading apparatus according to the first aspect of the present invention provides an input means for inputting Japanese sentences, a display means capable of displaying information, A morphological analysis dictionary that stores word notation and part-of-speech information, a synonym dictionary that stores synonyms for predetermined words, and a co-occurrence dictionary that stores co-occurrence words that are co-occurring with predetermined words. A morphological analysis unit that divides a Japanese sentence input by the input unit for each word based on the morphological analysis dictionary; and a synonym dictionary that searches for words by referring to the synonym dictionary and extracts synonyms of the word. A search means, and a synonym change which replaces an original word with a synonym selected by the input means, displaying a synonym extracted by the synonym dictionary search means for an arbitrary word on the display means. Means, when the original word replaced with the synonym is converted into a synonym, for another word in the sentence to which the original word belongs, co-occurrence of a word having a co-occurrence relationship with the original word A co-occurrence dictionary search unit for extracting a co-occurrence word by searching with reference to a dictionary, and extracting a synonym by referring to the synonym dictionary for the co-occurrence word extracted by the co-occurrence dictionary search unit, The apparatus further comprises a co-occurrence synonym conversion unit that displays the extracted synonyms on the display unit and replaces a co-occurrence word of the original word with a synonym selected by the input unit.

【0007】この構成に係る文章校正装置では、文章の
校正時に任意の単語を類義語に変更したい場合に、類義
語辞書により変更しようとする類義語が表示されるの
で、その表示された類義語を選択するだけで元の単語を
類義語に変更でき、文章の校正作業を容易にできるばか
りでなく、元の単語と密接な関係にある共起語について
も類義語を自動的に表示することにより、元の単語の変
更に伴い密接な関係にある共起語の校正をし忘れること
がない。また、その変更も表示された類義語を選択する
だけでできるため、校正作業が簡易になる。そのため文
章の校正作業の効率を高め、かつ文章のバランスのとれ
た品質の高い校正作業を行うことができる。
In the sentence proofreading apparatus according to this configuration, when an arbitrary word is to be changed to a synonym at the time of proofreading the sentence, the synonym to be changed is displayed by the synonym dictionary, so that only the displayed synonym is selected. Can be used to change the original word to a synonym, which not only facilitates proofreading work, but also automatically displays synonyms for co-occurring words that are closely related to the original word. Never forget to proofread co-occurrence words that are closely related to the change. In addition, since the change can be made only by selecting the displayed synonym, the proofreading operation is simplified. Therefore, the efficiency of the text proofreading operation can be improved, and the text proofreading operation can be performed in a well-balanced and high-quality proofreading operation.

【0008】請求項2に係る発明の文章校正処理プログ
ラムを記録したコンピュータ読取可能な記録媒体では、
単語の表記と品詞情報等を記憶した形態素解析辞書と、
所定の単語についての類義語を記憶した類義語辞書と、
所定の単語と共起関係にある共起語を対応させて記憶す
る共起辞書とを備え、日本語文章を入力するための入力
手段と、情報を表示可能な表示手段とを備え、コンピュ
ータに、前記入力手段により入力された日本語文章を前
記形態素解析辞書に基づいて単語ごとに分割する形態素
解析の手順と、単語を前記類義語辞書を参照して検索
し、当該単語の類義語を抽出する類義語辞書検索の手順
と、任意の単語に対して、前記類義語辞書検索の手順に
よって抽出された類義語を前記表示手段に表示し、元の
単語を前記入力手段により選択された類義語に置き換え
る類義語変換の手順と、前記類義語に置き換えられた前
記元の単語が類義語に変換されたとき、当該元の単語の
属する文章中の別の単語について、前記元の単語と共起
関係にある単語を前記共起辞書を参照して検索すること
により共起語を抽出する共起辞書検索の手順と、前記共
起辞書検索の手順により抽出された共起語について前記
類義語辞書を参照し検索して類義語を抽出し、当該抽出
された類義語を前記表示手段に表示し、元の単語の共起
語を前記入力手段により選択された類義語に置き換える
共起語類義語変換の手順とを実行させることを特徴とす
る。
According to a second aspect of the present invention, there is provided a computer-readable recording medium storing a text proofreading processing program.
A morphological analysis dictionary that stores notation of words and part of speech information,
A synonym dictionary that stores synonyms for a given word;
A co-occurrence dictionary for storing co-occurrence words having a co-occurrence relationship with a predetermined word, including an input unit for inputting a Japanese sentence, and a display unit capable of displaying information; A morphological analysis procedure for dividing a Japanese sentence input by the input means into words based on the morphological analysis dictionary, and synonyms for searching for words by referring to the synonym dictionary and extracting synonyms of the words A dictionary search procedure, and a synonym conversion procedure for displaying a synonym extracted for the arbitrary word by the synonym dictionary search procedure on the display unit and replacing an original word with a synonym selected by the input unit. When the original word replaced with the synonym is converted to a synonym, another word in the sentence to which the original word belongs, a word having a co-occurrence relationship with the original word is A co-occurrence dictionary search procedure for extracting co-occurrence words by performing a search with reference to the co-occurrence dictionary, and a synonym by performing a search with reference to the synonym dictionary for the co-occurrence words extracted by the co-occurrence dictionary search procedure. And displaying the extracted synonyms on the display means, and performing a co-occurrence synonym conversion procedure of replacing the co-occurrence of the original word with the synonym selected by the input means. I do.

【0009】この構成に係る文章校正処理プログラムを
記録したコンピュータ読取可能な記録媒体では、汎用コ
ンピュータに、文章の校正時に任意の単語を類義語に変
更したい場合に、類義語辞書により変更しようとする類
義語を表示させ、その表示された類義語を選択するだけ
で元の単語を類義語に変更でき、文章の校正作業を容易
にできるばかりでなく、元の単語と密接な関係にある共
起語についても類義語を自動的に表示するような手順を
実行させることができるので、元の単語の変更に伴い密
接な関係にある共起語の校正をし忘れることがない。ま
た、その変更も表示された類義語を選択するだけででき
るため、校正作業が簡易になる。そのため文章の校正作
業の効率を高め、かつ文章のバランスのとれた品質の高
い校正作業を行うことができる。
In a computer-readable recording medium on which a sentence proofreading program according to this configuration is recorded, when a general-purpose computer wants to change an arbitrary word into a synonym at the time of proofreading a sentence, a synonym to be changed by a synonym dictionary is used. You can change the original word to a synonym simply by selecting it and selecting the displayed synonym, which not only facilitates the proofreading work, but also synonyms for co-occurrences that are closely related to the original word. Since a procedure for automatically displaying the words can be executed, the user does not forget to correct the co-occurred words that are closely related to the change of the original words. In addition, since the change can be made only by selecting the displayed synonym, the proofreading operation is simplified. Therefore, the efficiency of the text proofreading operation can be improved, and the text proofreading operation can be performed in a well-balanced and high-quality proofreading operation.

【0010】[0010]

【発明の実施の形態】以下、本発明に係る文章校正装置
及び文章校正処理プログラムを記録したコンピュータ読
取可能な記録媒体を好ましい1の実施の形態である文章
校正装置1により添付図面を参照して説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, a sentence proofreading apparatus and a computer-readable recording medium storing a sentence proofreading processing program according to the present invention will be described with reference to the accompanying drawings. explain.

【0011】図1は、文章校正装置1の概略を示す図で
ある。図1で示すように、文章校正装置1は、入力装置
2、表示装置3、インタフェイス(IF)4、バス5、
CPU6、RAM7、ROM8から構成される。なお、
バス5、CPU6、RAM7、ROM8は、コンピュー
タとして構成されている。
FIG. 1 is a diagram schematically showing a sentence proofreading apparatus 1. As shown in FIG. 1, the sentence proofreading device 1 includes an input device 2, a display device 3, an interface (IF) 4, a bus 5,
It comprises a CPU 6, a RAM 7, and a ROM 8. In addition,
The bus 5, the CPU 6, the RAM 7, and the ROM 8 are configured as a computer.

【0012】入力装置2は、文章校正の対象となる文章
をテキストデータとして入力したり、各種の命令などを
入力するのに用いられ、本実施の形態では、図示しない
専用のキーボード及びマウスから構成される。なお、こ
のキーボードには、文章入力キー、次文章キー、前文章
キー、類義語変換キーや、類義語選択キー、実行キー、
選択キー、取り消しキー、カーソルキー、ジャンプキ
ー、終了キー等が備えられる。なお、キーボードは専用
のものでなく上記各種キーの機能が各キーに振り分けら
れた汎用のキーボードでもよいが、この場合はマウス等
のポインティドデバイスによりGUI(グラフィカルユ
ーザインタフェイス)を中心とした操作とする。また入
力装置は、キーボードに限らずデジタイザを用いた手書
き入力や音声入力等によるものでもよい。さらに、外部
記憶装置9に備えられたハードディスクに記憶されたテ
キストデータや、通信回線から伝送されるテキストデー
タなどからインタフェイス4を介して入力するようにし
てもよい。この場合、これらが本発明の入力装置を構成
することになる。
The input device 2 is used for inputting a text to be corrected as text data and for inputting various commands and the like. In this embodiment, the input device 2 includes a dedicated keyboard and mouse (not shown). Is done. The keyboard has a text input key, a next text key, a previous text key, a synonym conversion key, a synonym selection key, an execution key,
A selection key, a cancel key, a cursor key, a jump key, an end key, and the like are provided. The keyboard is not limited to a dedicated keyboard, but may be a general-purpose keyboard in which the functions of the various keys are assigned to the respective keys. In this case, a GUI (graphical user interface) is mainly provided by a pointed device such as a mouse. Operation. The input device is not limited to a keyboard, but may be a device for handwriting input or voice input using a digitizer. Further, text data stored in a hard disk provided in the external storage device 9 or text data transmitted from a communication line may be input via the interface 4. In this case, these constitute the input device of the present invention.

【0013】表示装置3は、入力されたデータや、校正
作業処理にあたってのモニタとして各種情報を表示する
もので、ここではCRTにより構成されている。なお、
LCDや他のディスプレー装置等情報が表示可能なもの
であれば、それらによっても表示装置が構成できる。
The display device 3 displays input data and various kinds of information as a monitor for processing the calibration work, and is constituted by a CRT here. In addition,
A display device can be constituted by any device capable of displaying information, such as an LCD or another display device.

【0014】インタフェイス4は、入力装置2、表示装
置3、外部記憶装置9、通信回線10等と、バス5、C
PU6、RAM7、ROM8とから構成されるコンピュ
ータとのデータの入出力を行うものである。さらに、上
記以外の各種情報処理装置とのデータの入出力を可能に
する。
The interface 4 includes an input device 2, a display device 3, an external storage device 9, a communication line 10 and the like, a bus 5, a C
It is used to input and output data to and from a computer including the PU 6, the RAM 7, and the ROM 8. Further, input and output of data to and from various information processing devices other than those described above are enabled.

【0015】バス5は、インタフェイス4、CPU6、
RAM7、ROM8間のデータのやりとりを行うもの
で、アドレスバス、データバス等から構成される。
The bus 5 includes an interface 4, a CPU 6,
It exchanges data between the RAM 7 and the ROM 8, and is composed of an address bus, a data bus and the like.

【0016】CPU6は、ROM8に格納された各プロ
グラムに基づいて、ROM8、RAM7、インタフェイ
ス4からのデータを演算する中央処理装置である。本実
施の形態では、各プログラムに基づいて処理を実行し、
それぞれの手段として機能する。
The CPU 6 is a central processing unit that calculates data from the ROM 8, the RAM 7, and the interface 4 based on each program stored in the ROM 8. In the present embodiment, processing is executed based on each program,
Functions as each means.

【0017】RAM7は、読み書き自由な揮発性メモリ
で、入力された文章データやCPU6の演算に必要なデ
ータを一時的に記憶する。入力テキスト記憶領域71、
形態素解析結果記憶領域72、ワーク領域73、出力デ
ータ記憶領域74、元単語記憶領域75をはじめとし
て、各種の記憶領域が設けられている。
The RAM 7 is a volatile memory that is freely readable and writable, and temporarily stores input text data and data necessary for the operation of the CPU 6. Input text storage area 71,
Various storage areas are provided, including a morphological analysis result storage area 72, a work area 73, an output data storage area 74, and an original word storage area 75.

【0018】入力テキスト記憶領域71は、後の処理の
めに、入力装置2から入力されたテキストデータを記憶
しておく記憶領域である。必要によりワーク領域73に
読み出されて処理される。
The input text storage area 71 is a storage area for storing text data input from the input device 2 for later processing. The data is read out to the work area 73 and processed as necessary.

【0019】形態素解析結果記憶領域72は、形態素解
析プログラム85により、入力されたテキストデータか
らなる日本語の文章を、後述する形態素解析辞書81を
参照して形態素解析を行った結果が記憶される記憶領域
である。図6は、形態素解析結果記憶領域72に記憶さ
れた形態素解析結果の記憶内容の一部を模式的に示した
図である。入力された文章が形態素解析されると、形態
素解析辞書81に記憶された単語と一致した文字列を単
語として認識し、その単語の「表記」のデータと、その
単語の先頭の文字列が文頭から何字目から始まるかとい
う「位置」のデータと、その単語の文字列が何文字の文
字列かという「長さ」のデータと、形態素解析辞書81
から抽出されたその単語の「品詞」のデータとから構成
される。なお、これ以外にも単語の接続データ等を記憶
するようにしてもよい。
The morphological analysis result storage area 72 stores the result of morphological analysis of a Japanese sentence composed of input text data with reference to a morphological analysis dictionary 81 described later by the morphological analysis program 85. This is a storage area. FIG. 6 is a diagram schematically showing a part of the storage contents of the morphological analysis result stored in the morphological analysis result storage area 72. When the input sentence is morphologically analyzed, a character string that matches the word stored in the morphological analysis dictionary 81 is recognized as a word, and the “notation” data of the word and the character string at the head of the word are used as the head of the sentence. The data of "position" indicating the number of the character from the beginning, the data of "length" indicating the character string of the word, and the morphological analysis dictionary 81
And the data of the "part of speech" of the word extracted from. In addition, you may make it memorize | store connection data etc. of a word besides this.

【0020】ワーク領域73は、CPU6による各種処
理において、必要な文字列を一時的に記憶したり、処理
に必要なフラグを記憶したり、各種演算結果など、処理
に必要な様々な記憶を行う領域である。
The work area 73 temporarily stores necessary character strings in various processes by the CPU 6, stores flags required for the processes, and performs various storages required for the processes, such as various calculation results. Area.

【0021】出力データ記憶領域74は、表示装置3に
表示するためのデータが一時的に記憶されるバッファで
ある。
The output data storage area 74 is a buffer in which data to be displayed on the display device 3 is temporarily stored.

【0022】元単語記憶領域75は、文章校正時に入力
文章中から選択され類義語に変更された単語の変更前の
元の単語(以下元単語という)を一時的に記憶してお
き、元単語と共起関係にある単語を検索する時に必要な
データを与えるものである。
The original word storage area 75 temporarily stores the original word (hereinafter referred to as the original word) before the change of the word selected from the input sentence and changed to a synonym at the time of proofreading. It provides data necessary for searching for words that have a co-occurrence relationship.

【0023】ROM8は、読み出し専用の不揮発性メモ
リで、文章校正処理に必要な辞書類を格納した辞書部8
aと、文章校正処理に必要なプログラムや文章校正装置
全体を制御するための制御プログラムを格納したプログ
ラム部8bとから構成される。辞書部8aには、形態素
解析辞書81、類義語辞書82、共起辞書83が格納さ
れる。また、プログラム部8bには、類義語変換プログ
ラム84、形態素解析プログラム85、類義語辞書検索
プログラム86、共起語類義語変換プログラム87、共
起辞書検索プログラム88、制御プログラム89が格納
されている。
The ROM 8 is a read-only non-volatile memory, and is a dictionary unit 8 for storing dictionaries necessary for the sentence proofreading process.
a, and a program unit 8b storing a program necessary for the sentence proofreading process and a control program for controlling the entire sentence proofreading apparatus. The dictionary unit 8a stores a morphological analysis dictionary 81, a synonym dictionary 82, and a co-occurrence dictionary 83. The program section 8b stores a synonym conversion program 84, a morphological analysis program 85, a synonym dictionary search program 86, a co-occurrence synonym conversion program 87, a co-occurrence dictionary search program 88, and a control program 89.

【0024】図5は、形態素解析辞書81の記憶内容の
一部を模式的に示した図である。形態素解析辞書81
は、単語の表記81aとその単語の属性を表す品詞、活
用形、接続情報、その他の情報81bが表記の単語に対
応付けられて記憶されている。
FIG. 5 is a diagram schematically showing a part of the storage contents of the morphological analysis dictionary 81. Morphological analysis dictionary 81
Stores a word notation 81a and a part of speech, inflected form, connection information, and other information 81b indicating the attribute of the word in association with the word of the notation.

【0025】図7は、類義語辞書82の記憶内容の一部
を模式的に示した図である。類義語辞書82は、単語の
読み82aと、表記82bとが対になって記憶され、相
互に意味が似ている類義語がグループ化され対応付けら
れて記憶されている。なお、用言については、活用があ
るため終止形で表示されるように、語幹のみならず活用
部分を含めて記憶されている。
FIG. 7 is a diagram schematically showing a part of the storage contents of the synonym dictionary 82. The synonym dictionary 82 stores word readings 82a and notations 82b in pairs, and stores synonyms having similar meanings in a group and associated with each other. In addition, the word is stored including not only the stem but also the part to be used so that it is displayed in a closed form because it is used.

【0026】図8は、共起辞書83の記憶内容の一部を
模式的に示した図である。共起辞書83は、共起関係に
ある単語を対応付けて記憶しておく辞書である。特定の
関係を有する単語、例えば、上述の「席を移す」、「写
真を写す(撮す)」、「映画を映す」のように、「Aを
ウツス」という場合に、「ウツス」という動詞は、
「A」に当たる特定の名詞の存在と、文節の格を示す
「を」という助詞の存在を条件にその表記が決定され
る。このような特殊な関係を持つ単語同士を共起関係が
あるといい、本願においては、「名詞A」に対する「動
詞ウツス」のように一方の単語に対し共起関係にある他
方の単語を共起語と呼ぶことにする。なお、共起語が存
在しても、助詞「を」がなく、代わりに助詞「が」が名
詞Aに付属している場合には、文節の格が異なり共起関
係が成立しない。「席を移す。」という文章において、
共起関係を検索するときには、この助詞「を」の存在も
確認する必要がある。そのため、共起辞書83には、図
8に示すように例えば<せき:席>、<を>、<うつ
す:移す>を共起関係が成立する条件として関連付けて
記憶する。
FIG. 8 is a diagram schematically showing a part of the storage contents of the co-occurrence dictionary 83. The co-occurrence dictionary 83 is a dictionary that stores words having a co-occurrence relation in association with each other. A word having a specific relationship, for example, the verb “Utsusu” when “A is Utsusu” as in the above “Transfer a seat”, “Take a picture (take a picture)”, or “Show a movie” is ,
The notation is determined based on the presence of a specific noun corresponding to "A" and the presence of a particle "o" indicating the case of a phrase. Words having such a special relationship are said to have a co-occurrence relationship, and in the present application, another word that has a co-occurrence relationship with one word, such as "verb utus" for "noun A", is co-occurred. I will call it a word. Even if a co-occurrence word exists, if the particle "wo" does not exist and instead the particle "ga" is attached to the noun A, the case of the phrase is different and the co-occurrence relationship is not established. In the sentence "Shift your seat."
When searching for a co-occurrence relationship, it is also necessary to confirm the existence of the particle "wo". Therefore, as shown in FIG. 8, for example, <cough: seat>, <o>, and <depression: move> are stored in the co-occurrence dictionary 83 in association with each other as conditions for establishing a co-occurrence relationship.

【0027】共起辞書検索プログラム88は、共起辞書
83を参照して、文章中の任意の単語について、共起関
係がある単語を検索するプログラムである。例えば、
「席を移す。」という文章において、「席」という単語
について、共起関係にある単語を検索する場合は、まず
「席を移す。」という文章を形態素解析により「席/を
/移/す」というように単語、語幹、活用部分に分割す
る。そしてまず「席」という単語を共起辞書で順次検索
する。「席」という単語が発見されたら、次に、そこに
関連付けられて記憶されている単語の存在を文章中で検
索する。ここでは、共起関係が成立する条件として、
「席」の他に、「を」と「移す」が必要である。そこで
文章中に「を」があるかどうか検索する。ここでは
「を」が文章中に存在するので、引き続き「移す」を検
索し、「移す」が発見されるので、「席」と「移す」と
いう共起関係が成立する。共起関係については自立語に
ついていい、付属語である助詞「を」についてはここで
は共起関係にある単語とはいわない。なお、検索には精
度を高めるために、他にも多数の周知のルールがあるが
ここでは説明の簡略のため詳細には説明しない。
The co-occurrence dictionary search program 88 is a program for referring to the co-occurrence dictionary 83 and searching for a word having a co-occurrence relation with an arbitrary word in the text. For example,
When searching for a word that has a co-occurrence relationship with the word “seat” in the sentence “move the seat.”, First, the sentence “move the seat.” ] Into words, stems, and inflections. First, the word "seat" is sequentially searched in the co-occurrence dictionary. When the word "seat" is found, next, the presence of the word stored in association with the word is searched in the text. Here, as conditions for establishing the co-occurrence relationship,
In addition to "seat", "to" and "to move" are necessary. Therefore, it searches for "" in the text. Here, since "" is present in the text, "transfer" is continuously searched for and "transfer" is found, so that a co-occurrence relationship of "seat" and "transfer" is established. The co-occurrence relation is good for independent words, and the adjunct particle "wo" is not called a co-occurrence word here. There are many other well-known rules in order to improve the accuracy of the search, but they will not be described in detail here for simplicity.

【0028】類義語変換プログラム84は、任意の元単
語について類義語辞書検索プログラム86を用いて類義
語辞書82を検索し、検索の結果発見された類義語を元
単語の変換候補として表示し、操作者の操作により表示
されたいずれかの類義語と元単語を変換するプログラム
である。
The synonym conversion program 84 searches the synonym dictionary 82 for an arbitrary original word using the synonym dictionary search program 86, displays the synonyms found as a result of the search as conversion candidates of the original word, and operates the operator. Is a program for converting any of the synonyms and the original word displayed by.

【0029】類義語辞書検索プログラム86は、任意の
元単語について図7に示すような類義語辞書82を検索
し、元単語とマッチングしたグループに属する類義語を
抽出するプログラムである。例えば、「移す」について
検索すれば、図7に示すように「移す」が属するグルー
プには、「移動する」「移行する」「動かす」が関連付
けられてグループ化されて記憶されているので、「移動
する」「移行する」「動かす」を類義語として抽出す
る。
The synonym dictionary search program 86 is a program for searching the synonym dictionary 82 as shown in FIG. 7 for an arbitrary original word and extracting synonyms belonging to a group matching the original word. For example, if a search is made for “move”, as shown in FIG. 7, “move”, “migrate”, and “move” are grouped and stored in a group to which “move” belongs. "Move", "migrate", and "move" are extracted as synonyms.

【0030】共起語類義語変換プログラム87は、元単
語と共起関係にある共起語が同じ文章中にある場合、こ
の共起語について類義語辞書検索プログラム86を用い
て類義語辞書82を検索し、検索の結果発見された類義
語を共起語の変換候補として表示し、操作者の操作によ
り表示されたいずれかの類義語と共起語を変換するプロ
グラムである。類義語変換プログラム84と略同様の構
成であるが、元単語記憶領域75の単語を更新しない等
一部が異なる。詳細はフローチャートの説明において詳
述する。
The co-occurrence synonym conversion program 87 searches the synonym dictionary 82 for the co-occurrence word using the synonym dictionary search program 86 when the co-occurrence word co-occurring with the original word is in the same sentence. This is a program for displaying a synonym found as a result of the search as a co-occurrence conversion candidate, and converting any synonym and co-occurrence displayed by an operator's operation. The configuration is substantially the same as that of the synonym conversion program 84, but is partially different such that the word in the original word storage area 75 is not updated. Details will be described in the description of the flowchart.

【0031】形態素解析プログラム85は、入力された
文章を、形態素解析辞書81を参照して、文章を構成す
る文字列を単語として切り出すと同時に、その切り出さ
れた単語に付加された付加情報を形態素解析辞書81か
ら抽出して、形態素解析結果記憶領域72に記憶してお
くプログラムである。
The morphological analysis program 85 extracts the input sentence as a word by referring to the morphological analysis dictionary 81, and simultaneously adds the additional information added to the extracted word to the morphological This is a program extracted from the analysis dictionary 81 and stored in the morphological analysis result storage area 72.

【0032】制御プログラム89は、文章校正装置1全
体の制御を行うプログラムである。例えば、各プログラ
ム84〜88の実行や、電源管理や、入力装置2からの
入力、表示装置3への出力、インタフェイス4を介した
外部記憶装置9、通信回線10の入出力を制御して、文
章校正装置1の処理を実行させる。なお、本実施の形態
では、各プログラム84〜89や、各辞書81〜83は
ROM8に格納された専用機として文章校正装置1を説
明しているが、本発明の文章校正装置は、汎用コンピュ
ータにおいて、各プログラム84〜89や、各辞書81
〜83をハードディスクなどの外部記憶装置にインスト
ールして実行することも可能である。この場合におい
て、制御プログラム89は、汎用コンピュータのOS
(OperatingSystem)が、制御プログラム89の一部の
機能を実行するものであってもよい。
The control program 89 is a program for controlling the entire sentence correction device 1. For example, execution of each of the programs 84 to 88, power management, input from the input device 2, output to the display device 3, external storage device 9 via the interface 4, and input / output of the communication line 10 are controlled. Then, the process of the sentence proofreading device 1 is executed. In the present embodiment, each program 84 to 89 and each dictionary 81 to 83 are described as the dedicated machine stored in the ROM 8 in the sentence proofreading apparatus 1. However, the sentence proofreading apparatus of the present invention is a general-purpose computer. , Each program 84 to 89 and each dictionary 81
To 83 can be installed and executed in an external storage device such as a hard disk. In this case, the control program 89 is an OS of a general-purpose computer.
(OperatingSystem) may execute some functions of the control program 89.

【0033】外部記憶装置9は、ハードディスクドライ
ブ、フロッピーディスクドライブ、CD−ROMドライ
ブ、DVDドライブを備え、フロッピーディスク、ハー
ドディスク、CD−ROM、DVD等のコンピュータ読
取可能な記録媒体に情報を記録し、又は情報の読取が可
能な構成となっている。また、上述のように、汎用コン
ピュータにより各プログラム84〜89や、各辞書81
〜83を外部記憶装置9にインストールして文章校正処
理を実行することも可能である。この場合には、各プロ
グラム84〜89や、各辞書81〜83を記録したフロ
ッピーディスク、ハードディスク、CD−ROM、DV
D、或いは半導体メモリ等が、文章校正処理プログラム
を記録したコンピュータ読取可能な記録媒体に該当す
る。
The external storage device 9 includes a hard disk drive, a floppy disk drive, a CD-ROM drive, and a DVD drive, and records information on a computer-readable recording medium such as a floppy disk, a hard disk, a CD-ROM, and a DVD. Alternatively, the information can be read. Further, as described above, each program 84 to 89 and each dictionary 81
To 83 can be installed in the external storage device 9 to execute the sentence proofreading process. In this case, a floppy disk, hard disk, CD-ROM, DV, or the like on which the programs 84 to 89 and the dictionaries 81 to 83 are recorded.
D or a semiconductor memory or the like corresponds to a computer-readable recording medium on which a sentence proofreading processing program is recorded.

【0034】通信回線10は、インタフェイス4を介し
て、コンピュータと情報の受け渡しが可能な情報伝送媒
体として構成されている。なお、情報伝送媒体には、プ
ログラム情報を搬送波として伝搬させて供給するための
コンピュータネットワークシステム(LAN(LocalAre
aNetwork)、インターネット等のWAN(WideAreaNetw
ork)、無線通信ネットワーク等)における通信媒体
(光ファイバや無線回線等)等があり、このような情報
伝送媒体により文章校正処理プログラムを構成する各プ
ログラム84〜89や、各辞書81〜83を伝送するこ
とによっても文章校正処理を実行することも可能であ
る。
The communication line 10 is configured as an information transmission medium capable of exchanging information with a computer via the interface 4. The information transmission medium is provided with a computer network system (LAN (Local Area Network) for propagating and supplying program information as a carrier wave.
aNetwork), WAN such as the Internet (WideAreaNetw)
ork), a communication medium (optical fiber, a wireless line, etc.) in a wireless communication network, etc., etc. Each of the programs 84 to 89 and the dictionaries 81 to 83 which constitute a sentence proofreading processing program by such an information transmission medium are stored. It is also possible to execute the sentence proofreading process by transmitting.

【0035】尚、本実施の形態では、文章校正処理プロ
グラムを構成する各プログラム84〜89や、各辞書8
1〜83は、説明の便宜上独立した構成を採っている
が、実施上はこれらのプログラムが一体となった構成で
あってもよいことは言うまでもない。要は、これらのプ
ログラムの機能を果たす構成が何らかの形で存在すれば
よい。
In this embodiment, each of the programs 84 to 89 constituting the sentence proofreading processing program and each dictionary 8
1 to 83 have independent configurations for the sake of convenience of explanation, but it goes without saying that these programs may be configured as an integrated configuration. In short, it is only necessary that a configuration that fulfills the functions of these programs exists in some form.

【0036】次に本発明に係る実施の形態の文章校正装
置1における、文章校正処理の手順をフローチャートに
沿って説明する。
Next, the procedure of the sentence proofreading process in the sentence proofreading apparatus 1 according to the embodiment of the present invention will be described with reference to a flowchart.

【0037】図2は、文章校正プログラムの処理の手順
の全体の流れを示すフローチャートである。ここでは、
外部記憶装置9にテキストデータで記憶されていた文章
を校正するものとする。文章校正装置1の電源が投入さ
れ制御プログラム89が立ち上げられる。ここで文章校
正処理に先だって、外部記憶装置9に記憶されていた文
章校正の対象であるデータが、キーボードから文章入力
キーが押下され、選択キーにより入力ファイルが選択さ
れ、実行キーが押下されることにより読み込み処理が行
われる。そうすると、外部記憶装置9のハードディスク
から所定のテキストデータが、インタフェイス4を介し
て入力テキスト記憶領域71に記憶される。入力テキス
ト記憶領域71には、複数の文章を読み込ませることが
できるので、読み込まれた文章は、次文章キー、前文章
キー等により1文単位で表示装置3の画面に表示され
る。
FIG. 2 is a flowchart showing the entire flow of the processing procedure of the sentence proofreading program. here,
It is assumed that a sentence stored as text data in the external storage device 9 is corrected. The power of the sentence correction device 1 is turned on, and the control program 89 is started. Here, prior to the sentence proofreading process, the sentence proofreading data stored in the external storage device 9 is sent to the sentence input key from the keyboard, the input file is selected by the selection key, and the execution key is pressed. Thus, a reading process is performed. Then, predetermined text data from the hard disk of the external storage device 9 is stored in the input text storage area 71 via the interface 4. Since a plurality of sentences can be read into the input text storage area 71, the read sentences are displayed on the screen of the display device 3 in units of one sentence using a next sentence key, a previous sentence key, or the like.

【0038】ここで、図9は、文章校正の対象となる文
章が表示された状態を模式的に表した表示装置3の表示
画面を示す図である。図9に示すように、文章の読み込
みが終了すると、画面に文章校正の対象となる文章が表
示される。操作者は、次文章キー、前文章キーを押下し
て、表示画面に表示される文章を変更し、1文単位で校
正作業を行っていく。
FIG. 9 is a diagram showing a display screen of the display device 3 schematically showing a state in which a sentence to be sentence correction is displayed. As shown in FIG. 9, when the reading of the text is completed, a text to be corrected is displayed on the screen. The operator presses the next sentence key and the previous sentence key to change the sentence displayed on the display screen, and performs the proofreading operation in units of one sentence.

【0039】ここで、フローチャートの説明に当たっ
て、例として、図9に示す「その席をあちらに移して下
さい。」という文章の校正作業を行うものとして、併せ
て説明をする。校正作業の対象となる文章が表示された
ら、文章中の修正したい単語の部分にカーソルを移動
し、類義語変換キーを押下する。図9の例では、「席」
の部分にカーソルがあり、この状態で類義語変換キーを
押下したものとする。類義語変換キーを押下すると、文
章校正処理が開始される。文章校正処理が開始される
と、図2に示すフローチャートの類義語変換処理(ステ
ップ1(以下ステップをSと略記する))の手順が、共
起語類義語変換プログラム87に従ってCPU6により
実行される。
Here, in the explanation of the flow chart, as an example, it is assumed that the proofreading work of the sentence "Please move the seat there" shown in FIG. 9 is performed. When the text to be corrected is displayed, move the cursor to the word to be corrected in the text and press the synonym conversion key. In the example of FIG. 9, "seat"
It is assumed that the cursor is located at the portion and the synonym conversion key is pressed in this state. When the synonym conversion key is pressed, the sentence proofreading process starts. When the sentence proofreading process is started, the procedure of the synonym conversion process (step 1 (hereinafter, step is abbreviated as S)) of the flowchart shown in FIG.

【0040】ここで図3は、図2における類義語変換処
理(S1)の処理の手順を詳細に説明するフローチャー
トである。類義語変換処理(S1)が開始されると、ま
ず表示装置3に表示された文章について、カーソルのあ
る1文の形態素解析の処理が行われる(S11)。ここ
では、1文ずつを表示するような構成としているが、複
数の文章を表示するような構成にしてもよく、その場合
は、カーソルの存在する文章を処理対象とする。
FIG. 3 is a flowchart for explaining in detail the procedure of the synonym conversion process (S1) in FIG. When the synonym conversion process (S1) is started, the sentence displayed on the display device 3 is subjected to morphological analysis of one sentence with a cursor (S11). Here, the configuration is such that one sentence is displayed at a time, but a configuration may be employed in which a plurality of sentences are displayed. In this case, the sentence where the cursor is located is set as a processing target.

【0041】図4は、図3における1文の形態素解析
(S11)の処理の手順を詳細に説明するフローチャー
トである。このフローチャートに沿って1文の形態素解
析(S11)の処理の手順を詳細に説明する。形態素解
析とは、複数の文字列から構成される文章を、文頭から
順次形態素解析辞書81を参照しながら、単語を切り出
していき、その際形態素解析辞書81から必要な情報を
抽出して形態素解析結果として記憶しておく処理であ
る。
FIG. 4 is a flowchart for explaining in detail the procedure of the morphological analysis (S11) of one sentence in FIG. The procedure of the morphological analysis of one sentence (S11) will be described in detail with reference to this flowchart. The morphological analysis means that a sentence composed of a plurality of character strings is sequentially cut out from the beginning of a sentence while referring to the morphological analysis dictionary 81, and at that time, necessary information is extracted from the morphological analysis dictionary 81 to perform morphological analysis. This is the process of storing the result.

【0042】1文の形態素解析の処理(図3:S11)
が開始されると(図4:開始)、まず単語検索(S11
1)が行われる。単語検索は、最長一致法を基本に行わ
れる。まず形態素解析辞書81に記憶されている最長の
単語の文字数、例えば、実際にはもっと長いがここでは
説明のため仮に5文字とすると、5文字の文字列を文章
の最初から切り出し、この5文字からなる文字列を形態
素解析辞書81を参照して同一の文字列がないか検索を
する。図9の例で説明すると、「その席をあ」という文
字列が切り出され、図5に示す形態素解析辞書81の単
語の表記81aとのマッチングを見ながら検索される。
そうすると「その席をあ」という単語は見つからないの
で、次は、文字数を1文字減らし4文字の文字列とし
て、「その席を」という文字列と形態素解析辞書81の
単語の表記とのマッチングを見ながら検索される。この
ように切り出す文字列の数を1文字ずつ減らしながら順
次単語が見つかるまで検索を繰り返す。この例では「そ
の」という2文字を切り出した文字列で、図6に示すよ
うに、形態素解析辞書81にある「その」という単語の
表記と一致する。
Processing for morphological analysis of one sentence (FIG. 3: S11)
Is started (FIG. 4: start), first, a word search (S11)
1) is performed. Word search is performed based on the longest match method. First, if the number of characters of the longest word stored in the morphological analysis dictionary 81, for example, it is actually longer, but is assumed to be 5 characters for explanation here, a character string of 5 characters is cut out from the beginning of the sentence, and this 5 characters Is searched for the same character string with reference to the morphological analysis dictionary 81. In the example of FIG. 9, a character string “there is a seat” is cut out, and the character string is searched for while seeing the matching with the word notation 81 a of the morphological analysis dictionary 81 shown in FIG. 5.
Then, since the word "that seat" is not found, the number of characters is reduced by one character to a four-character string, and the matching between the character string "that seat" and the word notation in the morphological analysis dictionary 81 is performed. Search while looking. In this way, the search is repeated until words are found sequentially while reducing the number of character strings to be cut out one by one. In this example, a character string obtained by cutting out two characters “that” matches the notation of the word “that” in the morphological analysis dictionary 81 as shown in FIG.

【0043】同様に順次検索を行っていくが、もし切り
出した文字列と一致する単語が検索できなかった場合
(S112:NO)、未知語処理(S116)を行う。
検索できなかった文字列については、仮に、未知語を構
成する文字列としてワーク領域73の未知語記憶エリア
(不図示)に一時記憶しておく。次に、処理位置を移動
して(S117)、文字列末尾でなければ(S118:
NO)、同様に単語検索(S111)を繰り返し新たに
単語の検索が成功するまで(S112:YES)の文字
列は、未知語記憶エリアに書き足して記憶しておき、次
に単語として検索が成功したとき(S112:YES)
に文字列の1文字前の文字列までを1つの未知語として
確定して認識する。
Similarly, the search is sequentially performed. If a word that matches the extracted character string cannot be searched (S112: NO), unknown word processing (S116) is performed.
The character string that could not be searched is temporarily stored in an unknown word storage area (not shown) of the work area 73 as a character string constituting an unknown word. Next, the processing position is moved (S117), and if it is not the end of the character string (S118:
NO), similarly, the word search (S111) is repeated until the new word search succeeds (S112: YES), and the character string is added and stored in the unknown word storage area. When succeeded (S112: YES)
, The character string up to the character before the character string is determined and recognized as one unknown word.

【0044】次に、単語検索(S111)が成功し(S
112:YES)、単語として切り出された文字列につ
いて形態素解析辞書81から付加情報を読み出し、直前
の単語との接続関係が検定される(S113)。ここで
は、主に品詞情報から文法的に接続可能かどうかが検定
され、接続がOKであると判断されたら(S114:Y
ES)、発見された単語を付加情報とともに、その文字
列の最初の文字の文頭からの位置、文字数が、形態素解
析結果記憶領域72に記憶される(S115)。この場
合、動詞などの用言については、語幹と活用部分に分離
できるので、処理の容易のため、語幹と活用部分に切り
分けて付加情報とともに記憶される。そして、次の文字
列の処理位置に移動して(S117)、文字列末尾でな
ければ(S118:NO)、次の単語検索(S111)
に移行する。
Next, the word search (S111) succeeds (S111).
112: YES), the additional information is read from the morphological analysis dictionary 81 for the character string cut out as a word, and the connection relationship with the immediately preceding word is tested (S113). Here, whether the connection is grammatically possible is mainly tested from the part of speech information, and if it is determined that the connection is OK (S114: Y
ES), the position of the first character of the character string from the beginning of the character string and the number of characters are stored in the morphological analysis result storage area 72 together with the additional information of the found word (S115). In this case, verbs and other verbs can be separated into stems and conjugations, so that they are separated into stems and conjugations and stored together with additional information for easy processing. Then, it moves to the processing position of the next character string (S117), and if it is not the end of the character string (S118: NO), the next word search (S111).
Move to

【0045】たとえば、「その」という単語であれば、
図6に示すように、形態素解析辞書81に品詞として
「連体詞」という品詞情報が付加されている。この場合
直前の単語はないが、助詞などと異なり直前に単語がな
くても文法的に正しいので接続関係はOKとされる。ま
た、「席」という単語であれば「名詞」という品詞情報
が付加されており、直前の単語が「その」という「連体
詞」であれば、ここに名詞が連続しても文法的に正しい
と判断されるので、接続がOKとされる。従って、「そ
の」であれば、図6に示す形態素解析結果記憶領域72
に示すように、「その」という単語の表記、文頭から
「0」文字目で、文字列の長さが「2」文字で、品詞は
「連体詞」であるという情報が記憶される。また、
「席」については、「席」という単語の表記、文頭から
「2」文字目で、文字列の長さが「1」文字で、品詞は
「名詞」であるという情報が記憶される。
For example, in the case of the word "that",
As shown in FIG. 6, the part of speech information “adnominal” is added to the morphological analysis dictionary 81 as the part of speech. In this case, there is no immediately preceding word, but unlike particles, etc., even if there is no immediately preceding word, the connection relation is OK because it is grammatically correct. If the word is “seat”, the part-of-speech information of “noun” is added. If the immediately preceding word is “adnominal” of “that”, even if the noun continues here, it is grammatically correct. Since it is determined, the connection is OK. Therefore, if it is “that”, the morphological analysis result storage area 72 shown in FIG.
As shown in the table, information that the notation of the word “that”, the “0” character from the beginning of the sentence, the character string length is “2” characters, and the part of speech is “adnominal” is stored. Also,
As for “seat”, information that the notation of the word “seat” is “2” characters from the beginning of the sentence, the character string length is “1” characters, and the part of speech is “noun” is stored.

【0046】もし接続が文法的に接続できない場合は
(S114:NO)、切り出した文字列は、検索には成
功したが、形態素解析辞書81にある単語とは異なる未
知語と判断され、再度文字列を1文字減らして単語検索
(S111)を行い、その文字列で形態素解析辞書81
にその文字列なければ(S112:NO)、未知語処理
(S116)により処理される。なお、未知語として確
定されれば、S116において検索に成功した単語と同
様に形態素解析結果記憶領域72に未知語として記憶さ
れる。
If the connection cannot be grammatically connected (S114: NO), the cut-out character string has been successfully searched, but is determined to be an unknown word different from the word in the morphological analysis dictionary 81, and the character string is re-entered. A word search (S111) is performed with the sequence reduced by one character, and the morphological analysis dictionary 81
Is not the character string (S112: NO), it is processed by unknown word processing (S116). If the word is determined as an unknown word, it is stored as an unknown word in the morphological analysis result storage area 72 in the same manner as the word successfully searched in S116.

【0047】このように文頭から順次単語が切り出され
て処理され、文字列末尾となり処理すべき文字列がなく
なれば(S118:YES)、図3における1文の形態
素解析(S11)の処理が終了し図3のS12の処理に
移行する(リターン)。
As described above, words are sequentially cut out from the beginning of the sentence and processed. If there is no character string to be processed at the end of the character string (S118: YES), the processing of morphological analysis (S11) of one sentence in FIG. 3 ends. Then, the process proceeds to S12 in FIG. 3 (return).

【0048】例示した「その席をあちらに移して下さ
い。」という文では、形態素解析の処理により図6に示
すような結果となり、「その/席/を/あちら/へ/移
/し/て/ください」という単語等に切り分けられる。
In the example of the sentence "Please move that seat to that place.", The result of the morphological analysis results in the result shown in FIG. 6, and "their / seat / to / to / to / toward / to / to / Please ".

【0049】以下図3のフローチャートに戻り説明を続
ける。カーソルのある1文の形態素解析(S11)によ
り単語に切り分けられた入力文字列において、カーソル
位置の単語が同定される(S12)。そしてその単語に
ついて、類義語辞書82を参照した検索が行われる。類
義語辞書検索(S13)によりその単語が類義語辞書8
2にあったら(S14:YES)、その単語の類義語を
表示装置3の表示画面に表示する(S15)。
Returning to the flowchart of FIG. 3, the description will be continued. The word at the cursor position is identified in the input character string divided into words by the morphological analysis of one sentence with the cursor (S11) (S12). Then, the word is searched with reference to the synonym dictionary 82. By synonym dictionary search (S13), the word is converted to synonym dictionary 8
2 (S14: YES), a synonym of the word is displayed on the display screen of the display device 3 (S15).

【0050】例示した文章ではカーソルのある1文の形
態素解析(S11)により「その/席/を/あちら/へ
/移/し/て/ください」と単語等に切り分けられた入
力文字列において、カーソル位置の単語が「席」という
単語であることが同定される(S12)。そして「席」
という単語について、類義語辞書82を参照した検索が
行われる(S13)。この例では「席」という単語は、
図7に示すように類義語辞書82に存在するので(S1
4:YES)、その類義語である「椅子」、「座席」、
「シート」が表示装置3の表示画面に表示される(S1
5)。ここで図10は、表示装置3の表示画面に表示さ
れた元単語の類義語を示す模式図である。この例では図
10に示すように、「席」の単語の下に「椅子」、「座
席」、「シート」を例えばポップアップウインドウで表
示する。
In the example sentence, in the input character string which is cut into words such as “that / seat / to / to / to / to / to / to / please” by morphological analysis of one sentence with the cursor (S11), It is identified that the word at the cursor position is the word "seat" (S12). And "seat"
The search for the word is performed with reference to the synonym dictionary 82 (S13). In this example, the word "seat"
Since the synonym dictionary 82 exists as shown in FIG.
4: YES), its synonyms "chair", "seat",
“Sheet” is displayed on the display screen of the display device 3 (S1).
5). Here, FIG. 10 is a schematic diagram illustrating a synonym of the original word displayed on the display screen of the display device 3. In this example, as shown in FIG. 10, "chair", "seat", and "seat" are displayed below the word "seat", for example, in a pop-up window.

【0051】次に、カーソルキーによりキー入力して表
示装置3の表示画面に表示された類義語を選択し(S1
6)、類義語選択キーを押下すれば(S17:YE
S)、カーソルがある位置に最初に表示されていた元単
語が、選択した類義語に表示が置き換わる(S20)。
このとき、元単語記憶領域75の記憶がクリアされて、
上記新たな元単語が記憶され、図2における類義語変換
処理(S1)が終了してS2の元単語取り出しの処理に
移行する(リターン)。
Next, a synonym displayed on the display screen of the display device 3 is selected by key input using the cursor key (S1).
6) If the synonym selection key is pressed (S17: YE)
S), the display of the original word initially displayed at the position where the cursor is located is replaced with the selected synonym (S20).
At this time, the storage of the original word storage area 75 is cleared,
The new original word is stored, the synonym conversion process (S1) in FIG. 2 ends, and the process proceeds to the original word extraction process of S2 (return).

【0052】なお、S17において類義語選択キーを押
下するまでは(S17:NO)、取り消しキーを押下す
れば(S18:YES)、類義語変換処理(図2:S
1)の処理を終了する(リターン)。また、取り消しキ
ーを押下しなければ(S18:NO)、その命令に応じ
てその他の処理、例えばカーソルを移動して次の単語の
校正に移行したり、終了キーにより校正処理自体を終了
したり、校正結果を外部記憶装置9に保存したり、ある
いはプリンタ(不図示)が接続されていれば印刷処理し
たりする(S19)。
Until the synonym selection key is pressed in S17 (S17: NO), if the cancel key is pressed (S18: YES), the synonym conversion processing (FIG. 2: S
The process of 1) is completed (return). If the cancel key is not pressed (S18: NO), other processing is performed in accordance with the command, for example, moving the cursor to shift to the proofreading of the next word, or ending the proofreading processing itself by the end key. Then, the calibration result is stored in the external storage device 9 or, if a printer (not shown) is connected, a printing process is performed (S19).

【0053】ここで、図10は、表示装置3の表示画面
に表示された元単語の類義語を示す模式図である。例示
した文章においては、図10に示すように、「席」の単
語の下にプルダウンウインドウとして表示された「椅
子」、「座席」、「シート」(S15)からカーソルキ
ーでキー入力してカーソルを「座席」に移動し(S1
6)、類義語選択キーを押下すれば(S17:YE
S)、文中の「席」という単語が「座席」という単語に
変換され(S20)、プルダウンウインドウの表示が終
了される。このとき、元単語記憶領域75の記憶がクリ
アされて、元単語となる「席」が記憶される(S2
0)。
FIG. 10 is a schematic diagram showing synonyms of the original word displayed on the display screen of the display device 3. In the illustrated example, as shown in FIG. 10, the cursor is input by a cursor key from “chair”, “seat”, and “seat” (S15) displayed as a pull-down window below the word “seat”. To "Seat" (S1
6) If the synonym selection key is pressed (S17: YE)
S), the word "seat" in the sentence is converted to the word "seat" (S20), and the display of the pull-down window is terminated. At this time, the storage of the original word storage area 75 is cleared, and the "seat" serving as the original word is stored (S2).
0).

【0054】ここで、図2のフローチャートに戻って説
明を続ける。類義語変換処理(S1)が終了すると、元
単語記憶領域75に記憶されている元単語がワーク領域
73に呼び出され、元単語を取り出し(S2)、この元
単語をキーワードとして、形態素解析結果記憶領域72
に記憶された単語に分割された文章について、文頭から
順に元単語以外の文中の別の単語(以下別単語とい
う。)を1つずつ取り出す(S3)。そして、単語が終
わりでなければ(S4:NO)、元単語と別単語とが、
共起関係にあるかどうかが、共起辞書83を参照して検
索される(S5)。ここで、共起データが発見できず取
り出した別単語が元単語と共起関係になければ(S6:
NO)、次の別単語を取り出し(S3)、単語が終わり
でなければ(S4:NO)、その別単語について同様に
共起データが検索される(S5)。このようにして文頭
から順次別単語を取り出して共起データの検索が行われ
(S3、S4:NO、S5)、検索に成功し共起データ
が発見できたら(S6:YES)、その別単語について
類義語辞書82を参照して類義語を検索し(S7)、類
義語が見つからなければ(S8:NO)、検索を終了
し、次の別単語の処理に移る(S3)。S7の検索にお
いて類義語が発見されれば(S8:YES)、類義語表
示及び選択処理(S9)を行う。
Here, returning to the flowchart of FIG. 2, the description will be continued. When the synonym conversion processing (S1) is completed, the original word stored in the original word storage area 75 is called into the work area 73, the original word is extracted (S2), and the original word is used as a keyword, and the morphological analysis result storage area is used. 72
From the sentence divided into the words stored in (1), another word (hereinafter referred to as another word) in the sentence other than the original word is extracted one by one from the beginning of the sentence (S3). If the word is not the end (S4: NO), the original word and another word are
The co-occurrence dictionary 83 is searched for a co-occurrence relationship (S5). Here, if the co-occurrence data cannot be found and the extracted another word has no co-occurrence relationship with the original word (S6:
NO), the next different word is extracted (S3). If the word is not the end (S4: NO), co-occurrence data is similarly searched for the different word (S5). In this way, another word is sequentially extracted from the beginning of the sentence, and co-occurrence data is searched (S3, S4: NO, S5). If the search is successful and co-occurrence data is found (S6: YES), the other word is searched. Is searched for a synonym with reference to the synonym dictionary 82 (S7). If no synonym is found (S8: NO), the search is terminated, and the process proceeds to the next another word (S3). If a synonym is found in the search in S7 (S8: YES), a synonym display and selection process (S9) is performed.

【0055】例示した文章においては、類義語変換処理
(S1)が終了すると、元単語記憶領域75に記憶され
ている元単語「席」がワーク領域73に呼び出され(S
2)、この元単語「席」をキーワードとして、図6に示
すように形態素解析結果記憶領域72に記憶された単語
に分割された文章「その/席/を/あちら/へ/移/し
/て/ください」について、文頭から順に、「席」以外
の単語「その」「を」「あちら」「へ」「移」「し」
「て」「ください」を1つずつ取り出す(S3)。そし
て、単語が終わりでなければ(S4:NO)、元単語と
別単語とが、共起関係にあるかどうかが、図8に示すよ
うな共起辞書83を参照して検索される(S5)。ここ
で、例えば「その」であれば共起データが発見できず取
り出した別単語が元単語と共起関係にないので(S6:
NO)、次の別単語「を」を取り出し(S3)、単語が
終わりではないので(S4:NO)、「を」について同
様に共起データが検索される(S5)。このようにして
文頭から順次別単語を取り出して共起データの検索が行
われ(S3、S4:NO、S5)、「移」は、図7に示
す類義語辞書82に示すように共起データを有するの
で、検索に成功する(S6:YES)。なお、検索に当
たっては、活用を有する用言においては語幹について検
索されるので、「移」について類義語辞書82を参照し
て類義語を検索すれば(S7)、「移動する」「移行す
る」「動かす」という類義語が発見されるので(S8:
YES)、類義語表示及び選択処理(S9)を行う。
In the illustrated example, when the synonym conversion processing (S1) is completed, the original word “seat” stored in the original word storage area 75 is called into the work area 73 (S1).
2), using this original word “seat” as a keyword, the sentence “that / seat / to / to / to / to / to / to / to / to which the word is divided into words stored in the morphological analysis result storage area 72 as shown in FIG. For "te / please", in order from the beginning of the sentence, words other than "seat""that","a","that","to","move","shi"
"T" and "Please" are taken out one by one (S3). If the word is not the end (S4: NO), whether or not the original word and another word have a co-occurrence relationship is searched with reference to the co-occurrence dictionary 83 as shown in FIG. 8 (S5). ). Here, for example, if “that”, the co-occurrence data cannot be found and the extracted another word has no co-occurrence relationship with the original word (S6:
(NO), the next different word "wo" is extracted (S3), and since the word is not the end (S4: NO), co-occurrence data is similarly searched for "wo" (S5). In this way, another word is sequentially extracted from the beginning of the sentence, and the co-occurrence data is searched (S3, S4: NO, S5). Therefore, the search succeeds (S6: YES). Note that, in the search, since the stem is searched for a word having inflection, if a synonym is searched for “move” by referring to the synonym dictionary 82 (S7), “move”, “migrate”, “move” Is found (S8:
YES), a synonym display and selection process (S9) is performed.

【0056】類義語表示及び選択処理(S9)は、図3
に示す元単語の類義語表示及び選択処理(S15〜S2
0)と略同様の処理である。図11は、表示装置3の表
示画面に表示された共起語の類義語を示す模式図であ
る。類義語表示及び選択処理(S9)では、図11に示
すように、発見された共起語である別単語の類義語を表
示装置3の表示画面に表示させ、表示装置3のカーソル
キーによりキー入力があれば表示画面に表示された類義
語が選択され、類義語選択キーが押下されれば、カーソ
ルがある位置に表示されていた共起語である別単語か
ら、選択した類義語に表示を置き換える処理である。S
9における類義語表示及び選択処理が終了すれば、次の
別単語の処理(S3)の処理に移行する。
The synonym display and selection process (S9) is shown in FIG.
Synonymous display and selection processing of the original word shown in (S15 to S2)
This is substantially the same processing as in (0). FIG. 11 is a schematic diagram showing synonyms of co-occurrence words displayed on the display screen of the display device 3. In the synonym display and selection process (S9), as shown in FIG. 11, a synonym of another word that is a co-occurrence is found is displayed on the display screen of the display device 3, and key input is performed using the cursor keys of the display device 3. If there is, a synonym displayed on the display screen is selected, and if the synonym selection key is pressed, the display is replaced with a selected synonym from another word that is a co-occurrence word displayed at the position where the cursor is located. . S
When the synonym display and selection processing in 9 is completed, the processing shifts to the processing of the next another word (S3).

【0057】図3のフローチャートS15〜S20に沿
って、この処理と比較しつつ類義語表示及び選択処理
(S9)を例示した文章において説明する。図2におけ
るS8で類義語があった場合は(図2:S8:YE
S)、S15の処理と同様、その単語の類義語を表示装
置3の表示画面に表示する。
A synonym display and selection process (S9) will be described with reference to flowcharts S15 to S20 in FIG. When there is a synonym in S8 in FIG. 2 (FIG. 2: S8: YE
S) Similar to the processing of S15, a synonym of the word is displayed on the display screen of the display device 3.

【0058】例示した文章では、「移」という単語は、
図7に示すように類義語辞書82に存在するので、S1
5の処理と同様に、その類義語である「移動する」、
「移行する」、「動かす」が表示装置3の表示画面に表
示される。この例では図11に示すように、「移」の単
語の下に「移動する」、「移行する」、「動かす」がウ
インドウで表示される。
In the illustrated example, the word “move” is
Since the synonym dictionary 82 exists as shown in FIG.
Similar to the processing of 5, the synonym “move”
“Move” and “Move” are displayed on the display screen of the display device 3. In this example, as shown in FIG. 11, "move", "move", and "move" are displayed in a window below the word "move".

【0059】次に、S16の処理と同様にカーソルキー
によりキー入力して表示装置3の表示画面に表示された
類義語を選択し、S17の処理と同様に類義語選択キー
を押下すれば、S20の処理と同様にカーソルがある位
置に最初に表示されていた別単語「移」が、選択した類
義語「移動」に表示が置き換わり「その座席をあちらに
移動して下さい。」と表示され、ウインドウが消去され
る。但し、S20における処理とは異なり、元単語記憶
領域75の記憶はそのまま維持され、新たな元単語は記
憶されない。そして、図2における類義語表示及び選択
処理(S9)が終了してS3の文中の次の別単語取り出
しの処理に移行する。
Next, as in the process of S16, a key input is made with the cursor key to select a synonym displayed on the display screen of the display device 3, and the synonym selection key is pressed in the same manner as in the process of S17. In the same way as the processing, another word "move" that was initially displayed at the position of the cursor is replaced with the selected synonym "move", and the message "Please move that seat there." Is displayed, and the window is displayed. Will be erased. However, unlike the processing in S20, the storage of the original word storage area 75 is maintained as it is, and no new original word is stored. Then, the synonym display and selection process (S9) in FIG. 2 ends, and the process proceeds to the process of extracting the next different word in the sentence in S3.

【0060】なお、類義語選択キーを押下するまでは、
S18:NOの処理と同様に取り消しキーを押下すれ
ば、類義語表示及び選択処理(S9)の処理を終了す
る。また、S18:NOの処理と同様に取り消しキーを
押下しなければ、S19の処理と同様にその命令に応じ
てその他の処理、例えばカーソルを移動して次の単語の
校正に移行したり、終了キーにより校正処理自体を終了
したり、校正結果を外部記憶装置9に保存したり、ある
いはプリンタ(不図示)が接続されていれば印刷処理し
たりする。
Until the synonym selection key is pressed,
S18: If the cancel key is pressed in the same manner as the process of NO, the process of the synonym display and selection process (S9) ends. If the cancel key is not pressed in the same manner as in step S18: NO, other processing, for example, moving the cursor to move to the proofreading of the next word according to the command, or similar to the processing in step S19. The proofreading process itself is terminated by the key, the proofreading result is stored in the external storage device 9, or the printing process is performed if a printer (not shown) is connected.

【0061】なお、共起関係にある1つの別単語の処理
が終了しても、共起関係は1つの単語とは限らないた
め、同様の処理(S3〜S9)を繰り返す。そして、文
末の単語まで処理を終了し処理すべき別単語がない場合
は、単語終わり(S4:YES)として処理を終了する
(終了)。例示した文章においては、ほかに共起データ
を有する単語はないため、処理を終了する。
Even if the processing of one different word having a co-occurrence relationship is completed, the same processing (S3 to S9) is repeated because the co-occurrence relationship is not limited to one word. Then, the process is terminated up to the last word of the sentence, and if there is no other word to be processed, the process is terminated as a word end (S4: YES) (end). In the example sentence, there is no other word having co-occurrence data, and thus the processing is terminated.

【0062】本実施の形態では、形態素解析プログラム
85がCPU6にS11の形態素解析の手順を実行さ
せ、この手順を実行させるCPU6が本発明の形態素解
析手段に相当する。また、類義語辞書検索プログラム8
6がCPU6にS13の類義語辞書検索の手順を実行さ
せ、この手順を実行させるCPU6が本発明の類義語辞
書検索手段に相当する。また、類義語変換プログラム8
4がCPU6にS1の類義語変換処理即ち類義語変換の
手順を実行させ、この手順を実行させるCPU6が本発
明の類義語変換手段に相当する。また、共起辞書検索プ
ログラム88がCPU6にS5の共起辞書検索の手順を
実行させ、この手順を実行させるCPU6が本発明の共
起辞書検索手段に相当する。そして、共起語類義語変換
プログラム87がCPU6にS9の類義語表示及び選択
処理即ち共起語類義語変換の手順を実行させ、この手順
を実行させるCPU6が本発明の共起語類義語変換手段
に相当する。
In the present embodiment, the morphological analysis program 85 causes the CPU 6 to execute the morphological analysis procedure of S11, and the CPU 6 that executes this procedure corresponds to the morphological analysis means of the present invention. The synonym dictionary search program 8
6 causes the CPU 6 to execute the synonym dictionary search procedure of S13, and the CPU 6 that executes this procedure corresponds to a synonym dictionary search means of the present invention. Synonym conversion program 8
4 causes the CPU 6 to execute the synonym conversion process of S1, that is, the procedure of synonym conversion, and the CPU 6 that executes this procedure corresponds to the synonym conversion means of the present invention. The co-occurrence dictionary search program 88 causes the CPU 6 to execute the co-occurrence dictionary search procedure of S5, and the CPU 6 that executes this procedure corresponds to the co-occurrence dictionary search means of the present invention. Then, the co-occurrence synonym conversion program 87 causes the CPU 6 to execute the synonym display and selection processing in S9, that is, the co-occurrence synonym conversion procedure, and the CPU 6 that executes this procedure corresponds to the co-occurrence synonym conversion means of the present invention. .

【0063】本実施の形態の文章校正装置1では、文章
の校正時に任意の単語を類義語に変更したい場合に、類
義語辞書82を検索して、変更しようとする元単語の類
義語が表示装置3に表示されるので、操作者はその表示
された類義語を選択するだけで元の単語を類義語に変更
でき、文章の校正作業を容易にできるという効果があ
る。それに加え、元の単語と密接な関係にある共起語に
ついても自動的に検索が行われ、共起関係にある別単語
の類義語を自動的に表示することができ、表示された類
義語を選択するだけで簡単に文章の校正ができるという
効果がある。従って、元の単語の変更に伴い密接な関係
にある共起語の校正をし忘れることがなく、また、その
変更も表示された類義語を選択するだけでできる。その
ため、校正作業が簡易になり文章の校正作業の効率を高
めることができ、かつ文章のバランスのとれた品質の高
い校正作業を行うことができるという効果を奏する。
In the sentence proofreading apparatus 1 of the present embodiment, when it is desired to change an arbitrary word into a synonym at the time of proofreading the sentence, the synonym dictionary 82 is searched and a synonym of the original word to be changed is displayed on the display device 3. Since it is displayed, the operator can change the original word to a synonym simply by selecting the displayed synonym, and there is an effect that the proofreading work of the sentence can be easily performed. In addition, co-occurrence words that are closely related to the original word are automatically searched, and synonyms of other words that have a co-occurrence relation can be automatically displayed, and the displayed synonym can be selected. There is an effect that sentences can be easily corrected just by doing. Therefore, there is no need to forget to correct the co-occurrence words which are closely related to the change of the original word, and the change can be made only by selecting the displayed synonym. Therefore, there is an effect that the proofreading operation is simplified, the efficiency of the proofreading operation of the sentence can be improved, and the proofreading operation of the sentence can be performed with high quality.

【0064】なお、1の実施の形態に基づき本発明を説
明したが、本発明は上述した実施の形態に何ら限定され
るものではなく、本発明の趣旨を逸脱しない範囲で種々
の改良をし変更することが可能であることは容易に推察
できるものである。例えば、本実施の形態では共起語を
類義語の一つとしてウインドウに表示しているが、上記
別単語を検索された共起語に置き換えて表示し、別単語
およびその他の類義語にウインドウを表示するようにす
れば、選択キーの1回の操作で共起語に置き換えること
ができ、変更したくない場合には取り消しキーの1回の
操作で元に戻すようにすれば操作性を高めることができ
る。
Although the present invention has been described based on one embodiment, the present invention is not limited to the above-described embodiment, and various improvements can be made without departing from the spirit of the present invention. It is easy to guess that it can be changed. For example, in the present embodiment, the co-occurrence word is displayed in the window as one of the synonyms, but the above-mentioned another word is replaced with the searched co-occurrence word and displayed, and the window is displayed in another word and other synonyms. If you do so, you can replace it with a co-occurrence word with a single operation of the select key, and if you do not want to change it, you can return to the original with a single operation of the cancel key to improve operability Can be.

【0065】[0065]

【発明の効果】請求項1に係る発明の文章校正装置で
は、文章の校正時に任意の単語を類義語に変更したい場
合に、類義語辞書により変更しようとする類義語が表示
されるので、その表示された類義語を選択するだけで元
の単語を類義語に変更でき、文章の校正作業を容易にで
きるという効果があり、加えて、元の単語と密接な関係
にある共起語についても類義語を自動的に表示すること
ができるという効果がある。そのため、元の単語の変更
に伴い密接な関係にある共起語の校正をし忘れることが
ないという効果がある。また、その変更も表示された類
義語を選択するだけでできるという効果がある。そのた
め、校正作業が簡易になり文章の校正作業の効率を高め
ることができ、かつ文章のバランスのとれた品質の高い
校正作業を行うことができるという効果を奏する。
In the sentence proofreading apparatus according to the first aspect of the present invention, when it is desired to change an arbitrary word into a synonym at the time of proofreading the sentence, the synonym to be changed is displayed by the synonym dictionary. By simply selecting a synonym, the original word can be changed to a synonym, which has the effect of facilitating the proofreading work.In addition, synonyms for co-occurring words that are closely related to the original word are automatically generated. There is an effect that it can be displayed. Therefore, there is an effect that the user does not forget to proofread co-occurrence words which are closely related to the change of the original word. Further, there is an effect that the change can be made only by selecting the displayed synonym. Therefore, there is an effect that the proofreading operation is simplified, the efficiency of the proofreading operation of the sentence can be improved, and the proofreading operation of the sentence can be performed with high quality.

【0066】請求項2に係る発明の文章校正処理プログ
ラムを記録したコンピュータ読取可能な記録媒体では、
汎用コンピュータに、文章の校正時に任意の単語を類義
語に変更したい場合に、類義語辞書により変更しようと
する類義語を表示させ、その表示された類義語を選択す
るだけで元の単語を類義語に変更できる処理を実行させ
ることができるという効果がある。そのため、文章の校
正作業を容易にできるばかりでなく、元の単語と密接な
関係にある共起語についても類義語を自動的に表示する
ような手順を実行させることができるので、元の単語の
変更に伴い密接な関係にある共起語の校正をし忘れるこ
とがないという効果を奏する。また、その変更も表示さ
れた類義語を選択するだけでできるように処理を実行さ
せることができるという効果がある。そのため、校正作
業が簡易になり、文章の校正作業の効率を高め、かつ文
章のバランスのとれた品質の高い校正作業を行うことが
できるという効果を奏する。
According to a second aspect of the present invention, there is provided a computer-readable recording medium storing a text proofreading processing program.
When a general-purpose computer wants to change any word to a synonym when proofreading a sentence, display the synonym to be changed in the synonym dictionary and change the original word to a synonym simply by selecting the displayed synonym Can be executed. As a result, not only can the sentence proofreading work be facilitated, but also a procedure that automatically displays synonyms for co-occurring words that are closely related to the original word can be executed. This has the effect of not forgetting to proofread co-occurrence words that are closely related to the change. In addition, there is an effect that the processing can be executed so that the change can be performed only by selecting the displayed synonym. Therefore, there is an effect that the proofreading operation is simplified, the efficiency of the proofreading operation of the sentence is improved, and the proofreading operation in which the sentence is balanced and of high quality can be performed.

【図面の簡単な説明】[Brief description of the drawings]

【図1】文章校正装置1の概略を示す図である。FIG. 1 is a view schematically showing a sentence proofreading device 1. FIG.

【図2】文章校正プログラムの処理の手順の全体の流れ
を示すフローチャートである。
FIG. 2 is a flowchart showing an overall flow of a procedure of a sentence proofreading program.

【図3】図2における類義語変換処理(S1)の処理の
手順を詳細に説明するフローチャートである。
FIG. 3 is a flowchart illustrating in detail a procedure of a synonym conversion process (S1) in FIG. 2;

【図4】図3における1文の形態素解析(S11)の処
理の手順を詳細に説明するフローチャートである。
FIG. 4 is a flowchart illustrating in detail a procedure of a morphological analysis (S11) of one sentence in FIG. 3;

【図5】形態素解析辞書81の記憶内容の一部を模式的
に示した図である。
FIG. 5 is a diagram schematically showing a part of contents stored in a morphological analysis dictionary 81;

【図6】形態素解析結果記憶領域72に記憶された形態
素解析結果の記憶内容の一部を模式的に示した図であ
る。
FIG. 6 is a diagram schematically showing a part of the stored contents of a morphological analysis result stored in a morphological analysis result storage area 72;

【図7】類義語辞書82の記憶内容の一部を模式的に示
した図である。
FIG. 7 is a diagram schematically showing a part of storage contents of a synonym dictionary 82;

【図8】共起辞書83の記憶内容の一部を模式的に示し
た図である。
FIG. 8 is a diagram schematically showing a part of storage contents of a co-occurrence dictionary 83.

【図9】文章校正の対象となる文章が表示された状態を
模式的に表した表示装置3の表示画面を示す図である。
FIG. 9 is a diagram showing a display screen of the display device 3 schematically showing a state in which a sentence to be sentence correction is displayed.

【図10】表示装置3の表示画面に表示された元単語の
類義語を示す模式図である。
FIG. 10 is a schematic diagram showing a synonym of the original word displayed on the display screen of the display device 3.

【図11】表示装置3の表示画面に表示された共起語の
類義語を示す模式図である。
FIG. 11 is a schematic diagram showing synonyms of co-occurrence words displayed on the display screen of the display device 3.

【符号の説明】[Explanation of symbols]

1 文章校正装置 2 入力装置 3 表示装置 4 インタフェイス 5 バス 6 CPU 7 RAM 8 ROM 9 外部記憶装置 10 通信回線 71 入力テキスト記憶領域 72 形態素解析結果記憶領域 73 ワーク領域 74 出力データ記憶領域 75 元単語記憶領域 81 形態素解析辞書 82 類義語辞書 83 共起辞書 84 類義語変換プログラム 85 形態素解析プログラム 86 類義語辞書検索プログラム 87 共起語類義語変換プログラム 88 共起辞書検索プログラム 89 制御プログラム Reference Signs List 1 sentence proofreading device 2 input device 3 display device 4 interface 5 bus 6 CPU 7 RAM 8 ROM 9 external storage device 10 communication line 71 input text storage region 72 morphological analysis result storage region 73 work region 74 output data storage region 75 original word Storage area 81 Morphological analysis dictionary 82 Synonym dictionary 83 Co-occurrence dictionary 84 Synonym conversion program 85 Morphological analysis program 86 Synonym dictionary search program 87 Co-occurrence synonym conversion program 88 Co-occurrence dictionary search program 89 Control program

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 日本語文章を入力するための入力手段
と、 情報を表示可能な表示手段と、 単語の表記と品詞情報等を記憶した形態素解析辞書と、 所定の単語についての類義語を記憶した類義語辞書と、 所定の単語と共起関係にある共起語を対応させて記憶す
る共起辞書と、 前記入力手段により入力された日本語文章を前記形態素
解析辞書に基づいて単語ごとに分割する形態素解析手段
と、 単語を前記類義語辞書を参照して検索し、当該単語の類
義語を抽出する類義語辞書検索手段と、 任意の単語に対して、前記類義語辞書検索手段によって
抽出された類義語を前記表示手段に表示し、元の単語を
前記入力手段により選択された類義語に置き換える類義
語変換手段と、 前記類義語に置き換えられた前記元の単語が類義語に変
換されたとき、当該元の単語の属する文章中の別の単語
について、前記元の単語と共起関係にある単語を前記共
起辞書を参照して検索することにより共起語を抽出する
共起辞書検索手段と、 前記共起辞書検索手段により抽出された共起語について
前記類義語辞書を参照し検索して類義語を抽出し、当該
抽出された類義語を前記表示手段に表示し、元の単語の
共起語を前記入力手段により選択された類義語に置き換
える共起語類義語変換手段を備えることを特徴とする文
章校正装置。
An input means for inputting a Japanese sentence, a display means capable of displaying information, a morphological analysis dictionary storing word notation and part-of-speech information, and a synonym for a predetermined word are stored. A synonym dictionary, a co-occurrence dictionary that stores co-occurrence words having a co-occurrence relationship with a predetermined word, and a Japanese sentence input by the input unit is divided for each word based on the morphological analysis dictionary A morphological analysis unit, a synonym dictionary search unit that searches for a word by referring to the synonym dictionary, and extracts a synonym of the word, and a synonym extracted by the synonym dictionary search unit for an arbitrary word. A synonym conversion means for displaying on the means and replacing the original word with a synonym selected by the input means, when the original word replaced with the synonym is converted into a synonym, Co-occurrence dictionary search means for extracting co-occurrence words by searching for another word in the sentence to which the original word belongs by referring to the co-occurrence dictionary for a word having a co-occurrence relationship with the original word The co-occurrence dictionary extracted by the co-occurrence dictionary search unit is searched with reference to the synonym dictionary to extract synonyms, and the extracted synonyms are displayed on the display unit. A sentence proofreading device comprising a co-occurrence synonym conversion means for replacing with a synonym selected by the input means.
【請求項2】単語の表記と品詞情報等を記憶した形態素
解析辞書と、 所定の単語についての類義語を記憶した類義語辞書と、 所定の単語と共起関係にある共起語を対応させて記憶す
る共起辞書とを備え、 日本語文章を入力するための入力手段と、情報を表示可
能な表示手段とを備え、 コンピュータに、 前記入力手段により入力された日本語文章を前記形態素
解析辞書に基づいて単語ごとに分割する形態素解析の手
順と、 単語を前記類義語辞書を参照して検索し、当該単語の類
義語を抽出する類義語辞書検索の手順と、 任意の単語に対して、前記類義語辞書検索の手順によっ
て抽出された類義語を前記表示手段に表示し、元の単語
を前記入力手段により選択された類義語に置き換える類
義語変換の手順と、 前記類義語に置き換えられた前記元の単語が類義語に変
換されたとき、当該元の単語の属する文章中の別の単語
について、前記元の単語と共起関係にある単語を前記共
起辞書を参照して検索することにより共起語を抽出する
共起辞書検索の手順と、 前記共起辞書検索の手順により抽出された共起語につい
て前記類義語辞書を参照し検索して類義語を抽出し、当
該抽出された類義語を前記表示手段に表示し、元の単語
の共起語を前記入力手段により選択された類義語に置き
換える共起語類義語変換の手順とを実行させることを特
徴とする文章校正処理プログラムを記録したコンピュー
タ読取可能な記録媒体。
2. A morphological analysis dictionary storing word expressions and part-of-speech information, a synonym dictionary storing synonyms for a predetermined word, and a co-occurrence word having a co-occurrence relationship with the predetermined word. A co-occurrence dictionary, comprising input means for inputting a Japanese sentence, and display means capable of displaying information, wherein the computer outputs the Japanese sentence input by the input means to the morphological analysis dictionary. A morphological analysis procedure for dividing each word based on the same term; a synonym dictionary search procedure for searching for a word by referring to the synonym dictionary and extracting a synonym of the word; and a synonym dictionary search for an arbitrary word. Displaying the synonyms extracted by the above procedure on the display means, and replacing the original words with the synonyms selected by the input means. When the original word is converted to a synonym, another word in the sentence to which the original word belongs is searched for a word having a co-occurrence relationship with the original word by referring to the co-occurrence dictionary. A co-occurrence dictionary search procedure for extracting a co-occurrence word; and searching for co-occurrence words extracted by the co-occurrence dictionary search procedure with reference to the synonym dictionary to extract synonyms and displaying the extracted synonyms. Computer readable recording a sentence proofreading processing program characterized by executing the procedure of co-occurrence synonym conversion to replace the co-occurrence of the original word with the synonym selected by the input means. recoding media.
JP27148199A 1999-09-27 1999-09-27 Sentence proofreading device and computer-readable recording medium recording sentence proofreading program Pending JP2001092821A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27148199A JP2001092821A (en) 1999-09-27 1999-09-27 Sentence proofreading device and computer-readable recording medium recording sentence proofreading program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27148199A JP2001092821A (en) 1999-09-27 1999-09-27 Sentence proofreading device and computer-readable recording medium recording sentence proofreading program

Publications (1)

Publication Number Publication Date
JP2001092821A true JP2001092821A (en) 2001-04-06

Family

ID=17500655

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27148199A Pending JP2001092821A (en) 1999-09-27 1999-09-27 Sentence proofreading device and computer-readable recording medium recording sentence proofreading program

Country Status (1)

Country Link
JP (1) JP2001092821A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004334839A (en) * 2003-04-30 2004-11-25 Microsoft Corp Character and text unit input/correction system
JP2015118395A (en) * 2013-12-16 2015-06-25 Kddi株式会社 Text editing support device, program, and text editing supporting system
US9430051B2 (en) 2003-04-30 2016-08-30 Microsoft Technology Licensing, Llc Keyboard with input-sensitive display device
CN110348013A (en) * 2019-07-05 2019-10-18 武汉莱博信息技术有限公司 Writing householder method, equipment and readable storage medium storing program for executing based on artificial intelligence

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004334839A (en) * 2003-04-30 2004-11-25 Microsoft Corp Character and text unit input/correction system
KR101043496B1 (en) * 2003-04-30 2011-06-23 마이크로소프트 코포레이션 Character and text unit input correction system
US9430051B2 (en) 2003-04-30 2016-08-30 Microsoft Technology Licensing, Llc Keyboard with input-sensitive display device
JP2015118395A (en) * 2013-12-16 2015-06-25 Kddi株式会社 Text editing support device, program, and text editing supporting system
CN110348013A (en) * 2019-07-05 2019-10-18 武汉莱博信息技术有限公司 Writing householder method, equipment and readable storage medium storing program for executing based on artificial intelligence

Similar Documents

Publication Publication Date Title
US20210073467A1 (en) Method, System and Apparatus for Entering Text on a Computing Device
US7403888B1 (en) Language input user interface
US7149970B1 (en) Method and system for filtering and selecting from a candidate list generated by a stochastic input method
JP2002014954A (en) Chinese language inputting and converting processing device and method, and recording medium
JP2010205268A (en) Computer assisted natural language translation
JPH11338858A (en) Device and method for predicting input and storage medium recording input predictive program
US20130191110A1 (en) Method for character correction
JP6210398B2 (en) Translation support device, translation support system, and program thereof
JP2001092821A (en) Sentence proofreading device and computer-readable recording medium recording sentence proofreading program
JP5628485B2 (en) Translation support system and method and program thereof
JP4043176B2 (en) Natural language processing device
JPWO2009038209A1 (en) Machine translation system, machine translation method, and machine translation program
JP3692711B2 (en) Machine translation device
JP3147947B2 (en) Machine translation equipment
JP2000148747A (en) Conversion candidate display method, record medium for program for japanese syllabary-to-chinese character conversion by same method, and japanese syllbary-to- chinese character conversion device
JP3114217B2 (en) English-Japanese machine translator
JPH08241315A (en) Word registering mechanism for document processor
JPH0981555A (en) Method and device for document processing
JPH0683807A (en) Document preparing device
JPH1021242A (en) Machine translation system and machine translation post-editing method
JPH1166090A (en) Information processor, dictionary information using method and recording medium
AU2015221542A1 (en) Method system and apparatus for entering text on a computing device
JPH07182348A (en) Translation system
JP2002041516A (en) Device and method for machine translation, and computer-readable storage medium with machine translating program recorded thereon
JPH1049534A (en) Machine translation supporting device and method therefor