JPH01100663A - Instruction word automatic addition method - Google Patents
Instruction word automatic addition methodInfo
- Publication number
- JPH01100663A JPH01100663A JP62257139A JP25713987A JPH01100663A JP H01100663 A JPH01100663 A JP H01100663A JP 62257139 A JP62257139 A JP 62257139A JP 25713987 A JP25713987 A JP 25713987A JP H01100663 A JPH01100663 A JP H01100663A
- Authority
- JP
- Japan
- Prior art keywords
- word
- input
- instruction word
- relative position
- document
- 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
- Document Processing Apparatus (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、文書作成装置などの情報処理装置において文
書を作成する方式に係シ、特に入力語いに対し好適な指
示語を自動的に付加する方式に関するものである。[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a method for creating a document in an information processing device such as a document creation device, and particularly to a method for automatically generating a suitable instruction word for an input word. This is related to the method of adding.
従来、ワードプロセッサやパーソナルコンピュータのエ
ディタ等において、特定の語句に対して指示語を付加し
ようとする際には、利用者が入力時に始めから指示語を
入力するか、または入力終了後置換機能を用いて、特定
の語句の指示語十語句への置換を指示することにより、
−括に処理するようにしていた。Conventionally, when adding a directive to a specific word using a word processor or personal computer editor, the user either inputs the directive from the beginning or uses the replacement function after inputting the phrase. By instructing the replacement of a specific word with an indicator word or phrase,
- I tried to process it in batches.
上記従来技術において、語句の入力時に指示語も入力す
る方法では、利用者が指示語を付加することを忘れたシ
、また、入力操作数が増大する等の問題点があった。In the above-described conventional technology, the method of inputting a directive word when inputting a phrase has problems such as the user forgetting to add the directive word and an increase in the number of input operations.
さらに、置換機能による指示語の付加では、たとえば、
付加する指示語を、後述するように、その語句の文書中
の位置によって変化させる等の指示は行なえないという
問題点があった。Furthermore, when adding directives using the replacement function, for example,
There is a problem in that it is not possible to change the instruction word to be added depending on the position of the word in the document, as will be described later.
本発明は、利用者の入力操作数を減少させ、かつ、指示
語入力による利用者の文書作成中の思考を中断すること
のない文書作成方式を提供することを目的とする。SUMMARY OF THE INVENTION An object of the present invention is to provide a document creation method that reduces the number of input operations performed by a user and does not interrupt the user's thoughts during document creation due to instruction word input.
上記目的を達成するために、本発明による指示語自動性
、加方式は、
中央処理装置と、少なくとも骸中央処理装置の動作プロ
グラムおよび文書データを格納するメモリと、骸文書デ
ータを入力する入力装置とを具備し圧情報処理装置にお
いて、
利用者の指定する語句を上記メモリの語句格納領域へ登
録し、該語句格納領域に登録された語句と、入力された
文字列とを比較した結果、語句が一致すると判断された
場合、特定の指示語を入力文字列に付加するようにした
ものである。In order to achieve the above object, the instruction word automaticity and addition method according to the present invention comprises a central processing unit, a memory for storing at least the operation program of the skeleton central processing unit and document data, and an input device for inputting the skeleton document data. In the pressure information processing device, the word/phrase specified by the user is registered in the word/phrase storage area of the memory, and as a result of comparing the word/phrase registered in the word/phrase storage area with the input character string, the word/phrase is registered. If it is determined that the characters match, a specific instruction word is added to the input character string.
前記特定の指示語の選択は、例えば、複数の指示語およ
び対応する相対位置データからなる指示語テーブルを前
記メモリに格納しておき、前記比較の結果、語句が一致
したとき、当該語句の最初に入力された位置からの相対
位置を上記相対位置データと比較することによシ行なう
ことができる。The specific instruction word can be selected by, for example, storing an instruction word table consisting of a plurality of instruction words and corresponding relative position data in the memory, and when the words match as a result of the comparison, the first instruction word of the This can be done by comparing the relative position from the position input to the above relative position data.
7 語句格納領域は、複数の語句を指示語付加対象語句
であると判断するために用いられ、また、指示語テーブ
ルは、登録語句の始めに入力された位置からの相対位置
くよシ、その位置に対応する指示語を判断するために用
いられる。7 The word storage area is used to judge multiple words as target words for addition of demonstrative words, and the demonstrative word table is used to determine the relative position from the position input at the beginning of the registered word and phrase. Used to determine the reference word corresponding to the position.
利用者が文字列を入力すると、語句格納領域に登録され
ている語句とマツチング(比較)され、一致する語句で
あった場合には、指示語テーブルを参照して、その位置
に対応する指示語を選択して文書中に挿入するので、指
示語をわざわざ入力する必要がない。When a user enters a character string, it is matched (compared) with the words registered in the word storage area, and if the words match, the command word table is looked up and the command word corresponding to that position is searched. Since the command is selected and inserted into the document, there is no need to enter the instruction word.
以下、本発明の一実施例を図面によシ説明する。 An embodiment of the present invention will be described below with reference to the drawings.
° 3 。° 3 .
第2図は、本発明を実施するために用いる文書作成装置
を示すブロック図である。第2図において、キーボード
5から文字列が入力されると、自動付加処理部2は、メ
モリ6内の語句格納領域8の情報と指示語テーブル9の
情報を用いて、対象語句に指示語を自動付加してデイス
プレィ4上に表示する。既存の文書に指示語を付加する
場合には、CPU1は外部記憶装置3から文書データを
文書バッファ7に展開し、自動付加処理部2によシ、指
示語の付加が実行される。FIG. 2 is a block diagram showing a document creation device used to implement the present invention. In FIG. 2, when a character string is input from the keyboard 5, the automatic addition processing section 2 adds a directive word to the target phrase using the information in the word storage area 8 in the memory 6 and the information in the directive word table 9. It is automatically added and displayed on the display 4. When adding a directive to an existing document, the CPU 1 loads the document data from the external storage device 3 into the document buffer 7, and the automatic addition processing section 2 adds the directive.
第1図は、第2図における指示語自動付加処理部2が行
なう処理の流れを説明する流れ図である。FIG. 1 is a flowchart illustrating the flow of processing performed by the automatic instruction word addition processing section 2 in FIG.
ここでは、文書入力と同時に指示語を自動付加する方法
を考える。第1図の文書入力中に、入力装置から、対象
となる語句が指示される(ブロック11)と、その語句
は、文書の先頭からの位置とともに語句格納領域へ登録
される(ブロック12)。Here, we will consider a method of automatically adding directive words at the same time as document input. During input of the document shown in FIG. 1, when a target word is specified from the input device (block 11), the word is registered in the word storage area along with its position from the beginning of the document (block 12).
文書の先頭からの位置は、先頭からの文字数でもよいし
、文字列の物理的長さでもよい、続けて文字列が入力さ
れる(ブロック13)と、格納され14 。The position from the beginning of the document may be the number of characters from the beginning or the physical length of the character string. When a character string is continuously input (block 13), it is stored 14.
ている語句とのマツチングが行なわれる(ブロック14
)0文字列が格納語句と一致すると判断された場合は、
指示語テーブルを参照し、対応する指示語を判断する。(block 14)
)0 character string is determined to match the stored phrase,
Refer to the instruction word table and determine the corresponding instruction word.
指示語テーブルの一例を第3図に示す、テーブルには、
語句の相対位置データと、指示語文字列が格納されてい
て、語句が最初に入力された位置からの相対位置が相対
位置データよシも小さければ、その指示語文字列が対応
する指示語と判定される。An example of the instruction word table is shown in Figure 3.
If the relative position data of a word and a directive string are stored, and the relative position from the first input position of the word is smaller than the relative position data, the directive string is the corresponding directive word. It will be judged.
例えば、Ao、を40、A02を80、A05をωとし
、Bo、を1該2、BO2を1上記”、Bo5を1前記
”と利用者があらかじめ定義してあシ、また、語句格納
領域には、”ABC”という語句が、文書の先頭から1
0文字目にあるという情報が登録されていたとする。こ
の文書を続けて作成していくうち、文書の先頭から30
文字目に再度′″ABC”という文字列が入力されたと
すると、この文字列は、語句格納領域に登録された語句
とのマツチングが実行され、一致すると判定される。こ
の後から入力された“ABC“の初めに入力された”A
BC’からの相対位置りはL=30−10=20である
から、指示語テーブルよシ、との″ABC’に付加され
る指示語は1該”であると判定される。これによシ、指
示語自動付加処理部は文字列”ABC”に指示語1該”
を付加して、文字夕じ該ABC’を生成しくブロック1
5)、これをデイスプレィ上に表示する(ブロック16
)。この処理を文書終了まで繰返す(ブロック17)。For example, if the user defines in advance that Ao is 40, A02 is 80, A05 is ω, Bo is 1 and 2, BO2 is 1 above, and Bo5 is 1 above. , the phrase “ABC” is one from the beginning of the document.
Assume that information indicating that it is at the 0th character is registered. As you continue to create this document, 30 minutes from the beginning of the document
If the character string ``ABC'' is inputted again in the character position, this character string is matched with the word/phrase registered in the word/phrase storage area, and it is determined that they match. “A” input at the beginning of “ABC” input after this
Since the relative position from BC' is L=30-10=20, it is determined that the number of directive words added to "ABC" in the directive word table is 1. Accordingly, the instruction word automatic addition processing unit will automatically add one instruction word to the character string "ABC".
Add to block 1 to generate the character ABC'.
5), display this on the display (block 16).
). This process is repeated until the end of the document (block 17).
以上の実施例は、文書入力時における処理であるが、同
様に作成済文書にも適用できるし、また、語句格納領域
の語句の位置データを可変にすることにより、文書編集
時において登録語句と語句の位置関係が変更された時に
おいても、自動的に指示語を変更することができる。Although the above embodiment is a process performed when inputting a document, it can be applied to a created document as well, and by making the position data of words in the word storage area variable, the registered words can be used when editing a document. Even when the positional relationship of words is changed, the indicator word can be automatically changed.
本発明によれば、利用者は一度入力した語句に対する指
示語は入力しなくても、自動的に適当な指示語が付加さ
れるため、入力操作数を低減でき、かつ、指示語を入力
することによる文書作成中の思考の中断を阻止すること
ができる。According to the present invention, the user does not have to input a directive word for a word once input, but an appropriate directive word is automatically added, so the number of input operations can be reduced, and the user can input a directive word. It is possible to prevent interruptions in thinking during document creation.
第1図は本発明の一実施例を示す70−チャート、第2
図は第1図の処理を実施する際のブロック図、第3図は
指示語テーブルの模式図である。
1 ・・・CPU
6・・・メモリ
8・・・語句格納領域
9・・・指示語テーブル
20〜22・・・相対位置データ
23〜25・・・指示語。FIG. 1 is a 70-chart showing one embodiment of the present invention;
The figure is a block diagram when the process of FIG. 1 is executed, and FIG. 3 is a schematic diagram of the instruction word table. 1...CPU 6...Memory 8...Word storage area 9...Indication word tables 20-22...Relative position data 23-25...Indication word.
Claims (1)
プログラムおよび文書データを格納するメモリと、該文
書データを入力する入力装置とを具備した情報処理装置
において、利用者の指定する語句を上記メモリの語句格
納領域へ登録し、該語句格納領域に登録された語句と、
入力された文字列とを比較した結果、語句が一致すると
判断された場合、特定の指示語を入力文字列に付加する
ことを特徴とする指示語自動付加方式。 2、複数の指示語および対応する相対位置データからな
る指示語テーブルを前記メモリに格納しておき、前記比
較の結果、語句が一致したとき、当該語句の最初に入力
された位置からの相対位置を上記相対位置データと比較
することにより、前記特定の指示語を選択する特許請求
の範囲第1項記載の指示語自動付加方式。[Scope of Claims] 1. An information processing device that includes a central processing unit, a memory that stores at least an operating program of the central processing unit and document data, and an input device that inputs the document data. Register the specified word in the word storage area of the memory, and register the word and phrase registered in the word storage area,
An automatic instruction word addition method characterized by adding a specific instruction word to the input character string if it is determined that the words match as a result of comparing the input character string. 2. A reference word table consisting of a plurality of reference words and corresponding relative position data is stored in the memory, and when the words match as a result of the comparison, the relative position of the word from the first input position is determined. 2. The automatic instruction word addition method according to claim 1, wherein said specific instruction word is selected by comparing said relative position data with said relative position data.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62257139A JPH01100663A (en) | 1987-10-14 | 1987-10-14 | Instruction word automatic addition method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62257139A JPH01100663A (en) | 1987-10-14 | 1987-10-14 | Instruction word automatic addition method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH01100663A true JPH01100663A (en) | 1989-04-18 |
Family
ID=17302258
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP62257139A Pending JPH01100663A (en) | 1987-10-14 | 1987-10-14 | Instruction word automatic addition method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH01100663A (en) |
-
1987
- 1987-10-14 JP JP62257139A patent/JPH01100663A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS60263256A (en) | Computer provided with skill degree function | |
| JPS59132029A (en) | Kana-kanji converting device | |
| JPH01100663A (en) | Instruction word automatic addition method | |
| JPH0326421B2 (en) | ||
| JPS6057422A (en) | Document contents and index producer | |
| JPH025175A (en) | character processing device | |
| JP2659907B2 (en) | Document processing device | |
| JP2672940B2 (en) | Document processing device | |
| JP2761606B2 (en) | Document data processing device | |
| JPS58151637A (en) | Japanese language word processor | |
| JPH0731315Y2 (en) | Electronics | |
| JP3070761B2 (en) | Kanji input device | |
| JPH0362170A (en) | Comment input method in cad system | |
| JPH031273A (en) | Character processor having operation self-study function | |
| JPH0154742B2 (en) | ||
| JPH03137768A (en) | Document processor | |
| JPS6218596A (en) | Work area display method | |
| JPH02297279A (en) | Document processor with next registration code display function | |
| JPH0327469A (en) | Kana-Kanji conversion device | |
| JPS62271050A (en) | Producing device for document in japanese language | |
| JPH03271967A (en) | Document processor | |
| JPH0350674A (en) | Sentence producing device | |
| JPH0469769A (en) | data processing equipment | |
| JPS62111349A (en) | Character processor | |
| JPH0332109B2 (en) |