JPH033040A - Error display method - Google Patents
Error display methodInfo
- Publication number
- JPH033040A JPH033040A JP1138105A JP13810589A JPH033040A JP H033040 A JPH033040 A JP H033040A JP 1138105 A JP1138105 A JP 1138105A JP 13810589 A JP13810589 A JP 13810589A JP H033040 A JPH033040 A JP H033040A
- Authority
- JP
- Japan
- Prior art keywords
- error
- display
- text
- displayed
- window
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Debugging And Monitoring (AREA)
- Devices For Executing Special Programs (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
〔産業上の利用9舒〕
この発明は、文法に従って記述されたテキストを他の文
法系のテキストに変換した場合においてその文法上の誤
りを表示する誤り表示方式に関するものである。[Detailed Description of the Invention] [9 Industrial Applications] This invention relates to an error display method for displaying grammatical errors when a text written according to a grammar is converted into a text according to another grammar system. It is.
従来、この種の誤り表示方式として、例えば、3en
Shneiderman著、東基肯、井関治監訳、D
esionina the User Inte
rface、279ページ、昭和62年12月発行2日
経BP社に示されたようなものがある。Conventionally, as this type of error display method, for example, 3en
Written by Shneiderman, translated by Kiyoshi Higashi and Osamu Iseki, D
esionina the User Inte
rface, page 279, published December 2, 1988, as shown in Nikkei BP.
第5図はこのような従来の誤り表示方式を実行するシス
テムの構成を示す構成図であり、1はデイスプレィ、2
は第1ウインドウ、3は第2ウインドウ、4は制御部で
ある。FIG. 5 is a block diagram showing the configuration of a system that executes such a conventional error display method, in which 1 is a display, 2 is
3 is a first window, 3 is a second window, and 4 is a control unit.
第1ウインドウ2は、入力されたテキストを他の文法系
のテキストに変換する言語処理手段に入力される変換対
象のテキストを表示するために用いられ、第2ウインド
ウ3は前記言語処理手段によって変換されたテキストの
文法上の誤り個所の内容を表示するために用いられる。The first window 2 is used to display the text to be converted that is input to the language processing means that converts the input text into text of another grammatical system, and the second window 3 is used to display the text that is to be converted by the language processing means. It is used to display the content of grammatical errors in the text.
制御部4は、前述の各構成要素を管理、制御するもので
ある。The control unit 4 manages and controls each of the above-mentioned components.
この構成のシステムでは、第6図に示すフローチャート
に基づいて言語変換後の誤りが第2ウインドウ3に表示
される。まず、ステップ21で変換対象のテキストが第
1ウインドウ2に表示される。次にステップ22で他の
文法系への言語変換が行なわれ、かつ変換後の文法系で
許されなり入力テキストの誤りが検出される。次にステ
ップ3で、前記ステップ2で検出された文法上の誤りが
第2ウインドウ3に表示される。図示の例では、「a=
a+b:Jの演算式において変数すが未定義であること
が第2ウインドウ3に表示される。In the system having this configuration, errors after language conversion are displayed in the second window 3 based on the flowchart shown in FIG. First, in step 21, the text to be converted is displayed in the first window 2. Next, in step 22, language conversion to another grammar system is performed, and errors in the input text that are permissible in the converted grammar system are detected. Next, in step 3, the grammatical errors detected in step 2 are displayed in the second window 3. In the illustrated example, “a=
It is displayed in the second window 3 that in the arithmetic expression of a+b:J, the variable is undefined.
これによって、変換前のテキストにおいて[int
a;Jの部分を「int aHbJとすればよいこと
が分る。This allows [int
It turns out that the part a;J can be changed to ``int aHbJ.
従って、この表示方式では、誤りの内容と変換対象とな
ったテキストが分離されて第1、第2ウィンドウ2.3
に表示されるため、誤り内容を変換対象となったテキス
トを乱すことなく表示することができ、誤り箇所を効率
的に発見することができる。Therefore, in this display method, the content of the error and the text to be converted are separated and displayed in the first and second windows 2.3.
, the error content can be displayed without disturbing the text to be converted, and the error location can be found efficiently.
(発明が解決しようとする課題)
しかし、上述の従来の誤り表示方式においては、入力テ
キストの誤り箇所が同等表示されないため、誤り個所と
誤り内容との関係が分り難く、入力テキストの訂正に時
間がかかるなどの問題があった。(Problem to be Solved by the Invention) However, in the conventional error display method described above, the error parts of the input text are not displayed in the same way, so it is difficult to understand the relationship between the error part and the error content, and it takes time to correct the input text. There were some problems, such as it taking too much time.
この発明は、入力テキストの誤り個所と誤り内容との関
係を容易に識別できる誤り表示方式を提供することを目
的とする。SUMMARY OF THE INVENTION An object of the present invention is to provide an error display method that can easily identify the relationship between an error location in an input text and the content of the error.
この発明による誤り表示方式は、第1の表示領域(第1
ウインドウ2)には第2の表示領域(第2ウインドウ3
)に表示される誤り個所の内容と対応づけて変換対象テ
キストの文法上の誤り個所を所定の表示形態で表示させ
ることを特徴とするものである。The error display method according to the present invention is based on the first display area (the first display area).
Window 2) has a second display area (Second Window 3).
) is characterized in that grammatical errors in the text to be converted are displayed in a predetermined display format in association with the content of the errors displayed in the text.
(作用)
この発明においては、第1の表示領域(第1ウインドウ
2)には第2の表示領域(第2ウインドウ3)に表示さ
れる誤り個所の内容と対応づけて変換対象テキストの文
法上の誤り個所を所定の表示形態で表示させるため、誤
りの原因となっている箇所と誤り内容の対応関係が明確
に識別される。(Operation) In the present invention, the first display area (first window 2) displays the grammatical information of the text to be converted in association with the contents of the error part displayed in the second display area (second window 3). Since the error location is displayed in a predetermined display format, the correspondence between the error location and the error content can be clearly identified.
〔実施例)
第1図はこの発明の一実施例を示す構成図であり、図中
の1〜4は第5図に示した従来構成と同一のものである
。ここでは、新たに入力vtIH5が設けられている。[Embodiment] FIG. 1 is a block diagram showing an embodiment of the present invention, and numerals 1 to 4 in the figure are the same as the conventional structure shown in FIG. Here, a new input vtIH5 is provided.
この入力装置5は、マウスやキーボードで構成されるも
のであり、その機能はデイスプレィ1上の第1ウインド
ウ2および第2ウインドウ3に対し誤り個所と誤り内容
の表示指示を与えるものである。The input device 5 is composed of a mouse and a keyboard, and its function is to give an instruction to the first window 2 and second window 3 on the display 1 to display the location of the error and the content of the error.
このような構成のシステムにおいては、第2図に示すフ
ローチャートに基づいて文法変換時に検出された誤り箇
所の表示がなされる。In a system having such a configuration, errors detected during grammar conversion are displayed based on the flowchart shown in FIG.
まず、ステップ41で各種設定における初期化を行う。First, in step 41, various settings are initialized.
次にステップ42で変換の対蒙となるテキストを第1ウ
インドウ2に表示する。次にステップ43で変換の対象
となるテキストの変換を行う。次にステップ44で誤り
のあった箇所それぞれについてステップ42で表示した
テキストを反転表示する。第1図中では、誤り個所の変
数すを0印で囲んで反転表示されることを示している。Next, in step 42, the text to be converted is displayed in the first window 2. Next, in step 43, the text to be converted is converted. Next, in step 44, the text displayed in step 42 is displayed in reverse video for each location where the error occurred. In FIG. 1, the variable at the location of the error is surrounded by 0 marks to indicate that it is displayed in reverse video.
次にステップ45で入力装置5からの入力を待つ。Next, in step 45, an input from the input device 5 is waited for.
次にステップ46で人力装置5から入力された情報を解
析し、誤り表示の終了指示であればステップ49に進み
、第1.第2ウインドウに対する表示を停止する。しか
し、終了指示でなければ、ステップ47で入力装[5に
よって指示された場所が第1ウインドウ2に表示された
誤りの箇所である場合はステップ48に進み、そうでな
い場合はステップ45に戻る。ステップ48では、ステ
ップ45で指示されたテキストに関連する誤り内容を表
示指示の入力が中止されるまで第2ウインドウ3に表示
し、誤り個所の表示指示の入力が中止された場合はステ
ップ45に戻る。ステップ49ではウィンドウ2,3の
表示を停止し、一連の処理を終了する。Next, in step 46, the information input from the human-powered device 5 is analyzed, and if it is an instruction to end the erroneous display, the process proceeds to step 49, and the first. Stop displaying in the second window. However, if it is not an end instruction, in step 47, if the location indicated by the input device [5 is the error location displayed in the first window 2, the process advances to step 48; otherwise, the process returns to step 45. In step 48, the content of the error related to the text specified in step 45 is displayed in the second window 3 until the input of the display instruction is canceled, and if the input of the display instruction for the error part is canceled, the process returns to step 45. return. In step 49, the display of windows 2 and 3 is stopped, and the series of processing is completed.
従って、この実施例によれば、テキストを他の文法系に
変換する時に検出された誤り個所について該誤り個所が
第1ウインドウ2に反転表示される。そして、その誤り
個所を入力装置5で指定すると、その指定された箇所に
ついての誤り内容が第2ウインドウ3に分割されて表示
される。このため、誤りの検出された箇所とその理由で
ある誤り内容との関連が明確に識別出来るようになり、
文法系の変換時における誤り箇所の発見とその訂正を効
率的に行うことができる。Therefore, according to this embodiment, errors detected when converting text into another grammar system are displayed in reverse video in the first window 2. Then, when the error location is specified using the input device 5, the error contents for the specified location are divided and displayed in the second window 3. This makes it possible to clearly identify the relationship between the location where an error was detected and the content of the error, which is the reason for the error.
It is possible to efficiently discover and correct errors during grammar conversion.
なお、上記実施例では、ステップ44において誤りのあ
った箇所を反転表示するようにしたが、これは誤りの無
い箇所と識別可能な表示形態であればどのような表示形
態でもよく、例えば第3図の他の実施例に示すように誤
りのある箇所にそれを示すマーク51を付加する形態で
もよい。このように構成すれば第1図に示したデイスプ
レィ1に反転表示機能がなくとも誤り箇所の識別は可能
となり、デイスプレィ1の反転表示機能の有無に依存し
ないという効果がある。In the above embodiment, the part where there was an error was displayed in reverse video in Step 44, but this may be done in any display form as long as it can be distinguished from the part without an error. As shown in another embodiment of the figure, a mark 51 indicating the error may be added to the location where the error occurs. With this configuration, it is possible to identify an error location even if the display 1 shown in FIG. 1 does not have a reverse display function, and there is an effect that it does not depend on whether or not the display 1 has a reverse display function.
さらに、上記実施例では、ステップ48にお(1て誤り
の内容を表示指示が中止されるまで表示するようにした
が、第4図の実施例に示すように、表示停止を指示する
手段として、デイスプレィ1上にボタン61を設け、こ
のボタン61の表示位置が入力装W15で指示されるま
で誤りの内容の表示を継続するように構成してもよい。Furthermore, in the above embodiment, the content of the error is displayed in step 48 (1) until the display instruction is stopped, but as shown in the embodiment of FIG. , a button 61 may be provided on the display 1, and the content of the error may continue to be displayed until the display position of the button 61 is designated by the input device W15.
このように構成すれば、表示指示が中止されても第1ウ
インドウ2の表示内容がボタン61が指示されるまで消
去されることがないため、誤りの内容が複数箇所にIM
I連している場合の原因解明を容易にすることができる
という効果がある。With this configuration, even if the display instruction is canceled, the display contents of the first window 2 will not be erased until the button 61 is instructed, so that the erroneous contents will be displayed in multiple places on the IM.
This has the effect of making it easier to identify the cause in cases where there is a combination of I and I.
以上のようにこの光明によれば、文法系を変換するテキ
ストについて、その文法上の誤り内容と誤り個所とを対
応付けて表示するようにしたため、誤りの原因となって
いる箇所とその内容の対応が明確化され、誤り個所を効
率的に訂正できるという効果がある。As described above, according to this light, the contents of the grammatical error and the error part are displayed in correspondence with the text whose grammatical system is to be converted, so that the part causing the error and its content are displayed. This has the effect of making the correspondence clear and allowing errors to be corrected efficiently.
第1図は本発明の第1の実施例を示す構成図、第2図は
第1図の実施例の表示動作のl1lt要を示すフローチ
ャート、第3図は本発明の第2の実施例を示す構成図、
第4図は本発明の第3の実施例を示す構成図、第5図は
従来の誤り表示方式を用いる装置の構成図、第6図は従
来の誤り表示動作を示すフローチャートである。
1・・・デイスプレィ、2・・・第1ウインドウ、3・
・・第2ウインドウ、4・・・制御部、5・・・入力i
置。
なお、図中、同一符号は同一または相当部分を示す。
代理人 大台 増a<ほか2名)
3・2ち2ワイ咥゛フ
清
図
第6図FIG. 1 is a block diagram showing a first embodiment of the present invention, FIG. 2 is a flowchart showing the main points of display operation in the embodiment of FIG. 1, and FIG. 3 is a diagram showing a second embodiment of the present invention. A configuration diagram shown,
FIG. 4 is a block diagram showing a third embodiment of the present invention, FIG. 5 is a block diagram of an apparatus using a conventional error display method, and FIG. 6 is a flowchart showing a conventional error display operation. 1... Display, 2... First window, 3...
...Second window, 4...Control unit, 5...Input i
Place. In addition, in the figures, the same reference numerals indicate the same or corresponding parts. Agent: Masa Odai (and 2 others) 3.2chi.2wisdom. Figure 6.
Claims (1)
他の文法系のテキストに変換する言語処理手段と、この
言語処理手段に入力されるテキストを前記表示手段の第
1の表示領域に表示させると共に、表示されたテキスト
の文法上の誤り個所の内容を第2の表示領域に表示させ
る制御手段とを備えた誤り表示方式において、 前記第1の表示領域には前記第2の表示領域に表示され
る誤り個所の内容と対応づけて文法上の誤り個所を所定
の表示形態で表示させることを特徴とする誤り表示方式
。[Scope of Claims] A display means, a language processing means for converting a text written in a predetermined grammar into a text in another grammar system, and a language processing means for converting a text written in a predetermined grammar into a text written in another grammar system, In the error display method, the error display method includes a control means for displaying the content of a grammatical error in the displayed text in a second display area, and displaying the content of the grammatical error in the displayed text in a second display area. An error display method characterized by displaying a grammatical error in a predetermined display format in association with the content of the error displayed in a second display area.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1138105A JPH033040A (en) | 1989-05-31 | 1989-05-31 | Error display method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1138105A JPH033040A (en) | 1989-05-31 | 1989-05-31 | Error display method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH033040A true JPH033040A (en) | 1991-01-09 |
Family
ID=15214065
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1138105A Pending JPH033040A (en) | 1989-05-31 | 1989-05-31 | Error display method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH033040A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPWO2018185915A1 (en) * | 2017-04-06 | 2019-04-11 | 三菱電機株式会社 | Program creation apparatus and program creation method |
-
1989
- 1989-05-31 JP JP1138105A patent/JPH033040A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPWO2018185915A1 (en) * | 2017-04-06 | 2019-04-11 | 三菱電機株式会社 | Program creation apparatus and program creation method |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS59149526A (en) | In-field document editing processing device | |
| JPH033040A (en) | Error display method | |
| JPS61245274A (en) | word processor | |
| JPH027100B2 (en) | ||
| JP3543986B2 (en) | Character processing method and apparatus | |
| JP3039655B2 (en) | Text processing apparatus and method | |
| JP2606665B2 (en) | Dialogue system development equipment | |
| JPS59116691A (en) | document creation device | |
| JPH07121514A (en) | Automatic preparation system for operation manual | |
| JPS636555A (en) | Typesetting system | |
| JPS62159248A (en) | Input program grammar check method | |
| JPH02250149A (en) | information processing equipment | |
| JPH0196723A (en) | Image output device | |
| JPS6325761A (en) | Character processor | |
| JPH01206423A (en) | information processing equipment | |
| JPS6355715B2 (en) | ||
| JPH0332109B2 (en) | ||
| JPH03225448A (en) | Converting, outputting, and updating method for information in file | |
| JPH0256059A (en) | document creation device | |
| JPS6327730B2 (en) | ||
| JPH05307475A (en) | Process control processing method | |
| JPH011064A (en) | Object creation method for figure/image data | |
| JPH03127275A (en) | Computer aided designing device | |
| JPH035812A (en) | Fetching system for format paper | |
| JPH0939329A (en) | Overlay printing method and apparatus |