JPH04199260A - document processing device - Google Patents
document processing deviceInfo
- Publication number
- JPH04199260A JPH04199260A JP2318122A JP31812290A JPH04199260A JP H04199260 A JPH04199260 A JP H04199260A JP 2318122 A JP2318122 A JP 2318122A JP 31812290 A JP31812290 A JP 31812290A JP H04199260 A JPH04199260 A JP H04199260A
- Authority
- JP
- Japan
- Prior art keywords
- numerical value
- reference object
- size
- numeric value
- memory
- 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
Description
【発明の詳細な説明】
[産業上の利用分野1
本発明は、文書処理装置に関し、詳しくは文書の作成お
よび編集を行う文書処理装置に関するものである。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application 1] The present invention relates to a document processing device, and more particularly to a document processing device for creating and editing documents.
[従来の技術l
近年、文書処理装置においては、文書を作成するにあた
って、文章の表現を豊かにしたり、分かりやすくするた
めに、類義語および語の意味を検索する手段を備えるよ
うになっており、オペレーターが辞書を引く手間を省く
ことができるようになっている。[Prior Art 1] In recent years, document processing devices have been equipped with means to search for synonyms and meanings of words in order to enrich the expression of sentences and make them easier to understand when creating documents. This saves the operator the trouble of looking up a dictionary.
[発明が解決しようとする課題1
文書を作成するときに、文中で大きさや高さなどを表現
するときに、一般によく知られているものを比較の基準
値として用いることにより、大きさや高さ等を表現する
ことはよく行われる。例えば、広さなら後楽園球場の何
倍である、高さなら東京タワーの何倍であるなどという
ように表現する。[Problem to be solved by the invention 1 When creating a document, when expressing size and height in the text, it is possible to express size and height by using generally well-known values as reference values for comparison. etc. is often expressed. For example, in terms of size, it is expressed as how many times larger than Korakuen Stadium, and in terms of height, it is expressed as how many times larger than Tokyo Tower.
しかし、このような表現をするためには、文書作成者は
、後楽園球場の広さや東京タワーの大きさ等を調べたう
え、例える数値が基準値とするものの何倍になるかを計
算する必要がある。However, in order to make such expressions, the document creator needs to research things such as the size of Korakuen Stadium and the size of Tokyo Tower, and then calculate how many times the numerical value is the standard value. There is.
本発明の目的は上述の問題点を解決した文書処理装置を
提供することにある。An object of the present invention is to provide a document processing device that solves the above-mentioned problems.
〔課題を解決するための手段l
このような問題を解決するために、本発明は、度量衡の
基準となる基準物の名称、該基準物の大きさを表わす数
値および該数値に係わる単位を記憶する第1の記憶手段
と、入力された数値および該数値に係わる単位を形成す
る文字列を記憶する第2の記憶手段と、該第2の記憶手
段に配憶された数値および該数値の単位と前記第1の記
憶手段に記憶された前記内容とを比較参照して前記基準
物を選択する基準選択手段と、該選択された基準物およ
び該基準物の大きさを表わす数値に基づいて、前記第2
の記憶手段に記憶された数値が前記基準物の何倍になる
かを算出する算出手段と、該算出された値および前記基
準物の名称を表示する表示手段とを備える。[Means for Solving the Problems] In order to solve such problems, the present invention stores the name of a reference object that is a standard for weights and measures, a numerical value representing the size of the reference object, and a unit related to the numerical value. a first storage means for storing an input numerical value and a character string forming a unit related to the numerical value; and a numerical value stored in the second storage means and a unit for the numerical value. and a reference selection means for selecting the reference object by comparing and referring to the content stored in the first storage means, and based on the selected reference object and a numerical value representing the size of the reference object, Said second
and a display means for displaying the calculated value and the name of the reference object.
[作 用]
本発明においては、度量衡を表わす数値が基準物の何倍
になるかを基準物の名称とともに表示することにより、
その基準物の大きさを調べたり、文中で表現したい度量
衡が基準物の何倍に当たるかを計算するという手間が省
ける。[Function] In the present invention, by displaying how many times the numerical value representing the weights and measures is of the reference value together with the name of the reference material,
This saves you the trouble of checking the size of the reference object and calculating how many times the weights and measures you want to express in the text correspond to the reference object.
[実施例1 以下、図面を参照して本発明の詳細な説明する。[Example 1 Hereinafter, the present invention will be described in detail with reference to the drawings.
本発明に係る文書処理装置は第1図に示すように、度量
衡の基準となる基準物の名称、基準物の大きさを表わす
数値および該数値に付随する単位を記憶する第1の記憶
手段100と、入力された数値および該数値に付随する
単位を形成する文字列を記憶する第2の記憶手段110
と、第2の記憶手段110に記憶された数値および数値
の単位を第1の記憶手段100に記憶された内容を参照
して基準物を選択する基準選択手段120と、選択され
た基準物および基準物の大きさを表わす数値に基づいて
、第2の記憶手段110に記憶された数値が基準物の何
倍になるかを算出する算出手段130と算出された値お
よび基準物の名称を表示する表示手段140を備えたこ
とを特徴とする。As shown in FIG. 1, the document processing device according to the present invention includes a first storage means 100 that stores the name of a reference object serving as a reference for weights and measures, a numerical value representing the size of the reference object, and a unit associated with the numerical value. and a second storage means 110 for storing an input numerical value and a character string forming a unit associated with the numerical value.
, a reference selection means 120 that selects a reference object by referring to the contents stored in the first storage means 100 for the numerical value and the unit of the numerical value stored in the second storage means 110; Based on the numerical value representing the size of the reference object, a calculation means 130 that calculates how many times the numerical value stored in the second storage means 110 is of the reference object, the calculated value, and the name of the reference object are displayed. The present invention is characterized in that it includes a display means 140 for displaying.
第2図は本発明実施例の全体構成の一例を示す。図示の
構成において、CPUはマイクロプロセッサであり、文
字処理のための演算および論理判断等を行ない、アドレ
スバスAB、コントロールバスCBおよびデータバスD
Bを介して、それらのバスに接続された各構成要素の制
御を行なう。FIG. 2 shows an example of the overall configuration of an embodiment of the present invention. In the illustrated configuration, the CPU is a microprocessor that performs arithmetic operations and logical judgments for character processing, and uses an address bus AB, a control bus CB, and a data bus D.
Each component connected to these buses is controlled via the bus B.
アドレスバスABはマイクロプロセッサCPUの制御の
対象となる構成要素を指示するアドレス信号を転送する
。コントロールバスCBはマイクロプロセッサCPUの
制御の対象となる各構成要素のコントロール信号を転送
して印加する。データバスDBは各構成要素相互間のデ
ータの転送を行なう。Address bus AB transfers address signals indicating the components to be controlled by the microprocessor CPU. The control bus CB transfers and applies control signals for each component to be controlled by the microprocessor CPU. Data bus DB transfers data between each component.
ROMはリードオンリーメモリ(読出し専用の固定メモ
リ)であり、エリアPAおよびメモリKREMMRを有
している。The ROM is a read-only memory (read-only fixed memory) and has an area PA and a memory KREMMR.
エリアPAは第4図に後述するマイクロプロセッサCP
Uによる制御手順等を記憶させたプログラムエリアであ
る。Area PA is a microprocessor CP which will be described later in FIG.
This is a program area in which control procedures etc. by U are stored.
メモリKREMMRは第3図に後述するような、度量衡
の基準となる基準物の名称、その基準物自体の大きさを
表わす数値およびその数値に付随する単位を格納するメ
モリである。The memory KREMMR is a memory that stores the name of a reference object serving as a reference for metrology, a numerical value representing the size of the reference object itself, and a unit associated with the numerical value, as will be described later in FIG.
RAMはランダムアクセスメモリであり、各構成要素か
ら送られる各種データを一時的に記憶するのに用いる。RAM is a random access memory and is used to temporarily store various data sent from each component.
RAMはメモリNUMBUF、メモリUNIBtlF
、メモリMULBLIFおよびメモリTEXT等で構成
されている。RAM is memory NUMBUF, memory UNIBtlF
, memory MULBLIF, memory TEXT, etc.
メモリNUMBUFはオペレーターが入力した数値を格
納するメモリである。メモリUNIBUFはオペレータ
ーが入力した単位を格納するメモリである。メモリMU
LBIJFは数値を基準値と比較した結果、何倍になる
かを格納するメモリである。メモリTEXTはオペレー
ターが入力した数値とその単位を含む文書データを格納
するメモリである。The memory NUMBUF is a memory that stores numerical values input by the operator. The memory UNIBUF is a memory that stores the unit input by the operator. Memory MU
LBIJF is a memory that stores how many times the numerical value is compared with a reference value. The memory TEXT is a memory that stores document data including numerical values input by the operator and their units.
KBはキーボードであり、数値およびその数値の単位等
のような文字パターンを入力するキー、本実施例におけ
る処理のう開始を指示するキーおよびその他のキーで構
成される。KB is a keyboard, which includes keys for inputting character patterns such as numerical values and units of the numerical values, keys for instructing the start of processing in this embodiment, and other keys.
DISKは定型文書を記憶するためのメモリであり、作
成された文書の保管を行ない、保管された文書はキーボ
ードKBの指示により、必要なときに呼び出される。The DISK is a memory for storing standard documents, and stores created documents, and the stored documents can be called up when necessary by instructions from the keyboard KB.
CRはカーソルレジスタであり、マイクロプロセッサC
PUにより、カーソルレジスタの内容を読み書きする。CR is the cursor register, microprocessor C
The PU reads and writes the contents of the cursor register.
後述するCRTコントローラCRTCは、カーソルレジ
スタCRに蓄えられたアドレスに対する表示装置CRT
上の位置にカーソルを表示する。A CRT controller CRTC, which will be described later, controls the display device CRT for the address stored in the cursor register CR.
Display the cursor at the top position.
DBUFは表示用バッファメモリであり、ここに蓄えら
れたメモリの内容が表示装置CRTに表示される。DBUF is a display buffer memory, and the contents of the memory stored here are displayed on the display device CRT.
表示装置CRTは陰極線管等を用いた表示装置であり、
表示装置CRTにおけるドツト構成のパターンおよびカ
ーソルの表示の制御はCRTコントローラCRTCによ
って行なわれる。A display device CRT is a display device using a cathode ray tube or the like.
Control of the dot configuration pattern and cursor display on the display device CRT is performed by a CRT controller CRTC.
CRTコントローラCR丁Cは、カーソルレジスタCR
およびバッファDBUFに蓄えられた内容を表示器CR
Tに表示する役割を担う。The CRT controller CR-C has a cursor register CR.
and display the contents stored in the buffer DBUF on the display CR.
Responsible for displaying on T.
CGはキャラクタジェネレータであり、表示装置CRT
に表示する文字および記号のパターンを記憶するもので
ある。CG is a character generator, and the display device CRT
It stores the patterns of characters and symbols displayed on the screen.
かかる各構成要素からなる本発明実施例の文字処理装置
においては、キーボードKBからの各種の入力に応じて
作動する。キーボードKBからの入力が供給されると、
まず、インタラブド信号がマイクロプロセッサCPUに
送られ、そのマイクロプロセッサCPUがROM内に記
憶しである各種の制御信号を読出し、それらの制御信号
に従って各種の制御が行なわれる。The character processing device according to the embodiment of the present invention, which includes these components, operates in response to various inputs from the keyboard KB. When input from keyboard KB is supplied,
First, the interwoven signal is sent to the microprocessor CPU, which reads out various control signals stored in the ROM, and performs various controls in accordance with these control signals.
第3図は度量衡をたとえるときに基準となる基準物の名
称、基準物自体の大きさおよびその表す単位を格納する
メモリKREMMRの構成の一例を示す。FIG. 3 shows an example of the configuration of a memory KREMMR that stores the name of a reference object used as a reference when comparing metrology, the size of the reference object itself, and the unit in which it is expressed.
以上の構成のもとて本実施例の動作を説明する。第4図
は本実施例に係る文字処理手順の一例を示す。The operation of this embodiment will be explained based on the above configuration. FIG. 4 shows an example of a character processing procedure according to this embodiment.
オペレーターによって本処理が起動されると、まずステ
ップSlにおいて、メツセージを表示し、本処理の対象
となる数値および単位記号を形成する文字列を文書メモ
リTEXTの中から特定し、数値の部分をメモリMUM
Bt圧に格納する。When this process is started by the operator, first, in step Sl, a message is displayed, a character string forming a numerical value and a unit symbol to be subjected to this process is specified from the document memory TEXT, and the numerical part is stored in the memory. MUM
Store at Bt pressure.
次にステップS2に進み、上述の文字列のうちの単位の
部分をメモリUNIBUFに格納する。Next, the process proceeds to step S2, and the unit portion of the above-mentioned character string is stored in the memory UNIBUF.
ステップS3において、度量衡の基準となるものの名称
、その基準となるもの自体の大きさを表わす数値および
単位を格納するメモリKREMMRのテーブルをサーチ
するための初期化処理を行なう。すなわち、i=1とす
る。In step S3, initialization processing is performed to search a table in the memory KREMMR that stores the name of a reference for metrology, a numerical value representing the size of the reference, and a unit. That is, i=1.
ステップS4では、処理の対象となる数値の単位を格納
するメモリUNIBUFがメモリKREMMRにおける
i番目レコードのUNIT(i)の値と一致するかどう
かを調べる。一致しない場合、ステップS5において、
iに1を加えて4次のレコードに処理を進める。In step S4, it is checked whether the memory UNIBUF that stores the numerical unit to be processed matches the value of UNIT(i) of the i-th record in the memory KREMMR. If they do not match, in step S5,
Add 1 to i and proceed to the fourth record.
ステップS6では、メモリKREMMRに格納されてい
るレコード数とiの値とを比較してサーチが終了したか
どうかを判断する。サーチが終了しても、一致単位が一
致するレコードが見つからなかった場合、処理は終了す
る。そうでないときは、ステップS4に戻る。In step S6, it is determined whether the search is completed by comparing the number of records stored in the memory KREMMR with the value of i. Even after the search is completed, if no record is found that matches the matching unit, the process ends. If not, the process returns to step S4.
ステップS4で、処理の対象となる単位と、一致するU
NITの値を持つレコードがあった場合、ステップS7
に進む。In step S4, the unit to be processed and the matching U
If there is a record with a value of NIT, step S7
Proceed to.
ステップS7では、処理の対象となる数値を格納するN
UMBUFの値を、単位が一致したレコードの基準物の
大きさである5IZE(i)の値で割った値をメモリM
ULBUFに格納する。In step S7, N
The value obtained by dividing the value of UMBUF by the value of 5IZE(i), which is the size of the reference object of the record whose units match, is
Store in ULBUF.
ステップS8では、単位が一致した基準物の名前である
、NAME(i)と、メモリMULB1.lFの値を表
示用のバッファであるDBUFの適当なエリアに転送し
、CRTに、基準物の名前および本処理の対象となった
数値が基準物の何倍の大きさを持っているかを表示し、
本処理を終了する。単位が一致するものが複数存在する
場合には、その全てを同時または順次に表示させてもよ
いし、対象の値にもっとも近いものを表示するようにし
てもよい。In step S8, NAME(i), which is the name of the reference object with the matching unit, and memory MULB1. Transfer the value of IF to an appropriate area of DBUF, which is a display buffer, and display on the CRT the name of the reference object and how many times the size of the numerical value targeted for this processing is of the reference object. death,
This process ends. If there are multiple values with matching units, all of them may be displayed simultaneously or sequentially, or the one closest to the target value may be displayed.
上述の実施例では、処理の対象となる数値および単位を
オペレーターに範囲指定などの操作によって指定させる
ようにしているが、本処理が起動されたときの文書中の
カーソルの位置に一番近い数値と単位を、処理の対象と
して自動的に処理するようにすれば、所定の操作を簡便
したうえ、上述の実施例と同様の効果を上げることがで
きる。In the above embodiment, the operator specifies the numerical value and unit to be processed by operations such as range specification, but the numerical value closest to the cursor position in the document when this process is started If the unit is automatically processed as a processing target, predetermined operations can be simplified and the same effects as in the above-mentioned embodiment can be achieved.
[発明の効果]
以上説明したように、本発明においては、ある度量衡を
表わす数値が適当な基準物の何倍になるかを基準物の名
称とともに表示するようにしたので、適当な基準物を考
えたり、その基準物の大きさを調べたり、文中で表現し
たい数値が基準物の何倍に当たるかを計算するという手
間が省け、このため文書作成作業の能率を上げることが
できるという効果がある。[Effects of the Invention] As explained above, in the present invention, the number of times the numerical value representing a certain weights and measures is of an appropriate standard is displayed together with the name of the standard, so that it is easy to select the appropriate standard. It saves you the trouble of thinking about it, checking the size of the reference object, and calculating how many times the value you want to express in a sentence corresponds to the reference object, which has the effect of increasing the efficiency of document creation work. .
また、ある度量衡を基準物と比較した値を作成する文書
中に簡単に取入れられるようにしたので5この取り入れ
を行なってわかりやすい文書を作成することができると
いう効果もある。Furthermore, since the value of a certain weights and measures compared with a reference object can be easily incorporated into a document to be created, there is also the effect that an easy-to-understand document can be created by incorporating this.
【図面の簡単な説明】
第1図は本発明に係る文字処理装置の基本構成を示すブ
ロック図。
第2図は本発明の一実施例の全体構成図、第3図はメモ
リKREMMRの構成の一例を示す図、第4図は本発明
の一実施例の処理手順の一例を示すフローチャートであ
る。
cpu・・・中央処理装置、
ROM・・・リードオンリーメモリ、
RAM・・・ランダムアクセスメモリ、KB・・・キー
ボード、
CR・・・カーソルレジスタ、
CRT・・・表示装置、
CG・・・キャラクタジェネレータ、
CB・・・コントロールバス、
DB・・・データバス、
AB・・・アドレスバス、
DBUF・・・表示用バッファメモリ、CRTC・・・
CRTコントローラ。
本4eIllに係る又書処理敏1の基本騰へ同第1図
第2図に示しf;ノ七すKREMMR1F)jUへの一
イI81.1図第3図BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing the basic configuration of a character processing device according to the present invention. FIG. 2 is an overall configuration diagram of an embodiment of the present invention, FIG. 3 is a diagram showing an example of the configuration of the memory KREMMR, and FIG. 4 is a flowchart showing an example of the processing procedure of the embodiment of the present invention. CPU: central processing unit, ROM: read-only memory, RAM: random access memory, KB: keyboard, CR: cursor register, CRT: display device, CG: character generator , CB...control bus, DB...data bus, AB...address bus, DBUF...display buffer memory, CRTC...
CRT controller. In addition, the book 4eIll also describes the basics of processing of the book 1 shown in Figure 1 and Figure 2.
Claims (1)
さを表わす数値および該数値に係わる単位を記憶する第
1の記憶手段と、 入力された数値および該数値に係わる単位を形成する文
字列を記憶する第2の記憶手段と、該第2の記憶手段に
記憶された数値および該数値の単位と前記第1の記憶手
段に記憶された前記内容とを比較参照して前記基準物を
選択する基準選択手段と、 該選択された基準物および該基準物の大きさを表わす数
値に基づいて、前記第2の記憶手段に記憶された数値が
前記基準物の何倍になるかを算出する算出手段と、 該算出された値および前記基準物の名称を表示する表示
手段と を備えたことを特徴とする文書処理装置。[Scope of Claims] 1) A first storage means for storing the name of a reference object serving as a standard for weights and measures, a numerical value representing the size of the reference object, and a unit related to the numerical value, and an input numerical value and the numerical value. a second storage means for storing a character string forming a unit related to, a numerical value stored in the second storage means, a unit of the numerical value, and the content stored in the first storage means; a reference selection means for selecting the reference object with reference to the reference object; and a numerical value stored in the second storage means based on the selected reference object and the numerical value representing the size of the reference object. A document processing device, comprising: a calculation device that calculates how many times the value is multiplied by the amount; and a display device that displays the calculated value and the name of the reference object.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2318122A JPH04199260A (en) | 1990-11-26 | 1990-11-26 | document processing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2318122A JPH04199260A (en) | 1990-11-26 | 1990-11-26 | document processing device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH04199260A true JPH04199260A (en) | 1992-07-20 |
Family
ID=18095746
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2318122A Pending JPH04199260A (en) | 1990-11-26 | 1990-11-26 | document processing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH04199260A (en) |
-
1990
- 1990-11-26 JP JP2318122A patent/JPH04199260A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH08235162A (en) | Document preparation device | |
| JPS60193066A (en) | Electronic computer | |
| JPS63766A (en) | document processing device | |
| JPH04199260A (en) | document processing device | |
| JP2888745B2 (en) | Character spacing adjustment method | |
| JPH0585929B2 (en) | ||
| JPH036731A (en) | Message display device | |
| JPS58163036A (en) | Automatic numbering device | |
| JP2983995B2 (en) | Character processor | |
| JP3126696B2 (en) | Character generation method | |
| JPH0896153A (en) | Layout processor | |
| JPS6031675A (en) | Table control system in simplified tabulation device | |
| JP2670170B2 (en) | Score input method | |
| JP3032399B2 (en) | Kana-Kanji conversion device | |
| JPS62229362A (en) | character processing device | |
| JPH0545987B2 (en) | ||
| JPH07256721A (en) | Control device for injection molding machine | |
| JPH0445875B2 (en) | ||
| JP2944666B2 (en) | Character processor | |
| JP3236039B2 (en) | Character processing apparatus and method | |
| JPH02236662A (en) | List computer | |
| JP2672940B2 (en) | Document processing device | |
| JPH0619892A (en) | Table frame forming method | |
| JPH0467210B2 (en) | ||
| JPH03176716A (en) | Electronics |