JPS6311712B2 - - Google Patents

Info

Publication number
JPS6311712B2
JPS6311712B2 JP60103069A JP10306985A JPS6311712B2 JP S6311712 B2 JPS6311712 B2 JP S6311712B2 JP 60103069 A JP60103069 A JP 60103069A JP 10306985 A JP10306985 A JP 10306985A JP S6311712 B2 JPS6311712 B2 JP S6311712B2
Authority
JP
Japan
Prior art keywords
conversion
kana
character
input
kanji
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
Application number
JP60103069A
Other languages
Japanese (ja)
Other versions
JPS61262880A (en
Inventor
Shin Mikuni
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP60103069A priority Critical patent/JPS61262880A/en
Publication of JPS61262880A publication Critical patent/JPS61262880A/en
Publication of JPS6311712B2 publication Critical patent/JPS6311712B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、仮名入力文字を漢字混じり文に変換
する日本語ワードプロセツサ等の仮名漢字変換処
理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a kana-kanji conversion processing device such as a Japanese word processor that converts input kana characters into sentences containing kanji.

〔従来の技術〕[Conventional technology]

従来、単漢字変換辞書を用い、最長一致法によ
り仮名入力文を漢字に変換する仮名漢字変換処理
装置に於いては、予め設定された最長文字単位
数、例えば5文字を最長単位として、候補漢字が
検索されるまで、変換対象となる仮名文字列を1
文字単位で順次短かくしてゆき、その都度候補漢
字を検索する構成であり、候補漢字を検索する
と、該当する仮名文字の表示を消去してそこに候
補漢字を表示している。
Conventionally, in a kana-kanji conversion processing device that uses a single kanji conversion dictionary and converts an input kana sentence into kanji using the longest match method, candidate kanji are selected using a preset maximum number of characters, for example, 5 characters, as the longest unit. The kana string to be converted is
The system shortens each character one by one and searches for candidate kanji each time. When a candidate kanji is searched, the display of the corresponding kana character is erased and the candidate kanji is displayed in its place.

ところで、このような最長一致法による変換法
においては、先頭文字のみが仮名文字である変換
候補を簡単に得ることができない。例えば仮名文
字列「およろこびになり」を「お喜びになり、」
と仮名漢字変換したい場合、上記仮名文字列「お
よろこびになり、」をそのまま変換対象とすると、
変換過程において、「およ」が変換対象文字とな
つて、「及ろこびになり、」と変換され表示され
る。
By the way, in such a conversion method using the longest match method, it is not possible to easily obtain conversion candidates in which only the first character is a kana character. For example, the kana character string ``Ojokobi ni Nari'' becomes ``Ojojo ni Nari,''.
If you want to convert kana to kanji, if you use the above kana string ``Ojokobi ni Nari,'' as the conversion target,
In the conversion process, ``Oyo'' becomes the character to be converted and is converted and displayed as ``Andorokobi ni ni.''.

このような場合、従来では次に示す2つの方法
で所望する漢子混じり文を得ている。第1の方法
として、カーソルを先頭文字「お」の桁位置に移
動して、特定のキー操作により、上記カーソルで
指定した文字を変換対象から除外し、その後に変
換指定を行なう、所謂、部分無変換方式による方
法。第2の方法として、特開昭55―153036号公報
あるいは特開昭57―187731号公報に開示されるよ
うに、入力された仮名文字列に対して、その変換
領域の開始端及び終了端の各桁位置をカーソルで
指定し、その後に変換指定を行なう、所謂、変換
領域指定方式による方法。
In such cases, conventionally, the desired sentence containing Chinese and Chinese characters has been obtained using the following two methods. The first method is to move the cursor to the digit position of the first character "O" and use a specific key operation to exclude the character specified by the cursor from the conversion target, and then specify the conversion. Method using no conversion method. As a second method, as disclosed in JP-A-55-153036 or JP-A-57-187731, for an input kana character string, the start and end ends of the conversion area are A method using the so-called conversion area specification method, in which each digit position is specified with a cursor, and then conversion is specified.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかしながら、上述した2つの方法は何れの場
合に於いても、変換の流れが分断され、操作が繁
雑であることから、文書作成作業が能率よく迅速
に行なえないという問題があつた。
However, in both of the above two methods, the flow of conversion is divided and the operations are complicated, so there is a problem that document creation cannot be performed efficiently and quickly.

本発明は、入力した仮名文字列の先頭文字が仮
名文字である変換候補を容易に得ることができる
ようにすることにより、所望の漢字混じり文を容
易かつ迅速に作成することのできる仮名漢字変換
処理装置を提供することを目的とする。
The present invention provides a kana-kanji conversion that allows a desired kanji-mixed sentence to be easily and quickly created by easily obtaining conversion candidates in which the first character of an input kana character string is a kana character. The purpose is to provide processing equipment.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、仮名漢字変換辞書と、仮名文字列を
入力する入力手段と、仮名漢字変換を指示する変
換指示手段と、該変換指示手段により起動され、
上記入力手段により入力された仮名文字列の先頭
から所定数の仮名文字列を最長として変換対象と
なる仮名文字列を順次短くして対応する変換候補
を上記辞書内より検索する検索手段と、該検索手
段により検索された変換候補を表示する表示手段
とを備えた仮名漢字変換処理装置において、入力
された仮名文字列の無変換を指示する無変換指示
手段と、該無変換指示手段による指示時に、上記
変換指示手段による変換指示後であるか否かを検
出する検出手段と、該検出手段により変換指示後
であると検出された際に、上記入力手段により入
力された仮名文字列の先頭文字を変換対象から除
外し、次の入力文字を先頭とする仮名文字列を変
換対象として上記検索手段に起動をかける変換処
理手段とを備えてなる。
The present invention is activated by a kana-kanji conversion dictionary, an input means for inputting a kana character string, a conversion instruction means for instructing kana-kanji conversion, and the conversion instruction means,
a search means for searching the dictionary for a corresponding conversion candidate by sequentially shortening the kana character string to be converted, with a predetermined number of kana character strings as the longest starting from the beginning of the kana character string input by the input means; A kana-kanji conversion processing device comprising: a display means for displaying conversion candidates searched by the search means; a no-conversion instruction means for instructing non-conversion of an input kana character string; , a detecting means for detecting whether or not the conversion has been instructed by the conversion instructing means; and a first character of the kana character string input by the input means when the detecting means detects that the conversion has been instructed. conversion processing means that excludes from the conversion target and activates the search means with the kana character string starting with the next input character as the conversion target.

〔作用〕[Effect]

本発明の作用について説明すると、所望の漢字
混じり文を作成するため、それに対応する仮名文
字列を入力手段により入力する。続いて、変換指
示手段である変換キーを操作して仮名漢字変換を
指示すると、検索手段が起動され、この検索手段
は入力された仮名文字列の先頭から所定数の仮名
文字列を最長として変換対象となる仮名文字列を
順次短くして変換候補を仮名漢字変換辞書内より
検索する。そしてその検索された変換候補は表示
手段にて表示される(所謂、最長一致法による仮
名漢字変換方式)。このような変換方式の場合、
変換候補の少なくとも先頭文字は必ず漢字候補で
あり、この候補で良ければ変換候補を確定し、次
の仮名漢字変換処理に移ることになる。一方、変
換候補の先頭文字については仮名文字のままに
し、2文字目以降を漢字に変換したい場合(例え
ば、「お喜びになり」等の場合)もある。このよ
うな場合、変換指示手段における指示により変換
候補が表示手段に表示されている状態において無
変換指示手段である無変換キーを操作する。する
と検出手段は変換指示手段による変換指示後であ
るか否かを検出し、変換指示後であることが検出
されると、変換処理手段は入力された仮名文字列
の先頭文字を変換対象から除外し、次の入力文字
を先頭とする仮名文字列を変換対象として上述し
た検索手段に再度起動をかける。その結果変換候
補の先頭文字は仮名文字のままで確定し、2文字
目以降について新たな漢字変換が自動的に行なわ
れ、所望する漢字混じり文が簡単に作成できる。
To explain the operation of the present invention, in order to create a desired sentence containing kanji, a corresponding kana character string is inputted using an input means. Next, when the conversion instruction means (conversion key) is operated to instruct kana-kanji conversion, a search means is activated, and this search means converts a predetermined number of kana character strings from the beginning of the input kana character string as the longest. Search for conversion candidates in the kana-kanji conversion dictionary by sequentially shortening the target kana character string. The searched conversion candidates are then displayed on the display means (so-called Kana-Kanji conversion method using the longest match method). For such a conversion method,
At least the first character of the conversion candidates is always a kanji candidate, and if this candidate is acceptable, the conversion candidate is determined and the process moves on to the next kana-kanji conversion process. On the other hand, there may be cases where it is desired to leave the first character of the conversion candidate as a kana character and convert the second and subsequent characters into kanji (for example, in the case of "Ojoisanari"). In such a case, the no-conversion key, which is the no-conversion instruction means, is operated while the conversion candidates are displayed on the display means according to an instruction from the conversion instruction means. Then, the detection means detects whether or not the conversion has been instructed by the conversion instruction means, and if it is detected that the conversion has been instructed, the conversion processing means excludes the first character of the input kana character string from the conversion target. Then, the above-mentioned search means is activated again with the kana character string starting with the next input character as the conversion target. As a result, the first character of the conversion candidate is fixed as a kana character, and new kanji conversion is automatically performed for the second and subsequent characters, making it easy to create a desired sentence containing kanji.

〔実施例〕〔Example〕

(1) 構成 第1図は本発明による一実施例の構成を示すブ
ロツク図である。
(1) Configuration FIG. 1 is a block diagram showing the configuration of an embodiment according to the present invention.

図中、10は装置全体の制御、並びに後述する
仮名漢字変換処理を含む各種の文書処理を行なう
CPUであり、仮名漢字変換時に於いて第2図に
示すような処理を実行する。11は文書入力のた
めの仮名文字キー、更には各種のフアクシヨンキ
ー等を備えたキーボードであり、ここでは漢字混
じり文の入力時に操作されるフアンクシヨンキー
として、入力文字が仮名漢字変換対象外の文字で
あることを指示する「無変換」キー、仮名漢字変
換を指定し又は次候補を選択する「変換/次候
補」キー等が用意され、又、表示された候補文字
群からその一つを選択するための指定キーとし
て、ここでは数字キーが用いられる。
In the figure, 10 controls the entire device and performs various document processing including kana-kanji conversion processing, which will be described later.
It is a CPU and executes the processing shown in Figure 2 during kana-kanji conversion. Reference numeral 11 denotes a keyboard equipped with kana character keys for inputting documents, as well as various function keys, etc. Here, the function keys operated when inputting sentences containing kanji are used to input characters that are not subject to kana-kanji conversion. There are a "no conversion" key to specify the character to be converted, a "conversion/next candidate" key to specify the kana-kanji conversion or select the next candidate, and select one from the displayed candidate character group. Here, numeric keys are used as designation keys to do this.

12は仮名漢字変換時に於いてCPU10によ
り参照される漢字辞書12である。13は入力及
び編集文書を表示する表示部であり、ここでは2
行表示のLCDで構成され、仮名漢字変換時に於
いては、第1行に、仮名漢字変換後の文字と変換
中の入力文字と変換前の入力文字(仮名文字)と
が表示され、第2行に候補文字が表示される。こ
の際、同実施例に於いては、変換中の入力文字を
アンダーラインで表示し、変換前の入力文字(仮
名文字)を反転表示(図では斜線で示す)するも
のとする。又、ここでは表示部13の各文字桁位
置(ここでは10桁とする)に数字を付し、数値キ
ーの操作による桁指定によつて単漢字辞書検索時
に於ける候補漢字の一つを選択する構成としてい
る。
Reference numeral 12 denotes a kanji dictionary 12 that is referred to by the CPU 10 during kana-kanji conversion. 13 is a display section that displays input and edited documents;
Consists of a line display LCD. During kana-kanji conversion, the first line displays the characters after kana-kanji conversion, the input characters being converted, and the input characters (kana characters) before conversion. Suggested characters are displayed on the line. At this time, in this embodiment, the input character being converted is displayed underlined, and the input character (kana character) before conversion is displayed in reverse (indicated by diagonal lines in the figure). In addition, a number is attached to each character digit position (in this case, 10 digits) on the display section 13, and one of the candidate kanji characters in a single kanji dictionary search is selected by specifying the digit by operating the numerical keys. It is configured to do this.

14は上記表示部13をドライブ制御する表示
ドライバ、15は上記表示部13に表示出力され
る表示データを貯える表示メモリ、16は文書を
印刷出力する印字部、17は同印字部16を制御
する印字制御部である。
14 is a display driver that controls the drive of the display unit 13; 15 is a display memory that stores display data to be displayed on the display unit 13; 16 is a print unit that prints out a document; 17 is a control unit that controls the print unit 16. This is a print control section.

18乃至21はそれぞれCPU10のメモリバ
スにつながる記憶部であり、それぞれCPU10
によりアクセス制御されるもので、18は入力さ
れた文字列を貯える入力バツフア、19は文書情
報を貯える文書メモリ、20はキヤラクタジエネ
レータ、及び第2図に示すような辞書検索による
仮名漢字変換を含む各種の制御プログラム等が格
納されたROMである。又、21はCPU10の作
業用RAMであり、仮名漢字変換処理に関して
は、仮名漢字変換指定がなされた際、即ち入力さ
れた変換対象となる仮名文字列に対して「変換/
次候補」キーの操作が第1回目の操作である際に
“0”となり、新たな仮名文字の入力操作により
“1”となるフラグレジスタF1、入力バツフア
18に入力されている文字数を貯える入力文字数
レジスタINC、変換対象となる仮名文字(コー
ド)を貯える変換対象文字レジスタHER、検索
された候補文字(コード)を貯える候補文字レジ
スタKAN、変換対象となる仮名文字の数(ここ
では1回の変換対象文字数を最大8文字とする)
を貯える変換対象文字数レジスタHEN、選択さ
れた文字(コード)を貯える選択文字レジスタ
COK、文書メモリ19内の入力文(テキスト)
格納先の先頭アドレスを貯える文書メモリアドレ
スレジスタTXA、上記「変換/次候補」キー操
作前の「無変換」キーの操作で“1”となるフラ
グレジスタF2、入力バツフア18に変換対象文
字が残つている際に「改行」キーが操作されると
“1”になるフラグレジスタF3等が用意される。
第2図は、上記実施例に於ける仮名漢字変換処理
フローを示すフローチヤートである。
18 to 21 are storage units connected to the memory bus of the CPU 10, respectively;
18 is an input buffer for storing input character strings, 19 is a document memory for storing document information, 20 is a character generator, and kana-kanji conversion by dictionary search as shown in Figure 2. This is a ROM that stores various control programs, etc. Further, 21 is a working RAM of the CPU 10, and regarding the kana-kanji conversion process, when the kana-kanji conversion is specified, that is, the input kana character string to be converted is
An input that stores the number of characters input to the flag register F1 and input buffer 18, which becomes "0" when the "Next Candidate" key is operated for the first time, and becomes "1" when a new kana character is input. Character count register INC, conversion target character register HER that stores the kana characters (codes) to be converted, candidate character register KAN that stores the searched candidate characters (codes), number of kana characters to be converted (here, one (Maximum number of characters to be converted is 8 characters)
conversion target character count register HEN that stores , selected character register that stores selected characters (codes)
COK, input sentence (text) in document memory 19
Document memory address register TXA stores the start address of the storage destination, flag register F2 becomes "1" when the "no conversion" key is pressed before the "conversion/next candidate" key is pressed, and characters to be converted remain in the input buffer 18. A flag register F3, etc., which becomes "1" when the "line feed" key is operated while the line is on, is prepared.
FIG. 2 is a flowchart showing the flow of the kana-kanji conversion process in the above embodiment.

(2) 動作 キーボード11の文字キー操作により漢字混じ
り文が仮名入力されると、CPU10の制御の下
に、その入力された仮名文字が順次入力バツフア
18に貯えられるとともに、表示メモリ15上に
ドツト展開されて表示部13に表示され、又、そ
の際の入力バツフア18への入力文字数が作業用
RAM21内の入力文字数レジスタINCに貯えら
れる。
(2) Operation When a sentence containing kanji is input in kana by operating the character keys on the keyboard 11, the input kana characters are sequentially stored in the input buffer 18 and dotted on the display memory 15 under the control of the CPU 10. It is expanded and displayed on the display unit 13, and the number of characters input to the input buffer 18 at that time is
It is stored in the input character count register INC in RAM21.

仮名漢字変換時に於いては、キーボード11の
文字キー入力により変換対象となる仮名文字列を
入力した後、同キーボード11上の「変換/次候
補」キーを操作する。これにより、CPU10の
制御の下に第2図に示すような仮名漢字変換処理
が開始されるもので、以下にその具体的な動作に
ついて説明する。
At the time of kana-kanji conversion, after inputting a kana character string to be converted by inputting the character keys on the keyboard 11, the "conversion/next candidate" key on the same keyboard 11 is operated. As a result, the kana-kanji conversion process as shown in FIG. 2 is started under the control of the CPU 10, and its specific operation will be explained below.

先ず、キーボード11上に設けられた「変換/
次候補」キーを操作することにより、第2図ステ
ツプSIに於いて、作業用RAM21内のフラグレ
ジスタF1の内容が判断される。ここで上記フラ
グレジスタF1の内容が“1”で、第1回目の
「変換/次候補」キー操作であることが判断され
ると、ステツプS2に於いて、上記フラグレジス
タF1の内容が“0”に書き換えられ、ステツプ
S3に於いて、作業用RAM21内の入力文字数
レジスタINCの内容が調べられる。ここで、上記
入力文字数レジスタINCの内容が「0」でなく、
入力バツフア18に変換対象文字が貯えられてい
ることを示していれば、ステツプS4に於いて、
上記入力バツフア18から変換対象となる文字を
先頭文字より最大8文字読出し、これを変換対象
文字レジスタHERにセツトする。更にステツプ
S5に於いて、上記読出された変換対象文字列の
文字数値を変換対象文字数レジスタHENにセツ
トした後、ステツプS6に於いて、上記変換対象
文字レジスタHERに貯えられた文字列をもとに
漢字辞書12の検索処理が行なわれる。
First, click "Convert/
By operating the "Next Candidate" key, the contents of the flag register F1 in the working RAM 21 are determined in step SI of FIG. If the content of the flag register F1 is "1" and it is determined that this is the first "conversion/next candidate" key operation, the content of the flag register F1 is set to "0" in step S2. ", and in step S3, the contents of the input character count register INC in the working RAM 21 are checked. Here, the contents of the input character count register INC above are not "0",
If the input buffer 18 indicates that characters to be converted are stored, in step S4,
A maximum of eight characters to be converted are read from the input buffer 18, starting from the first character, and set in the conversion target character register HER. Furthermore, in step S5, after setting the character numerical value of the read character string to be converted into the number of characters to be converted register HEN, in step S6, the character string stored in the character string to be converted is stored in the register HER. Then, a search process for the kanji dictionary 12 is performed.

この漢字辞書12の検索処理で該当候補漢字が
検索されると(ステツプS7)、ステツプS8に
於いて、その検索された候補漢字が候補文字レジ
スタKANに貯えられ、ステツプS9に於いて、
その検索された候補漢字が表示部13に表示さ
れ、更にステツプS10に於いて、変換対象文字
数レジスタHENに貯えられた文字数に対応する
文字の反転表示状態が解除されて、同文字が変換
中の文字であることを示すアンダーライン表示状
態に切り替わる。
When the corresponding candidate kanji is retrieved in the search process of the kanji dictionary 12 (step S7), the retrieved candidate kanji is stored in the candidate character register KAN in step S8, and in step S9,
The searched candidate kanji is displayed on the display section 13, and furthermore, in step S10, the inverted display state of the character corresponding to the number of characters stored in the conversion target character count register HEN is released, and the character is displayed as the character being converted. The display changes to an underlined state indicating that it is a character.

一方、上記「変換/次候補」キーが操作されず
に「無変換」キーが操作されると、フラグレジス
タF2が“1”となり、又、入力バツフア18に
変換対象文字が残つている際に「改行」キーが操
作されるとフラグレジスタF3が“1”となる。
即ち、「無変換」キーが操作されると、ステツプ
S26に於いて、フラグレジスタF1の内容が調
べられ、その内容が“1”であれば(「変換/次
候補」キーが操作されていなければ)、ステツプ
S27に於いて、フラグレジスタF2に“1”が
セツトされる。又、「改行」キーが操作されると、
ステツプS28に於いて、入力文字数レジスタ
INCの内容が調べられ、「0」でなければ、ステ
ツプS29に於いて、フラグレジスタF1の内容
が調べられる。ここでフラグレジスタF1の内容
が“1”であると、ステツプS30に於いて、フ
ラグレジスタF3に“1”がセツトされる。
On the other hand, if the "No Conversion" key is operated without operating the "Conversion/Next Candidate" key, the flag register F2 becomes "1", and when there are still characters to be converted in the input buffer 18, When the "line feed" key is operated, the flag register F3 becomes "1".
That is, when the "no conversion" key is operated, the contents of the flag register F1 are checked in step S26, and if the contents are "1" (if the "conversion/next candidate" key has not been operated), the contents of the flag register F1 are checked. In step S27, "1" is set in the flag register F2. Also, when the "line feed" key is operated,
In step S28, input character number register
The contents of INC are checked, and if it is not "0", the contents of flag register F1 are checked in step S29. If the content of the flag register F1 is "1" here, "1" is set in the flag register F3 in step S30.

又、上記ステツプS7に於いて、漢字辞書12
のサーチで該当候補がみつからない際は、ステツ
プS11に於いて、変換対象文字数レジスタ
HENの内容が1文字分減じられ、スチツプS1
2でその値が「0」であるか否かが判断される。
Also, in the above step S7, the kanji dictionary 12
If no matching candidate is found in the search, in step S11, the number of characters to be converted is registered.
The content of HEN is reduced by one character, and step S1
2, it is determined whether the value is "0" or not.

ここで、1文字分減じられた変換対象文字数レ
ジスタHENの内容が「0」でないことが確認さ
れると、その1文字減じられた文字列を対象に、
再び上述した漢字辞書12のサーチが繰返し実行
される(第2図ステツプS6〜S12)。
Here, if it is confirmed that the content of the conversion target character count register HEN that has been subtracted by one character is not "0", then the character string that has been subtracted by one character is
The above-described search of the kanji dictionary 12 is repeated again (steps S6 to S12 in FIG. 2).

又、上記ステツプS12に於いて、変換対象文
字数レジスタHENの内容が「0」であることが
確認されると、ステツプS13に於いて、変換対
象文字数レジスタHENに「1」がセツトされ、
ステツプS14に於いて、入力バツフア18より
先頭の1文字が読出され選択文字レジスタCOK
にセツトされた後、ステツプS15に於いて、上
記選択文字レジスタCOKにセツトされた文字が、
文書メモリ19内の文書メモリアドレスレジスタ
TXAで指定される格納番地に書込まれる。
In addition, in step S12, if it is confirmed that the contents of the conversion target character number register HEN are "0", in step S13, the conversion target character number register HEN is set to "1",
In step S14, the first character is read from the input buffer 18 and stored in the selected character register COK.
After being set in the selected character register COK, in step S15, the character set in the selected character register COK is
Document memory address register in document memory 19
Written to the storage address specified by TXA.

更にステツプS16に於いて、文書メモリアド
レスレジスタTXAの内容が上記文書メモリ19
に書込まれた文字数だけ更新(ここでは+1)さ
れ、ステツプS17に於いて、入力バツフア18
の内容が更新される。即ち、入力バツフア18内
の文字列が先頭文字より上記変換対象文字数レジ
スタHENの値に相当する文字数(ここでは1文
字)だけ削除(シフトアウト)される。次にステ
ツプS18に於いて、入力文字数レジスタINCの
値が変換対象文字数レジスタHENの値だけ減じ
られ、ステツプS19でフラグレジスタF2の内
容がチエツクされる。
Furthermore, in step S16, the contents of the document memory address register TXA are transferred to the document memory 19.
The input buffer 18 is updated by the number of characters written in the input buffer 18 (in this case, +1).
The contents of will be updated. That is, the character string in the input buffer 18 is deleted (shifted out) by the number of characters (in this case, one character) corresponding to the value of the conversion target character number register HEN from the first character. Next, in step S18, the value of the input character number register INC is subtracted by the value of the conversion target character number register HEN, and in step S19, the contents of the flag register F2 are checked.

ここで、フラグレジスタF2の値が、仮名漢字
変換指定後(「変換/次候補」キーの操作後)に
於いて「無変換」キーが操作されたことを示す
“0”であると、更にステツプS23に於いてフ
ラグレジスタF3の値が調べられ、フラグレジス
タF3の値が、入力バツフア18に変換対象文字
が残されている状態で「改行」キーが操作されて
いないことを示す。“0”であれば、ステツプS
3に戻つて、入力バツフア18内の文字列(先頭
の1文字が既に削除されている)を対象に再び変
換処理が実行される。
Here, if the value of flag register F2 is "0" indicating that the "no conversion" key was operated after specifying kana-kanji conversion (after operating the "conversion/next candidate" key), In step S23, the value of the flag register F3 is checked, and the value of the flag register F3 indicates that the "new line" key has not been operated while the character to be converted remains in the input buffer 18. If “0”, step S
Returning to step 3, the conversion process is performed again on the character string in the input buffer 18 (the first character has already been deleted).

このように、「変換/次候補」キーの操作後に
「無変換」キーが操作されると、入力された変換
対象文字列のうち、先頭の1文字のみが、一義的
に変換対象から外され、当該文字以降の文字列が
変換対象として扱われる。
In this way, when the "No conversion" key is operated after the "Convert/Next candidate" key is operated, only the first character of the input string to be converted is uniquely removed from the conversion target. , the string after that character is treated as the conversion target.

又、上記ステツプS19に於いて、フラグレジ
スタF2の値が、仮名漢字変換指定前(「変換/
次候補」キーの操作前)に於いて「無変換」キー
が操作されたことを示す“1”である場合、ある
いは上記ステツプS23に於いて、フラグレジス
タF3の内容が、入力バツフア18に変換対象文
字が残されている状態で「改行」キーが操作され
たことを示す“1”である場合に、上記ステツプ
S20に於いて、入力文字数レジスタINCの内容
が調べられ、その内容が「0」でなければ、当該
内容が「0」となるまで、即ち入力バツフア18
に貯えられた文字全てを対象に、同入力バツフア
18に貯えられた文字が先頭より1文字ずつ文書
メモリ19に書込まれる。
In addition, in step S19 above, the value of flag register F2 is set before kana-kanji conversion is specified ("conversion/
(before the operation of the "Next Candidate" key) is "1" indicating that the "No Conversion" key has been operated, or in the above step S23, the contents of the flag register F3 are converted to the input buffer 18. If the value is "1" indicating that the "line feed" key was operated with the target character remaining, the contents of the input character count register INC are checked in the above step S20, and the contents are "0". ”, the input buffer 18 continues until the content becomes “0”.
The characters stored in the same input buffer 18 are written into the document memory 19 one character at a time from the beginning.

このように、仮名漢字変換指定前に於いて「無
変換」キーが操作された場合、あるいは入力バツ
フア18に変換すべき文字が残つている状態で
「改行」キーが操作された場合に、入力バツフア
18に貯えられた文字が全て仮名漢字変換対象か
ら外され、文書メモリ19に記憶される。
In this way, if the "No conversion" key is operated before specifying Kana-Kanji conversion, or if the "Line feed" key is operated with characters to be converted remaining in the input buffer 18, the input All the characters stored in the buffer 18 are removed from the kana-kanji conversion target and stored in the document memory 19.

又、上記ステツプS20に於いて、入力文字数
レジスタINCの値が「0」であれば、ステツプS
21に於いて、フラグレジスタF3の内容が調べ
られる。ここでフラグレジスタF3の内容が
“0”であれば、ステツプS22に於いて、フラ
グレジスタF2の内容が“0”に書き換えられた
後、ステツプS3に戻つて入力文字数レジスタ
INCの内容が調べられる。又、上記ステツプS2
1に於いて、フラグレジスタF3の内容が“1”
である際は、ステツプS24に於いて、改行コー
ドが選択文字レジスタCOKにセツトされ、ステ
ツプS25に於いて、フラグレジスタF3の内容
が“0”に書き換えられた後、ステツプS15に
戻つて選択文字レジスタCOKに貯えられた文字
が文書メモリ19に記憶される。又、上記ステツ
プS28に於いて、入力文字数レジスタINCの内
容が「0」である際、又はステツプS29に於い
て、フラグレジスタF1の内容が“0”である際
に於いても、上記したステツプS24,S25,
S15…の処理が実行される。
Further, in step S20, if the value of the input character count register INC is "0", step S20 is executed.
At 21, the contents of flag register F3 are examined. If the contents of the flag register F3 are "0" here, the contents of the flag register F2 are rewritten to "0" in step S22, and then the process returns to step S3 and the number of input characters register is rewritten.
You can check the contents of INC. Also, the above step S2
1, the content of flag register F3 is “1”
If so, in step S24, the line feed code is set in the selected character register COK, and in step S25, the contents of the flag register F3 are rewritten to "0", and then the process returns to step S15 to write the selected character. The characters stored in register COK are stored in document memory 19. Furthermore, even when the contents of the input character count register INC are "0" in step S28, or when the contents of the flag register F1 are "0" in step S29, the above steps are performed. S24, S25,
Processing in S15... is executed.

上記したような処理が繰返し実行されて、入力
された仮名文字列が順次漢字混じり文に変換され
る。
The process described above is repeatedly executed, and the input kana character strings are sequentially converted into sentences containing kanji.

尚、上記した実施例に於いては、仮名漢字変換
辞書として、単漢字辞書のみを設けた構成を例に
とつて示したが、これに限ることはなく、単漢字
辞書と熟語辞書とを併せもつ構成のものに於いて
も適用できる。
In the above embodiment, the kana-kanji conversion dictionary is provided with only a single kanji dictionary, but it is not limited to this. It can also be applied to structures with

又、上記実施例に於いては、漢字の読みを平仮
名により入力する構成としているが、これに限ら
ず、例えば漢字の読みをローマ字入力で入力し、
仮名変換する構成のものに於いても適用できる。
Further, in the above embodiment, the reading of the kanji is input in hiragana, but the invention is not limited to this, for example, the reading of the kanji can be input in roman characters,
It can also be applied to structures that perform kana conversion.

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

以上詳述したように本発明によれば、無変換指
示が変換指示後に行なわれたことを条件にして、
入力された仮名文字列の先頭文字を仮名文字のま
まとした変換候補を容易に出力できるよう構成し
たので、入力した仮名文字列を全て漢字として変
換出力したい場合、あるいは入力した仮名文字列
の先頭1文字を仮名文字とし2文字目以降を漢字
として出力したい場合等、日本語文の作成に当つ
て各種場合が生じた時にも入力仮名文字列の変換
操作を簡易化することができ、所望の漢字混じり
文を容易かつ迅速に作成することができる。
As detailed above, according to the present invention, on the condition that the no-conversion instruction is given after the conversion instruction,
The configuration has been configured to easily output conversion candidates with the first character of the input kana character string as a kana character, so if you want to convert and output all the input kana character strings as kanji, or if you want to convert and output the entire input kana character string as kanji, Even when various situations arise when creating Japanese sentences, such as when you want to output one character as a kana character and the second and subsequent characters as kanji, you can simplify the conversion operation of the input kana character string, and output the desired kanji. Mixed sentences can be created easily and quickly.

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

第1図は本発明の一実施例を示すブロツク図、
第2図は上記実施例に於ける仮名漢字変換処理フ
ローを示すフローチヤートである。 10……CPU、11……キーボード、12…
…漢字辞書、13……表示部、14……表示ドラ
イバ、15……表示メモリ、16……印字部、1
7……印字制御部、18……入力バツフア、19
……文書メモリ、20……ROM、21……作業
用RAM。
FIG. 1 is a block diagram showing one embodiment of the present invention;
FIG. 2 is a flowchart showing the flow of the kana-kanji conversion process in the above embodiment. 10...CPU, 11...Keyboard, 12...
... Kanji dictionary, 13 ... Display section, 14 ... Display driver, 15 ... Display memory, 16 ... Printing section, 1
7...Print control unit, 18...Input buffer, 19
...Document memory, 20...ROM, 21...Work RAM.

Claims (1)

【特許請求の範囲】 1 仮名漢字変換辞書と、仮名文字列を入力する
入力手段と、仮名漢字変換を指示する変換指示手
段と、該変換指示手段により起動され、上記入力
手段により入力された仮名文字列の先頭から所定
数の仮名文字列を最長として変換対象となる仮名
文字列を順次短くして対応する変換候補を上記辞
書内より検索する検索手段と、該検索手段により
検索された変換候補を表示する表示手段とを備え
た仮名漢字変換処理装置において、 入力された仮名文字列の無変換を指示する無変
換指示手段と、 該無変換指示手段による指示時に、上記変換指
示手段による変換指示後であるか否かを検出する
検出手段と、 該検出手段により変換指示後であると検出され
た際に、上記入力手段により入力された仮名文字
列の先頭文字を変換対象から除外し、次の入力文
字を先頭とする仮名文字列を変換対象として上記
検索手段に起動をかける変換処理手段と を具備してなることを特徴とする仮名漢字変換処
理装置。 2 上記変換処理手段は上記検出手段において変
換指示が行なわれていないことが検出された際
に、上記入力手段により入力された仮名文字列の
全てを変換対象から除外し、該仮名文字列を無変
換の文字列として確定することを特徴とする特許
請求の範囲第1項記載の仮名漢字変換処理装置。
[Scope of Claims] 1. A kana-kanji conversion dictionary, an input means for inputting a kana character string, a conversion instruction means for instructing kana-kanji conversion, and a kana-kanji conversion dictionary activated by the conversion instruction means and inputted by the input means. a search means for searching the dictionary for corresponding conversion candidates by sequentially shortening the kana character string to be converted, with a predetermined number of kana character strings as the longest starting from the beginning of the character string; and conversion candidates searched by the search means. a kana-kanji conversion processing device, comprising: a no-conversion instruction means for instructing non-conversion of an input kana character string; a detection means for detecting whether it is after the conversion instruction, and when the detection means detects that it is after the conversion instruction, excludes the first character of the kana character string input by the input means from the conversion target, and 1. A kana-kanji conversion processing device, comprising conversion processing means for starting the above-mentioned search means with a kana character string starting with an input character as a conversion target. 2. When the detection means detects that no conversion instruction has been given, the conversion processing means excludes all of the kana character strings input by the input means from conversion targets, and nullifies the kana character strings. The kana-kanji conversion processing device according to claim 1, wherein the kana-kanji conversion processing device is determined as a character string for conversion.
JP60103069A 1985-05-15 1985-05-15 Kana/kanji converting system Granted JPS61262880A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60103069A JPS61262880A (en) 1985-05-15 1985-05-15 Kana/kanji converting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60103069A JPS61262880A (en) 1985-05-15 1985-05-15 Kana/kanji converting system

Publications (2)

Publication Number Publication Date
JPS61262880A JPS61262880A (en) 1986-11-20
JPS6311712B2 true JPS6311712B2 (en) 1988-03-15

Family

ID=14344367

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60103069A Granted JPS61262880A (en) 1985-05-15 1985-05-15 Kana/kanji converting system

Country Status (1)

Country Link
JP (1) JPS61262880A (en)

Also Published As

Publication number Publication date
JPS61262880A (en) 1986-11-20

Similar Documents

Publication Publication Date Title
JPS6311712B2 (en)
JPS63313268A (en) Reading retrieving device in document forming device
JPS5814688B2 (en) Kanji-mixed sentence input device that sequentially displays homophones
JP2833650B2 (en) Document processing device
JPH0452500B2 (en)
JP2575650B2 (en) Kana-Kanji conversion device
JPS61249167A (en) Kana-kanji converting system
JPS62156762A (en) Document data processor
JP2815911B2 (en) Electronic dictionary
JPH0640330B2 (en) Chinese input method
JP3273778B2 (en) Kana-kanji conversion device and kana-kanji conversion method
JPS5827268A (en) Japanese word processing device
JPS61262879A (en) Kana/kanji converting system
JPH0370066A (en) Character processor
JPH0340870B2 (en)
JPS6252348B2 (en)
JPS61194560A (en) Character processor
JPS62260266A (en) Kana/kanji converting system
JPH0335349A (en) Document processor with example display function
JPS61285534A (en) Index production system
JPS63257862A (en) Character processor
JPH08329052A (en) Reading and notation converting method
JPS62168263A (en) Kana-kanji mutual converter
JPH06314277A (en) Document preparing device
JPH07129579A (en) Japanese input device