JPH0480422B2 - - Google Patents
Info
- Publication number
- JPH0480422B2 JPH0480422B2 JP63018803A JP1880388A JPH0480422B2 JP H0480422 B2 JPH0480422 B2 JP H0480422B2 JP 63018803 A JP63018803 A JP 63018803A JP 1880388 A JP1880388 A JP 1880388A JP H0480422 B2 JPH0480422 B2 JP H0480422B2
- Authority
- JP
- Japan
- Prior art keywords
- contents
- key
- page memory
- character string
- register
- 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
Links
Landscapes
- Document Processing Apparatus (AREA)
Description
[技術分野]
本発明は表示指示の操作に基づいて、仮名/漢
字混じり文字列中おいて同音語を1つづつ切り換
えて表示するよう表示制御することができる文字
処理方法に関する。
[従来技術]
従来から、この種の文字処理装置については、
種々研究されているが、読み情報を仮名/漢字混
じり文字列に変換する場合、入力される読み情報
に対して、同音語が複数存在し、一意に決定でき
ない場合がしばしば発生する。例え、仮に一意に
決定したとしても、その後に、使用者の操作によ
り、所望の同音語を再度決定する作業が必要とな
る。
この為、読み情報を入力する毎に、つまり文末
の位置でのみ、タイマーを用いて同音語を切り換
え表示し、前記決定の作業を行うことが提案され
ている(例えば特公昭50−28299号公報)。しか
し、この場合、操作者は入力に専念することがで
きず操作性が悪く、文字処理方法の全体の効率を
考えた場合、まだまだ改良の余地があつた。
一方、複数の候補の一覧表示のみを行い、操作
者が所望の1つの候補を数値等を入力することの
みにより、1つの候補を選択することができるも
のが提案されている(例えば特開昭53−7131号公
報、特開昭53−7132号公報等)。しかし、文字処
理の機能として同音語を一覧表示することができ
ても良いですが、本願の様に、表示の指示の操作
に基づいて、仮名/漢字混じり文字列中における
指定された箇所において、同音語を1つづつ切り
換えて表示することができるよう表示を制御する
技術を到底、示唆するものではなかつた。
その他、先行技術として種々の提案がなされ、
改良が行われているが、文字処理に関連する本発
明の特徴を示唆するものは存在せず、本発明の技
術は、例え、本願発明の個々の要件に類似した先
行技術が種々、存在していたとしても、或いはそ
れらのあらゆる組み合わせを考慮しても解決すべ
き課題を強く意識して望まない限り、決して生ま
れないと言う問題点があつた。
[目的]
以上の点に鑑み、本発明の目的は、表示の指示
の操作に基づいて、仮名/漢字混じり文字列中に
おいて、同音語を1つづつ切り換えて表示するよ
う表示制御することができる文字処理方法を提供
することにある。
〔実施例〕
なお、以下に述べる本発明の詳細な説明におい
ては、前記予め定めた数nは2として説明してあ
るものである。
また、本発明で言う第1の文字とは、平仮名、
片仮名、アルフアベツト文字を組合わせたローマ
字、及びBOOKの如く他国の言語をも包含する
ものであり、第2の文字とは前記仮名、ローマ字
に対応する漢字の如き同音語文字、および前記
BOOKに対応する“書籍”“本”“帳簿”の如く
同意語文字をも包含するものである。
以下本発明による一実施例を図面を用いて説明
する。
まず、本発明による一実施例の概要を述べる。
例えば第1図に示す如き原稿の内容を入力する場
合、まず装置の初期状態を設定するためにイニシ
ヤライズキーが操作され、装置内の条件を整え、
装置に入力の開始を知らせる。
次に原稿の読みが、例えば平仮名キーを操作し
て入力される。その時平仮名で入力された読みの
部分で漢字に変換して入力させたい個所はその読
みの最初と最後に漢字シフトキーを操作し、装置
に漢字に変換する個所を知らせる。第2図は第1
図の原稿の内容を機器に入力するためのキー操作
手順を示すもので、“ ”で示すのが漢字シフト
キーの操作を示す。
上述の如く入力された原稿の内容は装置内で処
理され、例えば第3図に図示する如く漢字かな混
じり文で表示される。
上述の処理において、同音の漢字が複数組存在
した場合、出現頻度によつて選択された漢字が表
示に現われる。例えば同音漢字が2組存在すると
き、第2出現頻度の漢字が第3図の如く“〔”“〕”
付で表示される。
(例 帰途〔企画〕)
また同音漢字が3組以上存在するとき、第3出
現頻度以降の同音漢字を代表して例えば図示の如
く*の記号で表示する。
入力された原稿の読みに対して複数の同音漢字
が存在した場合、以下のような手段で必要な漢字
を選択する。
例えば第3図の“以降”の表示の“以”の位置
にカーソル記号CCを移動させる。かかる移動は
キー操作によつて行う。今選択したい漢字は“移
行”であるので、表示されていない漢字を呼び出
すために、NOキーが操作される。すると、“以
降”が表示面から消え“威光”がその後の場所で
表示され、“〔”“〕”内に“意向”の漢字および*
記号が表示される。さらにNOキーが操作される
と、上述の表示手順が表1に示す如く行われ、当
面必要とする“移行”が“〔”の外に出たとき、
YESキーが操作されると、“移行”が選択され、
装置はカーソル記号CCを次の“帰途”の“帰”
の位置に自動的にシフトさせ、操作者に次の選択
対象の位置を知らせる。
[Technical Field] The present invention relates to a character processing method that can perform display control to switch and display homophones one by one in a character string containing mixed kana and kanji characters based on an operation of a display instruction. [Prior Art] Conventionally, regarding this type of character processing device,
Various studies have been conducted, but when converting reading information into a character string containing mixed kana/kanji, there are often cases in which there are multiple homophones for the input reading information, and it is not possible to uniquely determine the reading information. Even if the desired homophone is uniquely determined, the user must then perform an operation to determine the desired homophone again. For this reason, it has been proposed to use a timer to switch and display homophones each time reading information is input, that is, only at the end of a sentence, and perform the above determination process (for example, Japanese Patent Publication No. 50-28299 ). However, in this case, the operator could not concentrate on inputting data, resulting in poor operability, and when considering the overall efficiency of the character processing method, there was still room for improvement. On the other hand, a method has been proposed that only displays a list of multiple candidates and allows the operator to select one desired candidate by simply inputting a numerical value, etc. (for example, 53-7131, JP-A-53-7132, etc.). However, it may be possible to display a list of homophones as a function of character processing, but as in the present application, based on the operation of display instructions, at a specified location in a character string containing mixed kana/kanji, This does not suggest a technique for controlling the display so that homophones can be switched and displayed one by one. In addition, various proposals have been made as prior art,
Although improvements have been made, there is nothing that suggests the features of the present invention related to character processing, and the technology of the present invention does not exist, even though there are various prior arts that are similar to the individual requirements of the present invention. Even if we consider all possible combinations of these, there is a problem that unless we are strongly aware of the problem that needs to be solved and desire it, it will never occur. [Purpose] In view of the above points, an object of the present invention is to control the display so that homophones are switched and displayed one by one in a character string containing mixed kana/kanji based on the operation of display instructions. The objective is to provide a character processing method. [Example] In the detailed description of the present invention described below, the predetermined number n is assumed to be two. In addition, the first character referred to in the present invention is hiragana,
It includes katakana, the Roman alphabet which is a combination of alphabetic characters, and other languages such as BOOK, and the second characters include the above-mentioned kana, homophone characters such as kanji corresponding to the Roman characters, and the above-mentioned.
It also includes synonymous characters such as "book,""book," and "book," which correspond to BOOK. An embodiment of the present invention will be described below with reference to the drawings. First, an outline of an embodiment according to the present invention will be described.
For example, when inputting the contents of a document as shown in FIG.
Notifies the device of the start of input. Next, the reading of the manuscript is input by operating, for example, a hiragana key. At that time, for the part of the reading input in hiragana that you want to convert into kanji and input, operate the kanji shift key at the beginning and end of the reading to inform the device of the part to be converted to kanji. Figure 2 is the first
This figure shows the key operation procedure for inputting the contents of the manuscript into the device, and the symbol “ ” indicates the operation of the kanji shift key. The contents of the manuscript inputted as described above are processed within the apparatus and displayed, for example, as a mixture of kanji and kana, as shown in FIG. In the above process, if there are multiple sets of kanji with the same sound, the kanji selected based on the frequency of appearance appears on the display. For example, when there are two sets of homophone kanji, the kanji with the second appearance frequency is “〔”“〕” as shown in Figure 3.
Displayed with. (Example: On the way home [project]) Furthermore, when there are three or more sets of homophone kanji, the homophone kanji with the third appearance frequency or later are represented, for example, by the symbol * as shown in the figure. If multiple homophone kanji exist for the reading of the input manuscript, the necessary kanji are selected by the following means. For example, the cursor symbol CC is moved to the "beyond" position in the "beyond" display in FIG. Such movement is performed by key operation. Since the kanji you want to select now is "transition", the NO key is operated to call up the kanji that is not displayed. Then, “hereafter” disappears from the display screen and “majesty” is displayed in the place after it, and the kanji for “intention” and * are displayed in “〔” “〕”.
A symbol is displayed. When the NO key is further operated, the display procedure described above is performed as shown in Table 1, and when the "transition" required for the time is outside of "[",
When the YES key is operated, “Migration” is selected and
The device moves the cursor symbol CC to the “return” of the next “return”
, and informs the operator of the next selection target position.
【表】【table】
【表】
次の選択対象は*記号がないので、いずれか一
方を選択すれば、選択作業は終りとなる。このと
き、“企図”を選択したい場合(ここでは原稿か
らしてこれを選択するものであるが)、単にNO
キーが操作されると、その選択作業が終り、カー
ソル記号CCが次の“年”に移る。
上述と同様なキー操作が行われれば、その選択
が終る。次にプリントキーが操作されると、入力
された文章がプリントアウトされる。
次に上述に説明した本発明の一実施例をさらに
詳細に説明する。
第4図は本発明による一実施例のブロツク図で
ある。同図において、KB1はキーボードで第1
図に示すような原稿の文章の読みを仮名入力で入
力するためのかなキーHR、および入力されたか
な情報(以降第1文字列と称す)を漢字情報(以
降第2文字列と称する)に変換する漢字キーKK
および記号キー例えば間隔キーSKなどを備えて
いる。かかるキーボードKBは操作キーに対応し
た文字コードを発生するためのエンコーダを備
え、文字コードは14bitの長さを有する。なお間
隔キーSKと漢字キーKKとを同一のキーにして
も良い。このときキー操作回数で区別する。
KB2はキーボードで、装置に各種機能の実行
を要求するためのキー、即ち、イニシヤライズキ
ーINTK、カーソルキーCK、プリントキーPK、
YESキーYESK、NOキーNOK、カーソルシフ
トキーCSK等が備えられている。
イニシヤライズキーINTKは機器の初期状態を
設定させる。
カーソルキーCSKは表示手段の表示面にカー
ソル記号CCを表示させるキーである。
プリントキーPKは機器内に貯えられている第
1文字列、第2文字列の情報を記録紙にプリント
させるキーである。
YESキーYESKは第1文字列を第2文字列に
変換し、第2文字列が複数存在したときにそれら
のうちの1つを選択するものである。
NOキーNOKは第1文字列を第2文字列に変
換し、第2文字列が複数存在したとき表示されて
いない第2文字列を表示させるキーである。
カーソルシフトキーCSKは表示されているカ
ーソル記号CCを1文字毎にシフトさせるキーで
ある。
上述の各キーの他の機能は後でさらに詳述され
る。
また上述のキーボードKB2の各キーは処理部
に対して割込を要求することができ、処理部はい
ずれのキーが操作されたかを判別できる。
CPUは処理部で、例えば16ビツト処理を行う。
かかる処理部CPUはデータ転送、加算比較等の
機能を有し、さらに割込みの処理を行うもので、
例えばテキサス・インスツルメント社の
TMS9900、ナシヨナルセミコンダクタのPACE、
パナフアコム社PFL16A、日本電気μPD16などで
構成する。
ROMは制御メモリーで、キーボードKB1,
KB2からの入力指示を判別し、それぞれに応じ
た処理を行う制御手順、制御データなどを格納し
ている読み出し専用メモリである。
IBは入力バツフアで、キーボードKB1から入
力される文字コードを一時貯えるもので、例えば
9WORD(1WORD=16bit)の記憶容量を有する。
PMはページメモリで、第6図に示す如く原稿
1頁例えば16(文字)×12(行)の文字容量即ち
192WORDの容量を有する。
また、かかるページメモリPMの内容は後述す
るCRTにより表示され、また出力機器例えばプ
リンタ、磁気デイスク等に出力される。
なお、ページメモリPMの各WORDの第14bit、
第15bitには以下の情報が記憶される。
bit15=0、bit14=0のとき、
bit13〜bit0に文字コードが入る。
bit15=0、bit14=1
同音語メモリのアドレスがbit7〜bit0に来る。
bit15=1、bit14=0
カーソル記号がbit13〜bit0の内容と共に表示
される。
bit15=1、bit14=1
ラブアウトコードを意味する。
WFは単語フアイルで、第7図に示す如く単語
(漢字)の読みがキーボードとなつて、その単語
の読みに対する単語の文字コードおよび同音語
数、翻訳文字数等を記憶している。
本実施例では、1単語に対し16WOREDの記憶
容量を用意し、その内訳は単語の読み(キーワー
ド)に対し9WORD、同音語数に対して
1WORD、読み対応する単語の字数に1WORD、
単語の文字コードに5WORDの配分からなる。
なお1つのキーワードに対し、該当する第2文
字列が複数有つた場合、それらの単語は使用頻度
の高いものから順に配列される。
例えば第7図に示す“いこう”に対する単語は
単語フアイルWFに5種類格納されており、それ
らの配置は使用頻度順に並べるため、アドレスの
値の小さい方から大きい方に並べられる。
従つて入力されたキーワードは単語フアイル
WFの読みと処理部CPUで比較され、該当の文字
コードがページメモリPMに記憶される。
なお、1つのキーワードに対して複数の単語が
該当する場合、それら複数の単語の文字数はすべ
て同一の長さとなるように構成される。例えば、
“とし”に対応する単語は“年”と“都市”との
2つあるとすれば、年を年bとする。bはブラン
クコード、またはラブアウトコードを意味する。
DWMは同音語メモリ、256WORDの記憶容量
を有する。
かかるメモリは第1文字列を第2文字列に変換
するときに用いる補助メモリである。第1文字列
を第2文字列に変換した場合、第2文字列が複数
存在することが多々有る。
そのような状態の場合、使用頻度の一番多い第
2文字列は表示し、2番目の第2文字列は“〔”
“〕”付で表示し、もし3番目の第2文字列が存在
した場合、“〔”“〕”の内にさらに*記号を表示す
るように構成してある。
そこで第8図に示す如く同音語メモリDWMの
bit15、bit14には次の意味をもつ情報を貯える。
bit15=×、bit14=1
1つの第2文字列のグループの終りを示す。
bit15=1、bit14=1
第2文字列グループのすべての組が終了したこ
とを意味する。
PNTはピンタメモリで、8bitの記憶容量を有
する。かかるメモリは表示手段の表示面に表示さ
れるカーソル記号CCの位置を指定するためのア
ドレスレジスタの役目を行う。
DCOTは表示制御回路で、ページメモリPMに
貯えられた第1文字列、第2文字列等の情報を表
示体で表示する機能と、ポインタPNTによつて
指定された位置にカーソル記号を表示するもので
ある。かかる表示制御回路DCOTはキヤラクタ
ジエネレータCGを有し、害CGに文字コードを入
力することにより該文字のパターンを発生させ、
ページメモリPM内の文字コードを表示する。
また、表示制御回路DCOTは1WORDのbit15
とbit14の情報により以下の制御を行う。
bit15=1、bit14=0のとき
bit13−0に記憶される文字コードを表示する。
bit15=0、bit14=0のとき、
同 上
bit15=0、bit14=1のとき
*記号を表示する。
bit15=1、bit14=1のとき
bを表示する(何も表示に現われない)。
表示制御回路DCOTは縦13行、横16文字とな
るように制御する。
従つてページメモリPMにキヤリツジリターン
コード、あるいはラインフイードコードが含まれ
ていない場合、表示制御回路内に1行16文字表示
となるために文字数をカウントするカウンタ、ま
た、12行となるよにカウンタが備えられている。
また、処理部CPUがページメモリPM、ポイン
タPNTを制御する時機は表示制御コントロール
DCOTが1行のライン表示から次のライン表示
に移る時間に行われる。
CRTは表示部で、カソード、レイ、チユーブ
から成る。かかる表示部CRTは表示制御回路
DCOTの制御のもとに情報を表示する。
OUは出力機器で、表示部CRT上に表示された
文字を印字する。例えばワイヤドツト、インクジ
エツト、サーマル、プリンタ等で構成される。
また出力機器として磁気デイスク等を接続し、
記憶容量を増加させても良い。
RAMはメモリで、処理部CPUで処理されたデ
ータの転送などの制御を行うために備えられてい
るものである。例えば、第9図に示す如くページ
メモリPMに文字コードを記憶させるため、ま
た、読み出すためのアドレスデータを貯えるペー
ジメモリレジスタPMreg、同音語メモリへの書
き込み、同音語メモリからデータ読み出しのため
のアドレスデータを貯える同音語メモリレジスタ
DMreg、入力バツフアIBへの書き込み、入力バ
ツフアIBからの読み出しの為のアドレスデータ
を貯える入力バツフアレジスタIBreg、及び一時
記憶としてレジスタJreg、Kreg、Lreg、Mreg、
Nreg、Preg、Qreg、Rreg、SregおよびDreg、
RR1〜RRNを有する。
AB、DB、CBはそれぞれアドレスバス、デー
ターバス、コントロールバスである。
以上の構成から成る実施例の作動を第10図−
第18図に示す制御手順を参照にして説明する。
また第10図〜第18図に示す各ステツプの内容
が表2〜表10に示されている。[Table] There is no * symbol for the next selection target, so selecting either one will complete the selection process. At this time, if you want to select "Intention" (here we select this based on the manuscript), simply select NO.
When the key is operated, the selection operation is completed and the cursor symbol CC moves to the next "year". If the same key operations as described above are performed, the selection is completed. Next, when the print key is operated, the entered text is printed out. Next, one embodiment of the present invention described above will be described in further detail. FIG. 4 is a block diagram of one embodiment of the present invention. In the same figure, KB1 is the first button on the keyboard.
The kana key HR is used to input the pronunciation of the text of the manuscript using kana input as shown in the figure, and the input kana information (hereinafter referred to as the first character string) is converted into kanji information (hereinafter referred to as the second character string). Kanji key KK to convert
and symbol keys such as interval keys SK. Such a keyboard KB includes an encoder for generating character codes corresponding to operation keys, and the character codes have a length of 14 bits. Note that the interval key SK and the kanji key KK may be the same key. At this time, it is distinguished by the number of key operations. KB2 is a keyboard with keys for requesting the device to execute various functions, namely, initialize key INTK, cursor key CK, print key PK,
It is equipped with YES key YESK, NO key NOK, cursor shift key CSK, etc. Initialize key INTK sets the initial state of the device. The cursor key CSK is a key for displaying a cursor symbol CC on the display surface of the display means. The print key PK is a key for printing the information of the first character string and the second character string stored in the device onto recording paper. YES key YESK converts the first character string into a second character string, and selects one of the second character strings when a plurality of them exist. NO key NOK is a key that converts a first character string into a second character string and displays the second character string that is not displayed when a plurality of second character strings exist. The cursor shift key CSK is a key for shifting the displayed cursor symbol CC one character at a time. Other functions of each of the keys mentioned above will be discussed in further detail below. Further, each key of the keyboard KB2 described above can request an interrupt to the processing section, and the processing section can determine which key has been operated. The CPU is a processing unit that performs, for example, 16-bit processing.
The processing unit CPU has functions such as data transfer, addition and comparison, and also processes interrupts.
For example, Texas Instruments
TMS9900, National Semiconductor's PACE,
It consists of Panahuacom's PFL16A, NEC μPD16, etc. ROM is control memory, keyboard KB1,
This is a read-only memory that stores control procedures, control data, etc. that determine input instructions from the KB2 and perform processing accordingly. IB is an input buffer that temporarily stores character codes input from keyboard KB1, for example.
It has a storage capacity of 9WORD (1WORD=16bit). PM is a page memory, which has a character capacity of, for example, 16 (characters) x 12 (lines) per manuscript page, as shown in Figure 6.
It has a capacity of 192WORD. Further, the contents of the page memory PM are displayed on a CRT (described later) and outputted to an output device such as a printer, a magnetic disk, etc. In addition, the 14th bit of each WORD of page memory PM,
The following information is stored in the 15th bit. When bit15=0 and bit14=0, the character code is entered in bit13 to bit0. bit15=0, bit14=1 The address of the homophone memory comes from bit7 to bit0. bit15=1, bit14=0 A cursor symbol is displayed along with the contents of bit13 to bit0. bit15=1, bit14=1 means love out code. WF is a word file, and as shown in Figure 7, the pronunciation of words (kanji) serves as a keyboard, and stores the character code of the word, the number of homophones, the number of translated characters, etc. for the pronunciation of the word. In this example, a storage capacity of 16WORED is prepared for one word, and the breakdown is 9WORD for the pronunciation (keyword) of the word, and 9WORD for the number of homophones.
1WORD, 1WORD for the number of characters of the word corresponding to the reading,
Consists of 5WORD allocation to word character code. Note that if there are a plurality of second character strings corresponding to one keyword, those words are arranged in descending order of frequency of use. For example, five types of words for "Iko" shown in FIG. 7 are stored in the word file WF, and in order to arrange them in order of frequency of use, they are arranged from the smallest address value to the largest address value. Therefore, the entered keyword is in the word file.
The reading of WF is compared with the processing unit CPU, and the corresponding character code is stored in the page memory PM. Note that when a plurality of words correspond to one keyword, the number of characters of the plurality of words are all configured to have the same length. for example,
Assuming that there are two words that correspond to "toshi", "year" and "city", the year is assumed to be year b. b means a blank code or a love-out code. DWM is a homophone memory, with a storage capacity of 256WORDs. This memory is an auxiliary memory used when converting the first character string to the second character string. When converting a first character string into a second character string, there are often multiple second character strings. In such a situation, the second character string that is used most frequently is displayed, and the second character string that is used the second time is displayed as “[”
It is displayed with "]", and if a third second character string exists, an * symbol is further displayed between "[" and "]". Therefore, as shown in Figure 8, the homophone memory DWM
Bit15 and bit14 store information with the following meanings. bit15=x, bit14=1 Indicates the end of one second character string group. bit15=1, bit14=1 This means that all sets of the second character string group have been completed. PNT is a pinta memory and has a storage capacity of 8 bits. This memory serves as an address register for specifying the position of the cursor symbol CC displayed on the display surface of the display means. DCOT is a display control circuit that has the function of displaying information such as the first character string and second character string stored in the page memory PM in a display format, and displays a cursor symbol at the position specified by the pointer PNT. It is something. Such a display control circuit DCOT has a character generator CG, and generates a pattern of the character by inputting a character code to the CG,
Displays the character code in page memory PM. In addition, the display control circuit DCOT is bit 15 of 1WORD.
The following control is performed using the information in bit 14. When bit15=1 and bit14=0, the character code stored in bit13-0 is displayed. When bit15=0, bit14=0 Same as above When bit15=0, bit14=1 Display * symbol. When bit15=1 and bit14=1, b is displayed (nothing appears on the display). The display control circuit DCOT controls the display to display 13 lines vertically and 16 characters horizontally. Therefore, if the page memory PM does not include a carriage return code or a line feed code, there is a counter in the display control circuit to count the number of characters to display 16 characters per line, and a counter to count the number of characters to display 16 characters per line. is equipped with a counter. In addition, when the processing unit CPU controls the page memory PM and pointer PNT, the display control control is
DCOT is performed during the transition from one line display to the next line display. A CRT is a display unit that consists of a cathode, a ray, and a tube. Such a display CRT is a display control circuit.
Display information under the control of DCOT. OU is an output device that prints the characters displayed on the display unit CRT. For example, it is composed of wire dots, ink jets, thermal printers, etc. Also, connect a magnetic disk etc. as an output device,
The storage capacity may also be increased. RAM is a memory that is provided to control the transfer of data processed by the processing unit CPU. For example, as shown in FIG. 9, there is a page memory register PMreg for storing character codes in the page memory PM, address data for reading, and addresses for writing to the homophone memory and reading data from the homophone memory. Homophone memory register to store data
DMreg, input buffer register IBreg that stores address data for writing to and reading from input buffer IB, and registers Jreg, Kreg, Lreg, Mreg, as temporary storage.
Nreg, Preg, Qreg, Rreg, Sreg and Dreg,
It has RR1 to RRN. AB, DB, and CB are address bus, data bus, and control bus, respectively. Figure 10 shows the operation of the embodiment constructed as described above.
This will be explained with reference to the control procedure shown in FIG.
Further, the contents of each step shown in FIGS. 10 to 18 are shown in Tables 2 to 10.
【表】【table】
【表】【table】
【表】【table】
【表】【table】
【表】【table】
【表】【table】
【表】【table】
【表】【table】
【表】【table】
【表】【table】
【表】【table】
【表】【table】
【表】
電源の電力が機器に供給され始めると、まず機
器内の各部分の初期状態が設定される。制御メモ
リROMに記憶された制御手順により処理部CPU
は例えばメモリRAM内の入力バツフアレジスタ
IBreg、ページメモリレジスタPMregおよび同音
語メモリレジスタDWMreg等、それから入力バ
ツフアIBに0を書き込みページメモリPMにブラ
ンクコードを書き込む。ページメモリにブランク
コードを書き込むのはかかるメモリの内容が表示
体CRTの表示されるからである。間隔キーSKが
操作されたときもブランクコードがでる。
次にキーボードKB1のキーが操作されている
が否かを判別し、操作されていなければ割り込み
制御を行わず、次のキーボードKB1の各キーが
操作されたか否かを判別する。上述のキーボード
KB1,KB2の各キーが操作さなければ、機器
はキーが操作される迄上述の状態を続ける。
今、平仮名キーが操作されると、ステツプS5
の漢字シフトキーかの判別が処理CPUで行われ、
今の場合、NOであるから、入力された平仮名キ
ーに対応する文字コードをページメモリレジスタ
PMregの内容によつて指示されたページメモリ
PMの位置に書き込む。しかる後、ページメモリ
レジスタPMregの内容を+1し、次のステツプ
S8でページメモリレジスタPMregの内容が192以
上かを処理部CPUで判別し、192以上でなけれ
ば、再びキー入力制御にもどる。
第1図に示す原稿の文章を入力するものとすれ
ば、まず漢字シフトキーが操作される。ステツプ
S5で処理部CPUは漢字シフトキーが押されたこ
とを検出し、ステツプS10のキー入力制御に移
る。かかる入力制御においてキーボードKB1の
平仮名キーが操作されると、操作された平仮名キ
ーの文字コードはステツプS12に示す如く入力バ
ツフアレジスタIBregの内容により指定された入
力バツフアIBの記憶位置に記憶され、文字コー
ドが記憶される毎に入力バツフアレジスタIBreg
の内容が+1される。従つて漢字シフトキーが操
作された後、平仮名キーが「こ」「ん」「か」「い」
と操作されると、それぞれの文字コードが順番に
入力バツフアIBに記憶される。その後に漢字シ
フトキーが再び操作されると、ステツプS11から
ステツプS13に進み、入力バツフアIBに記憶され
た「こんかい」の第1文字列が単語フアイルWF
のキーワードと処理部CPUで比較される。単語
フアイルWFの内容とバツフアIBとの比較が行わ
れ、一致するものがあれば、メモリRAMのレジ
スタRR1〜RRNに順次入れる。
上述の比較が終了後、同音語数が1つかの判別
が処理部CPUで行われ、1つであれば、第2文
字列の「今回」の2つの文字コードがページメモ
リPMに書き込まれて、再びキー入力制御のステ
ツプS3にもどる。
もし“移行”の文字を入力すべく、漢字シフト
キー、平仮名キーが操作されると以下の如く制御
が行われる。
ステツプS14で同音語数が1つでないのでステ
ツプS16に移る。かかるステツプS16において処
理部CPUは、メモリRAMのレジスタRR1−
RRNに書き込まれた同音語の文字コードのうち
第1出現頻度の以降をまずページメモリPMの所
定の位置(ページメモリレジスタPMにより指示
された位置)に書き込む。また書き込むとき、
「以」の文字コードが記憶されるメモリ位置の第
15bitに「1」、第14bitに「0」を記憶させ、ま
たページメモリレジスタPMregの内容を文字コ
ードを1つ記憶させる毎に+1させる。
次にページメモリPMの内容がオーバーフロー
したかを判別し、していなければステツプS18の
制御を行う。処理部CPUは“[”即ち左カツコを
ページメモリPMに書き込む。次にページメモリ
レジスタPMregがページメモリPMへの書き込み
位置を移すため+1される。
次にステツプS20に移り、ページメモリPMが
オーバーフローしたかをページメモリレジスタ
PMregの内容が192以上かで判断する。192以上
でなければ、処理部CPUはステツプS21の制御を
行う。すなわち、第2出現頻度の“威光”をペー
ジメモリPMに書き込みページメモリレジスタ
PMregの内容を増加させる。
次にステツプS22で再びページメモリレジスタ
PMregの内容が192以上かを判別し、192以上で
なければ、次のステツプS23に移る。かかるステ
ツプS23において、同音語数が2つかを判別す
る。2つであれば、ステツプS24に示す如く右カ
ツコ「]」をページメモリPMに書き込み、ステ
ツプS25に示す如くページメモリレジスタPMreg
の内容を増加させて再びキー入力ステツプのS3
にもどる。
ステツプS23で同音語数が2つでなければ、ス
テツプS26に移る。ステツプS26において“威光”
の文字の後に、“、”をページメモリPMに書き込
み、ページメモリレジスタPMregの内容を+1
させる。
次にページメモリレジスタPMregの内容が192
以上かを判別し、YESであればステツプS9に行
く。NOであればページメモリレジスタPMregに
よつて指示されるページメモリPMの所定の位置
に同音語メモリレジスタDWMregの内容を書き
込むと共に第15bitに“0”を、第14bitに“1”
を書き込む。表示制御回路DCOTはこの情報に
より表示体CRT上で例えば*を表示する。この
書き込みを終えたら、ページメモリレジスタ
PMregの内容を増加させ、ページメモリレジス
タPMregの内容が192以上になつたかを調べる。
yesであればステツプS9に行き、NOで有れば、
ステツプS32に移る。ステツプS32において、右
カツコ即ち“]”をページメモリPMに書き込む。
処理部CPUによつて“]”がページメモリPMに
書き込まれたら、処理部CPUはページメモリレ
ジスタPMregの内容を+1し、次にページメモ
リレジスタPMregの内容が192以上かを調べ、
YESであればステツプS3に、NOであればステツ
プS35に行き、残りの同音語を同音語メモリ
DWMに書き込む。同音語メモリDWMに文字コ
ードを書き込む毎に、同音語メモリレジスタ
DWMregの内容を+1させる。したがつて“意
向”“移行”“移項”の各第2文字列が同音語メモ
リレジスタDWMregによつて指示された同音語
メモリDWMの所定の位置に記憶される。かかる
書き込みの時、“移項”の項の文字コードが記憶
されるWORDの第15bitに“1”、第14bitに“1”
を記憶させる。また、それぞれの同音語の最後の
文字コードが記憶される第15bitに“0”、第
14bitに“1”を第8図に示す如く書き込む。
上述の書き込みが終了したら、再びステツプ
S3のキー入力制御にもどろ次のキー入力を待つ。
上述の如くして第1図に示す原稿の文章が第2
図に示す如く漢字シフトキーと平仮名キーとを用
いながら機器のページメモリPMに入力され、第
3図に示す如く表示される。
次に第1文字列から第2文字列に変換された読
みで、一つの第2文字列に定められないものをチ
エツクするために、カーソルキーが操作される
と、ステツプS2の割り込み制御において、どの
キーが操作されたかを判別する。ステツプIS5で
カーソルキーが操作されたことが判別され、第1
3図にその詳細を示すカーソル制御を行う。
ステツプCS1で処理部CPUはページメモリレジ
スタPMregの内容をクリアにする。次にページ
メモリレジスタPMregの内容によつて定められ
るページメモリPMの位置を読み出し、第15bit=
1であるかを調べる。NOであれば、ステツプ
CS4に進み、ページメモリレジスタPMregの内容
を+1させ、ページメモリレジスタPMregの内
容が192以上か調べる。今の場合達していないの
で、処理部CPUはページメモリPMの次の位置の
WORDを読み出し、第15bitの状態を判別する作
業を出てくる迄繰り返す。
上述の作動を繰り返し例えば第3図に示す如き
“以降”の“以”の情報が記憶されているところ
で、第15bit=1となつておれば、処理部CPUは
ページメモリレジスタPMregの内容をポインタ
メモリPNTに移し、第10図に示すステツプS3
のキー持ち制御を行う。ステツプCS5でyesとな
るとポインタメモリをクリアしキー待ちに進む。
表示制御回路DCOTはポインタメモリPNTの
内容に応じ第3図の“以”の下にカーソル記号
CCを表示する。
上述の如く構成することにより入力した文章に
おいて第2文字列を1つに定めるべき第2文字列
のところにカーソル記号をもつてくる。
オペレータはカーソル記号を見ることにより選
択すべき個所を知る。
オペレータは次に“以降”が当面必要とする単
語がないので、NOキーを操作する。NOキーが
操作されると、割り込み制御におけるステツプ
IS8でNOキーの判別がなされ、第16図、第1
7図に示す制御を行つて、再びキー待ち制御とな
る。
NOキーが操作されると、ステツプNS1でレジ
スタQregが処理部CPUによつてクリアされ、処
理部CPUはレジスタKreg、Lreg、Mreg、
Nreg、Pregにブランクコードをセツトする。次
にステツプNS2、NS3でポインタメモリPNTの
内容がページメモリレジスタPMregレジスタ
Jregにセツトされる。
次に一つに定まらない第2文字列が何字から成
つているかを調べる為の制御を行う。まずページ
メモリレジスタPMregの内容が191になつている
かを調べる。
次にレジスタQregの内容を+1させて、ペー
ジメモリレジスタPMregの内容を+1させる。
処理部CPUは+1されたページメモリレジスタ
PMregによつて定められた文字コード(今の場
合“降”)をページメモリPMより読む。そして
読み込んだ内容が左カツコ即ち“[”であるか判
別する。
上述の制御が“[”を見つける迄繰り返される。
今の場合、レジスタQregの内容が“2”になつ
たところで“[”が見い出され、次の制御に移る。
即ち“[”“]”内の第2文字列を“[”外に出すた
め“[”“]”内の2文字列を退避させる制御であ
る。まずステツプNS9で、ページメモリPMの内
容を+1させ、“威”のドレスにさせる。そこで
処理部CPUはページメモリレジスタPMregに定
められたページメモリPMの内容を読み出し、次
のステツプNS11で処理部CPUは読み出した内容
をレジスタKregに記憶させる。
次に退避させる文字コードの数に達したかを調
べるため、処理部CPUはステツプNS12でレジス
タQregの内容を見る。Q=1でないので、ペー
ジメモリレジスタPMregの内容を確認したのち、
ページメモリレジスタPMregの内容を+1させ
る。そしてステツプNS15、NS16でページメモリ
PMの内容(光)をレジスタLに転送する。
上述の如くして“[”“]”内の“威光”がレジ
スタKreg、Lregに退避させられる。今の例は第
2文字列が2つの文字コードから成る例であつた
が、かかる実施例では5つの文字コードの第2文
字列迄取り扱うことができ、上述と同様の制御を
繰り返すことで、文字コードをレジスタMreg、
Nreg、Pregに転送する。“威光”の場合のステ
ツプNS17で、Q=2yesとなり制御はステツプ
NS18に進む。
ステツプNS18以降でページメモリレジスタ
PMregの内容を確認し、ページメモリレジスタ
PMregの内容を+1させ、かかるページメモリ
レジスタPMregの内容が右カツコ即ち“]”であ
るか判別する。2つの第2文字列があるならここ
でyes、今の場合“いこう”に該当する第2文字
列が5つあるから、ステツプNS21でNOとなり、
ステツプNS22でページメモリレジスタの内容を
確認し、ステツプNS20で読み出した内容が“、”
であるか確認する。“、”でなければ、エラーを不
図示の手段で報知させる。“、”であれば、ページ
メモリレジスタPMregの内容を+2させる。ス
テツプNS25で処理部CPUはページメモリPMな
内容を読み出し、レジスタRregに入れる。また
レジスタRregの第15bit、第14bitを0にする。か
かるステツプNS25、NS26で同音語メモリDWM
のアドレスがレジスタRregに入つたことになる。
次にステツプNS27でページメモリレジスタ
PMregの内容を増加させる。ステツプNS21で
yesであれば、ステツプNS28レジスタRregに
7FFF(16進表示)を入れる。
次にステツプNS29に進む、かかるステツプは
ページメモリレジスタPMregの内容がレジスタ
Sregに格納される。かかるデータ転送はページ
メモリレジスタの内容を退避させるためである。
次にステツプNS30でレジスタJregの内容がペ
ージメモリレジスタPMregに転送される。かか
るステツプより退避させた第2文字列のページメ
モリへの書き込みが始まる。まずステツプNS31
でレジスタRregの内容が7FFFであるか確認す
る。yesであれば、ステツプNS32でレジスタ
Kregの第15bit、第14bitが0にセツトされる。今
の場合NOであるから、ステツプNS33でレジス
タKの第15bit、第14bitはそれぞれ“1”、“0”
にセツトされる。次にレジスタKregの内容がペ
ージメモリPMの“以”の文字列があつた所に書
き込まれる。次にレジスタQregが1か否かが判
別される。今レジスタQregの内容は“[”である
からステツプNS36でページメモリレジスタ
PMregの内容が+1される。次にレジスタLreg
の第15bit、第14bitが夫々0にセツトされ、レジ
スタLregの内容がページメモリPMに書き込まれ
る。
次のステツプNS39でページメモリレジスタ
PMregの内容がレジスタSregの内容より大きい
かを判別する。yesであればNOキーの制御は終
了し、ステツプS3のキー待ち制御に進む。今の
場合NOであり、次のステツプNS40に進み、レ
ジスタQregの内容が“2”であるか判別する。
yesであるので次のステツプNS41に進む。もし
NOであれば、レジスタMreg、Nreg、Pregに第
2文字列の文字コードが入つていることを意味
し、上述の如き制御手順でそれぞれのレジスタの
内容がページメモリに書き込まれる。
ステツプNS41はレジスタRの内容が7FFFで
あるかの判別で、第1文字列を第2文字列に変換
した際2つの第2文字列があつた場合レジスタR
は前述の如く7FFFがセツトされる。したがつて
レジスタRreg=7FFFであれば、カツコ内の漢字
が当面必要とする文字であるので、ステツプ
NS42以降に示す制御を行つてNOキーの制御を
終了する。
まずページメモリレジスタPMregの内容がレ
ジスタSregの内容より大きいかを判別する。NO
であれば、ページメモリレジスタPMregの内容
を+1させ、ページメモリレジスタPMregによ
つて定められるページメモリPMなラブエウトコ
ード7FFFを書き込む。
上述のNS42、NS43、NS44がステツプNS42の
条件を満たす迄続けられる。上述の制御により例
えば第2文字列が2つしかないとき即ち帰途〔企
画〕と表示され、企図を選ぶべくNOキーが操作
されると、まず企図〔企画〕となり、次に上述の
NS42〜NS44により企図「 」「 」「 」「 」
となる。「 」はブランク表示を意味する。
ステツプNS42でyesとなると、次にカーソル記
号CCを未だ1つの文字列に定められていない次
の第2文字列に移動させる制御を行う。
まずステツプNS45で、ページメモリレジスタ
PMregの内容が191に達しているかを判別する。
NOであれば、ページメモリレジスタPMregの内
容が+1され、次にページメモリPMの内容が読
み出される。ステツプNS48で、読み出された内
容の第15bit、第14bitがそれぞれ“1”“0”で
あるかを判別する。上述のステツプNS45−NS48
が繰り返され、ステツプNS47の条件が満たされ
るとページメモリレジスタPMregの内容がポイ
ンタメモリPNTに転送される。表示制御回路
DCOTはポインタメモリPNTの内容を読み込ん
で表示体CRTの所定の位置にカーソル記号CCを
表示する。上述の制御が終ると、NOキーによる
処理が終る。
ここでステツプNS41に話をもどすと、今“い
こう”の場合、レジスタRregに7FFFが立つてい
ないから、ステツプNS51に進む。ステツプNS51
で、ページメモリレジスタPMregは+1される。
ステツプNS52で“[”がページメモリPMに書き
込まれる。次にステツプNS53に進み、処理部
CPUはページメモリレジスタPMregの内容がレ
ジスタSregの内容より大きいかを判別し、yesで
あればNOキーによる制御は終了し、NOであれ
ばステツプNS54に進む。かかるステツプでペー
ジメモリレジスタPMregの内容が+1される。
次にステツプNS26で同音語のアドレスデータが
転送されたレジスタRregの内容に応じた同音語
メモリDWMの内容、ここでは“意向”の“意”
が読み出され、その第15bit、第14bitが0にさ
れ、ページメモリレジスタPMregが示すページ
メモリPMに“意”の文字コードを書き込む。
次にステツプNS58でページメモリレジスタ
PMregの内容がレジスタSregの内容より大きい
かを判別し、NOであれば、同音語メモリDWM
より読み出した“意”の文字コードの入つている
WORDの第14bitに1が立つているかを判別す
る。“1”が立つていなければ、レジスタRregの
内容を+1させ、上述のステツプNS54〜NS59が
繰り返され、1つの第2文字列の最後の文字コー
ドが同音語メモリDWMより呼び出されると、ス
テツプNS59からNS60に進む。ステツプNS60で
yesとなれば、それは複数の第2文字列の最後の
第2文字列が読み出されたことを意味し、この
“いこう”の例であれば、“移項”である。しかし
今の場合、“向”なので、ステツプNS61に進む。
ステツプNS61で、レジスタRregの内容が+1さ
れる。次に処理部CPUはレジスタRregの第
15bit、第14bitに“1”“0”を書き込み、ペー
ジメモリレジスタPMregの内容を+1させる。
かかるページメモリPMregの内容より“、”がペ
ージメモリPMに書き込まれる。次のステツプ
NS65で再びページメモリレジスタPMregの内容
がレジスタSregより大きいかを判別する。yesで
あれば前述と同じ処理を行う。NOであれば、ペ
ージメモリレジスタPMregの内容が+1され、
ステツプNS67でレジスタRregの内容がページメ
モリPMに書き込まれ。ここの例であれば、“移
行”の“移”のアドレスが書き込まれる。
次にステツプNS68に進み、処理部CPUはペー
ジメモリレジスタPMregの内容がレジスタSreg
の内容より大きいかを判別し、yesであれば前述
ステツプNS65と同じように処理し、NOであれ
ば、ステツプNS69に進む。かかるステツプにお
いて、ページメモリレジスタPMregの内容を+
1させ、“]”をページメモリレジスタPMregに
書き込む。
上述の制御が済むとページメモリPMの内容は
以降[威光、*]→威光[意向、*]に変わる。
次のステツプNS71でページメモリレジスタ
PMregの内容はレジスタSregより大となり、NO
キーによる処理を終えて、ステツプS3のキー待
ちとなる。
以上のNOキーによる処理が終了すると表示は
前述の如く“以降”が表示から消え、“威光[意
向、*]となる。まだ目的の“移項”が“[”の
外に出て来てないので、NOキーがさらに2度押
されると、ページメモリPMの内容が移行[移
項]「 」となり、後述するYESキーを操作すれ
ば、“いこう”の選択が終了する。ここで上述の
NOキーが3度押下されたときの制御について説
明する。
“移項”の“項”が同音語メモリDWMから読
み出されたとき、ステツプNS60でyesとなりステ
ツプNS69に進む。そして同音語メモリDWMの
中には“いこう”に該当する第2文字列がないか
ら今迄“*”が表示された位置に“]”が書き込
まれる。したがつて今迄“]”が書き込まれた位
置に新しいデータを書き込むため、ステツプ
NS71、NS72、NS73の制御を行い、ラブアウト
コード7FFFをページメモリPMに書き込む。か
かるラブアウトコードは表示体CRT上ではブラ
ンクコードと同じように見えない。
上述の制御が終ればステツプS3のキー待ちと
なる。
上述の如くしてNOキーが押下され“移行”が
“[”外に出たとき、YESキーが押下されると第
15図に示す制御が行われる。まずステツプS2
でどの割り込みキーが押下されたかを判別され、
ステツプIS6、IS7と進む。YESキーが押下され、
そのキーが判別されるとステツプYS1でポインタ
メモリPNTの内容がページメモリレジスタ
PMregに転送される。かかるデータ転送により
ページメモリレジスタPMregの内容を“移”の
アドレスにもつてくる。次にページメモリレジス
タPMregの内容を“[”のアドレスにするため、
ページメモリレジスタPMregの内容を+1させ、
ページメモリPMの内容を読み出し、その内容が
“[”であるかを判別させる制御を繰り返し行う。
ステツプYS5でyesとなれば、ページメモリレジ
スタPMregの内容は“[”のアドレスとなつてお
り、“[”から“]”の不要なデータをラブアウト
コード7FFFに変える制御をステツプYS6〜YS11
において行う。かかる制御が終了すると、移行
[移項]「 」→移項「 」「 」「 」「 」「 」
となる。
次にステツプYS12において、ページメモリレ
ジスタPMregの内容が191になつたかを判別し、
NOであれば、ページメモリレジスタPMregの内
容を+1させ、ページメモリPMの内容を読み出
し、かかる読み出したWORDの第15bitが“1”
であるかを判別させる制御ステツプYS12−YS15
を繰り返し、次の未だ1つに定まらない第2文字
列の位置を探す。第3図の表示例であれば、“帰
途”の“帰”のアドレスを探す迄同じことを繰り
返し、見つかつたら、そのページメモリレジスタ
PMregの内容がポインタメモリPNTに転送さ
れ、カーソル記号CCが“帰途”の“帰”の位置
で表示される。
かかるポインタメモリPNTの処理でYESキー
の処理が全て終り、ステツプS3のキー待ち制御
に移る。なおステツプYS2、YS7、YS12でyesと
なつた場合、ポインタメモリPNTをクリアして
ステツプS3の制御に進む。
上述の如く、YESキーとNOキーを用いて一つ
に定まらない第2文字列を1つに定めたらプリン
トキーが操作される。プリントキーの操作が割り
込みの制御のステツプIS5で判別され、第14図
にその詳細を示す制御を行う。
まずステツプPS1においてページメモリレジス
タPMregの内容がクリアされる。次にメモリ
RAM内のレジスタDregがクリアされる。次にス
テツプPS3でページメモリレジスタPMregの内容
が192であるか判別される。今0であるから、ペ
ージメモリPMの内容をステツプPS4で読み出し、
ページメモリレジスタPMregの内容を+1させ
る。
次に読み出したデータがラブアウトコードかを
調べ、yesであれば、次のページメモリの内容を
読み出すため、ステツプPS3〜PS5を繰り返す。
なおブランクコードの場合は空白を印字する。
ステツプPS6でNOと出れば、ページメモリ
PMの内容を処理部CPU経由で、出力装置OUに
送り、例えば印字を行う。
次のステツプPS8でレジスタDregの内容を+
1させる。かかるレジスタDregの内容は次のス
テツプPS9で“32”になつたかを判別され、NO
であれば次の印字のデータを取り出すため、ステ
ツプPS3にもどる。
もしステツプPS9でyesであれば、印字を行の
最初の位置にもつてくるためキヤリツジターン、
ラインフイード命令を出力機器OUに出力する。
上述の制御はページメモリレジスタPMregの内
容が192となるまで行われ、192になつたとき、プ
リントキーによる処理が終了し、ステツプS3の
キー待ち制御に移る。
上述のキー操作が終了すれば、ページメモリ
PMに次の原稿の文章を入力するため、機器内の
各部の状態を初期状態にするため、イニシヤライ
ズキーが操作される。かかるイニシヤライズキー
が操作されると、ステツプS2の割り込み制御の
ステツプIS1で判別され、第12図に示す如き制
御が行われる。
まずステツプIS1で入力バツフアIBがクリアさ
れる。ステツプIS2でページメモリレジスタ
PMregがクリアされる。ステツプIS3でポインタ
メモリPNTがクリアされる。ステツプIS4で、同
音語メモリレジスタDWMregがクリアされ、ス
テツプIS5で、ページメモリPMの内容がブラン
クコードで埋められる。このとき各ワードの第
15bit、第14bitは0になつている。
なお書き込み、読み出しが行われる所はクリア
しておいた方が誤動作防止のために良い。
上述の制御が終了すれば前述の如く再び平仮名
キーと漢字シフトキーにより文章入力の操作が行
われる。
なお前述の説明において、カーソル記号CCは
第2文字列にスフトさせていく説明であつたが、
カーソルシフトキーが操作されると、以下の制御
が行われる。
ステツプCS1でポインタメモリPNTの内容が
191であるか判別され、191であれば、ステツプ
CS2でポインタメモリPNTの内容をクリアし、
カーソル記号CCを書き出しの位置に移してかか
る制御を終了する。もしステツプCS1でNOとな
れば、ポインタメモリPNTを+1させ、ステツ
プCS4に進む。かかるステツプCS4でポインタメ
モリPNTの内容のページメモリレジスタPMreg
に移してかかるカーソルシヘト制御を終了し、ス
テツプS3のキー待ち制御に進む。
以上の実施例において、カツコ内に1つの第2
文字列を表示させたが、以下のように表示させる
ことを容易にできる。
例 以降[威光、意向、*]
また以上の例において“[”“]”表示を行つた
がその表示を抑制することもできる。
例 以降威光*
また表示文字列を1つにすることもできる。
例 以降*
また表示輝度、ネガポジを反転させても良い。
第1出現の第2文字列とそれ以外とで異ならせ
る。また第2出現輝度の高い第2文字列に対して
は“[”“]”表示を行い、低い時、第1頻度のも
のだけを表示することもできる。このとき単語フ
アイルに出現輝度のデータを入れ、第1輝度と第
2輝度との比が一定の割合に有るか否かを行うよ
うにすれば実現できるだろう。
以上述べた如く本発明による文字処理装置は1
つに定まらない第2の文字を1つに定めた後、次
の選択対象の1つに定まらない第2の文字の表示
位置に選択対象の表示記号をシフトさせるように
したので、入力した文章を校正する作業が極めて
簡単に行うことができる。
尚、実施例の説明からも明らかな様に、本発明
の表示制御を、その制御を遂行する為のプログラ
ムを機器や装置に供給することにより実現できる
場合にも適用できることは言うまでも無い。
[効果]
以上、詳述した様に、本発明により、表示の指
示の操作に基づいて、仮名/漢字混じり文字列中
において、同音語を1つづつ切り換えて表示する
よう表示制御することができる文字処理方法を提
供することが可能となつた。[Table] When power starts to be supplied to the device, the initial state of each part within the device is first set. The processing unit CPU uses the control procedure stored in the control memory ROM.
For example, input buffer register in memory RAM
IBreg, page memory register PMreg, homophone memory register DWMreg, etc., then write 0 to input buffer IB and write a blank code to page memory PM. The blank code is written in the page memory because the contents of this memory are displayed on the display CRT. A blank code also appears when the interval key SK is operated. Next, it is determined whether or not any key on the keyboard KB1 has been operated, and if no key has been operated, interrupt control is not performed, and it is determined whether each key on the next keyboard KB1 has been operated. keyboard mentioned above
If the keys KB1 and KB2 are not operated, the device continues in the above state until the keys are operated. Now, when the hiragana key is operated, step S5
The processing CPU determines whether it is a kanji shift key or not.
In this case, the answer is NO, so the character code corresponding to the input hiragana key is stored in the page memory register.
Paged memory directed by the contents of PMreg
Write to PM position. After that, increment the contents of page memory register PMreg by 1 and proceed to the next step.
In S8, the processing unit CPU determines whether the contents of the page memory register PMreg are 192 or more, and if it is not 192 or more, the process returns to key input control. If the text of the manuscript shown in FIG. 1 is to be input, the kanji shift key is first operated. step
In S5, the processing unit CPU detects that the kanji shift key has been pressed, and moves to key input control in step S10. When the hiragana key of the keyboard KB1 is operated in such input control, the character code of the operated hiragana key is stored in the storage location of the input buffer IB specified by the contents of the input buffer register IBreg, as shown in step S12. Input buffer register IBreg every time a character code is memorized
The content of is increased by +1. Therefore, after the kanji shift key is operated, the hiragana key changes to ``ko'', ``n'', ``ka'', and ``i''.
When operated, each character code is stored in the input buffer IB in order. When the kanji shift key is operated again after that, the process advances from step S11 to step S13, and the first character string of "konkai" stored in the input buffer IB is transferred to the word file WF.
The keywords are compared with the processing unit CPU. The contents of the word file WF are compared with the buffer IB, and if there is a match, they are sequentially stored in registers RR1 to RRN of the memory RAM. After the above comparison is completed, the processing unit CPU determines whether the number of homophones is one, and if it is one, the two character codes of "this time" of the second character string are written to the page memory PM, The process returns to step S3 for key input control. If the kanji shift key or hiragana key is operated to input the character "transition", the following control is performed. Since the number of homophones is not one in step S14, the process moves to step S16. In step S16, the processing unit CPU reads registers RR1-- of the memory RAM.
Among the homophone character codes written in the RRN, the characters after the first appearance frequency are first written into a predetermined position of the page memory PM (the position specified by the page memory register PM). When writing again,
The first memory location where the character code for “or” is stored.
"1" is stored in the 15th bit and "0" is stored in the 14th bit, and the contents of the page memory register PMreg are incremented by 1 each time one character code is stored. Next, it is determined whether the contents of the page memory PM have overflowed, and if not, control is performed in step S18. The processing unit CPU writes "[", that is, the left cutout, to the page memory PM. Next, the page memory register PMreg is incremented by 1 in order to move the writing position to the page memory PM. Next, the process moves to step S20, and the page memory register registers whether or not the page memory PM has overflowed.
Determine whether the contents of PMreg are 192 or higher. If the number is not 192 or more, the processing unit CPU performs control in step S21. In other words, the second frequency of appearance "majesty" is written to the page memory PM and the page memory register
Increase the contents of PMreg. Next, in step S22, the page memory register is reset again.
It is determined whether the content of PMreg is 192 or more, and if it is not 192 or more, the process moves to the next step S23. In step S23, it is determined whether the number of homophones is two. If there are two, write the right bracket "]" into the page memory PM as shown in step S24, and write the page memory register PMreg as shown in step S25.
Increase the content of the key input step S3 again
Return to If the number of homophones is not two in step S23, the process moves to step S26. “Majesty” at step S26
After the character, write "," to the page memory PM, and add 1 to the contents of the page memory register PMreg.
let Next, the contents of page memory register PMreg are 192
It is determined if the above is the case, and if YES, the process goes to step S9. If NO, write the contents of the homophone memory register DWMreg to the predetermined position of the page memory PM specified by the page memory register PMreg, and set “0” to the 15th bit and “1” to the 14th bit.
Write. The display control circuit DCOT displays, for example, * on the display CRT based on this information. After completing this write, page memory register
Increase the contents of PMreg and check whether the contents of page memory register PMreg have become 192 or higher.
If yes, go to step S9, if no,
Proceed to step S32. In step S32, the right corner, ie, "]" is written into the page memory PM.
When “]” is written to the page memory PM by the processing unit CPU, the processing unit CPU increments the contents of the page memory register PMreg by 1, then checks whether the contents of the page memory register PMreg is 192 or more, and
If YES, go to step S3; if NO, go to step S35, and store the remaining homophones in the homophone memory.
Write to DWM. Every time a character code is written to the homophone memory DWM, the homophone memory register
Increase the contents of DWMreg by +1. Therefore, each of the second character strings "intention", "transition", and "transition term" is stored in a predetermined position of the homophone memory DWM indicated by the homophone memory register DWMreg. At the time of such writing, "1" is written in the 15th bit of WORD and "1" is written in the 14th bit of WORD where the character code of the "transfer item" item is stored.
to remember. In addition, the 15th bit where the last character code of each homophone is stored is “0”, and the
Write “1” to 14 bits as shown in Figure 8. When the above writing is finished, step again.
Waiting for the next key input to control S3's key input. As mentioned above, the text of the manuscript shown in Figure 1 is
As shown in the figure, it is input into the page memory PM of the device using the kanji shift key and the hiragana key, and is displayed as shown in FIG. Next, when the cursor key is operated to check the reading converted from the first character string to the second character string that is not defined in the second character string, in the interrupt control of step S2, Determine which key was operated. At step IS5, it is determined that the cursor key has been operated, and the first
Cursor control is performed, details of which are shown in Figure 3. At step CS1, the processing unit CPU clears the contents of the page memory register PMreg. Next, read the page memory PM position determined by the contents of the page memory register PMreg, and read the 15th bit =
Check whether it is 1. If NO, step
Proceed to CS4, increment the contents of the page memory register PMreg by 1, and check whether the contents of the page memory register PMreg are 192 or more. In this case, the CPU has not reached the next location of the page memory PM.
Repeat the process of reading WORD and determining the state of the 15th bit until it appears. The above operation is repeated, and if the 15th bit = 1 when the 15th bit is 1, the processing unit CPU points to the contents of the page memory register PMreg. Transfer to memory PNT and step S3 shown in Fig. 10.
Performs key holding control. If step CS5 returns yes, the pointer memory is cleared and the process proceeds to wait for a key. The display control circuit DCOT displays a cursor symbol under "Following" in Figure 3 according to the contents of the pointer memory PNT.
Show CC. By configuring as described above, the cursor symbol is brought to the second character string where the second character string should be determined as one in the input sentence. The operator knows where to select by looking at the cursor symbol. The operator then operates the NO key because there is no word that is needed for the time being. When the NO key is operated, a step in interrupt control is activated.
The NO key is determined in IS8, and Figure 16, 1
The control shown in FIG. 7 is performed, and the key wait control is resumed. When the NO key is operated, the register Qreg is cleared by the processing unit CPU at step NS1, and the processing unit CPU clears the registers Kreg, Lreg, Mreg,
Set blank codes to Nreg and Preg. Next, in steps NS2 and NS3, the contents of the pointer memory PNT are transferred to the page memory register PMreg register.
Set to Jreg. Next, control is performed to check how many characters the second character string, which is not determined to be one, consists of. First, check whether the contents of page memory register PMreg are 191. Next, the contents of register Qreg are incremented by 1, and the contents of page memory register PMreg are incremented by 1.
Processing unit CPU has +1 page memory register
Read the character code determined by PMreg (in this case, “fall”) from page memory PM. Then, it is determined whether the read content is a left cutoff, that is, "[". The above control is repeated until "[" is found.
In this case, when the contents of the register Qreg become "2", "[" is found, and the process moves to the next control.
That is, the control is to save the two character strings in "[""]" in order to move the second character string in "[""]" out of "[". First, in step NS9, the contents of the page memory PM are increased by 1 to dress it as "power". Therefore, the processing unit CPU reads the contents of the page memory PM specified in the page memory register PMreg, and in the next step NS11, the processing unit CPU stores the read contents in the register Kreg. Next, in order to check whether the number of character codes to be saved has been reached, the processing unit CPU checks the contents of the register Qreg in step NS12. Since Q is not 1, after checking the contents of page memory register PMreg,
Increase the contents of page memory register PMreg by 1. Then, page memory is set in steps NS15 and NS16.
Transfer the contents of PM (light) to register L. As described above, the "prestige" in "[" and "]" is saved to the registers Kreg and Lreg. In the current example, the second character string consists of two character codes, but in this embodiment, it is possible to handle up to a second character string with five character codes, and by repeating the same control as described above, Register the character code Mreg,
Transfer to Nreg, Preg. At step NS17 in the case of “majesty”, Q=2yes and the control goes to step NS17.
Proceed to NS18. Page memory register after step NS18
Check the contents of PMreg and page memory register
The contents of PMreg are incremented by 1, and it is determined whether the contents of the page memory register PMreg are right-clicked, that is, "]". If there are two second character strings, then yes, in this case there are five second character strings that correspond to "Let's go", so step NS21 is NO.
Check the contents of the page memory register in step NS22, and the contents read in step NS20 are “,”
Check if it is. If it is not ",", an error is notified by means not shown. If it is ",", the contents of the page memory register PMreg are increased by 2. At step NS25, the processing unit CPU reads the contents of the page memory PM and stores it in the register Rreg. Also, set the 15th bit and 14th bit of register Rreg to 0. Homophone memory DWM with such steps NS25, NS26
This means that the address has been entered into register Rreg. Next, in step NS27, the page memory register is
Increase the contents of PMreg. Step NS21
If yes, step NS28 register Rreg
Enter 7FFF (hexadecimal display). Next, proceed to step NS29, in which the contents of the page memory register PMreg are registered.
Stored in Sreg. This data transfer is to save the contents of the page memory register. Next, in step NS30, the contents of register Jreg are transferred to page memory register PMreg. From this step, writing of the saved second character string to the page memory begins. First step NS31
Check whether the contents of register Rreg is 7FFF. If yes, step NS32 registers
The 15th and 14th bits of Kreg are set to 0. In this case, the answer is NO, so at step NS33, the 15th and 14th bits of register K are set to “1” and “0”, respectively.
is set to Next, the contents of the register Kreg are written into the page memory PM at the location where the character string "below" is located. Next, it is determined whether the register Qreg is 1 or not. Now, the contents of register Qreg is “[”, so in step NS36, page memory register
The contents of PMreg are increased by +1. Then register Lreg
The 15th and 14th bits of the register Lreg are set to 0, respectively, and the contents of the register Lreg are written to the page memory PM. Page memory register in next step NS39
Determine whether the contents of PMreg are larger than the contents of register Sreg. If yes, NO key control ends and the process advances to step S3, key wait control. In this case, the answer is NO, and the process advances to the next step NS40, where it is determined whether the contents of the register Qreg are "2".
Since the answer is yes, proceed to the next step NS41. if
If NO, it means that the character code of the second character string is stored in the registers Mreg, Nreg, and Preg, and the contents of the respective registers are written to the page memory using the control procedure described above. Step NS41 is to determine whether the contents of register R are 7FFF.If there are two second character strings when converting the first character string to the second character string, register R
is set to 7FFF as described above. Therefore, if register Rreg = 7FFF, the kanji in the bracket is the character that is needed for the time being, so the step
Perform the control shown after NS42 to end the NO key control. First, it is determined whether the contents of page memory register PMreg are larger than the contents of register Sreg. NO.
If so, the contents of the page memory register PMreg are incremented by 1, and the page memory PM loveout code 7FFF determined by the page memory register PMreg is written. The above-mentioned NS42, NS43, and NS44 are continued until the conditions of step NS42 are satisfied. By the above control, for example, when there are only two second character strings, ie, on the way home [project] is displayed, and when the NO key is operated to select a project, the display first becomes project [plan], and then the above-mentioned character string is displayed.
Planned by NS42~NS44
becomes. "" means blank display. If yes in step NS42, control is performed to move the cursor symbol CC to the next second character string that has not yet been defined as one character string. First, in step NS45, page memory register
Determine whether the contents of PMreg have reached 191.
If NO, the contents of the page memory register PMreg are incremented by 1, and then the contents of the page memory PM are read out. At step NS48, it is determined whether the 15th bit and 14th bit of the read content are "1" or "0", respectively. Steps NS45-NS48 mentioned above
is repeated, and when the condition of step NS47 is satisfied, the contents of page memory register PMreg are transferred to pointer memory PNT. display control circuit
The DCOT reads the contents of the pointer memory PNT and displays a cursor symbol CC at a predetermined position on the display CRT. When the above-mentioned control is completed, the processing by the NO key is completed. Returning to step NS41, if you select "Let's go" now, 7FFF is not set in register Rreg, so proceed to step NS51. Step NS51
Then, the page memory register PMreg is incremented by 1.
At step NS52, “[” is written to page memory PM. Next, proceed to step NS53, where the processing section
The CPU determines whether the contents of the page memory register PMreg are larger than the contents of the register Sreg, and if yes, the control by the NO key ends, and if no, the process proceeds to step NS54. In this step, the contents of the page memory register PMreg are incremented by 1.
Next, in step NS26, the contents of the homophone memory DWM correspond to the contents of the register Rreg to which the homophone address data was transferred, in this case, the “intention” of “intention”.
is read out, its 15th and 14th bits are set to 0, and a character code of "I" is written into the page memory PM indicated by the page memory register PMreg. Next, in step NS58, the page memory register is
Determine whether the contents of PMreg are greater than the contents of register Sreg, and if NO, homophone memory DWM
Contains the character code for “meaning” read from
Determine whether 1 is set in the 14th bit of WORD. If "1" is not set, the contents of register Rreg are incremented by 1, and steps NS54 to NS59 described above are repeated. When the last character code of one second character string is called from the homophone memory DWM, step NS59 is executed. Proceed to NS60. With step NS60
If yes, it means that the last second character string of the plurality of second character strings has been read out, and in this example of "Let's go", it is a "transition term". However, in this case, it is "toward", so proceed to step NS61.
At step NS61, the contents of register Rreg are incremented by 1. Next, the processing unit CPU
Write “1” and “0” to the 15th bit and the 14th bit, and increase the contents of the page memory register PMreg by 1.
From the contents of the page memory PMreg, "," is written to the page memory PM. next step
NS65 again determines whether the contents of page memory register PMreg are larger than register Sreg. If yes, perform the same processing as above. If NO, the contents of page memory register PMreg are incremented by 1,
At step NS67, the contents of register Rreg are written to page memory PM. In this example, the address of "migration" of "migration" is written. Next, the process advances to step NS68, where the processing unit CPU transfers the contents of page memory register PMreg to register Sreg.
If it is yes, it is processed in the same manner as in step NS65, and if it is no, it proceeds to step NS69. In this step, the contents of the page memory register PMreg are
1 and writes “]” to the page memory register PMreg. After the above control is completed, the contents of the page memory PM change from [Prestige, *] to Prestige [Intention, *]. Page memory register in next step NS71
The contents of PMreg are greater than register Sreg and NO
After completing the process using the key, the process waits for the key in step S3. When the above processing with the NO key is completed, the display will disappear from the display as described above, and the message will be "Prestige [intention, *]." The desired "transfer" has not yet appeared outside of "[". Therefore, when the NO key is pressed twice more, the contents of the page memory PM become "transition", and when the YES key, which will be described later, is operated, the selection of "Let's go" is completed. Here the above
The control when the NO key is pressed three times will be explained. When the "term" of the "transfer term" is read out from the homophone memory DWM, the result is yes in step NS60, and the process proceeds to step NS69. Since there is no second character string corresponding to "Ikou" in the homophone memory DWM, "]" is written in the position where "*" has been displayed up until now. Therefore, in order to write new data to the position where "]" has been written so far, the step
Controls NS71, NS72, and NS73 and writes love out code 7FFF to page memory PM. Such a love-out code does not appear on a display CRT in the same way as a blank code. When the above-mentioned control is completed, the process waits for a key at step S3. As described above, when the NO key is pressed and "transfer" is out of "[", when the YES key is pressed, the control shown in FIG. 15 is performed. First step S2
determines which interrupt key was pressed,
Proceed to steps IS6 and IS7. YES key is pressed,
When that key is determined, the contents of pointer memory PNT are transferred to the page memory register in step YS1.
Transferred to PMreg. This data transfer brings the contents of the page memory register PMreg to the "transfer" address. Next, to set the contents of page memory register PMreg to the address “[”,
Increase the contents of page memory register PMreg by 1,
Control is repeatedly performed to read the contents of the page memory PM and determine whether the contents are "[".
If yes in step YS5, the contents of page memory register PMreg are the address of "[", and steps YS6 to YS11 control to change unnecessary data from "[" to "]" to loveout code 7FFF.
It will be carried out in When such control is completed, the transition [transfer term] “ ”→transfer term “ ” “ ” “ ” “ ” “ ”
becomes. Next, in step YS12, it is determined whether the contents of the page memory register PMreg have become 191.
If NO, the contents of the page memory register PMreg are incremented by 1, the contents of the page memory PM are read, and the 15th bit of the read WORD is “1”.
Control steps YS12-YS15 to determine whether
is repeated to find the next position of the second character string that cannot be determined yet. In the display example shown in Figure 3, the same process is repeated until the address of "return" is found, and when it is found, the page memory register
The contents of PMreg are transferred to the pointer memory PNT, and the cursor symbol CC is displayed at the "return" position of "return". With the processing of the pointer memory PNT, all YES key processing is completed, and the process moves to key wait control in step S3. Note that if the answer is yes at steps YS2, YS7, and YS12, the pointer memory PNT is cleared and control proceeds to step S3. As described above, the print key is operated after the undefined second character string is determined to be one using the YES key and the NO key. The operation of the print key is determined at step IS5 of interrupt control, and the control shown in detail in FIG. 14 is performed. First, in step PS1, the contents of page memory register PMreg are cleared. then memory
Register Dreg in RAM is cleared. Next, in step PS3, it is determined whether the contents of the page memory register PMreg are 192 or not. Since it is now 0, read the contents of page memory PM in step PS4,
Increase the contents of page memory register PMreg by 1. Next, it is checked whether the read data is a love-out code, and if yes, steps PS3 to PS5 are repeated to read the contents of the next page memory.
In the case of a blank code, a blank is printed. If NO is returned in step PS6, the page memory
The contents of PM are sent to the output device OU via the processing unit CPU, and are printed, for example. In the next step PS8, the contents of register Dreg are +
Make it 1. It is determined in the next step PS9 whether the contents of the register Dreg has become “32” and NO
If so, return to step PS3 to retrieve the next print data. If step PS9 is yes, the carriage turn is
Output the line feed command to the output device OU.
The above control is continued until the contents of the page memory register PMreg reach 192, at which point the print key processing is completed and the process moves to key wait control in step S3. When the above key operations are completed, the page memory
In order to input the text of the next manuscript into the PM, the initialize key is operated to initialize the state of each part within the device. When such an initialize key is operated, it is determined in step IS1 of interrupt control in step S2, and control as shown in FIG. 12 is performed. First, the input buffer IB is cleared in step IS1. Page memory register at step IS2
PMreg is cleared. Pointer memory PNT is cleared at step IS3. In step IS4, the homophone memory register DWMreg is cleared, and in step IS5, the contents of the page memory PM are filled with a blank code. At this time, the number of each word is
The 15th bit and the 14th bit are 0. Note that it is better to clear the areas where writing and reading are performed to prevent malfunctions. When the above control is completed, the text input operation is performed again using the hiragana key and the kanji shift key as described above. In addition, in the above explanation, the cursor symbol CC was explained to be moved to the second character string, but
When the cursor shift key is operated, the following controls are performed. At step CS1, the contents of pointer memory PNT are
191, and if it is 191, the step
Clear the contents of pointer memory PNT with CS2,
The control is ended by moving the cursor symbol CC to the writing start position. If the answer is NO at step CS1, the pointer memory PNT is incremented by 1 and the process proceeds to step CS4. In such step CS4, the page memory register PMreg of the contents of pointer memory PNT is
The cursor shift control is terminated and the process proceeds to step S3, key wait control. In the above embodiment, one second
Although we have displayed a character string, it can be easily displayed as shown below. Examples From now on, [prestige, intention, *] Also, in the above example, "[""]" was displayed, but the display can also be suppressed. Example: From here on, majesty* You can also display only one character string. Examples:* You may also invert the display brightness and negative/positive. The second character string of the first occurrence is made different from the others. It is also possible to display "[""]" for the second character string with a high second appearance brightness, and to display only the first character string when the second appearance brightness is low. At this time, it may be possible to realize this by inputting the data of the appearance brightness into the word file and checking whether the ratio of the first brightness to the second brightness is a certain ratio. As described above, the character processing device according to the present invention has 1
After setting the second character that is not determined as one, the display symbol of the selection target is shifted to the display position of the second character that is not determined as one of the next selection targets, so the input text The work of calibrating can be done extremely easily. As is clear from the description of the embodiments, it goes without saying that the display control of the present invention can also be applied to cases where the display control of the present invention can be realized by supplying a program for performing the control to equipment or devices. [Effects] As described in detail above, according to the present invention, it is possible to control the display so that homophones are switched and displayed one by one in a character string containing mixed kana/kanji based on the operation of display instructions. It has become possible to provide a character processing method.
第1図は本発明による文字処理装置を説明する
ための原稿を示す図、第2図は第1図に示す原稿
の文章を装置に入力するためのキー操作順序を示
す図、第3図は第2図に示されるキー操作によつ
て入力された文章の表示を示す図、第4図は本発
明による実施例のブロツク図、第5図は第4図に
示すキーボードKB1,KB2の外観図、第6図
は第4図に示すページメモリPM内のデータ配列
図、第7図は第4図に示す単語フアイルWF内の
データ配列図、第8図は第4図に示す同音語メモ
リDWM内のデータ配列図、第9図は第4図に示
すメモリRAMの詳細図、第10図は第4図に示
すブロツク図の制御手順を示す図、第11図は第
10図に示す割込み制御を説明する図、第12図
にイニシヤライズキーINTKによつて処理される
制御説明図、第13図のカーソルキーCKによつ
て処理される制御説明図、第14図はプリントキ
ーPKによつて処理される制御説明図、第15図
はYESキーYESKによつて処理される制御説明
図、第16図、第17図はNOキーNOKによつ
て処理される制御説明図、第18図はカーソルシ
フトキーCSKによつて処理される制御説明図で
ある。
RM……ページメモリ、SDM……同音語メモ
リ。
FIG. 1 is a diagram showing a manuscript for explaining the character processing device according to the present invention, FIG. 2 is a diagram showing the sequence of key operations for inputting the text of the manuscript shown in FIG. 1 into the device, and FIG. Fig. 2 is a diagram showing the display of sentences input by key operations, Fig. 4 is a block diagram of an embodiment of the present invention, and Fig. 5 is an external view of the keyboards KB1 and KB2 shown in Fig. 4. , Fig. 6 is a data arrangement diagram in the page memory PM shown in Fig. 4, Fig. 7 is a data arrangement diagram in the word file WF shown in Fig. 4, and Fig. 8 is a data arrangement diagram in the homophone memory DWM shown in Fig. 4. Figure 9 is a detailed diagram of the memory RAM shown in Figure 4, Figure 10 is a diagram showing the control procedure of the block diagram shown in Figure 4, and Figure 11 is the interrupt control shown in Figure 10. Fig. 12 is an explanatory diagram of the control processed by the initialize key INTK, Fig. 13 is an explanatory diagram of the control processed by the cursor key CK, and Fig. 14 is an explanatory diagram of the control processed by the print key PK. Fig. 15 is an explanatory diagram of the control processed by the YES key YESK, Figs. 16 and 17 are illustrations of the control processed by the NO key NOK, and Fig. 18 is an explanatory diagram of the control processed by the NO key NOK. FIG. 3 is an explanatory diagram of control processed by a cursor shift key CSK. RM...Page memory, SDM...Homophone memory.
Claims (1)
いて、入力された読み情報に対応して変換される
仮名/漢字混じり文字列を表示するようにし、 前記表示される仮名/漢字混じり文字列は、変
換候補としての文字列が同音語によつて1つに定
まらない場合でも第1の候補文字列で構成されて
おり、 前記仮名/漢字混じり文字列中の複数の箇所で
前記同音語の内の第1の候補文字列が表示されて
いる状態において、 前記複数の箇所の内の1つが指定された後の、
次候補表示の指示操作に基づいて、前記指定され
た箇所に表示されている前記第1の候補文字列の
代わりに前記同音語の内の第2の候補文字列を表
示し、 前記次候補表示の指示の、更なる複数回の操作
に基づいて、前記仮名/漢字混じり文字列中にお
ける前記指定された箇所において、更なる同音語
を1つづつ切り換えて表示するように表示制御す
ることを特徴とする文字処理方法。[Scope of Claims] 1. Following the displayed kana/kanji mixed character string, a kana/kanji mixed character string that is converted in accordance with the input reading information is displayed, and the displayed kana/kanji mixed character string is displayed. The /Kanji mixed character string is composed of the first candidate character string even if the character string as a conversion candidate cannot be determined as one due to homophones, and multiple places in the above Kana/Kanji mixed character string are formed. In a state where the first candidate character string among the homophones is displayed, after one of the plurality of locations is specified,
Displaying a second candidate character string among the homophones in place of the first candidate character string displayed in the specified location based on the next candidate display instruction operation, and displaying the next candidate character string. Display control is performed so that further homophones are switched and displayed one by one at the specified location in the kana/kanji mixed character string based on a plurality of further operations of the instruction. Character processing method.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63018803A JPS63211457A (en) | 1988-01-29 | 1988-01-29 | Character processor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63018803A JPS63211457A (en) | 1988-01-29 | 1988-01-29 | Character processor |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP60234270A Division JPS6194174A (en) | 1985-10-18 | 1985-10-18 | document processing device |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP4230279A Division JPH05242078A (en) | 1992-08-28 | 1992-08-28 | Processing method for character |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS63211457A JPS63211457A (en) | 1988-09-02 |
| JPH0480422B2 true JPH0480422B2 (en) | 1992-12-18 |
Family
ID=11981748
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63018803A Granted JPS63211457A (en) | 1988-01-29 | 1988-01-29 | Character processor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS63211457A (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3058423B2 (en) * | 1989-09-25 | 2000-07-04 | シャープ株式会社 | Document processing device |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| SE7404130L (en) * | 1973-03-30 | 1974-10-01 | ||
| JPS52115127A (en) * | 1976-03-23 | 1977-09-27 | Mitsubishi Electric Corp | Preparation and inputting system of japanese sentence in display unit |
| JPS5927931B2 (en) * | 1976-07-09 | 1984-07-09 | 株式会社東芝 | Japanese text input device |
-
1988
- 1988-01-29 JP JP63018803A patent/JPS63211457A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS63211457A (en) | 1988-09-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS6077222A (en) | Terminal equipment for processing many kinds of characters | |
| JP4077959B2 (en) | Character processing apparatus and method, and storage medium storing the program | |
| JPH0480422B2 (en) | ||
| JPS5866140A (en) | Word processor | |
| JPS5948413B2 (en) | character processing device | |
| JPH05242078A (en) | Processing method for character | |
| JP2956702B2 (en) | Romaji Kana conversion method | |
| JPH0242565A (en) | Character display method | |
| JPH0250254A (en) | Character display method | |
| JPS6260657A (en) | character processing device | |
| JPS6194174A (en) | document processing device | |
| JP2878461B2 (en) | Document input device | |
| JPS61294533A (en) | Japanese word processor | |
| JPS6218952B2 (en) | ||
| JPH0122944B2 (en) | ||
| JPS63121967A (en) | Japanese word processor | |
| JPH04133165A (en) | Kana/kanji converter | |
| JPS6326766A (en) | Kana-kanji conversion device | |
| JPS59117621A (en) | Document editing and proofreading system | |
| JPS6376055A (en) | Original word/translated word display system in document forming device | |
| JP2002297298A (en) | Document input system using keyboard and electronic equipment equipped with the same | |
| JPH01144158A (en) | Input system for chinese sentence | |
| JPH04133166A (en) | Kana/kanji converter | |
| JPS63198156A (en) | Document producing device | |
| JPS61134865A (en) | Japanese input processing device |