JPH04114267A - Document processor - Google Patents

Document processor

Info

Publication number
JPH04114267A
JPH04114267A JP2235427A JP23542790A JPH04114267A JP H04114267 A JPH04114267 A JP H04114267A JP 2235427 A JP2235427 A JP 2235427A JP 23542790 A JP23542790 A JP 23542790A JP H04114267 A JPH04114267 A JP H04114267A
Authority
JP
Japan
Prior art keywords
word
data
memory
pointer
stored
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
JP2235427A
Other languages
Japanese (ja)
Inventor
Toshiyuki Sakai
俊之 酒井
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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2235427A priority Critical patent/JPH04114267A/en
Publication of JPH04114267A publication Critical patent/JPH04114267A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To speedily execute the processing of counting the same word in a document by using the small number of memories as much as possible by storing the number of times for using a word in a data memory while relating it with address information. CONSTITUTION:A data memory, word reading means, address information storing means and use time number count means, etc., are provided and concerning each word read out from a text memory, the address information of the text memory is successively stored in the data memory so as to be a prescribed arranging order such as an alphabet order arrangement, for example. On the other hand, the data itself of the word is not stored in the data memory although the number of times for using each word is stored in the data memory while being related with the address information. Thus, the capacity of the data memory can be extremely reduced. Further, since the information is stored in the data memory in the prescribed arranging order such as the alphabet order arrangement or the like, the search of the same word is simplified and the count processing of the number of times for use can be speedily executed.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は文書処理装置に関し、特に文書作成の際に使用
した単語の使用回数カウント処理を極力少ないメモリ容
量で且つ迅速に行なえるようにしたものに関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a document processing device, and in particular, to a document processing device that can quickly count the number of times words used in document creation can be performed with as little memory capacity as possible. related to things.

〔従来技術〕[Prior art]

従来、例えばワードプロセッサなどを用いて、文章を入
力しながら文書を作成していく場合、同一単語を頻繁に
使用して文章が単調で幼稚なものとならないように、文
書を入力後に、同一単語の使用回数をカウントするカウ
ント処理を行ない、単語とその使用回数とを対応づけた
使用回数−覧表をデイスプレィに表示するワードカウン
ト機能を備えたワードプロセッサが実用に供されている
Conventionally, when creating a document while inputting sentences using a word processor, for example, to avoid using the same words frequently and making the sentences monotonous and childish, after inputting the document, Word processors have been put into practical use that have a word count function that performs a counting process to count the number of times a word has been used and displays a list of usage times on a display that associates words with the number of times they have been used.

一般に、このワードカウント機能を備えたワードブロセ
ッサでは、その制御装置内に単語データとその回数デー
タとを対応づけて格納するだめの回数データメモリを設
け、テキストメモリ内の各単語を先頭単語から順次読出
しながら回数データメモリに同一単語が有るか否かを検
索し、同一単語が検出されたときにはその使用回数をカ
ウントアツプし、また検出されないときにはその読出し
た単語のデータと回数データ「1」とを回数データメモ
リに書込むようになっている。
Generally, a word processor equipped with this word count function has a number data memory in its control device that stores word data and its number data in association with each other, and each word in the text memory is counted starting from the first word. While sequentially reading, it is searched to see if the same word exists in the number data memory, and when the same word is detected, the number of times it has been used is counted up, and when it is not detected, the data of the read word and the number data "1" are added. is written to the data memory a number of times.

しかも、この回数データメモリは、文字数の多い単語の
データも格納し得るように各単語データのメモリ容量と
して例えば約20〜25バイト分設けるとともに、例え
ば約1000単語のデータとその使用回数とを格納でき
るように構成されている。
Moreover, this number data memory is provided with a memory capacity of about 20 to 25 bytes for each word data so that it can also store data for words with a large number of characters, and also stores data for about 1000 words and the number of times they have been used. It is configured so that it can be done.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

従って、従来のワードカウント機能を備えたワードプ「
Jセッサにおいては、大容量の回数データメモリを必要
とすること、この回数データメモリにはテキストメモリ
から読出された単語データが読出された順序で格納され
ているので、同−単語の使用回数をカウントするために
回数データメモリ内の全ての単語データを順次検索しな
ければならず、カウント処理に多大の処理時間が必要と
なること、などの問題がある。
Therefore, wordp with traditional word count function “
The J processor requires a large-capacity count data memory, and the word data read from the text memory is stored in the read order, so it is difficult to keep track of the number of times the same word is used. In order to count, all the word data in the number data memory must be sequentially searched, and the counting process requires a large amount of processing time, among other problems.

本発明の目的は、文書中の同一単語のカウント処理を極
力少ないメモリを用いて迅速に行なえるような文書処理
装置を提供することにある。
An object of the present invention is to provide a document processing device that can quickly count the same words in a document using as little memory as possible.

〔課題を解決するための手段〕[Means to solve the problem]

本発明に係る文書処理装置は、第1図の機能ブロック図
に示すように、文字や記号のデータ及び種々の指令を入
力する為の入力手段と、人力手段から入力された複数の
単語のデータを文書データとして格納するテキストメモ
リと、テキストメモリ内の単語について各単語に関する
テキストメモリのアドレス情報と使用回数情報とを関連
づげて格納するためのデータメモリと、テキストメモリ
から各単語とそのアドレス情報を順々に読出ず単語読出
し手段と、単語読出し手段で読出された各単語の゛アド
レス情報を、単語のスペルと関連づけて決定される所定
の配列順序でデータメモリに順々に格納するアドレス情
報格納手段と、データメモリに格納後これら複数の単語
のアドレス情報とテキストメモリの複数の単語とに基い
て各単語の使用回数をカウントしその使用回数をアドレ
ス情報と関連づけてデータメモリに格納する使用回数カ
ウント手段とを備えたものである。
As shown in the functional block diagram of FIG. 1, the document processing device according to the present invention includes an input means for inputting data of characters and symbols and various commands, and data of a plurality of words inputted from a manual means. a text memory for storing text memory as document data; a data memory for storing text memory address information and use count information for each word in association with each other; and a data memory for storing each word and its address from the text memory in association with each other. A word reading means that does not read the information one after another, and an address for sequentially storing the address information of each word read by the word reading means in a data memory in a predetermined arrangement order determined in association with the spelling of the word. After storing the information in the data memory, the information storage means counts the number of times each word is used based on the address information of the plurality of words and the plurality of words in the text memory, and stores the number of uses in association with the address information in the data memory. The device is equipped with a number-of-use counting means.

〔作用] 本発明に係る文書処理装置においては、単語続出し手段
がテキストメモリから各単語とそのアドレス情報を順々
に読出し、アドレス情報格納手段は、その読出された各
単語のアドレス情報を、単語のスペルと関連づけて決定
される所定の配列順序でデータメモリに順々に格納する
[Operation] In the document processing device according to the present invention, the word successive reading means sequentially reads each word and its address information from the text memory, and the address information storage means stores the address information of each read word. The words are sequentially stored in the data memory in a predetermined arrangement order determined in association with the spelling of the word.

一方、アドレス情報格納手段によるアドレス情報のデー
タメモリへの格納完了後、使用回数カウント手段は、デ
ータメモリに格納された複数の単語のアドレス情報とテ
キストメモリの複数の単語とに基いて各単語の使用回数
をカウントしその使用回数をアドレス情報と関連づけて
データメモリに格納する。
On the other hand, after the address information storage means has completed storing the address information in the data memory, the usage count means calculates the number of times each word is stored based on the address information of the plurality of words stored in the data memory and the plurality of words in the text memory. The number of times of use is counted, and the number of times of use is associated with address information and stored in the data memory.

〔発明の効果〕〔Effect of the invention〕

本発明に係る文書処理装置によれば、データメモリ、単
語読出し手段、アドレス情報格納手段及び使用回数カウ
ント手段などを設け、テキストメモリから読出した各単
語について、例えばアルファベット順配列などの所定の
配列順序となるように、テキストメモリのアドレス情報
を順々にデータメモリに格納する一方、各単語の使用回
数をアドレス情報と関連づけてデータメモリに格納し、
データメモリには単語のデータ自体を格納しないので、
データメモリの容量を大幅に小さくできる。
According to the document processing device according to the present invention, the data memory, the word reading means, the address information storage means, the usage count means, etc. are provided, and each word read from the text memory is arranged in a predetermined arrangement order such as an alphabetical arrangement. The address information of the text memory is sequentially stored in the data memory, and the number of times each word is used is stored in the data memory in association with the address information, so that
Since the word data itself is not stored in the data memory,
Data memory capacity can be significantly reduced.

更に、アルファヘット配列順などの所定の配列順序でデ
ータメモリに格納するので、同一単語の検索が簡単化し
て使用回数のカウント処理を迅速に行うことができる。
Furthermore, since the words are stored in the data memory in a predetermined order such as alpha head order, searching for the same word is simplified and the number of times of use can be quickly counted.

〔実施例〕〔Example〕

以下、本発明の実施例について図面に基いて説明する。 Embodiments of the present invention will be described below with reference to the drawings.

本実施例は英語用のワードプロセッサに本発明を通用し
た場合のものである。
This embodiment is a case where the present invention is applied to an English word processor.

第2図に示すように、ワードプロセッサ1の本体フレー
ム2の前部にはキーボード3が配設され、キーボード3
の後方で本体フレーム2内にはデイジ−ホイール式の印
字機構PMが配設され、キーボード3の後部には文字や
記号を表示可能な液晶デイスプレィ10が設けられてい
る。
As shown in FIG. 2, a keyboard 3 is disposed at the front of the body frame 2 of the word processor 1.
A daisy-wheel type printing mechanism PM is provided inside the main body frame 2 at the rear of the keyboard 3, and a liquid crystal display 10 capable of displaying characters and symbols is provided at the rear of the keyboard 3.

キーボード3には、アルファヘットキーと数字キーと記
号キーとを含む文字キー、スペースキーリターンキー、
デイスプレィ10上のカーソルを上下左右方向に夫々移
動させるためのカーソル移動キー、テキストメモリ22
に格納した文書に対して入力された各単語の使用回数を
カウントさせるワードカウントキー、実行中の処理を中
止させるキャンセルキー、その他各種の機能キーなどが
通常のものと同様に設けられている。
The keyboard 3 includes character keys including an alpha key, number keys, and symbol keys, a space key, a return key,
Cursor movement keys for moving the cursor on the display 10 in up, down, left and right directions, and text memory 22
It is equipped with a word count key to count the number of times each word is used for documents stored in the computer, a cancel key to cancel the process in progress, and various other function keys, just like normal ones.

印字機構PMはプラテンやキャリッジやデイジ−ホイー
ル及びこれらの駆動回路などを備えた一般的な構成のも
のである。
The printing mechanism PM has a general configuration including a platen, a carriage, a daisy wheel, a driving circuit for these, and the like.

次に、ワードプロセッサ1の制御系は第3図のブロック
図に示すように構成されている。
Next, the control system of the word processor 1 is constructed as shown in the block diagram of FIG.

表示機構DMは、液晶デイスプレィ10と、このデイス
プレィ10に表示データを出力するための表示用RAM
及び文字や記閃などの多数のドツトパターンを格納した
キャラクタジエネレークROMを含むデイスプレィコン
トローラ11とを偵えた一般的な構成のものである。尚
、符号AMはブザー12とこのブザー12を鳴動させる
駆動回路13とを備えたアラーム機構である。
The display mechanism DM includes a liquid crystal display 10 and a display RAM for outputting display data to the display 10.
and a display controller 11 including a character generator ROM storing a large number of dot patterns such as characters and flashes. Incidentally, reference numeral AM designates an alarm mechanism that includes a buzzer 12 and a drive circuit 13 that causes the buzzer 12 to sound.

制御装置CはCPU16と、CP U 16にデータバ
スなどのハス15を介して接続された入出力インターフ
ェイス14、ROM17・18及びRAM20とから構
成されている。ROM17のプログラムメモリには、キ
ーボード3から入力されるコードデータに対応させて表
示機構DMを制御する制御プログラムやそのコードデー
タをラインバッファ21やテキストメモリ22に格納す
る制御プログラム、カーソル移動キーの操作に応(7て
カーソルを移動させるカーソル移動制御プログラム、単
語使用回数カウント制御の制御プログラドなどが格納さ
れている。
The control device C includes a CPU 16, an input/output interface 14 connected to the CPU 16 via a bus 15 such as a data bus, ROMs 17 and 18, and a RAM 20. The program memory of the ROM 17 includes a control program for controlling the display mechanism DM in response to code data input from the keyboard 3, a control program for storing the code data in the line buffer 21 and text memory 22, and operations for cursor movement keys. A cursor movement control program for moving the cursor, a control program for counting the number of word usages, etc. are stored accordingly.

前記単語使用回数カウント制御プログラムには、英和辞
典の見出し語のようなアルファベット順の配列順位に基
いて、カウント対象単語データCTWDと回数データメ
モリ25に格納された単語のアドレスに対応するテキス
トメモリ22内の単語データー〇とを比較して何れの単
語データが見出し語「a」に近いかつまり上位側かを判
定する順位判定制御のサブルーチンが格納されている。
The word usage count control program includes a text memory 22 corresponding to word data CTWD to be counted and addresses of words stored in the frequency data memory 25 based on an alphabetical arrangement order such as headwords in an English-Japanese dictionary. A subroutine for rank determination control is stored that compares the word data 〇 in the list and determines which word data is closer to the headword "a", that is, which one is higher.

ROM1Bの除外単語メモリには、冠詞、接続詞、Be
動詞などカウント処理する必要のない複数の除外単語の
データが格納されている。
Exclusion word memory in ROM1B includes articles, conjunctions, Be
Contains data for multiple excluded words such as verbs that do not need to be counted.

RAM20のラインバッファ21には、キーボード3か
ら入力されデイスプレィ10に表示されている1表示行
のデータ、或いはテキストメモリ22から読出されてデ
イスプレィ10に表示されている複数行の文書データの
うちカーソル40を含む1表示行のデータが格納される
The line buffer 21 of the RAM 20 stores one display line of data input from the keyboard 3 and displayed on the display 10, or a cursor 40 of multiple lines of document data read from the text memory 22 and displayed on the display 10. One display line of data including .

テキストメモリ22には、ラインバッファ21から1行
分の単語データを順々に受けて文書データが格納される
。尚、このメモリ22の最終アドレスをFEOIIとす
る(第5図参照)。カウント対象単語バッファ23には
、テキストポインタTXPで指示されたテキストメモリ
22内の単語をカウント対象単語データCTWDとして
格納される。単語ノ\ッファ24には、検索ポインタア
Kl)Tで指示された回数データメモリ25に格納され
ているアドレスに対応するテキストメモリ22内の単語
データWDが格納される。回数データメモリ25には、
第6図に示すようにカウント対象単語データCTWDが
格納されているテキストメモリ22の先頭アドレス(2
バイト)とその単語の使用回数CNTとが対応づけて回
数データとして格納される。但し、この回数データメモ
リ25は、第5図に示すようにテキストメモリ22内に
設けられたメモリであって、文書データが格納されたテ
キスト格納領域の残りの未使用領域に設けられている。
The text memory 22 receives one line of word data from the line buffer 21 one after another and stores document data. Note that the final address of this memory 22 is FEOII (see FIG. 5). The count target word buffer 23 stores the words in the text memory 22 indicated by the text pointer TXP as count target word data CTWD. The word buffer 24 stores the word data WD in the text memory 22 corresponding to the address stored in the number data memory 25 indicated by the search pointer Kl)T. In the number data memory 25,
As shown in FIG. 6, the start address (2) of the text memory 22 in which the count target word data CTWD is stored
byte) and the number of times the word has been used CNT are stored as number data in association with each other. However, this number data memory 25 is a memory provided within the text memory 22 as shown in FIG. 5, and is provided in the remaining unused area of the text storage area where document data is stored.

従って、テキストメモリ22のメモリ容量が所定の大き
さ(例えば、32にバイト)なので、回数データメモリ
25のメモリ容量及び先頭アドレスはテキスト格納領域
の変動に伴って変動する。尚、テキスト格納領域の最終
アドレスをEOA とする。
Therefore, since the memory capacity of the text memory 22 is a predetermined size (for example, 32 bytes), the memory capacity and the start address of the number data memory 25 change as the text storage area changes. Note that the final address of the text storage area is EOA.

カーソルカラムバッファ26には、ラインバッファ2I
においてカーソル表示位置に対応するカーソル40のカ
ラムデータCCが格納される。カーソルライ・ンハッフ
ァ27には、テキストメモリ22において先頭表示行に
対するカーソル40の表示行のラインデータCLが格納
される。テキストポインタ28には、テキストメモリ2
2内の1つのアドレスが格納される。尚、このポインタ
の内容をポインタTXPとする。
The cursor column buffer 26 includes a line buffer 2I.
Column data CC of the cursor 40 corresponding to the cursor display position is stored. The cursor line buffer 27 stores line data CL of the display line of the cursor 40 relative to the first display line in the text memory 22. The text pointer 28 has the text memory 2
One address within 2 is stored. Note that the contents of this pointer are referred to as pointer TXP.

スタートポインタ29には回数データメモリ25を検索
する検索開始時の検索範囲の開始アドレスが格納され、
エンドポインタ30にはその検索範囲の終了アドレスが
格納される。尚、ポインタ29の内容をポインタTPT
とし、またポインタ30の内容をポインタEPT とす
る。検索ポインタ31には、回数データメモリ25の1
つのアドレスが格納される。尚、このポインタ31の内
容をポインタKPT とする。
The start pointer 29 stores the start address of the search range at the start of the search for the number of times data memory 25.
The end pointer 30 stores the end address of the search range. Note that the contents of pointer 29 are set to pointer TPT.
Let the contents of the pointer 30 be the pointer EPT. 1 of the number data memory 25 is stored in the search pointer 31.
One address is stored. Note that the contents of this pointer 31 are referred to as pointer KPT.

第1ポインタ32には回数データメモリ25の検索途中
の検索範囲の開始アドレスが格納され、また第2ポイン
タ33にはその検索範囲の終了アドレスが格納される。
The first pointer 32 stores the start address of the search range in the middle of the search in the number data memory 25, and the second pointer 33 stores the end address of the search range.

尚、ポインタ32の内容をポインタTPI とし、ポイ
ンタ33の内容をポインタTP2とする。カウンタ34
にはカウント対象単語の使用回数が格納される。尚、こ
のカウンタ34の内容をカウント値CNTとする。エン
ドアドレスメモリ35には、テキストメモリ22のテキ
ストメモリの最終アドレスEO^が格納される。また、
ファイナルアドレスメモリ36には、テキストメモリ2
2の最終アドレスFEOAが格納される。フラグメモリ
37には、回数データがデイスプレィ10に表示されて
いるときにセット(データが「1」)される回数データ
表示フラグKDFめフラグデータ、回数データメモリ2
5に回数データを格納する空き領域がないときにセット
されるオーバーフローフラグF1のフラグデータが格納
される。
Note that the contents of the pointer 32 are assumed to be pointer TPI, and the contents of the pointer 33 are assumed to be pointer TP2. counter 34
stores the number of times the word to be counted is used. Note that the contents of this counter 34 are assumed to be a count value CNT. The end address memory 35 stores the final address EO^ of the text memory 22. Also,
The final address memory 36 includes the text memory 2
The final address FEOA of 2 is stored. The flag memory 37 includes a number data display flag KDF, which is set (data is "1") when the number data is displayed on the display 10, and number data memory 2.
5 stores flag data of an overflow flag F1 that is set when there is no free space to store the number of times data.

更に、RAM20にはCPU16で演算した演算結果を
一時的に格納する各種メモリやカウンタやポインタなど
が設けられている。
Further, the RAM 20 is provided with various types of memories, counters, pointers, etc. for temporarily storing the results of calculations performed by the CPU 16.

次に、ワードプロセッサ1の制御装置Cで行なわれる単
語使用回数カウント制御のルーチンについて、!4図(
a)〜第4図(e)のフローチャートに基いて説明する
。尚、図中3i  (i=1.2.3・・・)は各ステ
ップである。
Next, regarding the word usage count control routine performed by the control device C of the word processor 1! Figure 4 (
This will be explained based on the flowcharts in a) to FIG. 4(e). In addition, 3i (i=1.2.3...) in the figure is each step.

ワードプロセッサ1に電源が投入されるとこの制御が開
始され、文書データの入力モードを設定したり、テキス
トメモリ22の最終アドレスFEOAをファイナルアド
レスメモリ36に格納し、各メモリ21〜37をクリア
するなどの初期設定が実行され(S 1 ) 、キーボ
ード3でワードカウントキー以外の文字キーやスペース
キーなどの種々のキーが操作されたとき(S2:Yes
、S3・s8:No)、そのキーに対応するコードデー
タがラインバッファ21やテキストメモリ22に格納さ
れ、同時にそのコードデータに対応する文字や記号など
がデイスプレィ10に表示される(Si2)。その結果
、テキストメモリ22に文書データが格納され、エンド
アドレスメモリ35には入力された文書のデータ量に基
いてエンドアドレスEOAが更新して格納される。
This control starts when the word processor 1 is powered on, and sets the document data input mode, stores the final address FEOA of the text memory 22 in the final address memory 36, clears each memory 21 to 37, etc. The initial setting is executed (S1), and when various keys such as character keys other than the word count key and the space key are operated on the keyboard 3 (S2: Yes)
, S3/s8: No), the code data corresponding to the key is stored in the line buffer 21 and text memory 22, and at the same time, characters, symbols, etc. corresponding to the code data are displayed on the display 10 (Si2). As a result, the document data is stored in the text memory 22, and the end address EOA is updated and stored in the end address memory 35 based on the data amount of the inputted document.

次に、文書の入力後、その文書内に使用した単語の使用
回数を表示させるためにワードカウントキーを操作した
とき(S2 ・S3 :Yes)、フラグXDFがリセ
ットされていて回数データがデイスプレィ10に表示さ
れていないときには(S4:No)、使用回数カウント
処理制御(第4図(b)参照)が実行される(s5)。
Next, after inputting a document, when the word count key is operated to display the number of times the words used in the document are used (S2/S3: Yes), the flag XDF is reset and the number data is displayed on the display 10. When it is not displayed (S4: No), the usage count processing control (see FIG. 4(b)) is executed (s5).

この制御が開始されると、先ずフラグF1がリセットさ
れ(S20)、ポインタTPTとポインタEPTとには
、エンドアドレスメモリに基いてエンドアドレスEOA
よりも大きくて3の整数倍となるアドレスのうち最小で
ある回数データメモリ25の先頭アドレスが求められて
夫々格納される(S21)。例えば、エンドアドレスH
OAが8000 (HEX)のときには、アドレス80
o1がポインタTPTとポインタEPTとに格納される
。次に、カーソルカラムバッファ26のカラムデータc
cとカーソルラインバッファ27のラインデータCLと
に基いてカーソル40の表示位置に対応するテキストメ
モリ22のアドレスがポインタTXPとしてテキストポ
インタ28に格納され(S22)、回数データメモリ2
5がクリアされる(S23)。
When this control is started, the flag F1 is first reset (S20), and the end address EOA is set to the pointer TPT and pointer EPT based on the end address memory.
The smallest starting address of the number data memory 25 among the addresses that are larger than 3 and is an integer multiple of 3 is determined and stored (S21). For example, end address H
When OA is 8000 (HEX), address 80
o1 is stored in pointer TPT and pointer EPT. Next, column data c of the cursor column buffer 26
Based on C and the line data CL of the cursor line buffer 27, the address of the text memory 22 corresponding to the display position of the cursor 40 is stored in the text pointer 28 as a pointer TXP (S22), and the number data memory 2
5 is cleared (S23).

次の324・S25はカーソル40で指示する単語の先
頭文字アドレスをポインタTXPに格納するステップで
あり、ポインタTXPの1つ上位側のアドレスのコード
が区切りコード(リターン、スペース、ピリオド、コン
マ、コロン、セミコロンなどのデータ)でなくポインタ
TXPが先頭文字でないときには(324:No)、ポ
インタTXPが1つデクリメントされ(S25)、S2
4〜S25を繰り返してポインタTXPが先頭文字を指
示する。次に、ポインタTXPで指示する先頭文字アド
レスのコードから次の区切りコードの1つ上位側のアド
レスのコードまでの一連のデータつまり単語データが読
出されてカウント対象単語バッファ23にカウント対象
単語データCTWDとして格納され(S26)、この対
象単語データCTWDが除外単語でないときには(S2
7:No)、単語アドレス格納処理制御(第4図(C)
参照)が実行される(S28)。例えば、第7図(a)
に示すようにカーソル40が単語r 5earch J
の文字「a」のとき、ポインタTXPにはこの単語r 
5earch 」の先頭文字「S」に対応するテキスト
メモリ22内のアドレス2000+1が格納され、カウ
ント対象単語r 5earch 」の単語データがカウ
ント対象単語バッファ23に格納される。
The next step 324/S25 is the step of storing the address of the first character of the word indicated by the cursor 40 in the pointer TXP, and the code of the address one level above the pointer TXP is the delimiter code (return, space, period, comma, colon). , semicolon, etc.) and the pointer TXP is not the first character (324: No), the pointer TXP is decremented by one (S25), and S2
4 to S25 are repeated to point the pointer TXP to the first character. Next, a series of data, that is, word data, from the code of the first character address indicated by the pointer TXP to the code of the next higher address of the next delimiter code is read out and stored in the count target word buffer 23 as the count target word data CTWD. (S26), and when this target word data CTWD is not an excluded word (S2
7: No), word address storage processing control (Figure 4 (C)
) is executed (S28). For example, Fig. 7(a)
As shown in , the cursor 40 is on the word
, the pointer TXP contains this word r
Address 2000+1 in the text memory 22 corresponding to the first character "S" of "5earch" is stored, and the word data of the count target word "r 5earch" is stored in the count target word buffer 23.

この制御が開始されると、先ずバイナリ検索処理制御(
第4図(d)参照)が実行される(S40)。この制御
が開始されると、先ずポインタPTlにはポインタTP
Tのデータが格納され且つポインタPT2にはポインタ
EPTのデータが格納され(S50)、ポインタPTI
 とポインタPT2 とが等しいか否かが判定される(
S51)。この制御の開始直後ではS51においてYe
sと判定されるので、ポインタKPTにポインタPTI
 のデータが格納され(S52)、この制御を終了して
541へ移行する。そして、ポインタKPTで指示する
アドレス以降の各データが3バイト(1つの回数データ
に用いるバイト数)ずつ繰下げたアドレスに夫々格納さ
れ(S41)、ポインタKPTで指示する回数データメ
モリ25のアドレスに対象単語データCTWDのテキス
トメモリ22内のアドレスが格納され(S42)、ポイ
ンタEPTが3バイトだけインクリメントされ(S43
)、この制御を終了してS29へ移行する。尚、S27
でYesと判定されたときにもS29へ移行する。例え
ば、第8図(a)に示すように、ポインタTXPで指示
する単語r 5earch Jの先頭アドレス2000
がポインタKPTで指示するアドレス8001以降に格
納され、ポインタEPTはアドレス8004を指示する
。尚、ポインタKPTで指示するアドレス以降の各デー
タを3ハイドずつ繰下げた回数データメモリ25の状態
を符号25Aで示す。
When this control starts, first the binary search processing control (
(see FIG. 4(d)) is executed (S40). When this control is started, first the pointer PTl is set to the pointer TP.
The data of pointer T is stored, and the data of pointer EPT is stored in pointer PT2 (S50), and the data of pointer PTI is stored in pointer PT2.
It is determined whether or not and pointer PT2 are equal (
S51). Immediately after the start of this control, Ye is determined in S51.
s, so pointer PTI is set to pointer KPT.
data is stored (S52), this control is ended, and the process moves to 541. Then, each data after the address indicated by pointer KPT is stored in the address shifted down by 3 bytes (the number of bytes used for one count data) (S41), and the data is stored at the address of the count data memory 25 indicated by pointer KPT. The address of the word data CTWD in the text memory 22 is stored (S42), and the pointer EPT is incremented by 3 bytes (S43).
), this control is ended and the process moves to S29. Furthermore, S27
Also when the determination is Yes, the process moves to S29. For example, as shown in FIG. 8(a), the starting address 2000 of the word r 5earch J indicated by the pointer TXP
is stored after address 8001 indicated by pointer KPT, and pointer EPT indicates address 8004. Incidentally, the state of the number data memory 25 in which each data after the address indicated by the pointer KPT is moved down by 3 hides is indicated by reference numeral 25A.

次に、ポインタTXPをインクリメントしてポインタT
XPに現在のカウント対象単語の末尾文字のアドレスを
指示させ(S29)、ポインタEPTのデータがファイ
ナルアドレスFEOAより小さくて回数データメモリ2
5に回数データを格納できる空き領域があり(S30:
No)、且つテキストメモリ22には次の単語データが
格納されているときには(331□S32:No)、ポ
インタTxPに次の単語データの先頭文字のアドレスが
格納され(S33)、S26・S27を経て単語アドレ
ス格納処理制御が実行される。このときには、例えば第
7図(b)に示すようにポインタTXPはアドレス20
07を指示し、カウント対象単語バッファ23には単語
rcancelJが格納されている。
Next, pointer TXP is incremented and pointer T
Instruct XP to specify the address of the last character of the current count target word (S29), and if the data of pointer EPT is smaller than final address FEOA, count data memory 2
There is an empty area in 5 that can store the number data (S30:
No), and when the next word data is stored in the text memory 22 (331□S32: No), the address of the first character of the next word data is stored in the pointer TxP (S33), and S26 and S27 are After that, word address storage processing control is executed. At this time, for example, as shown in FIG. 7(b), the pointer TXP is set to address 20.
07, and the word rcancelJ is stored in the count target word buffer 23.

この制御が開始されると、再度バイナリ検索処理制御が
実行され、先ずS50・S51を経て、ポインタPTI
 とポインタPT2とで指示する回数データメモリ25
の検索範囲の中央のアドレスをポインタKPTに指示さ
せ(S53)、ポインタKl)Tで指示するアドレスに
格納されているアドレスに対応するテキストメモリ22
の単語データが単語バッファ24に単語データーDとし
て格納される(S54)。そして、順位判定制御のサブ
ルーチンに基いて、対象単語データCTWDと単語デー
タWDとが同一のときには(S55:Yes)、この制
御を終了してS41へ移行する。しかし、対象単語デー
タCTWDが単語データWDより上位側のときには(S
56:Yes)、ポインタPT2にポインタKPTのデ
ータを格納することにより、検索範囲の上限を下限側に
移動してその検索範囲が狭くされ(S57)、また単語
データーDが対象単語データCTWDより上位側のとき
には(S56:No)、ポインタPTIにポインタKP
Tのデータを格納して検索範囲の下限を上限側に移動し
てその検索範囲が狭くされ(S58)、ポインタPTI
 とポインタPT2とが等しくなるまで353〜S59
が繰り返され、等しくなったときには(S59:Yes
)、この制御を終了してS41以降が実行される。そし
て、S30でYesと判定されるまで、或いはS32で
Yesと判定されるまで、S26〜S33、S40〜S
43、S50〜S59が繰り返される。
When this control is started, the binary search processing control is executed again, and first, through S50 and S51, the pointer PTI
and the number of times indicated by pointer PT2 data memory 25
The center address of the search range is indicated by the pointer KPT (S53), and the text memory 22 corresponding to the address stored at the address indicated by the pointer Kl)T is
The word data is stored in the word buffer 24 as word data D (S54). Then, based on the subroutine of rank determination control, if the target word data CTWD and word data WD are the same (S55: Yes), this control is ended and the process moves to S41. However, when the target word data CTWD is higher than the word data WD (S
56: Yes), by storing the data of pointer KPT in pointer PT2, the upper limit of the search range is moved to the lower limit side and the search range is narrowed (S57), and the word data D is higher than the target word data CTWD. (S56: No), pointer KP is set to pointer PTI.
The search range is narrowed by storing the data of T and moving the lower limit of the search range to the upper limit (S58), and the pointer PTI
353 to S59 until pointer PT2 and pointer PT2 become equal.
are repeated and when they become equal (S59: Yes
), this control is terminated and S41 and subsequent steps are executed. Then, S26 to S33, S40 to S
43, S50 to S59 are repeated.

次に、S32でYesと判定されテキストメモリ22内
の全ての単語の先頭文字アドレスを回数データメモリ2
5に格納完了したときには、カウント処理料?!0(第
4図(e)参照)が実行され、また530でYesと判
定され回数データメモリ25に空き領域が無いときには
、フラグF1がセットされ(S35)、更に次の未読出
し単語データの先頭文字アドレスがポインタTXPに格
納され(S36)、カウント処理制御が実行される。例
えば、第7図(b)に示すようにポインタTXPがアド
レス2007を指示し、対象単語データCTWDがrc
ancel Jのときには、第8図(b)に示すように
ポインタPTIにアドレス8001が格納され、ポイン
タPT2にアドレス8004が格納され(S50)、ポ
インタPTI とポインタPT2 とに基いてポインタ
KPTは、[’lNT  (8002,5÷3 ) )
X3によりアドレス8001を指示する。従って、対象
単語データCTWD<単語データWD (単語rsea
rctB )なので、ポインタPT2はポインタKPT
 と等しいアドレス8001を指示しくS53〜S57
・S59) 、カウント対象単語r cancel J
のアドレス2007がアドレス2000(単語r 5e
arch 」の直前に格納される(841〜43)。更
に、第7図(c)に示すように次のカウント対象単語が
rwtite JのときにはポインタTXPにアドレス
200Fが格納され、カウント対象単語データCTWD
 >単語データWD (単語r 5eaech 」なの
で、第8図(c)に示すように、ポインタPT1とポイ
ンタKPT とがアドレス8007を指示し、カウント
対象単語riIltite Jのアドレス200Eがア
ドレス2000の直後に格納される。
Next, if it is determined Yes in S32, the first character addresses of all words in the text memory 22 are stored in the number data memory 22.
When storage is completed in 5, is there a counting processing fee? ! 0 (see FIG. 4(e)) is executed, and when it is determined Yes at 530 and there is no free space in the number data memory 25, the flag F1 is set (S35), and the beginning of the next unread word data is set. The character address is stored in the pointer TXP (S36), and counting processing control is executed. For example, as shown in FIG. 7(b), the pointer TXP points to the address 2007, and the target word data CTWD is rc.
At the time of ancel J, as shown in FIG. 8(b), address 8001 is stored in pointer PTI, address 8004 is stored in pointer PT2 (S50), and pointer KPT is set to [ based on pointer PTI and pointer PT2]. 'lNT (8002,5÷3))
Address 8001 is specified by X3. Therefore, target word data CTWD<word data WD (word rsea
rctB), so pointer PT2 is pointer KPT
Specify address 8001 equal to S53 to S57
・S59), count target word r cancel J
address 2007 is address 2000 (word r 5e
arch” (841-43). Furthermore, as shown in FIG. 7(c), when the next count target word is rwtite J, the address 200F is stored in the pointer TXP, and the count target word data CTWD
>Word data WD (word r 5each), so as shown in FIG. 8(c), pointer PT1 and pointer KPT point to address 8007, and address 200E of count target word riIltite J is stored immediately after address 2000. be done.

更に、第7図(d)に示すように次カウント対象単語が
rcancel」のときにはポインタTXPにアドレス
2014が格納され、カウント対象単語データCTWD
 <単語データWD (単語r 5earch 」なの
で、第8図(d)に示すように、ポインタPT2とポイ
ンタKPTとは等しいアドレス8004を指示して検索
範囲が半分に縮小され、更にポインタKPTはアドレス
8001を指示する。その結果、カウント対象単語デー
タCTWDと単語データーDとが同一なので、カウント
対象単語rcancel Jのアドレス2014がアド
レス2007 (単語rcancel Jの直前に格納
される。
Furthermore, as shown in FIG. 7(d), when the next count target word is "rcancel", the address 2014 is stored in the pointer TXP, and the count target word data CTWD
<Word data WD (word r 5earch)'' Therefore, as shown in FIG. 8(d), the pointer PT2 and the pointer KPT point to the same address 8004, and the search range is reduced to half, and the pointer KPT points to the address 8001. As a result, since the count target word data CTWD and the word data D are the same, the address 2014 of the count target word rcancel J is stored at address 2007 (immediately before the word rcancel J).

以下、同様にしてテキストメモリ22内の全ての単語デ
ータについてその先頭文字アドレスが回数データメモリ
25に格納される。しかし、S3OでYesと判定され
たときには、そのときまでに読出された単語の先頭アド
レスが回数データメモリ25に格納されるとともに、次
の未読出し単語の先頭文字アドレスがポインタTXPに
格納される。
Thereafter, the first character address of all word data in the text memory 22 is stored in the number data memory 25 in the same manner. However, when it is determined Yes in S3O, the first address of the word read up to that time is stored in the number data memory 25, and the first character address of the next unread word is stored in the pointer TXP.

次に、カウント処理制御が開始されると、先ずポインタ
PTIにポインタTPTのデータが格納され(S70)
、カウント対象単語バッファ23には回数データメモリ
25の先頭に格納されているアドレスに対応するテキス
トメモリ22内の単語データが格納され(S71)、ポ
インタPTIがエンドアドレスEO^よりも小さいとき
には(S72:NO)、ポインタPT2にポインタPT
I のデータが格納され且つカウンタ34にカウント値
CNTとして「1」が格納され(S73)、更にポイン
タPT2が3つインクリメントされて次のアドレスを指
示する(S74)。そして、ポインタPT2がエンドア
ドレスEOAよりも小さいときには(S75:YeS)
、ポインタPT2で指示するアドレスに対応するテキス
トメモリ22の単語データが単語バッファ24に格納さ
れ(S76)、カウント対象単語データCTWDと単語
データー〇とが等しいときには(S77:Yes)、カ
ウント値CNTが1つインクリメントされ(37B)、
S74以降が実行される。
Next, when count processing control is started, the data of pointer TPT is first stored in pointer PTI (S70).
, word data in the text memory 22 corresponding to the address stored at the beginning of the count data memory 25 is stored in the counting target word buffer 23 (S71), and when the pointer PTI is smaller than the end address EO^ (S72). :NO), pointer PT to pointer PT2
The data of I is stored, and "1" is stored as the count value CNT in the counter 34 (S73), and the pointer PT2 is further incremented by three to indicate the next address (S74). Then, when pointer PT2 is smaller than end address EOA (S75: Yes)
, the word data in the text memory 22 corresponding to the address indicated by the pointer PT2 is stored in the word buffer 24 (S76), and when the count target word data CTWD and the word data 〇 are equal (S77: Yes), the count value CNT is is incremented by one (37B),
S74 and subsequent steps are executed.

一方、カウント対象単語データCTWDと単語データW
Dとが等しくないときには(S77:No)、ポインタ
PTIが2つインクリメントされ(S79)、ポインタ
PTIで指示するアドレスにカウント値CNTが使用回
数として格納され(S80)、更にポインタPTIが1
つインクリメントされる(S81)。
On the other hand, the count target word data CTWD and the word data W
If D and D are not equal (S77: No), the pointer PTI is incremented by two (S79), the count value CNT is stored as the number of uses at the address pointed to by the pointer PTI (S80), and the pointer PTI is further incremented by 1.
It is incremented by one (S81).

次に、このカウント値CNTが2以上のときつまり回数
データメモリ25に同じ単語データが連続して複数格納
されているときには(S82:YeS)、その複数の単
語データを1つだけ格納させるためにポインタPT2で
指示するアドレス以降の各データがポインタPTIで指
示するアドレス以降の各アドレスに繰り上げて格納され
(383)、ポインタEPTにはS83で削除された回
数データに相当するハイド数分減らしたアドレスが格納
され(S84)、単語データーDがカウント対象単語デ
ータCTWDとしてカウント対象単語バッファ23に格
納され(S85)、S72に戻る。そして、以下同様に
して、回数データメモリ25内の各回数データにカウン
ト値CNTが格納されてポインタPTIがポインタEP
Tに等しくなるまで372〜S85が繰り返される。例
えば、第9図(a)に示すようにアドレス8001とア
ドレス8004とに同一の単語r cancel Jが
格納されているときには、最初の単語r cancel
 Jに対応する回数データのカウント値CNTとして「
2」が格納され且つポインタ1)T2で支持するアドレ
ス8007以降の各データがポインタPTIで支持する
アドレス8004以降の各アドレスに格納されてポイン
タEPTには[3Jだけ少ない値が格納される。そして
、第9図(b)に示すように各単語rreplace 
」、r 5earch 」、’−1vrite」の使用
回数として「1」が夫々格納される。
Next, when this count value CNT is 2 or more, that is, when multiple pieces of the same word data are consecutively stored in the number data memory 25 (S82: Yes), in order to store only one of the multiple word data, Each data after the address indicated by pointer PT2 is rounded up and stored at each address after the address indicated by pointer PTI (383), and pointer EPT is stored at an address reduced by the number of hides corresponding to the number of times data deleted in S83. is stored (S84), word data D is stored in the count target word buffer 23 as count target word data CTWD (S85), and the process returns to S72. Then, in the same manner, the count value CNT is stored in each number data in the number data memory 25, and the pointer PTI is changed to the pointer EP.
Steps 372 to S85 are repeated until it becomes equal to T. For example, as shown in FIG. 9(a), when the same word r cancel J is stored in addresses 8001 and 8004, the first word r cancel
As the count value CNT of the number of times data corresponding to J,
2'' is stored, and each data from address 8007 supported by pointer 1) T2 is stored at each address from address 8004 supported by pointer PTI, and a value smaller by [3J is stored in pointer EPT. Then, as shown in FIG. 9(b), each word rreplace
”, r 5earch ”, and “-1vrite”, “1” is stored as the usage count, respectively.

次に、S6へ移行してデイスプレィ10の表示画面が切
換えられ、使用回数の多い順などの所定の配列順序で単
語とその使用回数とを対応づけた一覧表がデイスプレィ
10に表示され、フラグKDFがセットされ(S7)、
S2に戻る。例えば、第10図に示すように、使用回数
が多い単語から所定の順序(アルファベット類、文字数
の多い順)で表示される。
Next, the process moves to S6, where the display screen of the display 10 is switched, and a list is displayed on the display 10 in which words are associated with the number of times they have been used in a predetermined arrangement order, such as descending order of the number of times they have been used, and the flag KDF is is set (S7),
Return to S2. For example, as shown in FIG. 10, words are displayed in a predetermined order (in alphabetical order, in descending order of the number of characters) starting with the words that have been used the most.

一方、回数データの表示中にキャンセルキーが操作され
たときには(S2・S8・S9:YeS)、フラグKD
Fがリセットされ(SIO)、フラグF1がリセットさ
れているときには(Sll:No) 、ワードカウント
キーを操作する直前に表示されていた文書が表示される
(S14)。しかし、フラグF1がセットされていて回
数データ作成中に回数データメモリ25の空き領域がな
くなったときつまりオーバーフローしたときには(S1
1:Yes)、ポインタTXPに基いてカーソルカラム
データCCとカーソルラインデータCLとが更新され(
S12)、これら両データCC−CLとに基いてカーソ
ル40がカウント未処理の先頭単語の先頭文字に表示さ
れる一方、メツセージラインにメツセージ「0νERF
LOW ! Jが表示される(S13)。尚、単語ポイ
ンタTXPに基くテキスI・メモリ22の単語を反転表
示(リバース表示)さセでもよく、また点滅表示させて
もよい。例えば、第11図に示すようにカウント処理さ
れなかった未カウント処理単語の先頭単語reacJ以
降の文書がデイスプレィ10に表示されるとともに、そ
の先頭単語の先頭文字「e」にカーソル40が表示され
る。更に、rOVERFLOW ! Jが表示される。
On the other hand, when the cancel key is operated while displaying the number of times data (S2, S8, S9: Yes), the flag KD
When F is reset (SIO) and flag F1 is reset (Sll: No), the document that was displayed immediately before the word count key was operated is displayed (S14). However, if the flag F1 is set and the free space in the count data memory 25 runs out while the count data is being created, that is, if an overflow occurs (S1
1: Yes), the cursor column data CC and cursor line data CL are updated based on the pointer TXP (
S12), based on these data CC-CL, the cursor 40 is displayed on the first character of the first word that has not been counted, while the message "0νERF" is displayed on the message line.
LOW! J is displayed (S13). Note that the word in the text I memory 22 based on the word pointer TXP may be displayed in reverse (reverse display) or may be displayed blinking. For example, as shown in FIG. 11, the document after the first word reacJ of the uncounted words that were not counted is displayed on the display 10, and the cursor 40 is displayed at the first letter "e" of the first word. . Furthermore, rOVERFLOW! J is displayed.

以上説明したように、テキストメモリ22から読出した
各カウント対象単語について、英和辞書の見出し語のよ
うなアルファベット類となるようにそのアドレスが回数
データメモリ25に格納され、しかもカウント対象単語
データCTWDと同一の単語データーDの検索処理を実
行する毎に検索範囲が順次半分に縮小されるので、カウ
ント対象単語の使用回数のカウント処理を迅速に行うこ
とができる。
As explained above, for each word to be counted read from the text memory 22, its address is stored in the number data memory 25 so that it becomes an alphabetical type like a headword in an English-Japanese dictionary, and the address is stored in the count data memory 25 as well as the word to be counted data CTWD. Since the search range is sequentially reduced to half each time the search process for the same word data D is executed, the count process for counting the number of uses of the word to be counted can be performed quickly.

更に、回数データメモリ25には、カウント対象単語の
テキストメモリ22におけるアドレス(2バイト)とそ
の使用回数(1バイト)とが格納されるだけなので、回
数データメモリ25のメモリ容量を格段に小さくするこ
とができる。
Furthermore, since the count data memory 25 only stores the address (2 bytes) of the word to be counted in the text memory 22 and its usage count (1 byte), the memory capacity of the count data memory 25 is significantly reduced. be able to.

尚、同一単語のカウント処理制御が可能な種々の電子タ
イプライタやワードプロセッサなど各種の文書処理装置
に本発明を適用し得ることは勿論である。
It goes without saying that the present invention can be applied to various document processing devices such as various electronic typewriters and word processors that are capable of controlling the counting process of the same word.

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

第1図は本発明の構成を示す機能ブロック図、第2図〜
第10図は本発明の実施例を示すもので、第2図はワー
ドプロセッサの斜視図、第3図はワードプロセッサの制
御系のブロック図、第4図(a)〜第4図(e)は単語
使用回数カウント制御のルーチンの概略フローチャート
、第5図はテキストメモリと回数データメモリとの関係
を説明するメモリマツプ図、第6図は回数データメモリ
の構成を説明する説明図、第7図(a)〜第7図(e)
 ・第8図(a)〜第8図(di第9図(a)  ・第
9図(b)は夫々単語使用回数カウント制御を説明する
説明図、第10図は回数データの一覧表を表示した例示
図、第11図は回数データメモリの空き領域が無くなっ
たときの文書データを表示した例示図である。 1・・ワードプロセッサ、  3・・キーボード、16
・・cpu、 17・・ROM (プログラムメモリ)
、20・・RAM、  22・・テキストメモリ、 2
3・・カウント対象単語バッファ、25・・回数データ
メモリ、  28〜33・・ポインタ、 C・・制御装
置。 特許出願人   ブラザー工業株式会社第2図 第1図 第 図 (a) 第8図(b) 第 図 (a) 第 図 (b) 第 図 (C) 第 図 (d) 第10図 第11図
FIG. 1 is a functional block diagram showing the configuration of the present invention, and FIGS.
FIG. 10 shows an embodiment of the present invention, FIG. 2 is a perspective view of a word processor, FIG. 3 is a block diagram of the control system of the word processor, and FIGS. 4(a) to 4(e) are words A schematic flowchart of the usage count control routine, FIG. 5 is a memory map diagram explaining the relationship between the text memory and the number data memory, FIG. 6 is an explanatory diagram explaining the structure of the number data memory, and FIG. 7 (a) ~Figure 7(e)
・Figure 8 (a) to Figure 8 (di Figure 9 (a) ・Figure 9 (b) is an explanatory diagram explaining word usage count control, respectively, and Figure 10 displays a list of frequency data. FIG. 11 is an example diagram showing document data when the free space in the count data memory is exhausted. 1. Word processor, 3. Keyboard, 16.
...CPU, 17...ROM (program memory)
, 20...RAM, 22...Text memory, 2
3. Count target word buffer, 25. Number of times data memory, 28 to 33. Pointer, C. Control device. Patent applicant Brother Industries, Ltd. Figure 2 Figure 1 Figure (a) Figure 8 (b) Figure (a) Figure (b) Figure (C) Figure (d) Figure 10 Figure 11

Claims (1)

【特許請求の範囲】[Claims] (1)文字や記号のデータ及び種々の指令を入力する為
の入力手段と、 入力手段から入力された複数の単語のデータを文書デー
タとして格納するテキストメモリと、前記テキストメモ
リ内の単語について各単語に関するテキストメモリのア
ドレス情報と使用回数情報とを関連づけて格納するため
のデータメモリと、 前記テキストメモリから各単語とそのアドレス情報を順
々に読出す単語読出し手段と、 前記単語読出し手段で読出された各単語のアドレス情報
を、単語のスペルと関連づけて決定される所定の配列順
序でデータメモリに順々に格納するアドレス情報格納手
段と、 前記データメモリに格納後これら複数の単語のアドレス
情報とテキストメモリの複数の単語とに基いて各単語の
使用回数をカウントしその使用回数をアドレス情報と関
連づけてデータメモリに格納する使用回数カウント手段
とを備えたことを特徴とする文書処理装置。
(1) An input means for inputting data of characters and symbols and various commands, a text memory for storing data of a plurality of words input from the input means as document data, and a text memory for storing data of a plurality of words inputted from the input means as document data, and an input means for inputting character and symbol data and various commands; a data memory for correlating and storing address information and use count information of a text memory regarding a word; word reading means for sequentially reading out each word and its address information from the text memory; and reading by the word reading means. address information storage means for sequentially storing address information of each word in a data memory in a predetermined arrangement order determined in association with the spelling of the word; and address information of the plurality of words after being stored in the data memory. and a usage count means for counting the number of times each word is used based on the words and a plurality of words in the text memory, and storing the usage number in a data memory in association with address information.
JP2235427A 1990-09-04 1990-09-04 Document processor Pending JPH04114267A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2235427A JPH04114267A (en) 1990-09-04 1990-09-04 Document processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2235427A JPH04114267A (en) 1990-09-04 1990-09-04 Document processor

Publications (1)

Publication Number Publication Date
JPH04114267A true JPH04114267A (en) 1992-04-15

Family

ID=16985952

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2235427A Pending JPH04114267A (en) 1990-09-04 1990-09-04 Document processor

Country Status (1)

Country Link
JP (1) JPH04114267A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10341538B2 (en) 2015-05-29 2019-07-02 Japan Display Inc. Display system and display method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10341538B2 (en) 2015-05-29 2019-07-02 Japan Display Inc. Display system and display method

Similar Documents

Publication Publication Date Title
JPH04114266A (en) Document processor
JPS61217864A (en) Electronic dictionary
JPH024938B2 (en)
JPH07230451A (en) Character input device
JPH04114267A (en) Document processor
JPS61250768A (en) Device for updating conversion dictionary
JPH036659A (en) Document processor
JP2573183B2 (en) Kana-Kanji conversion device
JP2575650B2 (en) Kana-Kanji conversion device
JPH0352062A (en) Document processor
JPH0476759A (en) Document processor with spelling checking function
JPH0476760A (en) Document processor with spelling checking function
JPS63192157A (en) Document processor
JPH0635906A (en) Table calculation processor
JP2504867B2 (en) Display method in text processing device
JPH11282962A (en) Character recognition device and computer readable storage medium recording character recognition program
JP2543501B2 (en) Word processor
JPS6315287A (en) Pattern generator
JPS6398766A (en) Document production processor
JPH0476761A (en) Document processor with spelling checking function
JPH01230115A (en) Input device
JPS61204765A (en) Layout displaying system
JPS62266665A (en) Kana/kanji converting device
JPS62266654A (en) Word processor
JPH0731477B2 (en) Data display method