JPH0619881A - Character processor - Google Patents

Character processor

Info

Publication number
JPH0619881A
JPH0619881A JP4175576A JP17557692A JPH0619881A JP H0619881 A JPH0619881 A JP H0619881A JP 4175576 A JP4175576 A JP 4175576A JP 17557692 A JP17557692 A JP 17557692A JP H0619881 A JPH0619881 A JP H0619881A
Authority
JP
Japan
Prior art keywords
characters
kana
sentence
character
document information
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
JP4175576A
Other languages
Japanese (ja)
Inventor
Risa Adachi
里砂 安達
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP4175576A priority Critical patent/JPH0619881A/en
Publication of JPH0619881A publication Critical patent/JPH0619881A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To simplify the correction operation of an operator by measuring the number of characters in a sentence and a paragraph by inputting document information and executing KANA/KANJI conversion by the unit of the sentence or the paragraph. CONSTITUTION:A KANA character string (including punctuation marks) inputted in an order from a key board KB is fetched into a buffer YBUF by the unit of a character string between periods. After this, it is converted into a KANA- mixed word and stored in the buffer HBUF. At the time, a microprocessor CPU counts the number of the characters and compares it with an allowable number which is previously set for the judgement of the presence/absence of warning. When the number of the characters CNT converted from KANA to KANJI is larger than the set number of characters MUM, CPU warns it and displays the actual number of characters on a display screen. Then, microprocessor CPU moves document information of the sentence unit of the buffer HBUF to a memory DISK after counting the number of the characters.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、特定の条件を満たす文
字列のかな漢字変換された文字数を計数し、それが測定
された文字数より大きくなったら警告する文字処理装置
に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character processing device for counting the number of kana-kanji converted characters in a character string satisfying a specific condition and issuing a warning when the number of characters exceeds the measured number of characters.

【0002】[0002]

【従来の技術】従来、一文の長さが、ある設定の文字数
を超えると指摘する長文検知機能を有する文字処理装置
はあった。しかし、従来この種装置では文章をすべて作
成後オペレータが指示を出さないとこの機能は実行され
なかった。
2. Description of the Related Art Conventionally, there has been a character processing device having a long sentence detection function which points out that the length of one sentence exceeds a certain set number of characters. However, conventionally, in this type of device, this function was not executed unless the operator gave an instruction after all the sentences were created.

【0003】[0003]

【発明が解決しようとする課題】このため、従来装置で
は作成した文を修正する際に削除処理等の修正処理の対
象文字数も多く、オペレータの指示操作が煩雑であり、
修正処理に時間がかかるという点において、従来装置に
はなお改良の余地があった。
Therefore, in the conventional apparatus, when the prepared sentence is corrected, the number of characters to be corrected such as deletion processing is large, and the instruction operation by the operator is complicated.
The conventional device still has room for improvement in that the correction process takes time.

【0004】そこで、本発明の目的は、上述の点に鑑み
て、長文を検出できるだけでなく、オペレータの修正操
作を簡素化することの可能な文字処理装置を提供するこ
とにある。
Therefore, in view of the above points, an object of the present invention is to provide a character processing apparatus which can detect a long sentence and can simplify the correction operation by the operator.

【0005】[0005]

【課題を解決するための手段】このような目的を達成す
るために、本発明は、文書情報を句読点を含むかな文字
の形態で入力する入力手段と、当該入力された文書情報
を文または段落の区切り単位毎にかな混じり漢字に変換
する文字処理手段と、当該変換されたかな混じり漢字形
態の文書情報を前記区切り単位毎に記憶しておく第1の
記憶手段と、文書情報を保存しておく第2の記憶手段
と、前記第1の記憶手段に記憶の文字数を計数する文字
計数手段と、該文字計数手段の計数結果を予め定めた許
容数と比較する比較手段と、前記文字計数手段の計数処
理の後、前記第1の記憶手段の文書情報を前記第2の記
憶手段に記憶する記憶制御手段と、前記比較手段の比較
の結果として前記文字計数手段の結果が前記許容数より
大きい数が得られたときは警告を行う警告手段とを具え
たことを特徴とする。
In order to achieve such an object, the present invention provides an input means for inputting document information in the form of kana characters including punctuation marks, and a sentence or paragraph for the input document information. Character processing means for converting kana-mixed kanji characters for each delimiter unit, first storage means for storing the converted kana-mixed kanji form document information for each delimiter unit, and storing the document information. Second storage means to be set, character counting means for counting the number of characters stored in the first storage means, comparing means for comparing the counting result of the character counting means with a predetermined allowable number, and the character counting means After the counting process of (1), the result of the character counting means is larger than the allowable number as a result of comparison between the storage control means for storing the document information of the first storage means in the second storage means and the comparing means. Got the number Can is characterized in that comprises a warning means for performing warning.

【0006】[0006]

【作用】本発明では、文書情報を入力し、文または段落
単位でかな漢字変換を行って、文または段落の文字数を
計数する。このため、従来のようにいくつかの文を作成
後、各文の文字数を計数する従来装置に比べ、文字数の
計数の指示をオペレータが行う必要はなくなり、長文の
検知タイミングも従来よりも早くなる。
In the present invention, the document information is input, the kana-kanji conversion is performed in units of sentences or paragraphs, and the number of characters in the sentences or paragraphs is counted. Therefore, as compared to a conventional device that counts the number of characters in each sentence after creating some sentences as in the conventional art, the operator does not need to give an instruction to count the number of characters, and the detection timing of long sentences becomes faster than before. .

【0007】[0007]

【実施例】以下、図面を参照して本発明の実施例を詳細
に説明する。
Embodiments of the present invention will now be described in detail with reference to the drawings.

【0008】図1は本発明実施例の基本構成を示す。FIG. 1 shows the basic construction of an embodiment of the present invention.

【0009】図1において、1000は文書情報を句読
点を含むかな文字の形態で入力する入力手段である。
In FIG. 1, 1000 is an input means for inputting document information in the form of kana characters including punctuation marks.

【0010】1100は当該入力された文書情報を文ま
たは段落の区切り単位毎にかな混じり漢字に変換する文
字処理手段である。
Reference numeral 1100 is a character processing means for converting the input document information into kanji by kana mixing for each sentence or paragraph break unit.

【0011】1200は当該変換されたかな混じり漢字
形態の文書情報を前記区切り単位毎に記憶しておく第1
の記憶手段である。
Reference numeral 1200 is the first to store the converted kana-mixed kanji form document information for each delimiter unit.
Is a storage means.

【0012】1300は文書情報を保存しておく第2の
記憶手段である。
Reference numeral 1300 is a second storage means for storing the document information.

【0013】1400は前記第1の記憶手段に記憶の文
字数を計数する文字計数手段である。
Reference numeral 1400 is a character counting means for counting the number of characters stored in the first storage means.

【0014】1500は該文字計数手段の計数結果を予
め定めた許容数と比較する比較手段である。
Reference numeral 1500 is a comparison means for comparing the counting result of the character counting means with a predetermined allowable number.

【0015】1600は前記文字計数手段の計数処理の
後、前記第1の記憶手段の文書情報を前記第2の記憶手
段に記憶する記憶制御手段である。
Reference numeral 1600 is a storage control means for storing the document information of the first storage means in the second storage means after the counting processing of the character counting means.

【0016】1700は前記比較手段の比較の結果とし
て前記文字計数手段の結果が前記許容数より大きい数が
得られたときは警告を行う警告手段である。
Reference numeral 1700 is warning means for issuing a warning when the result of the character counting means is larger than the allowable number as a result of the comparison by the comparing means.

【0017】図2は本発明実施例の具体的な回路構成を
示す。
FIG. 2 shows a concrete circuit configuration of the embodiment of the present invention.

【0018】図示の構成において、CPUは、マイクロ
プロセッサであり、文字処理のための演算,論理判断等
を行い、アドレスバスAB,コントロールバスCB,デ
ータバスDBを介して、それらのバスに接続された各構
成要素を制御する。
In the configuration shown in the figure, the CPU is a microprocessor, which performs arithmetic operations for character processing, logical judgments, etc., and is connected to these buses via an address bus AB, a control bus CB, and a data bus DB. It controls each component.

【0019】後述するがマイクロプロセッサCPUが本
発明の文字処理手段,計数手段,比較手段,警告手段,
記憶制御手段として動作する。
As will be described later, the microprocessor CPU is a character processing means, a counting means, a comparing means, a warning means of the present invention,
It operates as a storage control means.

【0020】アドレスバスABはマイクロプロセッサC
PUの制御の対象とする構成要素を指示するアドレス信
号を転送する。コントロールバスCBはマイクロプロセ
ッサCPUの制御の対象とする各構成要素のコントロー
ル信号を転送して印加する。
Address bus AB is microprocessor C
An address signal for instructing a component to be controlled by the PU is transferred. The control bus CB transfers and applies a control signal of each constituent element to be controlled by the microprocessor CPU.

【0021】データバスDBは各構成機器相互間のデー
タの転送を行う。
The data bus DB transfers data between the respective constituent devices.

【0022】ROMは、読出し専用の固定メモリであ
る。PAは、図6〜図11につき後述するマイクロプロ
セッサCPUによる制御手段等を記憶させたプログラム
エリアである。
The ROM is a read-only fixed memory. PA is a program area in which control means and the like by the microprocessor CPU, which will be described later with reference to FIGS. 6 to 11, are stored.

【0023】また、RAMは、1ワード16ビットの構
成の書込み可能のランダムアクセスメモリであって、各
構成要素からの各種データの一時記憶に用いる。ランダ
ムアクセスメモリRAMの中には、以下のデータを格納
する領域が専用的に設けられている。
The RAM is a writable random access memory having a structure of 1 word 16 bits, and is used for temporary storage of various data from each constituent element. An area for storing the following data is provided exclusively in the random access memory RAM.

【0024】YBUFは文字列バッファであり、キーボ
ードKBより入力されたひらがな読みの文字列情報を蓄
えるためのバッファである。
YBUF is a character string buffer, and is a buffer for storing the character string information of Hiragana reading input from the keyboard KB.

【0025】HBUFは文字列バッファであり、キーボ
ードKBより入力されたひらがなからかな漢字(かな混
じり漢字)に変換された文字列情報を蓄えるためのバッ
ファであり、本発明の第1の記憶手段として動作する。
HBUF is a character string buffer, which is a buffer for storing character string information converted into hiragana kana kanji (kana mixed kanji) input from the keyboard KB, and operates as the first storage means of the present invention. To do.

【0026】TBUFは、文書メモリ情報であり、キー
ボードKBより入力された文書情報を蓄えるためのメモ
リバッファである。
TBUF is document memory information, and is a memory buffer for storing the document information input from the keyboard KB.

【0027】CNTは、文字列バッファHBUFに格納
された文書情報の文字数を数えるためのカウンタであ
る。
The CNT is a counter for counting the number of characters of the document information stored in the character string buffer HBUF.

【0028】NUMは、制限文字数を設定するための変
数レジスタで、これには数字が格納される。
NUM is a variable register for setting the limited number of characters, and a number is stored in this variable register.

【0029】KBはキーボードであって、アルファベッ
トキー,ひらがなキー,カタカナキー等の文字記号入力
キー、および、変換を指示する変換キー等の各種のファ
クションキーを備えている。
The KB is a keyboard, which is provided with various function keys such as a letter / symbol input key such as an alphabet key, a hiragana key, and a katakana key, and a conversion key for instructing conversion.

【0030】DISKは定型文書を記憶するためのメモ
リで、作成された文書の保管を本発明の第2の記憶手段
として行い、保管された文書はキーボードKBの指示に
より、マイクロプロセッサCPUにより必要な時呼び出
される。
DISK is a memory for storing a fixed form document. The prepared document is stored as the second storage means of the present invention, and the stored document is required by the microprocessor CPU according to the instruction of the keyboard KB. When called.

【0031】CRはカーソルレジスタである。マイクロ
プロセッサCPUにより、カーソルレジスタCRの内容
を読み書きできる。後述するCRTコントローラCRT
Cは、ここに蓄えられたアドレスに対応する表示装置C
RT上の位置にカーソルを表示する。
CR is a cursor register. The microprocessor CPU can read and write the contents of the cursor register CR. CRT controller CRT described later
C is the display device C corresponding to the address stored here.
Display the cursor at the position on RT.

【0032】DBUFは表示用バッファメモリで、メモ
リバッファTBUFに蓄えられた文書情報等のパターン
を蓄える。
DBUF is a display buffer memory for storing patterns such as document information stored in the memory buffer TBUF.

【0033】CRTCは表示用コントローラであり、カ
ーソルレジスタCRおよび表示用バッファメモリDBU
Fに蓄えられた内容を表示器CRTに表示する役割を担
う。
The CRTC is a display controller, and includes a cursor register CR and a display buffer memory DBU.
It plays the role of displaying the contents stored in F on the display CRT.

【0034】CRTは陰極線管等を用いた表示装置であ
り、その表示装置CRTにおけるドット構成のパターン
およびカーソルの表示を表示用コントローラCRTCで
制御する。
The CRT is a display device using a cathode ray tube or the like, and the display controller CRTC controls the display of the dot configuration pattern and the cursor on the display device CRT.

【0035】CGはキャラクタジェネレータであって、
表示装置CRTに表示する文字,記号のパターンを記憶
するものである。
CG is a character generator,
It stores a pattern of characters and symbols displayed on the display device CRT.

【0036】かかる各構成要素からなる本発明文字処理
装置は、キーボードKBからの各種の入力に応じて作動
するものであって、キーボードKBからの入力が供給さ
れると、まず、インタラプト信号がマイクロプロセッサ
CPUに送られ、そのマイクロプロセッサCPUが固定
メモリROM内に記憶してある各種の制御プログラムを
読出し、それらの制御プログラムに従って、各種文字処
理,表示処理に関連の制御が行われる。
The character processing device of the present invention comprising the above components operates in response to various inputs from the keyboard KB, and when the input from the keyboard KB is supplied, first, the interrupt signal is sent to the micro. The microprocessor CPU reads the various control programs stored in the fixed memory ROM, and the microprocessor CPU controls various character processing and display processing according to the control programs.

【0037】図3は、文字数の設定を行う画面表示の一
例である。画面は文書作成画面で、ウィンドウは文字数
を設定するための表示である。一文の文字数をユーザが
設定するために、この画面で文字数を設定する。
FIG. 3 is an example of a screen display for setting the number of characters. The screen is a document creation screen, and the window is a display for setting the number of characters. In order for the user to set the number of characters in one sentence, the number of characters is set on this screen.

【0038】オペレータは図3のウィンドウ上のカッコ
記号で挟まれる範囲内に、一文の制限文字数を入力す
る。
The operator inputs the limited number of characters in one sentence within the range enclosed by the parentheses on the window of FIG.

【0039】図4は、文書作成画面の一例である。この
画面において文書を入力する。
FIG. 4 shows an example of the document creation screen. Enter the document on this screen.

【0040】図5は、文書作成画面上で、入力した一文
の文字数が初め設定した制限の文字数を上回ったことを
指摘し警告する画面表示の一例である。警告は、画面か
らの文字数の警告画面と同時に警告音を発する。
FIG. 5 shows an example of a screen display for indicating and warning that the number of characters of an input sentence exceeds the number of characters of the initially set limit on the document creation screen. The warning sounds the warning screen at the same time as the warning screen of the number of characters from the screen.

【0041】本発明に関わる図2の回路動作を図6〜図
11のフローチャートを用いて説明する。
The circuit operation of FIG. 2 according to the present invention will be described with reference to the flow charts of FIGS.

【0042】図6は本発明文字処理装置の主要動作を示
すフローチャートである。
FIG. 6 is a flow chart showing the main operation of the character processing apparatus of the present invention.

【0043】電源投入後、マイクロプロセッサCPUに
おいて図6の制御手順が起動される。
After the power is turned on, the control procedure of FIG. 6 is activated in the microprocessor CPU.

【0044】マイクロプロセッサCPUはS3−1にお
いて、キー入力による割込信号が発生するのを待つ。キ
ーが入力されるとマイクロプロセッサCPUはS3−2
において押下キーを判別し、キーの種類に応じてS3−
3,S3−4,S3−5,S3−6のいずれかのステッ
プに分岐する。
In S3-1, the microprocessor CPU waits for an interrupt signal generated by key input. When a key is pressed, the microprocessor CPU will move to S3-2.
In step S3, the pressed key is determined, and depending on the type of key, S3-
It branches to any one of steps S3, S3-4, S3-5, and S3-6.

【0045】S3−3はひらがなが入力された時の処理
であり、入力されたひらがな文字列をバッファYBUF
に格納する。なお、このひらがな文字は文字コード形態
で格納されるものとする。
S3-3 is a process when a hiragana character is input, and the input hiragana character string is buffered in the buffer YBUF.
To store. The Hiragana characters are stored in the character code form.

【0046】S3−4は、「。」(句点)が入力された
時の処理であり、S3−3でバッファYBUF内に格納
されたひらがな文字列をかな漢字変換処理する。かな漢
字変換後、変換された文字列を別のバッファHUBFに
格納し、文字数をカウントする。S3−5で設定される
文字数よりも大きければ警告音を発し、実際の文字数の
表示を行う。かな漢字変換処理は、同種の文字処理変換
装置において一般に行われている処理であり、周知であ
るので特に記述しない。
Step S3-4 is the processing when "." (Punctuation) is input, and the Hiragana character string stored in the buffer YBUF in step S3-3 is converted into kana-kanji characters. After the kana-kanji conversion, the converted character string is stored in another buffer HUBF and the number of characters is counted. If it is larger than the number of characters set in S3-5, a warning sound is emitted and the actual number of characters is displayed. The kana-kanji conversion process is a process that is generally performed in the same type of character processing conversion device and is well known, and therefore will not be described here.

【0047】なお、このかな漢字変換処理を行う時のマ
イクロプロセッサが本発明の文字処理手段として動作す
る。
The microprocessor for performing this kana-kanji conversion processing operates as the character processing means of the present invention.

【0048】S3−5は制限文字数の設定を行う処理で
ある。
S3-5 is a process for setting the limited number of characters.

【0049】S3−6はひらがなキー,「。」(句点)
以外のキーが押下された場合の文字処理であり、同種の
文字処理装置において一般に行われている処理であり、
本発明とは関連がないので、詳述しない。
S3-6 is a hiragana key, "."
It is the character processing when a key other than is pressed, which is the processing generally performed in the character processing device of the same type,
Since it is not related to the present invention, it will not be described in detail.

【0050】図7は、S3−3の処理を詳細化したフロ
ーチャートである。S4−1において、キーボードから
ひらがな入力されると、マイクロプロセッサCPUはS
4−2で入力されたひらがなの文字列をバッファYBU
Fに格納する処理を行う。
FIG. 7 is a detailed flowchart of the process of S3-3. In S4-1, when the hiragana is input from the keyboard, the microprocessor CPU causes the S
The hiragana character string input in 4-2 is buffered in YBU
The process of storing in F is performed.

【0051】図8は、S3−4の処理を詳細化したフロ
ーチャートである。S5−1において、マイクロプロセ
ッサCPUは、S4−2でバッファYBUF内に格納さ
れたひらがな文字列をかな漢字混じりの単語列に変換
し、変換された文字列を別のバッファHBUFに格納す
る。S5−2では、変換された文字列の文字数をカウン
トする。そして、設定した文字数よりも大きければ警告
し、実際の文字数の表示を行う。
FIG. 8 is a detailed flowchart of the process of S3-4. In S5-1, the microprocessor CPU converts the hiragana character string stored in the buffer YBUF in S4-2 into a word string containing kana-kanji characters, and stores the converted character string in another buffer HBUF. In S5-2, the number of characters in the converted character string is counted. If it is larger than the set number of characters, a warning is given and the actual number of characters is displayed.

【0052】図9は、S5−1の処理を詳細化したフロ
ーチャートである。「。」(句点)が入力されると、S
6−1でかな漢字変換の処理が呼ばれ、S6−2でYB
UFの文字列がかな漢字混じりの単語列に変換される。
S6−3では、変換結果をバッファHBUFに格納する
処理を行う。
FIG. 9 is a detailed flowchart of the process of S5-1. When "." (Punctuation) is input, S
In step 6-1, the kana-kanji conversion process is called, and in step S6-2, YB
The UF character string is converted into a word string containing Kana-Kanji.
In step S6-3, the conversion result is stored in the buffer HBUF.

【0053】図10は、S5−2の処理を詳細化したも
のである。S7−1では、マイクロプロセッサCPUは
バッファHBUF内のかな漢字文字列のカウントを行
う。このときのマイクロプロセッサCPUが本発明の計
数手段として動作する。カウントされた文字数は、変換
レジスタCNTに設定される。S7−2では、S7−1
のかな漢字文字数CNTとS3−5で設定される文字数
NUMとをマイクロプロセッサCPUにより比較する。
このときのマイクロプロセッサが本発明の比較手段とし
て動作する。S7−3では、かな漢字変換された文字数
CNTが設定された文字数NUMより大きい時に処理が
開始され、マイクロプロセッサCPUは表示画面上に図
5の警告を行う。そして、実際の文字数の表示を行う。
このときのマイクロプロセッサCPU,表示装置CRT
が本発明の警告手段として動作する。また設定された文
字数NUM以下であれば、マイクロプロセッサCPUは
S7−3の処理は行わずに本手順を終了する。
FIG. 10 shows a detailed process of S5-2. In S7-1, the microprocessor CPU counts the Kana-Kanji character string in the buffer HBUF. The microprocessor CPU at this time operates as the counting means of the present invention. The counted number of characters is set in the conversion register CNT. In S7-2, S7-1
The number CNT of kana-kanji characters and the number NUM of characters set in S3-5 are compared by the microprocessor CPU.
The microprocessor at this time operates as the comparison means of the present invention. In S7-3, the processing is started when the kana-kanji converted character number CNT is larger than the set character number NUM, and the microprocessor CPU gives the warning of FIG. 5 on the display screen. Then, the actual number of characters is displayed.
Microprocessor CPU, display device CRT at this time
Operates as the warning means of the present invention. If the number of characters is equal to or less than the set number of characters NUM, the microprocessor CPU terminates this procedure without performing the process of S7-3.

【0054】図11は、S3−5の処理を詳細化したも
のである。S8−1では、キーボードKBからの入力を
行う。キーの種類に応じてS8−2,S8−3、S8−
4のいずれかの処理に分岐する。S8−2は、数字が入
力された時の場合で、次にランダムアクセスメモリRA
Mへの書込み処理を行う。S8−3は終了キーの押下の
場合で制限文字数の設定の処理を終了する。S8−4
は、数字以外のキーが押下された場合の処理であり、同
種の文字処理装置において一般に行われている処理であ
り、本発明に関係なく、特に記述しない。
FIG. 11 shows a detailed process of S3-5. In S8-1, input is performed from the keyboard KB. Depending on the type of key, S8-2, S8-3, S8-
It branches to any one of the processes of 4. S8-2 is a case where a numeral is input, and next, the random access memory RA
Write processing to M is performed. In S8-3, when the end key is pressed, the process of setting the limited number of characters ends. S8-4
Is a process performed when a key other than a number is pressed, and is a process generally performed in a character processing device of the same type, and is not particularly described regardless of the present invention.

【0055】このような処理手順をマイクロプロセッサ
CPUにより実行することにより、キーボードKBから
順に入力されたかな文字列(句読点を含む)は、句点で
挟まれた文字列単位でバッファYBUFに取り込まれ
る。この後、かな混じり単語に変換され、バッファHB
UFに格納される。このときマイクロプロセッサCPU
により文字数が計数(カウント)され、警告の有無の判
定のために予め設定された許容数と比較する。なお、文
字数の計数の後、バッファHBUFの文単位の文書情報
はマイクロプロセッサCPUによりメモリDISKに移
される。このときのマイクロプロセッサが本発明の記憶
制御手段として動作することは言うまでもない。
By executing such a processing procedure by the microprocessor CPU, kana character strings (including punctuation marks) sequentially input from the keyboard KB are fetched into the buffer YBUF in character string units sandwiched by the punctuation marks. After this, it is converted into a kana-mixed word, and the buffer HB
Stored in UF. At this time, the microprocessor CPU
The number of characters is counted (counted) by and is compared with a preset allowable number to determine whether or not there is a warning. After counting the number of characters, the document information of each sentence in the buffer HBUF is transferred to the memory DISK by the microprocessor CPU. It goes without saying that the microprocessor at this time operates as the storage control means of the present invention.

【0056】また、次の文のかな文字列の入力をバッフ
ァYBUFに受付以後、上述の処理を繰返し実行する。
このため、オペレータは文を入力した段階で、その文の
文字数が許容数を超えたことを報ることができ、直ちに
文の修正を行うことができる。また、文の計数の指示を
行う必要がないので、オペレータの指示操作が簡素化さ
れる。
Further, after receiving the input of the kana character string of the next sentence in the buffer YBUF, the above-mentioned processing is repeatedly executed.
Therefore, at the stage of inputting a sentence, the operator can inform that the number of characters of the sentence exceeds the allowable number, and can immediately correct the sentence. Further, since it is not necessary to give an instruction for counting sentences, the instruction operation by the operator is simplified.

【0057】なお、本発明は上記実施例に限定されるも
のではない。例えば、警告を警告音および計数した文字
数の表示により行うことから画面の警告メッセージに変
えることによっても実施できる。この詳細例を図に示
す。
The present invention is not limited to the above embodiment. For example, the warning can be performed by displaying the warning sound and the counted number of characters instead of the warning message on the screen. This detailed example is shown in the figure.

【0058】この例は、文書作成画面上で、一文の文字
数が設定した制限の文字数を上回ったことを指摘し警告
する画面表示の一例である。警告は、一文の文字数と設
定した文字数を上回ったことをウィンドウで画面表示す
る。また、入力した文字数を表示し、警告文で警告を行
う。
This example is an example of a screen display for indicating and warning that the number of characters in one sentence exceeds the set limit number of characters on the document creation screen. The warning displays in a window that the number of characters in a sentence exceeds the set number of characters. In addition, the number of input characters is displayed and a warning is issued.

【0059】警告メッセージは予め固定メモリROMに
格納しておき、計数された文字数を上記警告メッセージ
とランダムアクセスメモリRAM上で合成した後、表示
する。
The warning message is stored in the fixed memory ROM in advance, and the counted number of characters is combined with the warning message on the random access memory RAM and then displayed.

【0060】さらに、本実施例では、「。」記号で挟ま
れるかな文字列(句読点を含む)かな文字、すなわち、
文を構成する文字を計数の対象としたが、段落を計数対
象の文書情報の区切り単位としてもよい。
Further, in this embodiment, a kana character string (including punctuation marks) kana characters sandwiched by "." Symbols, that is,
Although the characters forming the sentence are counted, the paragraph may be used as a delimiter unit of the document information to be counted.

【0061】この場合は、マイクロプロセッサCPUは
タブキーのキーコードで挟まれる文字列をバッファYB
UFに格納し、かな漢字混じり単語に変換した後、文字
数の計数を行う。
In this case, the microprocessor CPU buffers the character string sandwiched between the key codes of the tab keys in the buffer YB.
After being stored in the UF and converted into a kana-kanji mixed word, the number of characters is counted.

【0062】段落単位で文書情報およびその警告表示例
を参考のために図13に示しておく。
FIG. 13 shows document information and its warning display example in paragraph units for reference.

【0063】さらにまた、本実施例では、一文の読みが
なを入力後、かな漢字変換を行っているが、入力のかな
文字のバッファYBUFへの取込み処理とかな漢字変換
を並行して行う文字処理装置では次のような計数処理を
マイクロプロセッサCPUにより行うこともできる。
Furthermore, in the present embodiment, the kana-kanji conversion is performed after the reading of one sentence is input. However, a character processing device for performing the input process of the input kana characters into the buffer YBUF and the kana-kanji conversion in parallel. Then, the following counting process can be performed by the microprocessor CPU.

【0064】すなわち、バッファYBUFの入力のかな
文字列が単語単位の文字列となったときに、その都度か
な漢字変換を行い、その変換結果について文字数を累積
的に加算して、文の文字数を計数する。この場合は、文
の先頭の文字を入力してから、文の入力途中の許容数を
超えた時点で警告を発生することになる。
That is, when the input kana character string in the buffer YBUF becomes a character string in word units, kana-kanji conversion is performed each time, and the number of characters of the conversion result is cumulatively added to count the number of characters in the sentence. To do. In this case, a warning is issued when the number of characters exceeds the permissible number during the input of the sentence after the first character of the sentence is input.

【0065】[0065]

【発明の効果】以上説明したように、本発明によれば、
文書情報の入力段階で長文を検知できるので、従来装置
よりも検知タイミングが速くなる。また、オペレータに
とっては長文検知機能の実施の指示を行う必要がないの
で、キーボードの指示操作労力が軽減される。
As described above, according to the present invention,
Since a long sentence can be detected at the stage of inputting document information, the detection timing becomes faster than that of the conventional device. Further, since it is not necessary for the operator to give an instruction to carry out the long-sentence detection function, the instruction operation labor of the keyboard is reduced.

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

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

【図2】本発明実施例の具体的な回路構成を示すブロッ
ク図である。
FIG. 2 is a block diagram showing a specific circuit configuration of an embodiment of the present invention.

【図3】本発明実施例の入力用表示画面の一例を示す説
明図である。
FIG. 3 is an explanatory diagram showing an example of an input display screen according to the embodiment of the present invention.

【図4】本発明実施例の入力用表示画面の一例を示す説
明図である。
FIG. 4 is an explanatory diagram showing an example of an input display screen according to the embodiment of the present invention.

【図5】本発明実施例の入力用表示画面の一例を示す説
明図である。
FIG. 5 is an explanatory diagram showing an example of an input display screen according to the embodiment of the present invention.

【図6】本発明実施例のマイクロプロセッサCPUの処
理手順を示すフローチャートである。
FIG. 6 is a flowchart showing a processing procedure of a microprocessor CPU according to the embodiment of the present invention.

【図7】本発明実施例のマイクロプロセッサCPUの処
理手順を示すフローチャートである。
FIG. 7 is a flowchart showing a processing procedure of the microprocessor CPU according to the embodiment of the present invention.

【図8】本発明実施例のマイクロプロセッサCPUの処
理手順を示すフローチャートである。
FIG. 8 is a flowchart showing a processing procedure of the microprocessor CPU according to the embodiment of the present invention.

【図9】本発明実施例のマイクロプロセッサCPUの処
理手順を示すフローチャートである。
FIG. 9 is a flowchart showing a processing procedure of the microprocessor CPU according to the embodiment of the present invention.

【図10】本発明実施例のマイクロプロセッサCPUの
処理手順を示すフローチャートである。
FIG. 10 is a flowchart showing a processing procedure of the microprocessor CPU according to the embodiment of the present invention.

【図11】本発明実施例のマイクロプロセッサCPUの
処理手順を示すフローチャートである。
FIG. 11 is a flowchart showing a processing procedure of the microprocessor CPU according to the embodiment of the present invention.

【図12】本発明実施例の他の表示例を示す説明図であ
る。
FIG. 12 is an explanatory diagram showing another display example of the embodiment of the present invention.

【図13】本発明実施例の他の表示例を示す説明図であ
る。
FIG. 13 is an explanatory diagram showing another display example of the embodiment of the present invention.

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

CPU マイクロプロセッサ RAM ランダムアクセスメモリ KB キーボード(入力装置) CPU Microprocessor RAM Random access memory KB Keyboard (input device)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 文書情報を句読点を含むかな文字の形態
で入力する入力手段と、 当該入力された文書情報を文または段落の区切り単位毎
にかな混じり漢字に変換する文字処理手段と、 当該変換されたかな混じり漢字形態の文書情報を前記区
切り単位毎に記憶しておく第1の記憶手段と、 文書情報を保存しておく第2の記憶手段と、 前記第1の記憶手段に記憶の文字数を計数する文字計数
手段と、 該文字計数手段の計数結果を予め定めた許容数と比較す
る比較手段と、 前記文字計数手段の計数処理の後、前記第1の記憶手段
の文書情報を前記第2の記憶手段に記憶する記憶制御手
段と、 前記比較手段の比較の結果として前記文字計数手段の結
果が前記許容数より大きい数が得られたときは警告を行
う警告手段とを具えたことを特徴とする文字処理装置。
1. Input means for inputting document information in the form of kana characters including punctuation marks, character processing means for converting the input document information into kana mixed kana for each sentence or paragraph break unit, and said conversion. A first storage means for storing the kana-mixed kanji form document information for each delimiter unit, a second storage means for storing the document information, and the number of characters stored in the first storage means. Character counting means for counting the number of characters, comparing means for comparing the count result of the character counting means with a predetermined allowable number, and after the counting processing of the character counting means, the document information of the first storage means And a warning means for giving a warning when the result of the character counting means is larger than the allowable number as a result of the comparison by the comparing means. Characteristic sentence Processing apparatus.
JP4175576A 1992-07-02 1992-07-02 Character processor Pending JPH0619881A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4175576A JPH0619881A (en) 1992-07-02 1992-07-02 Character processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4175576A JPH0619881A (en) 1992-07-02 1992-07-02 Character processor

Publications (1)

Publication Number Publication Date
JPH0619881A true JPH0619881A (en) 1994-01-28

Family

ID=15998502

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4175576A Pending JPH0619881A (en) 1992-07-02 1992-07-02 Character processor

Country Status (1)

Country Link
JP (1) JPH0619881A (en)

Similar Documents

Publication Publication Date Title
JPH0619881A (en) Character processor
JP3236039B2 (en) Character processing apparatus and method
JPH0573191A (en) Character processor
JPS6269356A (en) Character processor
JP3062282B2 (en) Character processor
JP2835081B2 (en) Process display device
JP2786260B2 (en) Kana-Kanji conversion device
JPS60245075A (en) Automatic agate display system
JP2729996B2 (en) Document processing apparatus and method
JPS605401Y2 (en) Text creation device with page boundary display function
JPH04111158A (en) Character processor
JP3082977B2 (en) Character processing method and apparatus
JPS6348593A (en) Character processor
JP2993034B2 (en) Document processor with help information display function
JPH0327468A (en) Document processor
JPH0589140A (en) Document preparing device
JPH0628061B2 (en) Character processing apparatus and method
JPH056365A (en) Document processor
JPH04213718A (en) Input device
JPH0635906A (en) Table calculation processor
JPH05135010A (en) Character processing method and device therefor
JPH0392958A (en) Character processor
JPH0528143A (en) Word processor
JPH05128095A (en) Character processing device
JPH06309311A (en) Document processor