Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2675782B2 - Character processor - Google Patents
[go: Go Back, main page]

JP2675782B2 - Character processor - Google Patents

Character processor

Info

Publication number
JP2675782B2
JP2675782B2 JP62085518A JP8551887A JP2675782B2 JP 2675782 B2 JP2675782 B2 JP 2675782B2 JP 62085518 A JP62085518 A JP 62085518A JP 8551887 A JP8551887 A JP 8551887A JP 2675782 B2 JP2675782 B2 JP 2675782B2
Authority
JP
Japan
Prior art keywords
document
cursor
homophone
character
display
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.)
Expired - Lifetime
Application number
JP62085518A
Other languages
Japanese (ja)
Other versions
JPS63250774A (en
Inventor
雄二 小林
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 JP62085518A priority Critical patent/JP2675782B2/en
Publication of JPS63250774A publication Critical patent/JPS63250774A/en
Application granted granted Critical
Publication of JP2675782B2 publication Critical patent/JP2675782B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、複数表記を持つ同音語の確定操作後の、入
力位置を自動的に決定できる機能を持つ文書処理装置に
関係する。 〔従来の技術〕 従来、文字列の編集作業を行う装置において、現在の
操作位置を示す指標として、カーソルと呼ばれる指示器
を用いることが広く行われている。また、いわゆるカナ
漢字変換を行うことにより漢字を入力する操作が広く行
われているが、複数表記の変換候補に対しては、操作者
が望む表記候補を選択して、文書に確定する操作が必要
となっている。その確定操作においては、カーソル位置
に変更を加えないため、入力位置にカーソルを設定する
ことは、操作者の指示にゆだねられている。 〔発明が解決しようとしている問題点〕 上記従来例では、確定操作は同音語表記を文書中に確
定文字コードとして出力するという操作でしかないた
め、確定操作後のカーソル位置を意図的に変えることは
なかった。そのため、入力可能な位置以外で確定操作を
した場合、入力可能位置まで操作者みずからがカーソル
を移動することを指示しなければならず、確定操作から
入力操作への移行がスムーズに行なえず、高速な入臆編
集操作ができなかった。 本発明の目的は、上記従来例の欠点を除去することに
ある。すなわち、確定操作に引き続いて、次の入力位置
として妥当と予想される位置を判定してカーソルを移動
し、確定操作から入力操作への移行を高速に行える文字
処理装置を実現するものである。 〔問題点を解決するための手段(及び作用)〕 上記従来例の包含する問題点を除去するため、本発明
においては、以下の手段を設けることによって、その解
決を図り、より操作性の良い文字処理装置を提供する。 そのため、本発明の文字処理装置は、表示上で新たな
文字入力位置を指示するカーソルを表示させるカーソル
表示手段と、文書を記憶する文書記憶手段と、該文書記
憶手段により記憶された文書を表示する文書表示手段
と、該文書表示手段により表示された文書中に未確定の
同音語を表示させる同音語表示手段と、確定指示に応答
して、該同音語表示手段により表示中の同音語を確定表
記として前記文書記憶手段に記憶させるとともに、当該
確定表記に後続する部分からの所定の複数種類の文書制
御記号を検索する記号検索手段と、該記号検索手段によ
り前記所定の複数種類の文書制御記号のいずれかが検索
された場合に、当該検出された文書制御記号の位置と種
類とに基づいて、次の文字入力位置を判別する判別手段
と、該判別手段により判別された文字入力位置を、前記
カーソルの表示位置とするように前記カーソル表示手段
を制御する制御手段とを具え、確定指示に応答して、未
確定の同音語を確定させるとともに、確定表記に後続す
る部分から所定の複数種類の文書制御記号を検索し、前
記所定の複数種類の文書制御記号のいずれかが検索され
た場合に、その文書制御記号の位置と種類とに基づいて
次の文書入力位置を判別し、この文字入力位置をカーソ
ル表示位置とするものである。 〔実施例〕 以下、図面を参照して本発明を詳細に説明する。 第1図は本発明の全体構成の一例である。 図示の構成において、CPUはマイクロプロセツサであ
り、文字処理のための演算,論理判断等を行い、アドレ
スバスAB,コントロールバスCB,データバスDBを介して、
それらのバスに接続された各構成要素を制御する。 アドレスバスABはマイクロプロセツサCPUの制御の対
象とする構成要素を指示するアドレス信号を転送する。
コントロールバスCBはマイクロプロセツサCPUの制御の
対象とする各構成要素のコントロール信号を転送して印
加する。データバスDBは各構成機器相互間のデータの転
送を行う。 次にROMは、読出し専用の固定メモリである。PAは、
第5図〜第11図につき後述するマイクロプロセツサCPU
による制御手順に従った制御プログラム等を記憶させた
プログラムエリアである。 またRAMは、1ワード16ビツトの構成の書込み可能の
ランダムアクセスメモリであって、各構成要素からの各
種データの一時記憶に用いる。 TBUFは文書バツフアであり、キーボードKBより入力さ
れた文書情報を蓄えるためのメモリである。 DOBFは選択候補バツフアであり、文書中で確定すべき
候補のコードを格納するバツフアメモリである。 CPはカーソル現在位置を示すポインターであり、カー
ソルが文書バツフアTBUFのどのコードを指示しているか
を示すために用いる。 CPSはCPのコピーワークメモリである。 NCPは同音語コードを指すためのポインタである。 NXTは同音語確定後に移動すべきカーソル位置を指示
するポインタである。 CPLは文書バツフアTBUFの内容を表示画面CRTに表示す
る際の、1行あたりの文字数を表す変数であり、LPPは
1頁あたりの行数を表す変数である。 SFLGは同音語の存在を示すフラグレジスタである。 iはPAに記憶された各プログラムが使用するカウンタ
変数である。 SはPAに記憶された各プログラムが使用するレジスタ
である。 KBはキーボードであって、アルフアベツトキー,ひら
がなキー,カタカナキー等の文字記号入力キー及び同音
語確定キー等の本文字処理装置に対する各種機能を指示
するための各種のフアンクシヨンキーを備えている。 図において、SSは同音語確定キーである。 DISKは定型文書を記憶するためのメモリで作成された
文書の保管を行い、保管された文書はキーボードの指示
により、必要な時呼び出される。 CRはカーソルレジスタである。CPUにより、カーソル
レジスタの内容を読み書きできる。後述するCRTコント
ローラCRTCは、ここに蓄えられたアドレスに対する表示
装置CRT上の位置にカーソルを表示する。 DBUFは表示用バツフアメモリで、TBUFに蓄えられた文
書情報等のパターンを蓄える。 CRTCはカーソルレジスタCR及びバツフアDBUFに蓄えら
れた内容を表示器CRTに表示する役割を担う。 また、CRTは陰極線管等を用いた表示装置であり、そ
の表示装置CRTにおけるドツト構成のパターンおよびカ
ーソルの表示をCRTコントローラで制御する。 さらに、CGはキヤラクタジエネレータであって、表示
装置CRTに表示する文字,記号のパターンを記憶するも
のである。 かかる各構成要素からなる本発明文字処理装置におい
ては、キーボードKBからの各種の入力に応じて作動する
ものであって、キーボードKBからの入力が供給される
と、まずインタラプト信号がマイクロプロセツサCPUに
送られ、そのマイクロプロセツサCPUがROM内に記憶して
ある各種の制御信号を読出し、それらの制御信号に従っ
て各種の制御が行われる。 第2図は、本発明文字処理装置の実行例と従来例を比
較した図である。 図において、CRT画面に表示したカーソルおよび文書
を対象としている。(1)において、アンダラインが付
いている文字は同音語であり、確定操作が必要なことを
意味している。 (2)において確定キーを押下すると、従来例では
(3)の如くカーソルは移動しないため、引き続けて入
力するためには、(3),(4)に至るまで9回もカー
ソル移動を行わなければならない。 それに対し、本発明によれば(8)の如くカーソルが
改行マークにより維持される次行頭に移動することによ
り、続けてすぐに入力することができる。 第3図は、本発明文字処理装置における文書データバ
ツフアTBUFの構成を示した図である。 (1)はTBUFの全体構成であり、TXT(i)は文字コ
ードを意味する。 (2)は同音語である文字コードの構造を示した図で
ある。同音語は最上位バイトの値が1となっており、残
り15バイトでDOBFへのポインタを格納する。 (3)は確定文字コードの構造を示した図である。確
定文字コードは最上位バイトの値を0とする。確定文字
コードには、通常用いられるカナ文字,英文字,数字,
漢字,記号などの他に未入力コードを意味する白紙コー
ド、そのコード以降の文字を次の行に移すことを指示す
る改行コードや、次の頁に移すことを指示する改頁コー
ドを用いる。 第4図は選択候補バツフアDOBFの構成を示した図であ
る。図において、CSWPTRは現在選択表示されている候補
文字コードがDOBF先頭から何バイト目にあるかを記述し
たポインタである。CSWNは現在選択表示されている候補
文字コードが何バイトで構成されているかを示す。WCOD
(i)は候補文字コード列のうちの1コードを意味す
る。DOBF末尾には、エンドコードとしてFFFFが格納され
ている。確定キーにより文書中に確定する必要が生じた
場合には、文書コード中の同音語ポインタからDOBF先頭
を求め、CSWPTRの示す文字コードからCSWNバイト分の文
字コードを文書中に出力してやれば良いことになる。 第5図は、本発明文字処理装置の動作を示すフローチ
ヤートである。 S5−1においてキーボードKBよりキーが押下され、割
込みが発生するのを待つ。 キーが入力されるとS5−2において入力されたキーの
判別を行い、キーの種類に応じてS5−3,S5−4のいずれ
かのステツプに分岐する。 S5−3は確定キーSSが入力されたときの処理であり、
確定キー押下時のカーソル位置より前の同音語を確定す
る処理を行う。(第6図にて詳述) S5−4は、確定キー以外の通常のキー(例えばカーソ
ル移動キーなど)を入力した場合の処理であり、同種の
文字処理装置において一般的に行われている処理であ
り、公知であるので、特に記述しない。 S5−5、上記の編集処理の結果、変更された部分を表
示する表示処理である。文書中のデータを1文字読んで
はパターンに展開し、表示バツフアDBUFに出力するとい
う通常広く行われている処理である。 第6図は、S5−3の処理を詳細化したフローチヤート
である。 S6−1において、カーソル位置CPより前に同音語があ
るかどうかTBUFをサーチする。(第7図にて詳述) S6−2において同音語サーチの結果見つかったかどう
かがSFLGを参照することにより、判断される。もし、SF
LGが1であるならばS6−3へ、SFLGが0であるならばS6
−4へ分岐する。 S6−3において見つかった同音語をTBUFに確定文字コ
ードとして格納する選択確定処理を行う。(第8図にて
詳述) S6−4において、次にカーソルをセツトするべき位置
をサーチする。(第9図にて詳述) S6−5において、S6−4で得られた新しいカーソル位
置にNXTに現在カーソル位置CPを移した後、リターンす
る。 第7図は、S6−1の処理を詳細化したフローチヤート
である。 S7−1において、カウンタ変数iの値に初期値として
0をセツトする。 S7−2においてiの値がCPより大きいかどうかが判断
され、もしi>CPであるならばS7−8へ、そうでなけれ
ばS7−3へ分岐する。 S7−3においてTBUFより文字コードTXT(i)を取り
出す。 S7−4において、TXT(i)の最上位バイトが1であ
るかどうかによって、同音語コードであるかどうかが判
断される。もし同音語コードであるならば、S7−6へ、
そうでなければS7−5へ分岐する。 S7−5においてカウンタiの値を1インクリメントし
てS7−2へループする。 S7−6において、iの値をNCPに格納する。 S7−7において、同音語が存在することを示すため、
SFLGに1をセツトしてリターンする。 S7−8では、同音語が存在しないことを示すためSFLG
に0をセツトしてリターンする。 第8図は、S6−3の処理を詳細化したフローチヤート
である。 S8−1において、TBUF中の同音語コードTXT(NCP)を
取り出す。 S8−2においてTXT(NCP)の下位15バイトが示すポイ
ンタ値により、選択候補バツフアDOBFの先頭を見つけ
る。 S8−3においてDOBF先頭に格納されているCSWPTR,CSW
Nの値を取り出し、DOBF先頭よりCSWPTRバイト進めた位
置からCSWNバイト分の候補表記コードをTXT(NCP)のコ
ードと置換してリターンする。 第9図は、S6−4の処理を詳細化したフローチヤート
である。 S9−1において、CPの値をCPSにコピーする。 S9−2においてCPがエンドコードFFFFでないかどうか
が判断される。もしエンドコードであるならばS9−9
へ、そうでなければS9−3へ分岐する。 S9−3において文字コードTXT(CP)を取り出す。 S9−4においてS9−3で取り出された文字コードの判
定を行う。もし、TXT(CP)が改行コードであるならばS
9−5へ、もし改頁コードであるならばS9−6へ、もし
白紙コードであるならばS9−7へ、それ以外の文字コー
ドであるならばS9−8へ、それぞれ分岐する。 S9−5において、改行先のカーソル位置を算出しリタ
ーンする。 S9−6において、改頁先のカーソル位置を算出しリタ
ーンする。 S9−7において、CPの値をNXTに格納しリターンす
る。 S9−8において、CPの値を1インクリメントしS9−2
へループする。 S9−9においては、NXTにentry時のカーソル位置のコ
ピーであるCPSの値を格納しリターンする。 第10図は、S9−5の処理を詳細化したフローチヤート
である。 S10−1において、カウンタ変数iに初期値として1
をセツトする。 S10−2において、レジスタSにCP−i*CPLの計算結
果を格納する。 S10−3においてS<0かどうかを判断し、もしS<
0であるならばS10−5へ、そうでなければS10−4へ分
岐する。 S10−4において、カウンタiを1インクリメントしS
10−2へループする。 S10−5において、NXTにi*CPLの値を格納しリター
ンする。 第11図は、S9−6の処理を詳細化したフローチヤート
である。 S11−1において、カウンタ変数iに初期値として1
をセツトする。 S11−2において、レジスタSにCP−i*CPL*LPPの
計算結果を格納する。 S11−3においてS<0かどうかを判断し、もしS<
0であるならばS11−5へ、そうでなければS11−4へ分
岐する。 S11−4において、カウンタiを1インクリメントしS
11−2へループする。 S11−5において、NXTにi*CPL*LPPの値を格納しリ
ターンする。 〔他の実施例〕 以上の実施例の説明において、文書バツフアとして文
字コードを1次元的に格納した構造を用いているが、2
次元的に配列したマトリクス構造を持つようにしても、
同様の処理を行うことができる。 〔効果の説明〕 以上説明したように、本発明によれば、同音語の確定
指示に応答して、未確定の同音語を確定させるととも
に、確定表記に後続する部分から所定の複数種類の文書
制御記号を検索し、前記所定の複数種類の文書制御記号
のいずれかが検索された場合に、その文書制御記号の位
置と種類とに基づいて次の文字入力位置を判別し、この
文字入力位置をカーソル表示位置とするようにしたの
で、同音語の確定操作後に、現在表示中の文書に続けて
新たな文書を入力しようとする場合、カーソルの位置
は、各種文書制御記号が定める新たな入力位置となって
いるので、操作者自らが新たな入力位置へカーソルを移
動させる操作を行う必要がなくなるという効果がある。
従って、入力操作性の高い文字処理装置を提供すること
ができる。
Description: TECHNICAL FIELD The present invention relates to a document processing apparatus having a function of automatically determining an input position after a confirmation operation of a homophone having a plurality of notations. [Prior Art] Conventionally, in a device for editing a character string, an indicator called a cursor is widely used as an index indicating a current operation position. In addition, the operation of inputting Chinese characters by performing so-called Kana-Kanji conversion is widely used, but for conversion candidates of multiple notations, the operator selects the notation candidate desired and confirms it in the document. Is needed. Since the cursor position is not changed in the confirmation operation, setting the cursor at the input position is left to the operator's instruction. [Problems to be Solved by the Invention] In the above-mentioned conventional example, since the confirming operation is only an operation of outputting a homophone expression as a confirmed character code in a document, intentionally changing the cursor position after the confirming operation. There was no. Therefore, if a confirmation operation is performed at a position other than the position where input is possible, the operator must instruct the operator to move the cursor to the position where input is possible, and the transition from the confirmation operation to the input operation cannot be performed smoothly. I couldn't edit the contents. An object of the present invention is to eliminate the drawbacks of the above conventional example. That is, the character processing device is realized, which follows the confirming operation, determines the position expected to be the next input position, moves the cursor, and shifts from the confirming operation to the input operation at high speed. [Means (and Action) for Solving Problems] In order to eliminate the problems included in the above-described conventional example, the present invention provides the following means to solve the problems and improve operability. A character processing device is provided. Therefore, the character processing device of the present invention displays a cursor display means for displaying a cursor indicating a new character input position on the display, a document storage means for storing a document, and a document stored by the document storage means. Document display means, a homophone display means for displaying an undetermined homophone in the document displayed by the document display means, and a homophone displayed by the homophone display means in response to a confirmation instruction. Symbol search means for storing a fixed notation in the document storage means and searching for a predetermined plurality of types of document control symbols from a portion following the fixed notation, and the predetermined plurality of types of document control by the symbol search means When any one of the symbols is searched for, the determining unit determines the next character input position based on the position and type of the detected document control symbol, and the determining unit. And a control means for controlling the cursor display means so that the separated character input position becomes the display position of the cursor. A predetermined plurality of types of document control symbols are searched from the subsequent portion, and when any one of the predetermined plurality of types of document control symbols is searched, the next document based on the position and type of the document control symbol. The input position is determined, and this character input position is used as the cursor display position. Embodiments Hereinafter, the present invention will be described in detail with reference to the drawings. FIG. 1 shows an example of the overall configuration of the present invention. In the configuration shown, the CPU is a microprocessor, performs arithmetic operations for character processing, logical judgments, etc., and through the address bus AB, control bus CB, and data bus DB,
It controls each component connected to those buses. The address bus AB transfers an address signal indicating a component to be controlled by the microprocessor CPU.
The control bus CB transfers and applies a control signal of each component to be controlled by the microprocessor CPU. The data bus DB transfers data between the components. Next, the ROM is a fixed read-only memory. PA
Microprocessor CPU described later with reference to FIGS.
Is a program area in which a control program and the like according to the control procedure according to are stored. The RAM is a writable random access memory having a structure of 16 bits per word and is used for temporary storage of various data from each constituent element. The TBUF is a document buffer, which is a memory for storing the document information input from the keyboard KB. DOBF is a selection candidate buffer, and is a buffer memory that stores the code of the candidate to be determined in the document. CP is a pointer indicating the current position of the cursor, and is used to indicate which code in the document buffer TBUF the cursor points to. CPS is a copy work memory of CP. NCP is a pointer for pointing a homophone code. NXT is a pointer that indicates the position of the cursor to be moved after the homonym is determined. CPL is a variable indicating the number of characters per line when displaying the contents of the document buffer TBUF on the display screen CRT, and LPP is a variable indicating the number of lines per page. SFLG is a flag register indicating the presence of homophones. i is a counter variable used by each program stored in the PA. S is a register used by each program stored in the PA. The KB is a keyboard, which is provided with various function keys for instructing various functions of the character processing device such as a character symbol input key such as an alphabet key, a hiragana key, and a katakana key, and a homophone determination key. . In the figure, SS is a homophone determination key. DISK stores the document created in the memory for storing the standard document, and the stored document is called when necessary by the instruction of the keyboard. CR is a cursor register. The CPU can read and write the contents of the cursor register. A CRT controller CRTC described later displays a cursor at a position on the display device CRT corresponding to the address stored here. The DBUF is a display buffer memory that stores patterns such as document information stored in the TBUF. The CRTC plays a role of displaying the contents stored in the cursor register CR and the buffer DBUF on the display CRT. The CRT is a display device using a cathode ray tube or the like, and the display of the dot configuration pattern and the cursor on the display device CRT is controlled by the CRT controller. Further, CG is a character generator, which stores a pattern of characters and symbols displayed on the display device CRT. In the character processing device of the present invention comprising the above-mentioned components, it operates in response to various inputs from the keyboard KB, and when an input from the keyboard KB is supplied, an interrupt signal is first sent to the microprocessor CPU. The microprocessor CPU reads various control signals stored in the ROM, and various controls are performed in accordance with these control signals. FIG. 2 is a diagram comparing an execution example of the character processing device of the present invention with a conventional example. In the figure, the cursor and the document displayed on the CRT screen are targeted. In (1), the letters with an underline are homophones, which means that a confirmation operation is necessary. When the enter key is pressed in (2), the cursor does not move as in (3) in the conventional example. Therefore, in order to continue input, the cursor is moved 9 times until (3) and (4). There must be. On the other hand, according to the present invention, by moving the cursor to the beginning of the next line maintained by the line feed mark as in (8), it is possible to continue and immediately input. FIG. 3 is a diagram showing the configuration of the document data buffer TBUF in the character processing device of the present invention. (1) is the overall structure of TBUF, and TXT (i) means a character code. (2) is a diagram showing a structure of a character code that is a homophone. The most significant byte of the homonym has a value of 1, and the remaining 15 bytes store the pointer to DOBF. (3) is a diagram showing a structure of a fixed character code. The value of the most significant byte of the definite character code is 0. The fixed character code is usually used Kana characters, English characters, numbers,
In addition to kanji, symbols, etc., a blank code that means an unentered code, a line feed code that instructs to move the characters after that code to the next line, and a page break code that instructs to move to the next page are used. FIG. 4 is a diagram showing the configuration of the selection candidate buffer DOBF. In the figure, CSWPTR is a pointer that describes the number of bytes from the beginning of the DOBF that the currently selected and displayed candidate character code is. CSWN indicates how many bytes the candidate character code currently selected and displayed consists of. WCOD
(I) means one code of the candidate character code string. FFFF is stored as an end code at the end of DOBF. If it is necessary to confirm in the document with the confirmation key, the DOBF head is obtained from the homophone pointer in the document code and the CSWN byte character code from the character code indicated by CSWPTR should be output in the document. become. FIG. 5 is a flow chart showing the operation of the character processing device of the present invention. In S5-1, a key is pressed from the keyboard KB and waits for an interrupt to occur. When a key is input, the input key is determined in S5-2, and the process branches to either S5-3 or S5-4 depending on the type of key. S5-3 is a process when the enter key SS is input,
Performs processing to determine the homophone before the cursor position when the confirmation key is pressed. (Detailed in FIG. 6) S5-4 is a process when a normal key (for example, a cursor moving key) other than the enter key is input, and is generally performed in a character processing device of the same type. Since this is a process and is well known, it will not be described in particular. S5-5 is a display process for displaying a changed portion as a result of the above-mentioned editing process. This is a widely-used process of reading one character of data in a document, developing it into a pattern, and outputting it to a display buffer DBUF. FIG. 6 is a flow chart detailing the processing of S5-3. In S6-1, the TBUF is searched to see if there is a homophone before the cursor position CP. (Detailed in FIG. 7) Whether or not the result of the homophone search is found in S6-2 is determined by referring to SFLG. If SF
If LG is 1, go to S6-3, and if SFLG is 0, go to S6
Branch to -4. A selection confirmation process of storing the homonym found in S6-3 in TBUF as a confirmation character code is performed. (Detailed in FIG. 8) In S6-4, the position where the cursor should be set next is searched. (Detailed in FIG. 9) In S6-5, after moving the current cursor position CP to the NXT to the new cursor position obtained in S6-4, the process returns. FIG. 7 is a flow chart showing the detailed processing of S6-1. In S7-1, the value of the counter variable i is set to 0 as an initial value. In S7-2, it is determined whether the value of i is larger than CP. If i> CP, the process branches to S7-8, and if not, the process branches to S7-3. In S7-3, the character code TXT (i) is extracted from TBUF. In S7-4, it is determined whether or not it is a homophone code by whether or not the most significant byte of TXT (i) is 1. If it is a homophone code, go to S7-6,
Otherwise, it branches to S7-5. In S7-5, the value of the counter i is incremented by 1 and looped to S7-2. In S7-6, the value of i is stored in the NCP. In S7-7, to show that a homonym exists,
Set 1 to SFLG and return. In S7-8, SFLG is used to show that the homonym does not exist.
Set 0 to and return. FIG. 8 is a flow chart detailing the processing of S6-3. At S8-1, the homophone code TXT (NCP) in TBUF is taken out. In S8-2, the head of the selection candidate buffer DOBF is found by the pointer value indicated by the lower 15 bytes of TXT (NCP). CSWPTR and CSW stored at the beginning of DOBF in S8-3
The value of N is taken out, the candidate notation code for CSWN bytes is replaced with the code of TXT (NCP) from the position advanced CSWPTR bytes from the beginning of DOBF, and the process returns. FIG. 9 is a flow chart detailing the processing of S6-4. In S9-1, the value of CP is copied to CPS. In S9-2, it is determined whether the CP is not the end code FFFF. If it is an end code, S9-9
Otherwise, branches to S9-3. In S9-3, the character code TXT (CP) is taken out. In S9-4, the character code extracted in S9-3 is determined. If TXT (CP) is a line feed code, S
The process branches to 9-5, to S9-6 if it is a page break code, to S9-7 if it is a blank code, and to S9-8 if it is any other character code. In S9-5, the cursor position of the line feed destination is calculated and the process returns. In S9-6, the cursor position of the page break destination is calculated and the process returns. In S9-7, the value of CP is stored in NXT and the process returns. In S9-8, the value of CP is incremented by 1 and S9-2
Loop to. In S9-9, the value of CPS, which is a copy of the cursor position at entry, is stored in NXT and returns. FIG. 10 is a flow chart detailing the processing of S9-5. In S10-1, the counter variable i is set to 1 as an initial value.
Set. In S10-2, the calculation result of CP-i * CPL is stored in the register S. In S10-3, it is determined whether S <0, and if S <
If it is 0, it branches to S10-5, and if not, it branches to S10-4. In S10-4, the counter i is incremented by 1 and S
Loop to 10-2. In S10-5, the value of i * CPL is stored in NXT and the process returns. FIG. 11 is a flow chart detailing the processing of S9-6. In S11-1, the counter variable i is set to 1 as an initial value.
Set. In S11-2, the calculation result of CP-i * CPL * LPP is stored in the register S. In S11-3, it is determined whether S <0, and if S <
If it is 0, it branches to S11-5, and if not, it branches to S11-4. In S11-4, the counter i is incremented by 1 and S
Loop to 11-2. In S11-5, the value of i * CPL * LPP is stored in NXT and the process returns. [Other Embodiments] In the description of the above embodiments, a structure in which character codes are stored one-dimensionally is used as the document buffer.
Even if it has a matrix structure arranged in a dimension
Similar processing can be performed. [Explanation of Effect] As described above, according to the present invention, in response to a homophone word confirmation instruction, an unconfirmed homophone word is confirmed, and at the same time, a plurality of predetermined types of documents are written from the part following the definite notation. When a control symbol is searched and one of the predetermined plural types of document control symbols is retrieved, the next character input position is determined based on the position and type of the document control symbol, and this character input position is determined. Since the cursor display position is set to the cursor display position, if you try to enter a new document following the currently displayed document after the homophony is confirmed, the cursor position is set to the new input specified by various document control symbols. Since it is located at the position, there is an effect that the operator does not need to perform the operation of moving the cursor to a new input position.
Therefore, it is possible to provide a character processing device having high input operability.

【図面の簡単な説明】 第1図は本発明の全体構成の一例を示す図。 第2図は本発明の従来例の比較を示した図。 第3図は本発明の文書データの例を示す図。 第4図は本発明の選択候補バツフアの例を示す図。 第5図〜第11図は本発明文字処理装置の動作を示すフロ
ーチヤート。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a diagram showing an example of the overall configuration of the present invention. FIG. 2 is a diagram showing a comparison of a conventional example of the present invention. FIG. 3 is a diagram showing an example of document data of the present invention. FIG. 4 is a diagram showing an example of a selection candidate buffer of the present invention. 5 to 11 are flow charts showing the operation of the character processing device of the present invention.

Claims (1)

(57)【特許請求の範囲】 1.表示上で新たな文字入力位置を指示するカーソルを
表示させるカーソル表示手段と、 文書を記憶する文書記憶手段と、 該文書記憶手段により記憶された文書を表示する文書表
示手段と、 該文書表示手段により表示された文書中に未確定の同音
語を表示させる同音語表示手段と、 確定指示に応答して、該同音語表示手段により表示中の
同音語を確定表記として前記文書記憶手段に記憶させる
とともに、当該確定表記に後続する部分から所定の複数
種類の文書制御記号を検索する記号検索手段と、 該記号検索手段により前記所定の複数種類の文書制御記
号のいずれかが検索された場合に、当該検索された文書
制御記号の位置と種類とに基づいて、次の文字入力位置
を判別する判別手段と、 該判別手段により判別された文字入力位置を前記カーソ
ルの表示位置とするように前記カーソル表示手段を制御
する制御手段とを有することを特徴とする文字処理装
置。
(57) [Claims] Cursor display means for displaying a cursor indicating a new character input position on the display, document storage means for storing a document, document display means for displaying the document stored by the document storage means, and document display means A homophone display means for displaying an undetermined homophone in the document displayed by, and in response to a confirmation instruction, a homophone displayed by the homophone display means is stored in the document storage means as a definite notation. Along with the symbol notation means for retrieving a predetermined plurality of types of document control symbols from the part following the definite notation, and when one of the predetermined plurality of types of document control symbols is retrieved by the symbol retrieval means, Based on the position and type of the retrieved document control symbol, a determining unit that determines the next character input position, and a character input position determined by the determining unit Character processing apparatus characterized by a control device for controlling the cursor display means to display position Le.
JP62085518A 1987-04-06 1987-04-06 Character processor Expired - Lifetime JP2675782B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62085518A JP2675782B2 (en) 1987-04-06 1987-04-06 Character processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62085518A JP2675782B2 (en) 1987-04-06 1987-04-06 Character processor

Publications (2)

Publication Number Publication Date
JPS63250774A JPS63250774A (en) 1988-10-18
JP2675782B2 true JP2675782B2 (en) 1997-11-12

Family

ID=13861129

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62085518A Expired - Lifetime JP2675782B2 (en) 1987-04-06 1987-04-06 Character processor

Country Status (1)

Country Link
JP (1) JP2675782B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6087390A (en) * 1983-10-20 1985-05-17 キヤノン株式会社 Character processor

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
「キヤノン日本語ワードプロセッサ キャノワード80使用説明書(上)」,1985 P.4−37

Also Published As

Publication number Publication date
JPS63250774A (en) 1988-10-18

Similar Documents

Publication Publication Date Title
USRE35861E (en) Apparatus and method for comparing data groups
US4807182A (en) Apparatus and method for comparing data groups
US4663616A (en) Attachment of lines to objects in interactive draw graphics
JP2675782B2 (en) Character processor
JPH0117185B2 (en)
US5504850A (en) Data processing apparatus with headline representation
JPH07146863A (en) Editing processor
JP3082977B2 (en) Character processing method and apparatus
JP2542384B2 (en) Character processor
JP2561000B2 (en) String output method
JPH0567078A (en) Character processor
JP3260439B2 (en) File name list display method
JPS59140541A (en) Character processing device
JPH05135017A (en) Character processing method and device
JPH07262215A (en) Document display device
JPH02148094A (en) Character information processor
KR930009781B1 (en) How to enter Chinese characters using a computer terminal
JPH0528434B2 (en)
JPH05135050A (en) Line segment attribute display method
JPH04282755A (en) Word processor
JPS6326766A (en) Kana-kanji conversion device
JPH05233604A (en) Word registration method
JPH05135011A (en) Character processing method and device therefor
JPH0362170A (en) Comment input method in cad system
JPH0719188B2 (en) Data input device

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070718

Year of fee payment: 10