JP2570681B2 - Word processor - Google Patents

Word processor

Info

Publication number
JP2570681B2
JP2570681B2 JP60071758A JP7175885A JP2570681B2 JP 2570681 B2 JP2570681 B2 JP 2570681B2 JP 60071758 A JP60071758 A JP 60071758A JP 7175885 A JP7175885 A JP 7175885A JP 2570681 B2 JP2570681 B2 JP 2570681B2
Authority
JP
Japan
Prior art keywords
sentence
character string
expression
passive
character
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.)
Expired - Fee Related
Application number
JP60071758A
Other languages
Japanese (ja)
Other versions
JPS61229155A (en
Inventor
博之 絹川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP60071758A priority Critical patent/JP2570681B2/en
Publication of JPS61229155A publication Critical patent/JPS61229155A/en
Application granted granted Critical
Publication of JP2570681B2 publication Critical patent/JP2570681B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明はワード・プロセッサに関し、特に日本語文に
おける文末形態,二重否定表現,受身表現を判別して高
品質な文章を作成するのに好適なワード・プロセッサに
関するものである。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a word processor, and more particularly to a word processor suitable for creating a high-quality sentence by discriminating a sentence end form, a double negation expression, and a passive expression in a Japanese sentence. It concerns a word processor.

〔発明の背景〕[Background of the Invention]

日本語の文書を作成するワード・プロセッサにおい
て、高品質な文章を作成する方法としては、日並,牛島
著「日本語文章推敲支援ツールのプロトタイピング
(1)」情報処理学会第29回全国大会講演論文集(I)
3D−8,昭和59年9月11日,P413〜414に記載されているよ
うに、文を抽出し文頭,文末,文長を並べて表示するな
どを行って、文章の推敲を支援する方法がある。
As a method of creating high-quality sentences in a word processor that creates Japanese documents, see Nichinami and Ushijima, "Prototyping of Japanese Text Elaboration Support Tool (1)," IPSJ 29th Annual Convention Proceedings (I)
As described in 3D-8, September 11, 1984, pp. 413-414, there is a method to support the elaboration of sentences by extracting sentences and displaying the beginning, end, and length of the sentences side by side. is there.

しかし、読易い文章を作成するためには、文末を通
常の言回し形態である「だ」,「である」調と丁寧な言
回し形態である「です」,「ます」調を混在させない。
文意を曖昧にしてしまう二重否定表現を排除すること
が望まれるが、上記方法においては文末,二重否定を判
別する機能については配慮されていない。また、上記
方法では対象文章に対して一括処理による表示法のため
に受身表現箇所であることの表示が対象文章と分離して
行われるので、修正の際には再び修正対象の受身表現箇
所を探索する動作が必要であった。
However, in order to create an easy-to-read sentence, the end of the sentence should not be mixed with the usual wording styles "da" and "is" and the polite wording styles "da" and "masu".
Although it is desirable to eliminate double negative expressions that obscure the sentence, the above method does not consider the function of determining the end of sentences and double negation. In addition, in the above method, since the display of the passive expression part is performed separately from the target sentence because of the display method by batch processing for the target sentence, the passive expression part to be corrected is again displayed at the time of correction. A search operation was required.

〔発明の目的〕[Object of the invention]

本発明の目的は、このような従来の問題を解決し、文
書の作成時において文章の推敲を支援するときに、特別
なハードウェア機能を設けることなく、文章をより高品
質化するとともに、文章作成の作業効率を高めることが
可能なワード・プロセッサを提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to solve such a conventional problem and improve the quality of a sentence without providing a special hardware function when supporting the elaboration of a sentence when creating a document. It is an object of the present invention to provide a word processor capable of improving the efficiency of creation.

〔発明の概要〕[Summary of the Invention]

上記目的を達成するため、本発明のワード・プロセッ
サは、文書を作成するワード・プロセッサにおいて、 通常の言い回し形態および丁寧な言い回し形態の文末
形態文字列の表、文を否定形にする否定表現文字列の
表、ならびに文を受身形にする受け身表現文字列の表を
それぞれ記憶する記憶手段と、 上記作成される文書の文字列テキストと、上記文末形
態文字列表、否定表現文字列表および受け身表現文字列
表とを、文の相対位置を示す相対位置カウンタおよび文
末表現認定の直後を示すフラグを用いて文字列を抽出す
ることによりそれぞれ比較照合し、文末形態については
所定の表現が同一文中に少なくとも1つ存在するか否
か、否定表現については同一文中に少なくとも2箇所存
在するか否か、および受け身表現については同一パラグ
ラフ中に一定値以上存在するか否かを判別し、判別され
た当該表現内容を文書中の表現として表示する判別表示
手段と、 判別される文字列テキストを格納する文書ファイルと を具備したことを特徴としている。
In order to achieve the above object, a word processor according to the present invention is a word processor for creating a document, which is a table of a character string of a sentence end form in a normal wording form and a polite wording form, and a negative expression character for making a sentence a negative form. Storage means for respectively storing a table of columns and a table of passive expression strings for converting sentences into passive forms; a character string text of the created document; a sentence end form character string table, a negative expression character string table, and a passive expression The character string table is compared and matched by extracting a character string using a relative position counter indicating the relative position of the sentence and a flag indicating immediately after the end of sentence expression recognition. Whether there is one, whether there are at least two places in the same sentence for negative expressions, and the same parameter for passive expressions A discriminating display means for discriminating whether or not there is a certain value or more in the rough, and displaying the discriminated expression as a representation in a document; and a document file for storing the discriminated character string text. It is characterized by.

〔発明の実施例〕(Example of the invention)

以下、本発明の実施例を図面により説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.

始めに、第一の実施例である文末表現が通常の言回し
形態,丁寧な言回し形態のいずれかを判別して表示し、
文章の文末形態の統一を支援する方法について第1図〜
第11図により述べる。
First, the sentence end expression of the first embodiment is displayed by discriminating between a normal wording form and a polite wording form,
About the method to support the unification of the end form of sentences
This will be described with reference to FIG.

第2図は、本発明の第一の実施例を示す文末形態判別
機能付日本語ワード・プロセッシングの機能構成図であ
る。同図において、1はワード・プロセッシング処理制
御機能ブロック(以下、ワープロと呼ぶ)、2は文字列
テキストの入力,校正,編集,表示,印刷出力などを行
うワープロ処理機能ブロック群、3は文字列テキストを
格納する文字列テキスト格納部、4aは文字列テキスト中
に文末表現部の認定などを行う文末形態別機能ブロッ
ク、5aは通常文末形態,丁寧文末形態の各文字列を格納
する文末表現格納部である。なお、本構成は従来の日本
語ワード・プロセッサに文末形態判別機能ブロック4aと
文末表現格納部5aを設けたものである。
FIG. 2 is a functional block diagram of Japanese word processing with a sentence end form discrimination function according to the first embodiment of the present invention. In the figure, 1 is a word processing processing control function block (hereinafter, referred to as a word processor), 2 is a word processing function block group for inputting, proofreading, editing, displaying, and printing out a character string text, and 3 is a character string. A character string text storage unit that stores text, 4a is a function block for each sentence end form that identifies the sentence end expression part in the character string text, and 5a is a sentence end expression storage that stores the normal sentence end and polite sentence end character strings. Department. In this configuration, a sentence end form discrimination function block 4a and a sentence end expression storage unit 5a are provided in a conventional Japanese word processor.

文末形態判別機能ブロック4aは、ワープロ1によって
起動されると、後述する方法で文字列テキスト格納部3
の文字列テキストと文末表現格納部5aの各文字列を比較
照合して、一致する文字列を検出し、検出した文字列表
現が通常文末形態,丁寧文末形態のいずれに属している
かを表示すると共に、1パラグラフごとに通常,丁寧文
末形態の混在状況を判別する。一方、ワープロ処理機能
ブロック群2が起動されたときには、従来の日本語ワー
ド・プロセッシングを実行する。
When activated by the word processor 1, the sentence end form discriminating function block 4a starts the character string text storage unit 3 by a method described later.
Is compared with each character string in the sentence ending expression storage unit 5a, a matching character string is detected, and whether the detected character string expression belongs to a normal sentence end form or a polite sentence end form is displayed. At the same time, it usually determines the mixed state of the polite sentence end form for each paragraph. On the other hand, when the word processor processing function block group 2 is activated, the conventional Japanese word processing is executed.

第3図は、本発明の第一の実施例を示す文末形態判別
機能付日本語ワード・プロセッサのハードウェア構成図
である。同図において、6はプロセッサ、7は文字など
の入力あるいは編集処理の指示を行う入力装置(キーボ
ード)、8は文字列テキストなどを表示する表示装置、
11はプログラム格納部9,ワークエリア10,文字列テキス
ト格納部3,文末表現格納部5aからなる記憶装置である。
なお、キーボード7は第4図に示すキー配列であり、文
字などを入力するキー群72と処理内容を指示するキー群
71(含む文末形態判別指示キー711)で構成する。
FIG. 3 is a hardware configuration diagram of a Japanese word processor with a sentence end form discrimination function according to the first embodiment of the present invention. In the figure, 6 is a processor, 7 is an input device (keyboard) for inputting a character or the like or instructing an editing process, 8 is a display device for displaying a character string text or the like,
Reference numeral 11 denotes a storage device including a program storage unit 9, a work area 10, a character string text storage unit 3, and a sentence end expression storage unit 5a.
The keyboard 7 has the key arrangement shown in FIG. 4, and includes a key group 72 for inputting characters and the like and a key group for instructing processing contents.
71 (including the sentence end form discrimination instruction key 711).

ワープロ1は、第1図に示すように、キーボード7か
らのキー入力待ちの状態にあるときに、文末形態判別指
示キー711を受信すると、文末形態判別機能ブロック4a
を起動して、文末表現格納部5a参照による文末表現の検
出などを行わせ(ステップ101〜103)、一方、上記以外
のキーを受信すると、ワープロ処理機能ブロック群2を
起動して、受信したキーが指示する内容の処理を行わせ
ると共に(ステップ104)、文書作成などの処理全体が
終了するまで上記いずれかの処理を繰返し実行する(ス
テップ105)。なお、受信するキーの種類によっては、
ステップ103の二重否定表現検出4bと否定表現5b(二重
否定表現検出機能)、または受身表現検出4cと受身表現
5c(受身表現検出機能)が起動されるが、この両機能に
関しては、第二,第三の実施例として後で詳細に説明す
るので、ここでは文末形態判別機能ブロック4aと文末表
現格納部5a(文末形態判別機能)のみについて説明す
る。
As shown in FIG. 1, when the word processor 1 receives the sentence end form discriminating instruction key 711 while waiting for a key input from the keyboard 7, the word end form discriminating function block 4a
Is activated to detect the end-of-sentence expression by referring to the end-of-sentence expression storage unit 5a (steps 101 to 103). On the other hand, when a key other than the above is received, the word processing function block group 2 is started and received. At the same time as the processing specified by the key is performed (step 104), any one of the above processing is repeatedly executed until the entire processing such as document creation is completed (step 105). Note that depending on the type of key received,
Double negative expression detection 4b and negative expression 5b (double negative expression detection function) in step 103, or passive expression detection 4c and passive expression
5c (passive expression detection function) is activated. Since both of these functions will be described in detail later as second and third embodiments, the sentence end form discrimination function block 4a and the sentence end expression storage unit 5a are used here. Only the (sentence end form discrimination function) will be described.

上記ステップ103の文末形態判別機能ブロック4aによ
る処理内容の詳細を第5図〜第11図により以下に述べ
る。
The details of the processing performed by the sentence end form discrimination function block 4a in step 103 will be described below with reference to FIGS. 5 to 11.

文末形態判別機能ブロック4aは、ワープロ1によって
起動されると、第5図に示すように、先ず、単文の数を
カウントするための単文数カウンタS,通常文末形態の数
をカウントするための通常文末形態カウンタE1,丁寧文
末形態の数をカウントするための丁寧文末形態カウンタ
E2をそれぞれ“0"クリアする(ステップ41a〜43a)。続
いて、後述する方法で文字列テキスト格納部3の文字列
テキストと文末表現格納部5aの各文字列との比較照合を
上記文字列テキストの文頭から順にパラグラフ末まで行
って、文字列テキスト中に含まれている通常または丁寧
文末表現部を認定し(ステップ44a,45a)(以下、文末
表現認定処理モジュール44aと呼ぶ)、後述する方法で
パラグラフ内における文末形態の混在状況を評価すると
共に(ステップ46a)(以下、パラグラフ評価処理モジ
ュール46aと呼ぶ)、上記動作を文字列テキスト格納部
3内の全ての文字列テキストに対して繰返し実行し、本
機能ブロック4aの処理を終了する(ステップ47a)。
When activated by the word processor 1, the sentence end form discriminating function block 4a firstly receives a single sentence number counter S for counting the number of single sentence and a normal sentence counter for counting the number of normal sentence end forms, as shown in FIG. Sentence end form counter E 1 , a polite sentence end form counter for counting the number of polite sentence end forms
E 2 each is cleared to "0" (step 41a~43a). Subsequently, the character string text in the character string text storage unit 3 and each character string in the end-of-sentence expression storage unit 5a are compared and collated in order from the beginning of the character string text to the end of the paragraph by the method described later. (Steps 44a and 45a) (hereinafter referred to as a sentence end expression recognition processing module 44a), and evaluates the mixed state of the end of sentence forms in the paragraph by a method described later ( Step 46a) (hereinafter referred to as the paragraph evaluation processing module 46a), the above operation is repeatedly executed for all the character string texts in the character string text storage unit 3, and the processing of the functional block 4a ends (step 47a). ).

文末表現認定処理モジュール44aは、制御が渡される
と、第6図に示すように、文字列テキストにおける文字
の相対位置を示すための相対位置カウンタC,文末表現認
定の直後を示すためのフラグFをそれぞれ“0"クリアし
(ステップ4401,4402)、相対位置カウンタCの値が文
末を示していないとき、先ず、相対位置カウンタCの値
が示す位置以降の文字列テキストの文字列が通常文末形
態文字列のいずれかと一致するか否かを判別し、一致す
る通常文末形態文字列が有るときは通常文末形態カウン
タE1に“1"を加算して、単文数カウンタSにも“1"を加
算し、フラグFを“1"にセットして、次の文字列照合の
位置を合せるために相対位置カウンタCに照合一致した
通常文末形態文字列の長さを加算し、表示装置8に表示
するために一致した文字列テキスト中の文字列の位置情
報と、一致した文字列が通常,丁寧のいずれの文末形態
であるかの識別情報とを所定のエリアにセットする(ス
テップ4403〜4409)。
When the control is passed to the sentence end expression recognition processing module 44a, as shown in FIG. 6, the relative position counter C for indicating the relative position of the character in the character string text, and the flag F for indicating immediately after the end of sentence expression recognition, as shown in FIG. Are cleared to "0" (steps 4401 and 4402), and when the value of the relative position counter C does not indicate the end of the sentence, first, the character string of the character string text after the position indicated by the value of the relative position counter C is normally the end of the sentence. It determines whether or not to coincide with any form strings, when a matching normal endnote form string there usually by adding "1" to the end of the sentence form counter E 1, also simple sentence counter S "1" Is set, the flag F is set to "1", and the length of the normal sentence end form character string matched with the relative position counter C is added in order to match the position of the next character string matching. String text matched for display The position information of the character string in the strike and the identification information as to which of the sentence ending form the matched character string is usually set in a predetermined area (steps 4403 to 4409).

なお、相対位置カウンタCが示す位置の文字と比較照
合される通常文末形態文字列は、第8図に示すように、
各文字列とその文字列の長さで構成したテーブルにす
る。すなわち、日本語文章中における通常文末の表現
は、一般に、述語の終止形や非丁寧断定の助動詞「だ」
や補助用言「である」,「でない」の付接によって表わ
されるので、それらの文字列をテーブル登録する。それ
らの文字列の長さは2〜4である。
The normal sentence end form character string to be compared with the character at the position indicated by the relative position counter C is, as shown in FIG.
Create a table consisting of each character string and its length. In other words, the expression at the end of an ordinary sentence in Japanese sentences is generally the end form of a predicate or the auxiliary verb "da"
The character strings are registered in a table because they are represented by the attachments of the auxiliary words "is" and "is not". The length of those character strings is 2-4.

また、例えば、文字列テキストが第10図の内容である
ときは、上記判別の動作により1行目に通常文末形態文
字列の“なかった”を認定する。
Further, for example, when the character string text has the contents shown in FIG. 10, "absent" of the normal sentence end form character string is recognized on the first line by the above-described operation of the determination.

続いて、上記と同様、相対位置カウンタCの値が示す
位置以降の文字列が丁寧文末形態文字列のいずれかと一
致するか否かを判別し、一致する丁寧文末形態文字列が
有るときは、丁寧文末形態カウンタE2に“1"を加算した
後(ステップ4410,4411)、上述したステップ4406〜440
9の処理動作を同様に行う。
Subsequently, similarly to the above, it is determined whether or not the character string after the position indicated by the value of the relative position counter C matches any of the polite sentence end form character strings, and when there is a matching polite sentence end form character string, after adding "1" to carefully endnotes form counter E 2 (step 4410,4411), step described above 4406-440
Step 9 is performed in the same manner.

なお、相対位置カウンタCが示す位置の文字と比較照
合される丁寧文末形態文字列は、第9図に示すように、
各文字列とその文字列の長さで構成したテーブルにす
る。すなわち、日本語文章における丁寧文末表現は、一
般に、「丁寧」を示す助動詞「です」,「ます」や、補
助用言「ございます」,「いただく」などが付接されて
表わされるので、それらの文字列をテーブル登録する。
それらの文字列の長さは2〜7である。
The polite sentence end form character string that is compared with the character at the position indicated by the relative position counter C is, as shown in FIG.
Create a table consisting of each character string and its length. In other words, polite sentence ending expressions in Japanese sentences are generally attached with the auxiliary verbs “is” and “mas”, which indicate “polite”, and the auxiliary verbs “is” and “you”. Is registered in the table.
The length of those character strings is 2-7.

また、例えば、文字列テキストが第10図の内容である
ときは、上記判別の動作により2行目に丁寧文末形態文
字列の“ました”を認定する。
Further, for example, when the character string text has the content shown in FIG. 10, the character string "" which is the polite sentence end form character string is recognized on the second line by the above-described determination operation.

一方、一致する丁寧文末形態文字列が無いときは、相
対位置カウンタCの値が示す位置が読点,スペース,文
節区切目などであるか否かを判別して、あるときにはフ
ラグFを“0"にセットし、単文数カウンタCに“1"を加
算する(ステップ4412〜4414)。上述した動作を繰返し
実行して相対位置カウンタCの値が文末に達したとき
は、フラグFをチェックして、“0"のときは単文数カウ
ンタSに“1"を加算し、本処理モジュール44aの処理を
終了する(ステップ4415〜4416)。なお、図示していな
いが終了前に、例えば、第10図の文字列テキスト中に認
定した通常文末形態文字列の“なかった”と丁寧文末形
態文字列の“ました”を第11図に示すように、表示装置
8に表示する。
On the other hand, when there is no matching polite sentence end form character string, it is determined whether or not the position indicated by the value of the relative position counter C is a reading point, a space, a segment break, or the like. And add "1" to the single sentence counter C (steps 4412-4414). When the above operation is repeatedly executed and the value of the relative position counter C reaches the end of the sentence, the flag F is checked, and when it is "0", "1" is added to the single sentence counter S, and the processing module The processing of 44a ends (steps 4415 to 4416). Although not shown, before the end, for example, in the character string text in FIG. 10, the normal sentence-end form character string “No” and the polite sentence-end form character string “I” are shown in FIG. It is displayed on the display device 8 as shown.

パラグラフ評価処理モジュール46aは、制御が渡され
ると、第7図に示すように、丁寧文末形態カウンタE2
チェックして、その値が“0"のときは直ちに終了とし
(ステップ4601)、E2の値が単文数カウンタSの値と等
しい、または、E2の値が単文数カウンタSの値より小さ
く、かつ通常文末形態カウンタE1の値が“0"であるとき
は、文字列テキストのパラグラフ内が全て丁寧な言回し
形態であることを表示装置8に表示する(ステップ460
2,4603,4605)。一方、丁寧文末形態カウンタE2の値が
単文数カウンタSの値より小さく、かつ、通常文末形態
カウンタE1の値が“0"でないときは、文字列テキストの
パラグラフ内に丁寧な言回しと通常の言回しとが混在し
ていることを上記と同様、表示装置8に表示する(ステ
ップ4604)。
Paragraph evaluation processing module 46a, when control is passed, as shown in FIG. 7, by checking the polite sentence end forms counter E 2, and immediately terminated when its value is "0" (step 4601), E When the value of 2 is equal to the value of the single sentence counter S, or the value of E 2 is smaller than the value of the single sentence counter S, and the value of the normal sentence end counter E 1 is “0”, the character string text Is displayed on the display device 8 to indicate that all of the paragraphs are in a polite wording form (step 460).
2,4603,4605). On the other hand, carefully endnotes form counter value of E 2 is less than the value of the sentence counter S, and when the normal value of the endnote form counter E 1 is not "0", and polite phraseology in the string text paragraph The fact that normal wording is mixed is displayed on the display device 8 in the same manner as described above (step 4604).

このように、“です,ます調”の丁寧表現が助動詞の
「です」,「ます」の付接や「ございます」,「いただ
く」などの丁寧・謙譲を表わす敬語表現語の付接によっ
て表わされるのに対し、通常表現は言い切りの形態や助
動詞「だ」,「である」の付接によって表わされること
に着目し、これらの助動詞文字列をテーブル登録し、そ
のテーブル参照によって、文字列テキスト中の文末形態
を通常文末形態と丁寧文末形態に判別することが可能と
なる。また、本実施例において、通常文末形態文字列
と丁寧文末形態文字列をそれぞれのテーブルで構成する
必要はなく、両文末形態文字列を識別するための識別情
報を付与して、1つのテーブルにまとめることが可能で
ある。
In this way, the polite expression of "is, masushi" is expressed by the auxiliary verbs "is" and "mas", and the polite expressions of polite and humorous words such as "isu" and "you". On the other hand, focusing on the fact that ordinary expressions are expressed by the form of the verb and the attachment of the auxiliary verbs "da" and "da", these auxiliary verb character strings are registered in a table, and by referring to the table, the character string text It is possible to distinguish the sentence ending form in the normal sentence ending form and the polite sentence ending form. Further, in the present embodiment, it is not necessary to form the normal sentence end form character string and the polite sentence end form character string in the respective tables, and identification information for identifying both sentence end form character strings is added to one table. It is possible to put it together.

文末形態判別機能ブロック4aを起動する場合、文末
形態判別指示キー711の他に、例えば、パラグラフ末を
指示するキー,改行を指示するキー,改ページを指示す
るキー,文末記号キーなどのワード・プロセッシング処
理を指示するキーの押下で起動し、それらの処理と同期
して文末形態判別機能ブロック4aの処理を実行させても
よい。
When the end-of-sentence form determination function block 4a is activated, in addition to the end-of-sentence form determination instruction key 711, for example, a word, such as a key for designating the end of a paragraph, a key for designating a line feed, a key for designating a page break, or an end-of-sentence key The processing may be started by pressing a key for instructing the processing, and the processing of the sentence end form determination function block 4a may be executed in synchronization with the processing.

パラグラフの単位については、文字列テキストにお
ける意味内容の区切れ目に限ることなく、一定の文数か
ら構成される文字列テキストを1つのパラグラフ単位と
みなしたり,一定の行数からなる文字列テキストを1つ
のパラグラフ単位とみなしたり,あるいは文字列テキス
ト全体を1つのパラグラフ単位とみなすことも可能であ
る。
Regarding the paragraph unit, character string text consisting of a certain number of sentences can be regarded as one paragraph unit, and character string text consisting of a certain number of lines It is also possible to consider one paragraph unit or the whole character string text as one paragraph unit.

パラグラフ評価処理モジュール46aは、必須ではな
く、具備しないことも可能である。
The paragraph evaluation processing module 46a is not essential and can be omitted.

次に、第二の実施例である否定表現が同一文中におい
て二重に行われているかを判別して表示し、文意を曖昧
にしてしまう二重否定表現を排除する方法について第1
図,第12図〜第18図により述べる。
Next, a second embodiment of the present invention is to determine and display whether a negative expression is duplicated in the same sentence, and to eliminate a double negative expression which makes the meaning of the sentence ambiguous.
This will be described with reference to FIGS. 12 and 18.

第12図は、本発明の第二の実施例を示す二重否定表現
検出機能付日本語ワード・プロセッシングの機能構成図
である。同図において、4bは文字列テキストの中に否定
文字列の認定などを行う二重否定表現検出機能ブロッ
ク、5bは否定表現文字列を格納する否定表現格納部であ
る。なお、ワープロ1,ワープロ処理機能ブロック群2,文
字列テキスト格納部3は前述した第一の実施例と同様で
あるので、以下この部分に関する説明は省略する。ま
た、本構成は前述と同様に従来のワード・プロセッサに
二重否定表現検出機能ブロック4bと否定表現格納部5bを
設けたものである。
FIG. 12 is a functional configuration diagram of Japanese word processing with a double negation expression detection function showing a second embodiment of the present invention. In the figure, reference numeral 4b denotes a double negative expression detection function block for performing recognition of a negative character string in a character string text, and reference numeral 5b denotes a negative expression storage unit that stores a negative expression character string. Note that the word processor 1, word processor processing function block group 2, and character string text storage unit 3 are the same as those in the first embodiment described above, so that the description of this part will be omitted below. Further, in the present configuration, a double word expression detection function block 4b and a word expression storage unit 5b are provided in a conventional word processor as described above.

二重否定表現検出機能ブロック4bは、ワープロ1によ
って起動されると、後述する方法で文字列テキスト格納
部3の文字列テキストと否定表現格納部5bの各文字列の
比較照合を行って、文字列テキストに一致する文字列を
認定し、認定した否定文字列が2つ以上有するときには
二重否定表現文であることを表示する。
When activated by the word processor 1, the double negation expression detection function block 4b compares and compares the character string text in the character string text storage unit 3 with each character string in the negation expression storage unit 5b according to a method described later. A character string matching the column text is recognized, and when there are two or more recognized negative character strings, it is indicated that the sentence is a double negative expression sentence.

第13図は、本発明の第二の実施例を示す二重否定表現
検出機能付日本語ワード・プロセッサのハードウェア構
成図、第14図はキーボード7のキー配列図である。両図
において、第一の実施例で述べた第3図,第4図と異な
る部分は、記憶装置11が否定表現格納部5bを有している
こと,キー群71に二重否定表現検出指示キー712が含ま
れている点である。
FIG. 13 is a hardware configuration diagram of a Japanese word processor with a double negation expression detection function showing a second embodiment of the present invention, and FIG. 14 is a key layout diagram of the keyboard 7. 3 and 4 described in the first embodiment are that the storage device 11 has a negative expression storage unit 5b and that the key group 71 has a double negative expression detection instruction. The key 712 is included.

ワープロ1は、第1図に示すように、キーボード7か
らのキー入力待ちの状態にあるときに、二重否定表現検
出指示キー712を受信すると、二重否定表現検出機能ブ
ロック4aを起動して、否定表現格納部5b参照による否定
表現の検出などを行わせ(ステップ101〜103)、一方、
上記以外のキーを受信すると、前述と同様、ワープロ処
理機能ブロック群2を起動して、受信したキーが指示す
る内容の処理を行わせると共に(ステップ104)、文書
作成などの処理全体が終了するまで上記いずれかの処理
を繰返し実行する(ステップ105)。
As shown in FIG. 1, when the word processor 1 receives the double negative expression detection instruction key 712 while waiting for a key input from the keyboard 7, the word processor 1 activates the double negative expression detection function block 4a. , A negative expression is detected by referring to the negative expression storage unit 5b (steps 101 to 103).
When a key other than the above is received, the word processor processing function block group 2 is started up as described above to perform the processing indicated by the received key (step 104), and the entire processing such as document creation ends. Any of the above processes is repeated until (step 105).

上記ステップ103の二重否定表現検出機能ブロック4b
による処理内容の詳細を第15図〜第18図により以下に述
べる。
Double negative expression detection function block 4b in step 103 above
The details of the processing by the above will be described below with reference to FIGS. 15 to 18.

二重否定表現検出機能ブロック4bは、ワープロ1によ
って起動されると、第15図に示すように、先ず、同一文
中における否定表現の数をカウントするための否定表現
数カウンタN,文字列テキストにおける文字の相対位置を
示すための相対位置カウンタCをそれぞれ“0"クリアし
(ステップ401,402)、相対位置カウンタCの値が示す
文字列テキストの位置が文末記号の句点や「?」,
「!」または文字列テキストの最後尾でないとき(ステ
ップ403)、相対位置カウンタCの値が示す位置以降の
文字列テキストの文字列が、否定表現文字列のいずれか
と一致するか否かを文字列テキストの文頭から順に判別
して、一致する文字列がないときは相対位置カウンタC
に“1"を加算し(ステップ404,405)、一致する文字列
が有るときは、次の文字列照合の位置を合せるために相
対位置カウンタCに照合一致した否定表現文字列の長さ
を加算し、否定表現数カウンタNに“1"を加算して、表
示装置8に表示するために一致した文字列テキスト中の
文字列の位置情報を所定のエリアにセットする(ステッ
プ406〜408)。
When activated by the word processor 1, the double negative expression detection function block 4b firstly receives a negative expression number counter N for counting the number of negative expressions in the same sentence, as shown in FIG. The relative position counter C for indicating the relative position of the character is cleared to "0" (steps 401 and 402), and the position of the character string text indicated by the value of the relative position counter C is determined by the ending point of the sentence symbol, "?"
If it is not "!" Or the end of the character string text (step 403), it is determined whether the character string of the character string text after the position indicated by the value of the relative position counter C matches any of the negative expression character strings. Determined in order from the beginning of the column text, and if there is no matching character string, the relative position counter C
(Steps 404 and 405), and if there is a matching character string, the length of the negative expression character string matched is added to the relative position counter C to match the position of the next character string matching. Then, "1" is added to the negative expression number counter N, and the position information of the character string in the matched character string text to be displayed on the display device 8 is set in a predetermined area (steps 406 to 408).

なお、相対位置カウンタCが示す位置の文字と比較照
合される否定表現文字列は、第16図に示すように、各文
字列とその文字列の長さで構成したテーブルにする。す
なわち、日本語文章中における否定表現は、一般に、用
言に対して「ない」,「なかった」,「なかろう」,
「ません」などの「打消」を表わす助動詞を付接するこ
とによって表わされるので、それらの文字列をテーブル
登録する。それらの文字列の長さは2〜4である。
The negative expression character string to be compared with the character at the position indicated by the relative position counter C is, as shown in FIG. 16, a table composed of each character string and the length of the character string. In other words, negative expressions in Japanese sentences are generally "none", "none", "nakarou",
Since the character strings are represented by attaching auxiliary verbs indicating "cancel" such as "not", those character strings are registered in a table. The length of those character strings is 2-4.

また、例えば、文字列テキストが第17図の内容である
ときは、上記判別の動作により否定表現文字列の“な
い”を認定する。
In addition, for example, when the character string text has the contents shown in FIG. 17, “absent” of the negative expression character string is recognized by the above-described determination operation.

上記動作を繰返し実行して、相対位置カウンタCの示
す位置が文末記号またはテキストの最後尾であるとき、
否定表現数カウンタNの値をチェックして“2"以上であ
るときは、二重否定表現含有文であることを表示するた
めの表示情報を所定のエリアにセットすると共に、(ス
テップ409,410)、上述動作を文字列テキスト格納部3
内の全ての文字列テキストに対して繰返し実行し、本機
能ブロック4bの処理を終了する(ステップ411,412)。
なお、図示してないが終了前に、例えば、第17図の文字
列テキスト中に2箇所認定した否定表示文字列の“な
い”を第18図に示すように、表示装置8に表示する。
By repeatedly executing the above operation, when the position indicated by the relative position counter C is the last symbol of the sentence or the end of the text,
If the value of the negative expression number counter N is checked and is equal to or more than "2", display information for displaying that the sentence is a double negative expression containing sentence is set in a predetermined area, and (steps 409, 410) The above operation is performed by the character string text storage unit 3
Are repeatedly executed for all the character string texts in the above, and the processing of the functional block 4b is completed (steps 411, 412).
Although not shown, before the end, for example, "none" of the negative display character string recognized at two places in the character string text of FIG. 17 is displayed on the display device 8 as shown in FIG.

このように、日本語の否定表現が用言に対して「打
消」の助動詞文字列を付接することで表わされることに
着目し、その助動詞文字列をテーブル登録して、そのテ
ーブル参照によって文字列テキスト中に否定表現が二重
になされている二重否定表現含有文であるか否かを判別
することが可能となる。また、本実施例において、否
定表現格納部5bに、例えば丁寧語文字列を格納した場合
には、上述と同様の動作によって、文字列テキストの二
重丁寧語表現を判別することが可能である。
Focusing on the fact that a negative expression in Japanese is expressed by attaching an auxiliary verb character string of "cancel" to a declinable word, the auxiliary verb character string is registered in a table, and the character string is referred to by referring to the table. It is possible to determine whether or not the text is a double negative expression containing sentence in which the negative expression is duplicated. Further, in the present embodiment, when, for example, a polite word character string is stored in the negative expression storage unit 5b, it is possible to determine the double polite word expression of the character string text by the same operation as described above. .

二重否定表現検出機能ブロック4bによる処理動作を
常に文字列テキストの文頭から末尾まで実行させる必要
はなく、例えば、パラグラフ末,ページ末などで終了に
することもできる。
It is not necessary to always execute the processing operation by the double negation expression detection function block 4b from the beginning to the end of the character string text. For example, the processing operation can be ended at the end of a paragraph or the end of a page.

二重否定表現検出機能ブロック4bを起動する場合、
二重否定表現検出指示キー712の他に、例えば、パラグ
ラフ末を指示するキー,改ページを指示するキーなどの
ワープロ処理を指示するキー、また、仮名漢字変換型日
本語入力においては、仮名文字列から漢字仮名まじりへ
の変換を指示するキーの押下で起動し、それらの処理と
同期して二重否定表現検出機能ブロック4bの処理を実行
させてもよい。
When starting the double negation expression detection function block 4b,
In addition to the double negation expression detection instruction key 712, for example, a key for instructing word processing such as a key for instructing the end of a paragraph, a key for instructing a page break, and a kana character in kana-kanji conversion type Japanese input. The process may be started by pressing a key for instructing conversion from a column to a kanji kana, and the process of the double negative expression detection function block 4b may be executed in synchronization with those processes.

次に、第三の実施例である受身表現を文字列テキスト
中から探出して表示すると共に、受身表現について修正
の要・不要を判定して報告する方法について第1図,第
19図〜第27図により述べる。
Next, a third embodiment of the present invention will be described with reference to FIG. 1 and FIG.
This will be described with reference to FIGS. 19 to 27.

第19図は、本発明の第三の実施例を示す受身表現検出
機能付日本語ワード・プロセッシングの機能構成図であ
る。同図において、4cは文字列テキストの中に受身文字
列の認定などを行う受身表現検出機能ブロック、5cは受
身表現文字列を格納する受身表現格納部である。なお、
ワープロ1,ワープロ処理機能ブロック群2,文字列テキス
ト格納部3は前述した第一の実施例と同様であるので、
以下この部分に関する説明は省略する。また、本構成は
前述と同様に従来のワード・プロセッサに受身表現検出
機能ブロック4cと受身表現格納部5cを設けたものであ
る。
FIG. 19 is a functional block diagram of Japanese word processing with a passive expression detection function showing a third embodiment of the present invention. In the figure, reference numeral 4c denotes a passive expression detection function block for performing recognition of a passive character string in a character string text, and reference numeral 5c denotes a passive expression storage unit that stores a passive expression character string. In addition,
Since the word processor 1, the word processing function block group 2, and the character string text storage unit 3 are the same as those in the first embodiment,
Hereinafter, description of this portion will be omitted. Further, in this configuration, a passive expression detection function block 4c and a passive expression storage unit 5c are provided in a conventional word processor as described above.

受身表現検出機能ブロック4cは、ワープロ1によって
起動されると、後述する方法で文字列テキスト格納部3
の文字列テキストと受身表現格納部5cの各文字列との比
較照合を行って、一致する表現文字列を認定し、認定し
た受身表現部を文字列テキスト上に表示すると共に、複
数文からなるパラグラフ内の受身文の含有率を算出し、
その含有率が許容基準値を超えているかを判別する。
When activated by the word processor 1, the passive expression detection function block 4c executes the character string text storage unit 3 in a manner described later.
Is compared with each character string in the passive expression storage unit 5c, a matching expression character string is recognized, and the recognized passive expression unit is displayed on the character string text, and includes a plurality of sentences. Calculate the percentage of passive sentences in the paragraph,
It is determined whether the content exceeds the allowable reference value.

第20図は、本発明の第三の実施例を示す受身表現検出
機能付日本語ワード・プロセッサのハードウェア構成
図、第21図はキーボード7のキー配列図である。両図に
おいて、第一の実施例で述べた第3図,第4図と異なる
部分は、記憶装置11が受身表現格納部5cを有しているこ
と,キー群71に受身表現検出指示キー713が含まれてい
る点である。
FIG. 20 is a hardware configuration diagram of a Japanese word processor with a passive expression detection function according to a third embodiment of the present invention, and FIG. 21 is a key arrangement diagram of the keyboard 7. 3 and 4 described in the first embodiment are that the storage device 11 has a passive expression storage unit 5c and that the key group 71 has a passive expression detection instruction key 713. Is included.

ワープロ1は、第1図に示すように、キーボード7か
らのキー入力待ちの状態にあるときに、受身表現検出指
示キー713を受信すると、受身表現検出機能ブロック4c
を起動して、受身表現格納部5c参照による受身表現の検
出などを行わせ(ステップ101〜103)、一方、上記以外
のキーを受信すると、前述と同様、ワープロ処理機能ブ
ロック群2を起動して、受信したキーが指示する内容の
処理を行わせると共に(ステップ104)、文書作成など
の処理全体が終了するまで上記いずれかの処理を繰返し
実行する(ステップ105)。
When the word processor 1 receives the passive expression detection instruction key 713 while waiting for a key input from the keyboard 7, as shown in FIG. 1, the passive expression detection function block 4c
Is started to detect a passive expression by referring to the passive expression storage unit 5c (steps 101 to 103). On the other hand, when a key other than the above is received, the word processor processing function block group 2 is activated as described above. Then, the process of the content indicated by the received key is performed (step 104), and any one of the above processes is repeatedly executed until the entire process such as document creation is completed (step 105).

上記ステップ103の受身表現検出機能ブロック4cによ
る処理内容の詳細を第22図〜第27図により以下に述べ
る。
The details of the processing performed by the passive expression detection function block 4c in step 103 will be described below with reference to FIGS. 22 to 27.

受身表現検出機能ブロック4cは、ワープロ1によって
起動されると、第22図に示すように、先ず、パラグラフ
を構成する単文の数をカウントするための単文数カウン
タS,受身表現を含む単文の数をカウントするための受身
表現含有文数カウンタUをそれぞれ“0"クリアする(ス
テップ41c,42c)。続いて、後述する方法で文字列テキ
スト格納部3の文字列テキストと受身表現格納部5cの各
文字列との比較照合を文字列テキストの文頭から順にパ
ラグラフ末まで行って、文字列テキスト中に含まれてい
る受身表現部を認定し(ステップ43c,44c)(以下、受
身表現認定処理モジュール43cと呼ぶ)、後述する方法
でパラグラフ内における受身表現文の含有状況を評価す
ると共に(ステップ45c)(以下、パラグラフ評価処理
モジュール45cと呼ぶ)、上記動作を文字列テキスト格
納部3内の全ての文字列テキストに対して繰返し実行
し、本機能ブロック4cの処理を終了する(ステップ46
c)。
When activated by the word processor 1, the passive expression detection function block 4c firstly receives a single sentence counter S for counting the number of simple sentences constituting the paragraph, the number of simple sentences including the passive expression, as shown in FIG. Is cleared to "0" (steps 41c and 42c). Then, the character string text in the character string text storage unit 3 and each character string in the passive expression storage unit 5c are compared and collated in order from the beginning of the character string text to the end of the paragraph by the method described later, and The included passive expression part is recognized (steps 43c and 44c) (hereinafter, referred to as a passive expression recognition processing module 43c), and the content of the passive expression sentence in the paragraph is evaluated by a method described later (step 45c). (Hereinafter, referred to as a paragraph evaluation processing module 45c), the above operation is repeatedly executed for all the character string texts in the character string text storage unit 3, and the processing of the present functional block 4c ends (step 46).
c).

認定処理モジュール43cは、制御が渡されると、第23
図に示すように、先ず、単文数カウンタSに“1"を加算
し(ステップ4301)、文字列テキストにおける文字の相
対位置を示すための相対位置カウンタC,受身表現が有す
ることを示すための受身表現含有フラグF1をそれぞれ
“0"クリアして(ステップ4302,4303)、相対位置カウ
ンタCの値がまだ文末を示していないとき、相対位置カ
ウンタCの値が示す位置以降の文字列テキストの文字列
が受身表現文字列のいずれかと一致するか否かを判別し
て、一致する受身表現文字列が有るときは次の文字列照
合の位置を合せるために相対位置カウンタCに照合一致
した受身表現文字列の長さを加算し、表示装置8に表示
するために文字列テキスト中に受身表現が有することの
表示情報を所定のエリアにセットする(ステップ4304〜
4308)。
When the control is passed, the certification processing module 43c
As shown in the figure, first, "1" is added to the single sentence number counter S (step 4301), and a relative position counter C for indicating the relative position of the character in the character string text, for indicating that the passive expression has. and each "0" clears the passive expression containing the flag F 1 (step 4302,4303), when the value of the relative position counter C has not yet indicated the end of the sentence, since the position indicated by the value of the relative position counter C string text Is determined to match with any of the passive expression strings, and if there is a matching passive expression string, it matches and matches the relative position counter C in order to align the next character string matching position. The length of the passive expression character string is added, and display information indicating that the passive expression has in the character string text is set in a predetermined area for display on the display device 8 (steps 4304 to 4304).
4308).

なお、相対位置カウンタCが示す位置の文字と比較照
合される受身表現文字列は、第25図に示すように、各文
字列とその文字列の長さで構成したテーブルにする。す
なわち、日本語文章中における受身表現は、一般に、用
言に対して「受身」の助動詞「れる」,「られる」の付
接によって表わされるので、それらの文字列をテーブル
登録する。それらの文字列の長さは2〜3である。
The passive expression character string to be compared and collated with the character at the position indicated by the relative position counter C is a table composed of each character string and the length of the character string as shown in FIG. In other words, passive expressions in Japanese sentences are generally represented by affixes of the auxiliary verbs "re" and "re" of "passive" to the verbs, and these character strings are registered in a table. The length of those character strings is 2-3.

また、例えば、文字列テキストが第26図の内容である
ときは、上記判別の動作により1行目,3行目にそれぞれ
受身表現文字列の“れま",“られ”を認定する。
Further, for example, when the character string text has the content shown in FIG. 26, “rema” and “re” of the passive expression character strings are recognized in the first and third lines by the above-described determination operation.

続いて、受身表現含有フラグF1をチェックし、“0"の
ときは受身表現が有することを示す“1"をセットして、
受身表現含有文数カウンタUに“1"を加算する(ステッ
プ4309〜4311)。一方、相対位置カウンタCが示す位置
以降の文字列テキストの文字列に一致する受身表現文字
列がないときは、相対位置カウンタCに“1"を加算する
と共に(ステップ4306)、上述動作を相対位置カウンタ
Cの値が文末になるまで繰返し実行して、本処理モジュ
ール43cの処理を終了する。なお、図示してないが終了
前に、例えば、第26図の文字列テキスト中に認定した受
身表現文字列の“れま",“られ”を第27図に示すよう
に、表示装置8に表示する。
Then, check the passive expression containing the flag F 1, is set to "1" indicating that it has the passive representation when it is "0",
"1" is added to the passive expression containing sentence counter U (steps 4309 to 4311). On the other hand, if there is no passive expression character string that matches the character string of the character string text after the position indicated by the relative position counter C, “1” is added to the relative position counter C (step 4306), and The processing is repeatedly executed until the value of the position counter C reaches the end of the sentence, and the processing of this processing module 43c is completed. Although not shown, before the end, for example, “rema” and “re” of the passive expression character strings recognized in the character string text of FIG. 26 are displayed on the display device 8 as shown in FIG. indicate.

パラグラフ評価処理モジュール45cは、制御が渡され
ると、第24図に示すように、受身表現含有文数カウンタ
Uの値を単文数カウンタSの値で割算し100を乗算して
受身表現含有文比率R(%)を算出し、所定のエリアに
保持して(ステップ4501)、その受身表現含有文比率R
の値が予め設定してある許容基準値を超えるときには、
表示装置8に表示するために超えていることの表示情報
を所定のエリアにセットし、本処理モジュール45cの処
理を終了する(ステップ4502,4503)。
When the control is passed, the paragraph evaluation processing module 45c divides the value of the passive expression containing sentence counter U by the value of the single sentence counter S and multiplies by 100, as shown in FIG. The ratio R (%) is calculated and held in a predetermined area (step 4501), and the passive expression containing sentence ratio R
When the value of exceeds the preset allowable reference value,
The display information indicating that the data has been exceeded to be displayed on the display device 8 is set in a predetermined area, and the processing of the processing module 45c ends (steps 4502 and 4503).

このように、日本語文における受身表現が用言に対し
て「受身」の助動詞文字列を付接することで表わされる
のに着目し、それらの助動詞文字列をテーブル登録し
て、そのテーブル参照によって、文字列テキスト中の受
身表現部を判別し、それを例えば第27図のように分り易
く表示すると共に、予め定めた許容基準値との比較内容
も表示することができる。また、本実施例において、
パラグラフ評価処理モジュール45cが受身表現含有文比
率R(%)と比較するための許容基準値は、ユーザーが
日本語ワード・プロセッシング機能全体を起動する時に
その数値が設定され、文書の目的に合わせて許容含有の
範囲を変更することが可能である。
In this way, we focus on the fact that passive expressions in Japanese sentences are expressed by attaching an auxiliary verb character string of “passive” to a verb, registering those auxiliary verb character strings in a table, and referring to the table, The passive expression part in the character string text is determined, and it is displayed in an easily understandable manner as shown in FIG. 27, for example, and the content of comparison with a predetermined allowable reference value can also be displayed. In this embodiment,
The allowable reference value for the paragraph evaluation processing module 45c to compare with the passive expression containing sentence ratio R (%) is set when the user activates the entire Japanese word processing function, and is set according to the purpose of the document. It is possible to change the range of the allowable content.

受身表現検出機能ブロック4cを起動する場合、受身
表現検出指示キー713の他に、例えば、パラグラフ末を
指示するキー,改ページを指示するキーなどのワープロ
処理を指示するキー、また、仮名漢字変換型日本語入力
においては、仮名文字列から漢字仮名まじりに変換を指
示するキーの押下で起動し、それらの処理と同期して受
身表現検出機能ブロック4cの処理を実行させてもよい。
To activate the passive expression detection function block 4c, in addition to the passive expression detection instruction key 713, for example, a key for instructing word processing such as a key for instructing the end of a paragraph, a key for instructing a page break, and a kana-kanji conversion In the type Japanese input, the process may be started by pressing a key for instructing conversion from a kana character string to a kanji kana spell, and the processing of the passive expression detection function block 4c may be executed in synchronization with the processing.

パラグラフの単位については、前述の第一の実施例
と同様、文字列テキストにおける意味内容の区切れ目に
限ることなく、一定の文数から構成される文字列テキス
トを1つのパラグラフ単位とみなしたり、ページ単位を
1つのパラグラフ単位とみなしたり、あるいは文字列テ
キスト全体を1つのパラグラフ単位とみなすことも可能
である。
Regarding the unit of the paragraph, similar to the first embodiment described above, the character string text composed of a fixed number of sentences is regarded as one paragraph unit without being limited to the break of the semantic content in the character string text. The page unit can be regarded as one paragraph unit, or the entire character string text can be regarded as one paragraph unit.

パラグラフ評価処理モジュール45cは、必須ではな
いので、具備しないことも可能である。
Since the paragraph evaluation processing module 45c is not essential, it can be omitted.

次に、上述してきた第一,第二,第三の各実施例にお
いて共通的な効果について述べる。
Next, common effects in the first, second, and third embodiments described above will be described.

文末,否定,受身の各表現文字列と文字列テキスト
との比較照合を行う際に、文字列テキストにおいて例え
ば漢字,数字などの文字のときは、明らかに照合一致し
ないので、上記表現文字列との文字種の判別を行うため
のステップを(第6図の)ステップ4403,(第15図の)
ステップ403,(第23図の)ステップ4304それぞれの前段
に設け、文字種が異なるときには直ちに相対位置カウン
タCに“1"を加算して、次の文字列照合を行い、本機能
ブロックの処理時間を短縮させることができる。
At the time of comparing and comparing each expression character string such as sentence end, negation, and passive with the character string text, if the character string text is, for example, a character such as a kanji or a number, the collation does not clearly match. Steps 4403 and (FIG. 15) for determining the character type of
Provided at the preceding stage of each of step 403 and step 4304 (of FIG. 23), when the character type is different, immediately add "1" to the relative position counter C, perform the next character string collation, and reduce the processing time of this functional block. Can be shortened.

文字列テキストに含有している文末,否定,受身の
各表現部において不適切なものの修正は、従来の日本語
ワード・プロセッシング機能に委ねることができるの
で、日本語文章の高品質化作業は効率良く行うことがで
きる。
Correction of inappropriate expressions in the sentence end, negation, and passive expressions contained in the character string text can be left to the conventional Japanese word processing function. Can do well.

表示装置8に文字列テキストとそれに含有している
文末,否定,受身の各表現部を表示する方法としては、
従来の日本語ワード・プロセッサに搭載されている表示
処理機能を用いることにより、第11図,第18図,第27図
に示す他、例えば画面上での輝度の変更,反転表示など
で表示することも考えられる。また、表示の機能が少な
い場合には、例えば通常文末形態と丁寧文末形態とを区
別しないで、これと他の文字列部とを識別するような表
示法も考えられる。
As a method for displaying the character string text and each sentence end, negation, and passive expression portion contained in the display device 8,
By using the display processing function installed in the conventional Japanese word processor, it is displayed by, for example, changing the brightness on the screen or inverting the display as shown in FIGS. 11, 18, and 27. It is also possible. When the display function is small, for example, a display method is also conceivable in which a normal sentence end form and a polite sentence end form are not distinguished from each other and are distinguished from other character string portions.

文末形態判別機能,二重否定表現検出機能,受身表
現検出機能を全て日本語ワード・プロセッシングに搭載
したが、1または2つの機能のみを搭載してもよい。
Although the sentence end form discrimination function, the double negative expression detection function, and the passive expression detection function are all installed in Japanese word processing, only one or two functions may be installed.

〔発明の効果〕〔The invention's effect〕

以上説明したように、本発明によれば、文書の文字列
テキストと予め登録した通常文末形態,丁寧文末形態,
否定表現,受身表現の各表現文字列とを比較照合して、
文字列テキスト中に一致する表現部を認定すると共に、
通常文末形態と丁寧文字形態の混在状況,2箇所以上の否
定表現,許容以上の受身表現を判別し、表示装置に表示
させるので、特別なハードウェア機能を設けることな
く、作成文章はより高品質化すると共に、文章作成の作
業効率も向上する。
As described above, according to the present invention, the character string text of the document and the pre-registered normal sentence end form, polite sentence end form,
By comparing and comparing each expression string of negative expression and passive expression,
Identify matching expressions in string text,
Normally, the sentence form and polite character form are mixed, the negative expressions at two or more places, and the passive expressions that are more than allowable are determined and displayed on the display device. In addition, the work efficiency of text creation is improved.

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

第1図は本発明における日本語ワード・プロセッシング
方式の実施例を示す処理フローチャート、第2図,第12
図,第19図はそれぞれ文末形態判別機能,二重否定表現
検出機能,受身表現検出機能付の日本語ワード・プロセ
ッシングの機能構成図、第3図,第13図,第20図はそれ
ぞれ文末形態判別機能,二重否定表現検出機能,受身表
現検出機能付の日本語ワード・プロセッシングのハード
ウェア構成図、第4図,第14図,第21図はキーボード7
のキー配列図、第5図は文末形態判別機能ブロックの処
理フローチャート、第6図は文末表現認定処理モジュー
ルの処理フローチャート、第7図,第24図はパラグラフ
評価モジュールの処理フローチャート、第8図は通常文
末形態文字列のテーブル表、第9図は丁寧文末形態文字
列のテーブル表、第10図,第11図は文末形態判別機能ブ
ロックの動作を説明するための図、第15図は二重否定表
現検出機能ブロックの処理フローチャート、第16図は否
定表現文字列のテーブル表、第17図,第18図は二重否定
表現検出機能ブロックの動作を説明するための図、第22
図は受身表現検出機能ブロックの処理フローチャート、
第23図は受身表現認定処理モジュールの処理フローチャ
ート、第25図は受身表現文字列のテーブル表、第26図,
第27図は受身表現検出機能ブロックの動作を説明するた
めの図である。 1:ワード・プロセッシング処理制御機能ブロック(ワー
プロ)、2:ワープロ処理機能ブロック群、3:文字列テキ
スト格納部、4a:文末形態判別機能ブロック、4b:二重否
定表現検出機能ブロック、4c:受身表現検出機能ブロッ
ク、5a:文末表現格納部、5b:否定表現格納部、5c:受身
表現格納部、6:プロセッサ、7:入力装置(キーボー
ド)、8:表示装置、9:プログラム格納部、10:ワークエ
リア、11:記憶装置、71,72:キー群、711:文末形態判別
指示キー、712:二重否定表現検出指示キー、713:受身表
現検出指示キー。
FIG. 1 is a processing flowchart showing an embodiment of the Japanese word processing system according to the present invention, and FIGS.
Fig. 19 and Fig. 19 are the functional configuration diagrams of Japanese word processing with sentence end form discrimination function, double negative expression detection function, and passive expression detection function, respectively. Figs. 3, 13, and 20 show the sentence end form, respectively. Hardware structure of Japanese word processing with discrimination function, double negative expression detection function, passive expression detection function, FIGS. 4, 14 and 21 show keyboard 7
FIG. 5 is a processing flowchart of a sentence end form discrimination function block, FIG. 6 is a processing flowchart of a sentence end expression recognition processing module, FIGS. 7 and 24 are processing flowcharts of a paragraph evaluation module, and FIG. Table table of normal sentence end form character strings, FIG. 9 is a table table of polite sentence end form character strings, FIGS. 10 and 11 are diagrams for explaining the operation of the sentence end form discrimination function block, and FIG. FIG. 16 is a processing table of a negative expression detecting function block, FIG. 16 is a table of negative expression character strings, FIGS. 17 and 18 are diagrams for explaining the operation of the double negative expression detecting function block, FIG.
The figure is a processing flowchart of the passive expression detection function block,
FIG. 23 is a processing flowchart of the passive expression recognition processing module, FIG. 25 is a table of passive expression character strings, FIG.
FIG. 27 is a diagram for explaining the operation of the passive expression detection function block. 1: word processing processing control function block (word processor), 2: word processing processing block group, 3: character string text storage unit, 4a: sentence end form discrimination function block, 4b: double negative expression detection function block, 4c: passive Expression detection function block, 5a: sentence end expression storage unit, 5b: negative expression storage unit, 5c: passive expression storage unit, 6: processor, 7: input device (keyboard), 8: display device, 9: program storage unit, 10 : Work area, 11: storage device, 71, 72: key group, 711: sentence end form discrimination instruction key, 712: double negative expression detection instruction key, 713: passive expression detection instruction key.

フロントページの続き (56)参考文献 特開 昭59−127140(JP,A) 特開 昭60−254367(JP,A) 情報処理学会第29回全国大会講演論文 集p.1403〜1404 G.E.Heidorn゛The E PISTLE text−critiq uing System゛IBM SY STEM JOURNAL,Vol. 21,No.3(1982)Continuation of the front page (56) References JP-A-59-127140 (JP, A) JP-A-60-254367 (JP, A) Proceedings of the 29th Annual Conference of IPSJ p. 1403-1404 G. E. FIG. Heidorn The E PISTLE text-critical System @IBM SYS STEM JOURNAL, Vol. 3 (1982)

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】文書を作成するワード・プロセッサにおい
て、 通常の言い回し形態および丁寧な言い回し形態の文末形
態文字列の表、文を否定形にする否定表現文字列の表、
ならびに文を受身形にする受け身表現文字列の表をそれ
ぞれ記憶する記憶手段と、 上記作成される文書の文字列テキストと、上記文末形態
文字列表、否定表現文字列表および受け身表現文字列表
とを、文の相対位置を示す相対位置カウンタおよび文末
表現認定の直後を示すフラグを用いて文字列を抽出する
ことによりそれぞれ比較照合し、文末形態については所
定の表現が同一文中に少なくとも1つ存在するか否か、
否定表現については同一文中に少なくとも2箇所存在す
るか否か、および受け身表現については同一パラグラフ
中に一定値以上存在するか否かを判別し、判別された当
該表現内容を文書中の表現として表示する判別表示手段
と、 判別される文字列テキストを格納する文書ファイルと を具備したことを特徴とするワード・プロセッサ。
In a word processor for creating a document, a table of a sentence end form character string in a normal wording form and a polite wording form, a table of a negative expression character string for making a sentence a negative form,
And a storage unit for storing a table of passive expression strings that make the sentence passive, a character string text of the created document, and a sentence end form character table, a negative expression string table, and a passive expression string table. The character strings are extracted and compared by using a relative position counter indicating the relative position of the sentence and a flag indicating immediately after the end of sentence expression recognition, and at least one predetermined expression exists in the same sentence as to the sentence end form. or not,
For negative expressions, determine whether there are at least two places in the same sentence, and for passive expressions, determine whether they are more than a certain value in the same paragraph, and display the determined expression as the expression in the document And a document file for storing a character string text to be determined.
JP60071758A 1985-04-04 1985-04-04 Word processor Expired - Fee Related JP2570681B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60071758A JP2570681B2 (en) 1985-04-04 1985-04-04 Word processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60071758A JP2570681B2 (en) 1985-04-04 1985-04-04 Word processor

Publications (2)

Publication Number Publication Date
JPS61229155A JPS61229155A (en) 1986-10-13
JP2570681B2 true JP2570681B2 (en) 1997-01-08

Family

ID=13469759

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60071758A Expired - Fee Related JP2570681B2 (en) 1985-04-04 1985-04-04 Word processor

Country Status (1)

Country Link
JP (1) JP2570681B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3026565B2 (en) * 1987-12-16 2000-03-27 キヤノン株式会社 Natural language processor
JP2616108B2 (en) * 1990-03-09 1997-06-04 松下電器産業株式会社 Sentence end processing method and sentence end processing device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59127140A (en) * 1982-12-28 1984-07-21 Fujitsu Ltd Automatic error detecting and correcting device of sentence
JPS60254367A (en) * 1984-05-31 1985-12-16 Fujitsu Ltd Sentence analyzer

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
G.E.Heidorn゛The EPISTLE text−critiquing System゛IBM SYSTEM JOURNAL,Vol.21,No.3(1982)
情報処理学会第29回全国大会講演論文集p.1403〜1404

Also Published As

Publication number Publication date
JPS61229155A (en) 1986-10-13

Similar Documents

Publication Publication Date Title
US4777600A (en) Phonetic data-to-kanji character converter with a syntax analyzer to alter priority order of displayed kanji homonyms
US7774193B2 (en) Proofing of word collocation errors based on a comparison with collocations in a corpus
JP2002215617A (en) Method for attaching part of speech tag
JP2991178B2 (en) Voice word processor
JP2570681B2 (en) Word processor
JPH08212216A (en) Natural language processor and natural language processing method
JPS61248160A (en) Document information registering system
JPH0736686A (en) Influence retrieving device
JPH07244669A (en) Document retrieval system
JPH0765008A (en) Word registration control method/device
JP2002366556A (en) Information retrieving method
JP3244286B2 (en) Translation processing device
JPH03233669A (en) Document preparing device
JPH0731682B2 (en) Word processor
JP5032453B2 (en) Machine translation apparatus and machine translation program
JPH05342258A (en) Natural language processing system
JPH0954775A (en) Translating method and machine translation system
JPH05233619A (en) Method for correcting error of japanese language sentence and device therefor
JPH0546612A (en) Sentence error detector
JPH0227473A (en) Document improvement supporting means
JPH0410161A (en) Omission compensating processing device
JPH04101269A (en) Spelling correcting system
JPS63136264A (en) Mechanical translating device
JPH07200592A (en) Text processor
JP2003256415A (en) Dictionary construction support method, system and program

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees