JPH0540754A - Proofreading/elaborating device for japanese sentence - Google Patents

Proofreading/elaborating device for japanese sentence

Info

Publication number
JPH0540754A
JPH0540754A JP3196680A JP19668091A JPH0540754A JP H0540754 A JPH0540754 A JP H0540754A JP 3196680 A JP3196680 A JP 3196680A JP 19668091 A JP19668091 A JP 19668091A JP H0540754 A JPH0540754 A JP H0540754A
Authority
JP
Japan
Prior art keywords
proofreading
comment
japanese
character string
dictionary
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
JP3196680A
Other languages
Japanese (ja)
Inventor
Hiroyuki Kanza
浩幸 勘座
Ikuo Karashi
育雄 芥子
Mutsuhiro Yamamoto
睦裕 山本
Naotoshi Maruyama
直利 丸山
Shigeki Kuga
茂起 空閑
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP3196680A priority Critical patent/JPH0540754A/en
Publication of JPH0540754A publication Critical patent/JPH0540754A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To arrange the style of the entire sentences by providing a means of displaying the content of proofreading and elaboration extracted by considering tendency of the entire sentences as comments and indicating expressions and words related with the displayed contents in sentences in order to provide a means for correction and replacement. CONSTITUTION:A proofreading/elaboration places extracting part 23 executes comparation and collation between character strings accumulated in a storing device 21 and a dictionary and syntax stored in a dictionary/syntax storing device 22, and extracts the possible object to be proofread and sentences. A control device 24 stores the result under processing into a buffer, and instructs a display device 25 to display editing contents, etc. And when candidates to be rewritten and comments are displayed on the screen of the display device 25, a selecting device 26 selects the candidata with a correct notation. Thereby, an operater can concentrate into inputting the content which the operater change expression or arrange a sentence style after inputting.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は日本語ワードプロセッ
サ、日本語編集機能を備えたオフィスコンピュータ等の
日本語文書処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a Japanese word processor, a Japanese document processing apparatus such as an office computer having a Japanese editing function.

【0002】[0002]

【従来の技術】従来の日本語文章校正・推敲装置として
は、例えば特開昭62−209662号公報に記載の日本語文章
校正装置が知られている。この種の装置では、漢字仮名
混じりで記述されている日本語文章を解析し、表記上、
文法上で問題のある箇所を抽出し、その箇所を画面上に
表示することにより、使用者が正しい表記を選択して校
正。推敲を行うことができるよう構成されている。
2. Description of the Related Art As a conventional Japanese sentence proofreading / refining apparatus, for example, a Japanese sentence proofreading apparatus described in JP-A-62-209662 is known. This type of device analyzes Japanese sentences written with a mixture of kanji and kana and
By extracting the problematic part of the grammar and displaying that part on the screen, the user selects the correct notation and proofreads. It is configured to perform elaboration.

【0003】[0003]

【発明が解決しようとする課題】このように、文章中の
誤りなどに関し、部分的について個々の表現、単語を修
正する技術は既に確立されつつある。しかしながら、文
章全体の傾向から、校正・推敲すべき内容を抽出して使
用者に提示するような装置は実現されていない。
As described above, with respect to errors in sentences, techniques for partially correcting individual expressions and words are already being established. However, no device has been realized that extracts the content to be proofread and refined from the tendency of the whole sentence and presents it to the user.

【0004】この発明は以上の事情を考慮してなされた
もので、文章全体の傾向から抽出した校正・推敲内容を
コメントとして表示する手段を設け、またコメントとし
て表示された内容に関連する表現や単語を文章中に指示
し、修正、置き換えのできる手段を備え、文章全体につ
いて文章の体裁を整えることのできる日本語文章校正・
推敲装置を提供する。
The present invention has been made in view of the above circumstances, and is provided with a means for displaying the contents of proofreading and revision extracted from the tendency of the whole sentence as a comment, and also for the expression related to the contents displayed as a comment. Japanese grammar proofreading that allows you to specify the words in the sentence, correct and replace it, and format the sentence as a whole
Provide a thrusting device.

【0005】[0005]

【課題を解決するための手段】図1はこの発明の基本構
成を明示するブロック図である。同図においてこの発明
は、日本語文を入力/編集操作するとともに校正指示を
入力する入力/編集手段1と、入力された日本語文を記
憶する文書記憶手段2と、基準となる日本語表記および
基準となる日本語の文法を記憶している表記・文法辞書
手段3と、日本語文全体を対象とする校正内容,推敲内
容をコメントとして多数記憶しているコメント辞書手段
4と、第1の校正指示を受けてコメント辞書手段4から
コメントを選択的に抽出する第1抽出手段5と、抽出さ
れたコメントを表示する表示手段6と、選択指示をうけ
表示されたコメントの中から1つのコメントを選択する
選択手段7と、表記・文法辞書手段3を参照することに
より、選択されたコメントに対応する校正・推敲すべき
文字列を日本語文から抽出する第2抽出手段8と、抽出
した文字列を表示中の日本語文中に指示する指示手段9
と、抽出した文字列について置き換えるべき文字列候補
を表記・文法辞書手段3から読み出し、表示手段6に出
力する文字列候補読出手段10とを備えてなる日本語文
章校正・推敲装置である。
FIG. 1 is a block diagram clearly showing the basic structure of the present invention. In the figure, the present invention shows an input / editing means 1 for inputting / editing a Japanese sentence and inputting a proofreading instruction, a document storage means 2 for storing the input Japanese sentence, and a reference Japanese notation and reference. The notation / grammar dictionary means 3 for storing the Japanese grammar, the comment proof means 4 for storing a large number of proofreading contents and revision contents for the entire Japanese sentence as comments, and the first proofreading instruction. In response to this, the first extraction means 5 for selectively extracting comments from the comment dictionary means 4, the display means 6 for displaying the extracted comments, and the selection instruction, one comment is selected from the displayed comments. Selecting means 7 for selecting, and second extracting means 8 for extracting a character string to be proofread / refined corresponding to the selected comment from a Japanese sentence by referring to the notation / grammar dictionary means 3. Indication means 9 to tell the Japanese text being displayed a string out
And a character string candidate reading means 10 for reading out a character string candidate to be replaced for the extracted character string from the notation / grammar dictionary means 3 and outputting it to the display means 6.

【0006】この発明において用いる校正・推敲すべき
文字列とは、かな漢字混じりの文字列に加え記号列も含
まれる。
The character string to be proofread / refined used in the present invention includes a character string in which kana-kanji characters are mixed and a symbol string.

【0007】[0007]

【作用】この発明に従えば、文章入力終了後に校正、推
敲処理を行うと、文章全体について校正すべきまたは推
敲すべき内容を表したコメントが画面上に表示される。
次いで表示されたコメントのうちの1つを選択すると、
選択したコメントに対応する校正・推敲箇所が画面上の
文章中に指摘され、また、選択したコメントに応じて置
き換えるべき候補があればその候補が表示され、その表
示内容に基づいて使用者は文章の修正、置き換えを行う
ことができ、文章を整えることができる。
According to the present invention, when proofreading and revision processing are performed after the completion of text input, a comment indicating the content to be proofread or revised for the entire text is displayed on the screen.
Then select one of the displayed comments,
The proofreading / elaboration point corresponding to the selected comment is pointed out in the text on the screen, and if there is a candidate that should be replaced according to the selected comment, that candidate is displayed. You can modify and replace the text and arrange the text.

【0008】[0008]

【実施例】以下図2〜図9に示す実施例に基づいてこの
発明を詳述する。なお、これによってこの発明は限定さ
れるものではない。図2はこの発明を日本語ワードプロ
セッサに適用した場合の構成を示すブロック図である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described in detail below with reference to the embodiments shown in FIGS. The present invention is not limited to this. FIG. 2 is a block diagram showing the configuration when the present invention is applied to a Japanese word processor.

【0009】同図において20は日本語の文字列を入力
するとともに編集のための操作を行う入力装置であり、
通常キーボードが用いられる。21はその入力装置20
から入力された日本語の文字列を記憶する文書記憶装置
であり、本体内蔵のRAM、外部記憶装置であるフロッ
ピーディスク等から構成される。22は日本語解析用辞
書、校正・推敲用辞書および日本語の文法等を記憶する
辞書・文法記憶装置であり本体内蔵のROMから構成さ
れる。日本語は正書法が確立されていないため、ある基
準に合致した表記、文法が正しいとされる。以下、正し
い表記、文法と記述するときは、それが、上記したある
基準に合致してしていることを意味する。
In the figure, reference numeral 20 is an input device for inputting a Japanese character string and performing an operation for editing.
Usually a keyboard is used. 21 is the input device 20
It is a document storage device for storing the Japanese character string input from, and comprises a RAM built in the main body, a floppy disk which is an external storage device, and the like. Reference numeral 22 denotes a Japanese analysis dictionary, a proofreading / editing dictionary, and a dictionary / grammar storage device for storing Japanese grammar and the like, which is composed of a ROM incorporated in the main body. Since the orthography of Japanese has not been established, it is said that the notation and grammar that meet certain standards are correct. Hereinafter, when the correct notation and grammar are described, it means that they meet the above-mentioned certain criteria.

【0010】23は制御装置24と協働する校正・推敲
箇所抽出部であり、文書記憶装置21に蓄積された文字
列と、辞書・文法記憶装置22に記憶された辞書・文法
との比較照合を行い、日本語文章から校正・推敲の可能
性のある対象を抽出する。制御装置24は図示しないバ
ッファに処理途中の結果を記憶し、さらに後述の表示装
置に対して編集内容などの表示の指示を行う。
Reference numeral 23 is a proofreading / elaboration point extraction unit that cooperates with the control unit 24. The character string stored in the document storage device 21 is compared and collated with the dictionary / grammar stored in the dictionary / grammar storage device 22. And extract the objects that have the possibility of proofreading and revision from the Japanese sentences. The control device 24 stores the result of the process in the buffer (not shown), and further instructs the display device described later to display the edited contents.

【0011】25は入力された日本語、照合の途中結
果、校正すべき文字列、置き換えるべき文字列、文章全
体についてのコメント(後述する)などを表示する表示装
置であり、CRTやLCD等の表示装置から構成され
る。
Reference numeral 25 is a display device for displaying input Japanese, a result of collation, a character string to be proofread, a character string to be replaced, a comment (to be described later) about the entire sentence, and the like, such as a CRT or LCD. It is composed of a display device.

【0012】26は置き換えるべき候補やコメントが表
示装置25の画面上に表示された際に、正しい表記の候
補を選択する選択装置である。この選択装置26は、入
力装置20に備えられたキーのうちの1つに割り当てる
ことができ、また、マウスなどのようなポインティング
デバイスで構成することもできる。
Reference numeral 26 is a selection device for selecting a candidate of correct notation when a candidate or comment to be replaced is displayed on the screen of the display device 25. The selection device 26 can be assigned to one of the keys provided on the input device 20, and can also be configured by a pointing device such as a mouse.

【0013】また、制御装置24は、上記した各構成要
素に指令を行うとともに、各構成要素からデータを取り
込むことにより、この実施例における校正・推敲に関す
る制御を行う。
Further, the control device 24 gives a command to each of the above-mentioned constituent elements and fetches data from each of the constituent elements, thereby performing control relating to calibration and revision in this embodiment.

【0014】次に、この実施例における校正・推敲の動
作を図3に示すフローチャートに従って説明する。なお
説明に際しては図4〜図7に示す表示例も参照する。ま
ず、入力装置20から文章を入力する。あるいは入力さ
れた文章を編集する(ステップ30)。図4に入力装置2
0から入力された文章例を示す。
Next, the calibration / refining operation in this embodiment will be described with reference to the flow chart shown in FIG. In addition, in the description, the display examples shown in FIGS. 4 to 7 are also referred to. First, a sentence is input from the input device 20. Alternatively, the input sentence is edited (step 30). Input device 2 in FIG.
The example of the sentence input from 0 is shown.

【0015】上記の文章は、文書記憶装置21に予め記
憶されている文章を利用するものであってもよい。この
状態で校正・推敲のための指示を行うと(ステップ3
1)、校正・推敲箇所抽出部23によって校正・推敲箇
所が抽出され(ステップ32)、使用者にとって有益と思
われるコメントを表示する(ステップ33)。図5にその
コメントの表示例を示す。
The above sentence may be a sentence stored in advance in the document storage device 21. If you give instructions for calibration and revision in this state (Step 3
1) The proofreading / elaborating portion extracting unit 23 extracts the proofreading / elaborating portion (step 32), and displays a comment which is considered useful to the user (step 33). FIG. 5 shows a display example of the comment.

【0016】この実施例ではコメントの例として、(1)
助詞「が」が多すぎます。(2) 文が長めです。(3) 誤字
があります。がそれぞれ表示される。このようなコメン
トにおける(1)および(2)は、文章全体をとおして校正・
推敲が行われることによってのみ得られる結果であり、
この実施例の特徴をなしている。
In this embodiment, (1)
There are too many particles "ga". (2) The sentence is long. (3) There is a typographical error. Are displayed respectively. (1) and (2) in such comments are proofread and
It is the result obtained only by the elaboration,
This is a feature of this embodiment.

【0017】次に表示されたコメントの中から例えば
(1)のコメント、すなわち、“助詞「が」が多すぎます"
を選択すると(ステップ34)、そのコメントに対応する
箇所が画面上に指摘される(ステップ35)。具体的に
は、画面上の文章中の助詞「が」が反転表示される。図
6にその反転表示の状態を示す。
From the comments displayed next, for example,
Comment (1), that is, "too many particles" ga ""
When (step 34) is selected, the part corresponding to the comment is pointed out on the screen (step 35). Specifically, the particle "ga" in the text on the screen is highlighted. FIG. 6 shows the reversed display state.

【0018】また、(3)のコメント、すなわち“誤字が
あります"を選択すると、文章中の誤りである“とうり"
が反転表示されるとともに、正しい表記として“とお
り"が同時に表示される。図7にその表示例を示す。
If the comment (3), that is, "There is a typographical error" is selected, the error "Touri" in the sentence will occur.
Is highlighted, and the correct notation “Street” is displayed at the same time. FIG. 7 shows a display example thereof.

【0019】次いで図7に示す表示例にしたがって、日
本語入力、編集、もしくは文字列の置き換えを行うこと
により、文章の校正・推敲を行うことができる(ステッ
プ36)。
Next, according to the display example shown in FIG. 7, the text can be proofread and refined by inputting, editing, or replacing the character string in Japanese (step 36).

【0020】なお、上記した実施例において、日本語文
の中から校正・推敲すべき文字を抽出する処理について
は特開昭62−209662号公報に開示されている技術を利用
することができる。よって説明を省略する。
In the above-described embodiment, the technique disclosed in Japanese Patent Laid-Open No. 62-209662 can be used for the process of extracting the characters to be proofread and revised from the Japanese sentence. Therefore, the description is omitted.

【0021】次にこの発明の特徴である文章全体に対す
るコメント抽出処理について説明する。まず、校正・推
敲箇所抽出部23は、日本語を形態素解析処理をして単
語レベルにまで分割する。分割された単語は、図8に示
す制御装置24内の単語管理テーブル27に格納され
る。格納される情報は、単語、品詞、出現回数、出現位
置の各情報である。
Next, the comment extraction process for the entire sentence, which is a feature of the present invention, will be described. First, the proofreading / elaborated portion extraction unit 23 performs morphological analysis processing on Japanese to divide it into word levels. The divided words are stored in the word management table 27 in the control device 24 shown in FIG. The information stored is each information of a word, a part of speech, the number of appearances, and an appearance position.

【0022】形態素解析終了後、単語管理テーブル27
の内容と、図9に示すコメントのルールとを照合し、コ
メントのルールに合致した場合はそのコメントを表示装
置25の画面上に表示する。
After the morphological analysis is completed, the word management table 27
9 is compared with the comment rule shown in FIG. 9, and if the comment rule is satisfied, the comment is displayed on the screen of the display device 25.

【0023】また、選択装置26によって選択されたコ
メントに対応する単語、表現等の画面上での指示につい
ては、単語管理テーブル27の出現位置情報をもとに捜
しだし、表示装置25の画面上に表示する。
On the screen of the display device 25, an instruction on the screen of words, expressions, etc. corresponding to the comment selected by the selection device 26 is searched based on the appearance position information of the word management table 27. To display.

【0024】なお、この実施例においてはコメントが3
つの場合を例にとり説明したが、コメントはこれに限定
されず、3以上であってもこの発明を適用することがで
きる。
In this embodiment, the comment is 3
Although the description has been given by taking three cases as an example, the present invention can be applied even if the number of comments is three or more.

【0025】[0025]

【発明の効果】この発明によれば、文章を入力するとき
には文章の体裁にとらわれず、まず書きたい内容を入力
することだけに集中し、入力後に表現を変更したり、文
章の体裁を整えたりすることができる。また、文章の作
成者が自分では気が付かない文章の癖や誤りをチェック
することができる。
As described above, according to the present invention, when inputting a sentence, the user is not restricted to the appearance of the sentence and concentrates only on the input of the content to be written. After the input, the expression is changed and the appearance of the sentence is adjusted. can do. In addition, the creator of the text can check the habits and errors of the text that he / she does not notice.

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

【図1】この発明の基本構成を示すブロック図である。FIG. 1 is a block diagram showing a basic configuration of the present invention.

【図2】この発明の一実施例の構成を示すブロック図で
ある。
FIG. 2 is a block diagram showing the configuration of an embodiment of the present invention.

【図3】実施例の動作を説明するフローチャートであ
る。
FIG. 3 is a flowchart illustrating the operation of the embodiment.

【図4】実施例による表示例を示す説明図である。FIG. 4 is an explanatory diagram showing a display example according to the embodiment.

【図5】実施例による表示例を示す説明図である。FIG. 5 is an explanatory diagram showing a display example according to the embodiment.

【図6】実施例による表示例を示す説明図である。FIG. 6 is an explanatory diagram showing a display example according to the embodiment.

【図7】実施例による表示例を示す説明図である。FIG. 7 is an explanatory diagram showing a display example according to the embodiment.

【図8】実施例の単語管理テーブルを示す説明図であ
る。
FIG. 8 is an explanatory diagram showing a word management table according to the embodiment.

【図9】実施例のコメントのルールを示す説明図であ
る。
FIG. 9 is an explanatory diagram showing a comment rule of the embodiment.

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

1 入力/編集手段 2 文書記憶手段 3 表記・文法辞書手段 4 コメント辞書手段 5 第1抽出手段 6 表示手段 7 選択手段 8 第2抽出手段 9 指示手段 10 文字列候補読出手段 1 input / editing means 2 document storage means 3 notation / grammar dictionary means 4 comment dictionary means 5 first extracting means 6 display means 7 selecting means 8 second extracting means 9 indicating means 10 character string candidate reading means

───────────────────────────────────────────────────── フロントページの続き (72)発明者 丸山 直利 大阪市阿倍野区長池町22番22号 シヤープ 株式会社内 (72)発明者 空閑 茂起 大阪市阿倍野区長池町22番22号 シヤープ 株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Naori Maruyama 22-22 Nagaike-cho, Abeno-ku, Osaka-shi, SHARP Co., Ltd.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 日本語文を入力/編集操作するとともに
校正指示を入力する入力/編集手段と、入力された日本
語文を記憶する文書記憶手段と、基準となる日本語表記
および基準となる日本語の文法を記憶している表記・文
法辞書手段と、日本語文全体を対象とする校正内容,推
敲内容をコメントとして多数記憶しているコメント辞書
手段と、第1の校正指示を受けてコメント辞書手段から
コメントを選択的に抽出する第1抽出手段と、抽出され
たコメントを表示する表示手段と、選択指示をうけ表示
されたコメントの中から1つのコメントを選択する選択
手段と、表記・文法辞書手段を参照することにより、選
択されたコメントに対応する校正・推敲すべき文字列を
日本語文から抽出する第2抽出手段と、抽出した文字列
を表示中の日本語文中に指示する指示手段と、抽出した
文字列について置き換えるべき文字列候補を表記・文法
辞書手段から読み出し、表示手段に出力する文字列候補
読出手段とを備えてなる日本語文章校正・推敲装置。
1. An input / editing means for inputting / editing a Japanese sentence and a proofreading instruction, a document storing means for storing the input Japanese sentence, a reference Japanese notation and a reference Japanese. Notation and grammar dictionary means for storing the grammar of the above, a comment dictionary means for storing a large number of proofreading contents and revision contents for the entire Japanese sentence as comments, and a comment dictionary means for receiving the first proofreading instruction First extracting means for selectively extracting a comment from, a displaying means for displaying the extracted comment, a selecting means for selecting one comment from the displayed comments in response to a selection instruction, and a notation / grammar dictionary Second extracting means for extracting a character string to be proofread and revised corresponding to the selected comment from the Japanese sentence by referring to the means, and a Japanese sentence displaying the extracted character string A Japanese sentence proofreading / revising apparatus comprising an instructing means for instructing and a character string candidate reading means for reading out a character string candidate to be replaced for an extracted character string from a notation / grammar dictionary means and outputting the character string candidate to a display means.
JP3196680A 1991-08-06 1991-08-06 Proofreading/elaborating device for japanese sentence Pending JPH0540754A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3196680A JPH0540754A (en) 1991-08-06 1991-08-06 Proofreading/elaborating device for japanese sentence

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3196680A JPH0540754A (en) 1991-08-06 1991-08-06 Proofreading/elaborating device for japanese sentence

Publications (1)

Publication Number Publication Date
JPH0540754A true JPH0540754A (en) 1993-02-19

Family

ID=16361811

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3196680A Pending JPH0540754A (en) 1991-08-06 1991-08-06 Proofreading/elaborating device for japanese sentence

Country Status (1)

Country Link
JP (1) JPH0540754A (en)

Similar Documents

Publication Publication Date Title
US5214583A (en) Machine language translation system which produces consistent translated words
KR900008769B1 (en) Machine interpretting system
US6047299A (en) Document composition supporting method and system, and electronic dictionary for terminology
JPS6355085B2 (en)
JPH0630107B2 (en) Document processor
JP3122417B2 (en) Information display method and information processing device
US20040139056A1 (en) Information display control apparatus and recording medium having recorded information display control program
JP5011511B2 (en) Electronic device and program with dictionary function
JPH0540754A (en) Proofreading/elaborating device for japanese sentence
JP2974698B2 (en) Editing / learning device for relations between words in a machine translation device
JP2003178087A (en) Retrieval device and method for electronic foreign language dictionary
JP2000330984A (en) Device and method for processing document
JPH0916597A (en) Sentence elaboration device and method therefor
JP3692711B2 (en) Machine translation device
JP2682048B2 (en) Sentence processing equipment
JPH0612453A (en) Unknown word extracting and registering device
JPH04174069A (en) Language understanding assisting device
JPH11184854A (en) Electronic dictionary
JPH10198664A (en) Japanese language input system and medium for recorded with japanese language input program
JP5561312B2 (en) Electronic device with dictionary function, search character input method and program in electronic device with dictionary function
JPH09146936A (en) Device and method for japanese syllabary and chinese character conversion
JP3316884B2 (en) Language translator
JPH07295983A (en) Method for supporting sentence proofreading and device therefor
JPH11175528A (en) Electronic dictionary
JPH039465A (en) Text preparing device