JPH08297664A - Character string processor - Google Patents

Character string processor

Info

Publication number
JPH08297664A
JPH08297664A JP7103893A JP10389395A JPH08297664A JP H08297664 A JPH08297664 A JP H08297664A JP 7103893 A JP7103893 A JP 7103893A JP 10389395 A JP10389395 A JP 10389395A JP H08297664 A JPH08297664 A JP H08297664A
Authority
JP
Japan
Prior art keywords
character string
input
kana
kanji
character
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP7103893A
Other languages
Japanese (ja)
Inventor
Kou Watabe
校 渡部
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP7103893A priority Critical patent/JPH08297664A/en
Publication of JPH08297664A publication Critical patent/JPH08297664A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

(57)【要約】 【目的】 所望文字列の部分文字列を指定することによ
り、予め登録されている複数の文字列から所望文字列を
唯一選択できる文字列処理装置を提供する。 【構成】 文字列群の登録モード時、キーボード108
などから入力された文字列はRAM102に登録され、
文字列群の呼出モード時、キーボード108から入力さ
れた情報に基づいてRAM102の文字列群から該当の
文字列が検索して出力される。この呼出モード時、RA
M102の文字列群から、キーボード108から入力さ
れた文字列をその途中の部分文字列として含む文字列が
検索されて出力される。したがって先頭部分文字列が同
じ文字列が複数個登録されていても、その途中の部分文
字列を指定することにより、1回の操作で所望とする文
字列を唯一選択できる。
(57) [Summary] [Object] To provide a character string processing device capable of uniquely selecting a desired character string from a plurality of previously registered character strings by designating a partial character string of the desired character string. [Configuration] Keyboard 108 in the character string group registration mode
The character string input from etc. is registered in the RAM 102,
In the character string group calling mode, the corresponding character string is retrieved from the character string group of the RAM 102 based on the information input from the keyboard 108 and output. In this calling mode, RA
A character string including the character string input from the keyboard 108 as a partial character string in the middle of the character string group of M102 is searched and output. Therefore, even if a plurality of character strings having the same first partial character string are registered, a desired character string can be selected only by one operation by designating a partial character string in the middle.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は文字を入力し編集可能
なワードプロセッサ、パーソナルコンピュータおよび手
帳サイズの電子計算機などに搭載される文字列処理装置
に関し、特に、たとえば文書編集などの場合に、1文字
以上の文字列などのデータを入力して予めメモリに記憶
された文字列群から所望文字列を選択し、選択された文
字列を用いた文書編集処理を可能とするための文字列処
理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character string processing device mounted on a word processor capable of inputting and editing characters, a personal computer, a notebook-sized electronic computer, etc. The present invention relates to a character string processing device for inputting data such as the character strings described above, selecting a desired character string from a character string group stored in advance in a memory, and enabling document editing processing using the selected character string. .

【0002】[0002]

【従来の技術】以下の説明において漢字混じり文字列と
は漢字を1文字以上含む文字列を指し、仮名文字列とは
漢字を含まない文字列を指し、文字列とは少なくとも1
文字以上を含んで構成されるものを指す。
2. Description of the Related Art In the following description, a character string mixed with kanji means a character string containing one or more kanji characters, a kana character string means a character string not containing kanji, and a character string is at least 1
Refers to something that includes more than one character.

【0003】従来、日本語ワードプロセッサにおいて、
1度仮名漢字変換した漢字混じり文字列を再び入力する
際の省力化を図るための機能(短縮変換機能)を有した
ものがあり、図20(a)〜(c)に従来技術の登録文
字列の格納方法が説明される。たとえば特公昭62−4
6029号公報に開示の技術は、まずキーボードなどか
ら仮名文字列を入力してそれを仮名漢字変換した場合、
その仮名文字列を先頭からの数文字だけに短縮した短縮
仮名文字列(たとえば先頭の1文字)を見出し語とし
て、仮名漢字変換後の漢字混じり文字列を記憶装置に登
録することにより、次にその仮名文字列の先頭の数文
字、たとえば1文字を入力して短縮変換の指示を行なう
と、予め登録された対応の漢字混じり文字列が呼出され
るというものである。図20(a)はこの従来技術によ
って文字列が登録されている様子を示している。図では
見出し語「う」に対応づけて漢字混じり文字列「美し」
が登録されている。これにより「う」を入力することに
よって「美し」を呼出すことができる。
Conventionally, in a Japanese word processor,
Some have a function (shortening conversion function) for saving labor when re-inputting a mixed Kanji character string that has been converted into Kana once. How to store columns is explained. For example, Japanese Patent Publication No. Sho 62-4
In the technique disclosed in Japanese Patent No. 6029, when a kana character string is first input from a keyboard or the like and converted into kana-kanji,
By registering the mixed kanji character string after kana-kanji conversion in the storage device using the shortened kana character string (for example, the first one character) obtained by shortening the kana character string to only a few characters from the beginning, When a few characters at the beginning of the kana character string, for example, one character is input to give an instruction for abbreviated conversion, a corresponding kanji character string registered in advance is called. FIG. 20A shows how a character string is registered by this conventional technique. In the figure, the character string "Beauty" mixed with Kanji is associated with the headword "U".
Is registered. With this, "beauty" can be called by inputting "u".

【0004】また従来、頻繁に使用される文字列を予め
登録し、その後その文字列を先頭からの数文字に短縮し
た文字列を入力して呼出指示すると、対応の文字列を呼
出すことができるというものがあった。たとえば特開昭
57−150025号公報に開示の技術は、まず登録キ
ーを押した後に文字列を入力して区切りキーを押すこと
によって該文字列を登録し、その後呼出キーを押してか
らその文字列の先頭からの数文字に短縮した文字列を入
力すると、該文字列が呼出されるというものである。図
20(b)はこの従来技術によって文字列が登録されて
いる様子を示している。図では文字列「単語」および
「繰返し使用される」が予め登録されている。これによ
り「単」を入力することによって「単語」を「繰」を入
力することによって「繰返し使用される」を呼出すこと
ができる。
Conventionally, if a frequently used character string is registered in advance and then the character string is shortened to a few characters from the beginning and the calling instruction is given, the corresponding character string can be called. There was that. For example, in the technique disclosed in Japanese Patent Laid-Open No. 57-150025, the character string is first registered by pressing the registration key, then inputting the character string and pressing the delimiter key, and then pressing the call key and then the character string. When a character string shortened to several characters from the beginning of is input, the character string is called. FIG. 20B shows how a character string is registered by this conventional technique. In the figure, the character strings "word" and "repeatedly used" are registered in advance. With this, by inputting "single", "word" can be called by inputting "word" and "repeatedly used".

【0005】また、従来は手書きパターンおよびそれに
対応させて文字列を予め登録し、その後その手書きパタ
ーンを入力して呼出指示を行なうことにより、対応の文
字列を呼出すというものがあった。たとえば特公平6−
34259号公報に開示の技術では、よく使われる文字
列を略字や記号などのパターンと対応づけて登録してお
き、この略字や記号などのパターンが入力された場合、
その対応づけられた文字列を呼出すことができるという
ものである。図20(c)はこの従来技術によって文字
列が登録されている様子を示している。図では筆記体パ
ターン「tel」に対応づけて文字列「電話」が登録さ
れている。これにより筆記体パターン「tel」を入力
することによって文字列「電話」を呼出すことができ
る。
Further, conventionally, there has been a method in which a handwritten pattern and a character string corresponding thereto are registered in advance, and then the corresponding character string is called by inputting the handwritten pattern and issuing a calling instruction. For example,
In the technique disclosed in Japanese Patent No. 34259, a commonly used character string is registered in association with a pattern such as an abbreviation or a symbol, and when the pattern such as the abbreviation or the symbol is input,
It is possible to call the associated character string. FIG. 20C shows how a character string is registered by this conventional technique. In the figure, the character string “telephone” is registered in association with the cursive pattern “tel”. Thus, the character string "telephone" can be called by inputting the cursive pattern "tel".

【0006】[0006]

【発明が解決しようとする課題】前述の特公昭62−4
6029号公報に開示の技術は、1度仮名文字列を漢字
混じり文字列に変換あるいは無変換処理すると、次にそ
の仮名文字列を先頭からの数文字に短縮した仮名文字列
を入力することによって対応の漢字混じり文字列あるい
は無変換処理された仮名文字列を呼出すことができると
いうものであるが、この場合短縮して得られる仮名文字
列が同じである漢字混じり文字列あるいは無変換処理さ
れた仮名文字列が複数個存在する場合、それらを区別し
て呼出すことができないという問題があった。たとえば
「かなもじれつ」と「かなかんじへんかん」という仮名
文字列が登録されていた場合、先頭から短縮した仮名文
字列「かな」を入力してもどちらか1つを選択すること
ができない。
DISCLOSURE OF THE INVENTION Problems to be Solved by the Invention
According to the technique disclosed in Japanese Patent No. 6029, once a kana character string is converted into a kanji mixed character string or non-converted, the kana character string is shortened to a few characters from the beginning to input the kana character string. It is possible to call the corresponding kanji mixed character string or the non-converted kana character string, but in this case the kana character string obtained by shortening is the same kanji mixed character string or the non-converted processed character string. If there are a plurality of kana character strings, there is a problem that they cannot be called separately. For example, if kana character strings "Kanamojiretsu" and "Kanakanjihenkan" are registered, even if the kana character string "Kana" shortened from the beginning is entered, one of them cannot be selected.

【0007】また前述の特開昭57−150025号公
報に開示の技術も、登録されている文字列のうち先頭部
分文字列が同じである文字列が複数個存在する場合、そ
れらを区別して呼出すことができないという問題があっ
た。たとえば「入力速度」と「入力文字列」の2個の文
字列が登録されていた場合、先頭からの2文字に短縮さ
れた文字列「入力」を指定してもどちらか1つを選択す
ることはできない。また、短縮文字列が手書き入力され
る場合は、その画数が多いと入力の手間がかかりまた誤
りやすい。
Also, in the technique disclosed in Japanese Patent Laid-Open No. 57-150025, when there are a plurality of character strings having the same leading partial character string among the registered character strings, the character strings are distinguished and called. There was a problem that I could not. For example, if two character strings of "input speed" and "input character string" are registered, even if the character string "input" shortened to the first two characters is specified, one of them is selected. It is not possible. In addition, when a short character string is input by handwriting, if the number of strokes is large, it takes time and effort for inputting, and error is likely to occur.

【0008】これに対し特公平6−34259号公報に
開示の技術では、事前に文字パターンに対応づけて文字
列を登録するものであるので、登録しようとする複数の
文字列の先頭が同じであっても、各文字列に対応の文字
パターンが異なるように登録することによって、複数の
文字列を区別して呼出すことが可能となって上述した問
題が解消されるかのようである。しかし、該文字パター
ンは筆記ストロークを示す時系列的な座標データ、すな
わち筆記ストロークの開始点座標、終了点座標、屈曲点
座標(複数)によって表わされ、これを文字の画数分だ
け記憶する必要があるので、多くの記憶容量を消費して
しまうという課題が残り、問題解消策とはなり得なかっ
た。
On the other hand, in the technique disclosed in Japanese Examined Patent Publication No. 6-34259, since the character string is registered in advance in association with the character pattern, the beginnings of a plurality of character strings to be registered are the same. Even if there is, by registering each character string so that the corresponding character pattern is different, it is possible to distinguish and call a plurality of character strings, which seems to solve the above-mentioned problem. However, the character pattern is represented by time-series coordinate data indicating a writing stroke, that is, the starting point coordinate, the ending point coordinate, and the bending point coordinate (plural) of the writing stroke, and it is necessary to store this for the number of strokes of the character. Therefore, the problem of consuming a large amount of storage capacity remains, which cannot be a solution to the problem.

【0009】さらに、特開昭63−136182号公報
に開示の技術では漢字の1部分(部首)のパターンを手
書き入力することにより、また特開平2−177726
号公報に開示の技術では部首の画数を入力することによ
りその部首で構成される漢字の候補から目的とする漢字
を選択するという技術が開示されているが、従来、登録
された文字列を呼出すのに、部首を指定し、その部首で
構成される漢字が含まれる文字列を呼出すことはでき
ず、漢字を指定しなければならなかったため手間がかか
ってしまうという問題があった。
Furthermore, in the technique disclosed in Japanese Laid-Open Patent Publication No. 63-136182, the pattern of one part (radical) of Kanji is input by handwriting, and the technique disclosed in Japanese Laid-Open Patent Publication No. 2-177726 is also used.
In the technology disclosed in Japanese Patent Publication, a target kanji character is selected from candidate kanji consisting of the radical by inputting the stroke number of the radical. There is a problem in that when you call, you cannot specify a radical, and you cannot call a character string that contains a kanji that is composed of that radical, and you have to specify the kanji, which is troublesome. .

【0010】また、特開昭57−150025号公報ま
たは特公平6−34259号公報に開示の技術では、頻
繁に使用される文字列を予め所定の方法によって登録さ
せておく必要があるので、予めよく使用される文字列は
何であるかを利用者が把握した後、それを登録させる操
作を行なわなければならない。また違う分野の文章を入
力する場合は、よく使用する文字列が全く異なっていた
りする場合があるため、様々な文章を入力するために多
くの文字列を登録する必要があるなど、文字列登録にお
いて多くの手間がかかり効率的でないという問題があっ
た。
In the technique disclosed in Japanese Patent Laid-Open No. 57-150025 or Japanese Patent Publication No. 6-34259, frequently used character strings must be registered in advance by a predetermined method. After the user knows what the frequently used character string is, he / she must register it. Also, when entering texts in different fields, the frequently used character strings may be completely different, so it is necessary to register many character strings to enter various texts. However, there was a problem that it took a lot of work and was not efficient.

【0011】それゆえにこの発明の目的は、所望の文字
列の部分文字列を指定することにより、予め登録されて
いる複数の文字列から所望文字列を唯一選択できる、文
字列処理装置を提供することである。
Therefore, an object of the present invention is to provide a character string processing device capable of uniquely selecting a desired character string from a plurality of previously registered character strings by designating a partial character string of the desired character string. That is.

【0012】この発明の他の目的は、所望文字列中の漢
字の部首列を指定することにより、予め登録されている
複数の文字列から所望文字列を選択できる、文字列処理
装置を提供することである。
Another object of the present invention is to provide a character string processing device capable of selecting a desired character string from a plurality of character strings registered in advance by designating a radical of a Chinese character in the desired character string. It is to be.

【0013】この発明のさらなる他の目的は、文字列を
登録する際に、効率良く登録できる文字列処理装置を提
供することである。
Still another object of the present invention is to provide a character string processing device capable of efficiently registering a character string.

【0014】[0014]

【課題を解決するための手段】請求項1に記載の文字列
処理装置は、文字列群を含むデータが登録される記憶手
段と、文字列を含む情報を入力するための入力手段と、
記憶手段への文字列群の登録モード時、入力手段から入
力された文字列を記憶手段に登録する登録手段と、記憶
手段からの文字列群の呼出モード時、入力手段から入力
された情報に基づいて記憶手段の文字列群を検索して文
字列を出力する呼出手段とを備えて構成され、特にこの
呼出手段は、記憶手段中の文字列群から入力手段より入
力された文字列をその途中の部分文字列として含む文字
列を検索する第1検索手段を含んで構成される。
According to a first aspect of the present invention, there is provided a character string processing device, wherein a storage means in which data including a character string group is registered, an input means for inputting information including a character string,
In the registration mode of the character string group to the storage means, the registration means for registering the character string input from the input means in the storage means, and the information input from the input means in the call mode of the character string group from the storage means And a calling means for outputting a character string by searching a character string group in the storage means based on the character string input from the input means from the character string group in the storage means. A first search means for searching a character string included as a partial character string in the middle is included.

【0015】請求項2に記載の文字列処理装置は、前述
の請求項1に記載の文字列処理装置において、登録手段
はさらに、呼出手段により出力された文字列を記憶手段
の文字列群に登録するよう構成される。
A character string processing device according to a second aspect is the character string processing device according to the first aspect, wherein the registration means further stores the character string output by the calling means into a character string group of the storage means. Configured to register.

【0016】請求項3に記載の文字列処理装置は、前述
の請求項1または2に記載の文字列処理装置において、
入力手段により入力される情報にはさらに部首列が含ま
れ、記憶手段に登録されるデータにはさらに、複数の漢
字のそれぞれとその部首を対応して格納した漢字部首対
応表が含まれ、呼出手段はさらに、入力手段から入力さ
れた部首列に対応の漢字列を漢字部首対応表から特定
し、記憶手段中の文字列群から特定された漢字列を含む
文字列を検索する第2検索手段を含んで構成される。
A character string processing device according to a third aspect is the character string processing device according to the first or second aspect, wherein:
The information input by the input means further includes radicals, and the data registered in the storage means further includes a kanji radical correspondence table in which each radical is stored in association with each radical. The calling means further specifies a kanji string corresponding to the radical input from the input means from the kanji radical correspondence table, and searches for a character string including the specified kanji string from the character string group in the storage means. The second search means is included.

【0017】請求項4に記載の文字列処理装置は、前述
の請求項1ないし3のいずれかに記載の文字列処理装置
において、呼出手段はさらに、記憶手段の文字列群中の
入力手段により入力された文字列を含む文字列におい
て、該入力文字列以降からなる文字列を検索する第3検
索手段を含んで構成される。
A character string processing device according to a fourth aspect is the character string processing device according to any one of the first to third aspects, wherein the calling means is further provided by an input means in the character string group of the storage means. In the character string including the input character string, a third search means for searching a character string subsequent to the input character string is included.

【0018】請求項5に記載の文字列処理装置は、前述
の請求項1ないし4のいずれかに記載の文字列処理装置
において、入力手段はさらに、漢字仮名混じり文字列を
入力して仮名文字列に変換する仮名変換手段を含み、登
録手段はさらに、入力手段より入力された漢字仮名混じ
り文字列と該入力漢字仮名混じり文字列の仮名変換手段
による仮名文字列とを対応させて記憶手段の文字列群に
登録する手段を含み、呼出手段はさらに、入力手段によ
り入力された仮名文字列に基づいて記憶手段の文字列群
を検索して、該入力仮名文字列を部分文字列に含む仮名
文字列に対応の漢字仮名混じり文字列を出力するよう構
成される。
A character string processing device according to a fifth aspect is the character string processing device according to any one of the first to fourth aspects, in which the input means further inputs a kana-kana mixed character string to input kana characters. The registration means further includes a kana conversion means for converting into a column, and the registration means further associates the kanji / kana mixed character string input from the input means with the kana / character string converted by the kana / kana mixed kana character conversion means of the input means. The calling means further includes means for registering in the character string group, and the calling means further searches the character string group in the storage means based on the kana character string input by the input means, and the kana character string including the input kana character string in the partial character string. It is configured to output a character string mixed with kanji and kana corresponding to the character string.

【0019】請求項6に記載の文字列処理装置は、請求
項1ないし5のいずれかに記載の文字列処理装置におい
て、入力手段はさらに、仮名文字列を入力して漢字仮名
混じり文字列に変換する漢字変換手段を含み、登録手段
はさらに、入力手段により入力された仮名文字列と該入
力仮名文字列の漢字変換手段による漢字仮名混じり文字
列とを対応させて記憶手段の文字列群に登録する手段を
含み、呼出手段はさらに、入力手段により入力された漢
字列に基づいて記憶手段の文字列群を検索して、該入力
漢字列を部分文字列に含む漢字仮名混じり文字列に対応
の仮名文字列を出力する手段を含んで構成される。
A character string processing device according to a sixth aspect is the character string processing device according to any one of the first to fifth aspects, wherein the input means further inputs a kana character string to form a kanji / kana mixed character string. The registration means further includes a kanji conversion means for converting, and the registration means further associates the kana character string input by the input means with the kanji kana mixed character string by the kanji conversion means of the input kana character string into a character string group of the storage means. The calling means further includes means for registering, and searches the character string group of the storage means based on the kanji string input by the input means, and corresponds to the kanji kana mixed character string including the input kanji string as a partial character string. And a means for outputting the kana character string of.

【0020】請求項7に記載の文字列処理装置は、請求
項1ないし6のいずれかに記載の文字列処理装置の登録
手段がさらに、入力手段から入力された文字列を所定単
位の文字列に分割して記憶手段の文字列群に登録する文
字列分割登録手段を含んで構成される。
According to a seventh aspect of the present invention, there is provided a character string processing device, wherein the registration means of the character string processing device according to any one of the first to sixth aspects further includes a character string input from the input means in a predetermined unit. It is configured to include a character string division / registration unit that is divided into and is registered in the character string group of the storage unit.

【0021】[0021]

【作用】請求項1に係る文字列処理装置では、登録モー
ド時において登録手段は、予め記憶手段に文字列群を登
録する。その後の呼出モード時において呼出手段は第1
検索手段を用いて、この文字列群から入力手段より入力
された文字列をその途中の部分文字列として含む文字列
を検索し出力する。
In the character string processing apparatus according to the first aspect, the registration means registers the character string group in the storage means in advance in the registration mode. In the subsequent calling mode, the calling means is the first
Using the search means, a character string including the character string input by the input means as a partial character string in the middle of this character string group is searched and output.

【0022】請求項2に係る文字列処理装置では、請求
項1に係る装置の登録手段は、呼出手段により出力され
た文字列を記憶手段の文字列群に登録する。
In the character string processing device according to the second aspect, the registration means of the device according to the first aspect registers the character string output by the calling means in the character string group of the storage means.

【0023】請求項3に係る文字列処理装置では、請求
項1または2に係る装置の呼出手段がさらに第2検索手
段を有し、予め登録手段によって記憶手段に登録された
文字列群から入力手段から入力の部首列に対応した漢字
列を含む文字列を検索して出力する。
In the character string processing device according to the third aspect, the calling means of the device according to the first or second aspect further has a second searching means, and the character string group registered in the storage means by the registration means in advance is input. A character string including a Kanji character string corresponding to the radical input from the means is retrieved and output.

【0024】請求項4に係る文字列処理装置では、請求
項1ないし3のいずれかに係る装置の呼出手段はさらに
第3検索手段を有し、記憶手段の文字列群中の入力手段
により入力された文字列を含む文字列において、該入力
文字列以降からなる文字列を検索して出力する。
In the character string processing device according to a fourth aspect, the calling means of the device according to any one of the first to third aspects further has a third searching means, and is input by the input means in the character string group of the storage means. A character string including the input character string is searched for a character string formed after the input character string and is output.

【0025】請求項5に係る文字列処理装置では、請求
項1ないし4のいずれかに係る装置において、入力手段
は仮名変換手段を有して漢字仮名混じり文字列を入力し
て仮名文字列に変換し、登録手段は、入力手段により入
力された漢字仮名混じり文字列と該入力漢字仮名混じり
文字列の仮名変換手段による仮名文字列とを対応させて
記憶手段の文字列群に登録し、呼出手段は、入力手段に
より入力された仮名文字列に基づいて記憶手段の文字列
群を検索して、入力仮名文字列を部分文字列に含む仮名
文字列に対応の漢字仮名混じり文字列を出力する。
In the character string processing device according to claim 5, in the device according to any one of claims 1 to 4, the input means has a kana conversion means to input a character string mixed with kanji and kana to form a kana character string. The conversion means registers the character string mixed with the kanji kana input by the input means and the kana character string by the kana conversion means of the input kanji kana mixed character string in the character string group of the storage means in association with each other, and calls. The means searches the character string group of the storage means based on the kana character string input by the input means, and outputs a kanji kana mixed character string corresponding to the kana character string including the input kana character string in the partial character string. .

【0026】請求項6に係る文字列処理装置では、請求
項1ないし5のいずれかに係る装置において、入力手段
は漢字変換手段により仮名文字列を入力して漢字仮名混
じり文字列に変換し、登録手段は入力手段により入力さ
れた仮名文字列と該入力仮名文字列の漢字変換手段によ
る漢字仮名混じり文字列とを対応させて記憶手段の文字
列群に登録し、呼出手段は入力手段により入力された漢
字列に基づいて記憶手段の文字列群を検索して、入力漢
字列を部分文字列に含む漢字仮名混じり文字列に対応の
仮名文字列を出力する。
In the character string processing device according to claim 6, in the device according to any one of claims 1 to 5, the input means inputs the kana character string by the kanji conversion means and converts it into a character string mixed with kanji and kana, The registering means registers the kana character string input by the inputting means and the kanji kana mixed character string by the kanji converting means of the input kana character string in the character string group of the storing means in association with each other, and the calling means inputs by the inputting means. A character string group in the storage means is searched based on the selected kanji character string, and a kana character string corresponding to the kanji kana mixed character string including the input kanji character string in the partial character string is output.

【0027】請求項7に係る文字列処理装置では、請求
項1ないし6のいずれかに係る装置の登録手段がさらに
文字列分割登録手段を有して、入力手段から入力された
文字列を所定単位の文字列に分割しながら分割された各
文字列を記憶手段の文字列群に登録する。
In the character string processing device according to claim 7, the registration means of the device according to any one of claims 1 to 6 further has character string division registration means, and the character string input from the input means is predetermined. Each of the divided character strings is registered in the character string group of the storage means while being divided into unit character strings.

【0028】[0028]

【実施例】以下、この発明の第1ないし第5実施例につ
いて説明する。以下の各実施例では、文字列処理装置を
日本語ワードプロセッサにおいて適用した場合を例示す
るが、これに限定されるものではない。
Embodiments First to fifth embodiments of the present invention will be described below. In each of the following embodiments, the case where the character string processing device is applied to a Japanese word processor is illustrated, but the present invention is not limited to this.

【0029】図1は、この発明の第1ないし第5実施例
による日本語ワードプロセッサのブロック構成図であ
る。日本語ワードプロセッサは図1に示されるように、
装置を構成する各構成部の動作をアドレスバスおよびデ
ータバスを介して制御し、各種のプログラムの実行を行
なうCPU(中央処理装置の略)101を備える。
FIG. 1 is a block diagram of a Japanese word processor according to the first to fifth embodiments of the present invention. The Japanese word processor, as shown in Figure 1,
A CPU (abbreviation of central processing unit) 101 is provided which controls the operation of each component constituting the apparatus via an address bus and a data bus and executes various programs.

【0030】CPU101には、文書データや変数デー
タなどの各種データを格納するRAM(ランダムアクセ
スメモリの略)102と、各種制御プログラムや仮名漢
字変換辞書などの各種データを格納するROM(リード
オンリメモリの略)103とが接続される。またCPU
101には、文書データの印刷を行なうプリンタ10
4、文書データなどの表示を行なう表示装置105、表
示装置105と一体となったタブレット107、その先
端にスイッチを有してタブレット107上の位置を指示
するペン106、ユーザのキー操作により文書データな
どの情報入力を行なうキーボード108、および文書デ
ータの保存/呼出を行なうフロッピーディスク(以下、
FDと呼ぶ)109が、それぞれプリンタコントローラ
110、表示コントローラ111、タブレット・ペンコ
ントローラ112、キーインタフェース113およびF
Dコントローラ114を介して接続される。
The CPU 101 includes a RAM (abbreviation of random access memory) 102 for storing various data such as document data and variable data, and a ROM (read only memory) for storing various data such as various control programs and kana-kanji conversion dictionary. Is omitted) 103 is connected. Also CPU
Reference numeral 101 denotes a printer 10 for printing document data.
4, a display device 105 for displaying document data, a tablet 107 integrated with the display device 105, a pen 106 having a switch at its tip to indicate a position on the tablet 107, document data by a user's key operation A keyboard 108 for inputting information such as, and a floppy disk for saving / recalling document data (hereinafter,
The printer controller 110, display controller 111, tablet / pen controller 112, key interface 113 and F
It is connected via the D controller 114.

【0031】図2(a)および(b)は、図1のRAM
102およびROM103のデータ構造を示す図であ
る。RAM102は図2(a)に示されるように、仮
名、英字、記号および漢字などからなる文書データを格
納する領域121、各種変数データを格納する領域12
2、短縮入力のためのデータを格納する領域123、表
示装置105に表示されるデータを格納する領域124
およびその他データを格納する領域125などを含む。
2A and 2B show the RAM of FIG.
FIG. 3 is a diagram showing a data structure of a ROM 102 and a ROM 103. As shown in FIG. 2A, the RAM 102 has an area 121 for storing document data including kana, English characters, symbols and Chinese characters, and an area 12 for storing various variable data.
2. Area 123 for storing data for abbreviated input, area 124 for storing data displayed on the display device 105
And an area 125 for storing other data.

【0032】ROM103には図2(b)に示されるよ
うに、カーソルの移動や文字の挿入・削除・複写などの
文書編集処理のための文書編集プログラム126、プリ
ンタ104、表示装置105、ペン106、タブレット
107およびキーボード108などの各種I/O(入出
力)機器の制御を行なうI/O機器制御プログラム12
7、仮名漢字変換処理を行なうための仮名漢字変換プロ
グラム128、仮名漢字変換のためのデータを登録した
仮名漢字変換辞書129、手書き文字の認識を行なう手
書き文字認識プログラム130、手書き文字認識のため
のデータを登録した手書き文字認識辞書131、短縮入
力処理を行なうための短縮入力プログラム132、表示
用および印刷用の文字フォントデータ133およびその
他のデータ134などが記憶される。
In the ROM 103, as shown in FIG. 2B, a document editing program 126 for a document editing process such as cursor movement and character insertion / deletion / copying, a printer 104, a display device 105, and a pen 106. I / O device control program 12 for controlling various I / O (input / output) devices such as a tablet 107 and a keyboard 108
7. Kana-Kanji conversion program 128 for performing Kana-Kanji conversion processing, Kana-Kanji conversion dictionary 129 in which data for Kana-Kanji conversion is registered, handwritten character recognition program 130 for recognizing handwritten characters, handwritten character recognition A handwritten character recognition dictionary 131 in which data is registered, an abbreviated input program 132 for performing abbreviated input processing, character font data 133 for display and printing, and other data 134 are stored.

【0033】プリンタ104による文書データの印刷
は、CPU101がROM103のI/O機器制御プロ
グラム127に従ってRAM102の領域121の文書
データを設定書式およびROM103の文字フォントデ
ータ133に基づいてイメージデータに変換し、プリン
タコントローラ110へ転送することにより行なわれ
る。
To print the document data by the printer 104, the CPU 101 converts the document data in the area 121 of the RAM 102 into image data based on the setting format and the character font data 133 of the ROM 103 according to the I / O device control program 127 of the ROM 103. This is performed by transferring to the printer controller 110.

【0034】表示装置105による文書データの表示
は、CPU101がROM103のI/O機器制御プロ
グラム127に従って表示装置105へ表示したい領域
121の文書データを文字フォントデータ133に基づ
いてイメージデータに変換し、RAM102の表示デー
タの領域124に格納すると、表示コントローラ111
により行なわれる。
In displaying the document data on the display device 105, the CPU 101 converts the document data in the area 121 desired to be displayed on the display device 105 into image data based on the character font data 133 according to the I / O device control program 127 of the ROM 103. When stored in the display data area 124 of the RAM 102, the display controller 111
Performed by.

【0035】表示データの領域124はたとえば3つの
表示プレーン(R,G,B)から構成されており、たと
えばRのプレーンにだけデータを格納するとそのデータ
は赤色で表示され、Gのプレーンであれば緑色、Bのプ
レーンであれば青色で表示され、R,G,Bのすべての
プレーンに同じデータを格納した場合、そのデータは白
色で表示される。
The display data area 124 is composed of, for example, three display planes (R, G, B). For example, if data is stored only in the R plane, the data is displayed in red, and the G plane is not displayed. For example, the green plane is displayed in blue, and the B plane is displayed in blue. When the same data is stored in all the R, G, and B planes, the data is displayed in white.

【0036】ペン106およびタブレット107による
手書き文字入力などにおける座標入力は、使用者がペン
106をタブレット107に押当てることによってペン
先のスイッチがONになり、このときのタブレット10
7上の位置がタブレット・ペンコントローラ112によ
り検知されて、その座標データがCPU101に転送さ
れることにより行なわれる。
When inputting coordinates such as handwritten characters with the pen 106 and the tablet 107, the pen tip switch is turned on by the user pressing the pen 106 against the tablet 107.
This is performed by detecting the position on the position 7 on the tablet / pen controller 112 and transferring the coordinate data to the CPU 101.

【0037】CPU101は手書き文字認識プログラム
130に従って、ペン106およびタブレット107に
よって入力された座標列(ストローク)を手書き文字認
識辞書131に登録されているデータと比較・解析し、
手書き入力文字をリアルタイムで認識する。
According to the handwritten character recognition program 130, the CPU 101 compares and analyzes the coordinate sequence (stroke) input by the pen 106 and the tablet 107 with the data registered in the handwritten character recognition dictionary 131.
Recognize handwritten input characters in real time.

【0038】キーボード108による文書データの入力
は、使用者がキーボード108上のキーを押下するとキ
ーインタフェース113は押下されたキーの位置を検出
し、対応のキーコードをCPU101に転送することに
より行なわれる。なお、キーボード108には、仮名キ
ー、英字キー、および数字キーなどの非漢字文字入力キ
ー、カーソル移動キー、文字削除キーおよび複写キーな
どの文書編集キー、変換キー、次候補キーおよび無変換
キーなどの仮名漢字変換キー、印刷キー、文書呼出キー
および文書登録キーの機能キーなどが設置されている。
When the user presses a key on the keyboard 108, the key interface 113 detects the position of the pressed key and transfers the corresponding key code to the CPU 101 to input the document data using the keyboard 108. . The keyboard 108 includes non-Kanji character input keys such as kana keys, alphabetic characters, and numeric keys, cursor editing keys, document editing keys such as character deletion keys and copy keys, conversion keys, next candidate keys, and non-conversion keys. Kana-to-Kanji conversion keys such as, print key, document recall key and document registration key function keys are installed.

【0039】FD109への文書データ登録は、CPU
101がROM103のI/O機器制御プログラム12
7に従ってFD制御コマンド(登録)およびRAM10
2の領域121の文書データをFDコントローラ114
へ転送することにより行なわれる。
Registration of document data in the FD 109 is performed by the CPU.
101 is the I / O device control program 12 of the ROM 103
FD control command (registration) and RAM 10 according to 7.
The document data in the second area 121 is stored in the FD controller 114.
It is performed by transferring to.

【0040】FD109からの文書データ呼出は、CP
U101がROM103のI/O機器制御プログラム1
27に従ってFD制御コマンド(呼出)をFDコントロ
ーラ114へ転送すると、FDコントローラ114はF
D109から文書データを読出し、それをRAM102
の文書データの領域121へ転送することによって行な
われる。
When the document data is called from the FD 109, the CP
U101 is the I / O device control program 1 of the ROM 103
When the FD control command (call) is transferred to the FD controller 114 according to 27, the FD controller 114
The document data is read from D109 and is read out from the RAM102.
This is performed by transferring the document data to the area 121 of the document data.

【0041】まず第1実施例について説明する。図3
は、この発明の第1実施例による日本語ワードプロセッ
サにおいて入力文字列または登録文字列を用いながら文
書データを作成するための概略フローチャートである。
第1実施例によれば文字列を入力した際にそれをRAM
102に登録しておき、次に同じ文字列を入力したい場
合、その文字列を任意の位置からの数文字に短縮した短
縮文字列を入力して呼出指示を行なえば、その文字列全
体を呼出すことができる。この詳細について図3のフロ
ーチャートに従い説明する。
First, the first embodiment will be described. FIG.
FIG. 3 is a schematic flowchart for creating document data using an input character string or a registered character string in the Japanese word processor according to the first embodiment of the present invention.
According to the first embodiment, when a character string is input, it is stored in the RAM.
If you want to input the same character string next time after registering it in 102, if you input a shortened character string that shortens the character string to several characters from any position and issue a call instruction, the entire character string is called. be able to. The details will be described with reference to the flowchart of FIG.

【0042】まずステップ(以下、Sと略す)101で
は変数データの領域122に文字列バッファBUF1を
確保し初期化する。
First, in step (hereinafter abbreviated as S) 101, a character string buffer BUF1 is secured in a variable data area 122 and initialized.

【0043】S102ではキーボード108などより文
字列を入力し、該入力文字列をバッファBUF1に格納
する。入力された文字列は同時に表示装置105に表示
される。なお、ここでの入力文字列としてはキーボート
108から入力された仮名文字列、それを仮名漢字変換
した漢字混じり文字列、タブレット107およびペン1
06によって手書き入力されて文字認識された漢字混じ
り文字列などがある。これらの文字列の入力は既に公知
の技術であるので、詳細説明を省略する。
In S102, a character string is input from the keyboard 108 or the like, and the input character string is stored in the buffer BUF1. The input character string is simultaneously displayed on the display device 105. The input character string here is a kana character string input from the keyboard 108, a kanji mixed character string obtained by converting the kana into kana, the tablet 107 and the pen 1.
For example, there is a character string mixed with kanji that is input by handwriting and recognized by 06. Since the input of these character strings is a known technique, detailed description thereof will be omitted.

【0044】S103ではバッファBUF1に入力され
た文字列の文字数が変数nに代入される。なお変数領域
は変数データの領域122に確保される。
In S103, the number of characters of the character string input to the buffer BUF1 is substituted into the variable n. The variable area is secured in the variable data area 122.

【0045】S104では文字列登録の指示があったか
否かが判断され、あったならばS105へ、なかったな
らばS106へ移行する。ここでの登録指示としては使
用者がキーボード108を操作する、あるいはペン10
6をタブレット107上で操作することなどによって行
なわれる。S105では、バッファBUF1に記憶され
ている文字列の登録が行なわれる。なおS105の登録
処理の詳細については図4および図5において後述す
る。
In S104, it is determined whether or not there is an instruction to register a character string, and if there is an instruction, the process proceeds to S105, and if not, the process proceeds to S106. As a registration instruction here, the user operates the keyboard 108 or the pen 10
6 is operated on the tablet 107 or the like. In S105, the character string stored in the buffer BUF1 is registered. The details of the registration process in S105 will be described later with reference to FIGS. 4 and 5.

【0046】S106では文字列呼出の指示があったか
否かが判断され、なかったならばS102へ移行してバ
ッファBUF1に新たな文字列を追加あるいは変更して
同様の処理が繰返され、指示があったならばS107へ
移行する。ここでの呼出指示としては使用者がキーボー
ド108を操作する、またはペン106をタブレット1
07上で操作するなどによって行なわれる。
In S106, it is determined whether or not there is an instruction to call a character string. If not, the process proceeds to S102, a new character string is added to or changed in the buffer BUF1, the same processing is repeated, and the instruction is given. If so, the process proceeds to S107. As a calling instruction here, the user operates the keyboard 108 or the pen 106 is pressed on the tablet 1
It is performed by operating on 07.

【0047】S107では、文字列の呼出処理が行なわ
れる。なおS107の呼出処理の詳細については図6お
よび図7において後述する。
In S107, a character string calling process is performed. The details of the calling process in S107 will be described later with reference to FIGS. 6 and 7.

【0048】なお、上述の登録指示は登録を行ないたい
単位文字列、たとえば文節を入力する毎に使用者が行な
っているが、文節を考慮せずに連続した文字列を一括し
て入力し、自動的に文節ごとに文字列を分割し、その分
割した文字列ごとに自動的に登録がなされるようにして
もよい。その処理の詳細については図19において後述
する。
Although the above-mentioned registration instruction is performed by the user every time a unit character string desired to be registered, for example, a phrase is input, a continuous character string is collectively input without considering the phrase, Alternatively, the character string may be automatically divided for each clause, and the divided character strings may be automatically registered. Details of the processing will be described later with reference to FIG.

【0049】次に、図3のS105の登録処理の詳細に
ついて説明する。図4は、この発明の第1実施例による
短縮入力データの領域123のフォーマット図である。
Next, the details of the registration processing in S105 of FIG. 3 will be described. FIG. 4 is a format diagram of the area 123 of the shortened input data according to the first embodiment of the present invention.

【0050】短縮入力データの領域123には、登録す
る各文字列について、その文字数C、文字列CHおよび
その文字列CHが使用された回数COを含むデータDが
記憶される。またデータDは登録された順番に領域12
3の後方から並んで記憶されるので、先頭に記憶された
データDが最も最近に登録されたデータである。文字数
Cは1アドレス分の領域に、文字列CHはNアドレス分
の領域に、使用回数COは1アドレス分の領域にそれぞ
れストアされる。また最後方のデータDの次の位置には
データの終了を表わす「エンドコード」が記憶されてい
る。
In the area 123 of the abbreviated input data, for each character string to be registered, the data D including the number of characters C, the character string CH and the number of times CO of using the character string CH is stored. Further, the data D is stored in the area 12 in the order of registration.
Since they are stored side by side from the rear of 3, the data D stored at the beginning is the most recently registered data. The number of characters C is stored in the area for one address, the character string CH is stored in the area for N addresses, and the number of times of use CO is stored in the area for one address. An "end code" indicating the end of the data is stored at the position next to the last data D.

【0051】図4(b)には実際にバッファBUF1内
の文字列「仮名あるいは漢字などによって構成される文
字列」が文節ごとに分割されて登録された様子が示され
ている。
FIG. 4B shows a state in which the character string "character string formed by kana or kanji" in the buffer BUF1 is actually divided and registered for each clause.

【0052】図5は図3のS105の第1実施例による
登録処理のフローチャートである。以下に図5の登録処
理について説明する。なお、このフローチャートにおい
てバッファBUF1は先頭からn文字(変数nの値の文
字数)だけを処理の対象としている。
FIG. 5 is a flowchart of the registration processing according to the first embodiment of S105 of FIG. The registration process of FIG. 5 will be described below. In this flowchart, the buffer BUF1 targets only n characters (the number of characters of the value of the variable n) from the beginning.

【0053】S111では短縮入力データの領域123
を検索してバッファBUF1の内容が既に登録されてい
るか否かが判断され、登録されていればS112に、登
録されていなければS113へ移行する。文字列が既に
登録されているか否かの判断は、まずバッファBUF1
の文字列の文字数nと同じ文字数Cである文字列CHを
短縮データの領域123から検索し、次に検索された文
字列CHとバッファBUF1の文字列とを順に1文字ず
つ比較し全一致すればS112へ、そうでなければS1
13へ移行する。S112では短縮入力データの領域1
23の、S111で検索されたバッファBUF1と一致
する文字列CHの使用回数COを1だけインクリメント
し、またデータDの並び替え(検索された文字列CHに
関するデータDを領域123のデータ群の最後尾へ移動
させる)を行ない、S116へ移行する。
In S111, the area 123 of the shortened input data
Is searched to determine whether or not the content of the buffer BUF1 is already registered. If registered, the process proceeds to S112, and if not registered, the process proceeds to S113. To determine whether the character string has already been registered, first check the buffer BUF1.
The character string CH having the same character number C as the character number n of the character string of is searched from the area 123 of the shortened data, and the searched character string CH and the character string of the buffer BUF1 are sequentially compared one by one, and a complete match is found. If S112, otherwise S1
Move to 13. In S112, the area 1 of the shortened input data
23, the number of times CO of the character string CH that matches the buffer BUF1 searched in S111 is incremented by 1, and the data D is rearranged (the data D related to the searched character string CH is added to the end of the data group in the area 123). (Moving to the tail) is performed, and the process proceeds to S116.

【0054】一方、S113では短縮入力データの領域
123にさらに文字列を登録するための空き領域がある
か否かが判断され、空き領域がある場合はS115へ、
ない場合はS114へ移行する。
On the other hand, in S113, it is judged whether or not there is an empty area for registering a character string in the area 123 of the abbreviated input data. If there is an empty area, the operation proceeds to S115.
If not, the process proceeds to S114.

【0055】S114では短縮入力データの領域123
を検索して、使用回数COの少ないデータDを削除す
る。削除するデータDを選択するためには、まず短縮入
力データの領域123の最後尾から所定件数(たとえば
10件)のデータ(最も古いデータ10件)Dを選択
し、そのデータD群の中で最も使用回数COの少ないも
のを1つ選択する。もしこのときに使用回数COの最も
少ないデータDが複数個あった場合は、その中で最も以
前に使用されたデータDを1つ選択する。このようにし
て選択されたデータDを削除すればよい。また、データ
Dを削除した後に選択された数件のデータDの使用回数
COをすべて1だけ減少させる(ただし最低値は0とす
る)。
In S114, the area 123 of the shortened input data
Is deleted and the data D having a small number of times CO is deleted. In order to select the data D to be deleted, first, a predetermined number (for example, 10) of data (10 oldest data) D is selected from the end of the area 123 of the abbreviated input data, and in the data D group. Select the one with the least number of uses CO. At this time, if there are a plurality of data D having the least number of times CO used, one of the data D used most recently is selected. The data D selected in this way may be deleted. In addition, after the data D is deleted, the usage counts CO of the selected data D are all decreased by 1 (however, the minimum value is 0).

【0056】上述した使用頻度の少ないデータ削除の処
理によって、しばらく使用されなかった文字列CHでも
その使用回数COが多かった文字列は削除されず、使用
回数COの少なかった文字列CHが優先的に削除され
る。ただし、使用回数の多かった文字列でも長い間使用
されなければ、前述したように使用回数COは1ずつ減
少されるので、やがては領域123から削除される。こ
のとき、使用回数COを減少させる数を1以外の数に設
定することにより、削除されるまでの期間を任意に変更
することができる。
By the above-described processing of deleting data having a low frequency of use, even a character string CH that has not been used for a while, a character string that has been used a large number of times CO is not deleted, and a character string CH that has been used a small number of times CO is given priority. Will be deleted. However, if a character string that has been used many times is not used for a long time, the number of uses CO is decreased by 1 as described above, and is eventually deleted from the area 123. At this time, by setting the number for reducing the usage count CO to a number other than 1, the period until deletion can be arbitrarily changed.

【0057】S115では領域123の先頭にバッファ
BUF1の文字列の文字数CO、バッファBUF1の内
容である文字列CH、および使用回数CO(=1)が追
加記憶される。このとき、領域123に既に記憶されて
いたデータDは順に後方に移動される。
In S115, the number of characters CO of the character string in the buffer BUF1, the character string CH that is the contents of the buffer BUF1, and the number of uses CO (= 1) are additionally stored at the beginning of the area 123. At this time, the data D already stored in the area 123 is sequentially moved backward.

【0058】S116では文書データの領域121にバ
ッファBUF1の内容が記憶され、S117で、文書デ
ータの領域121に記憶された文書が表示装置105に
表示されて文字列登録処理は終了する。この終了に応じ
て処理は図3のS101へ移行する。
In S116, the contents of the buffer BUF1 are stored in the area 121 of the document data, and in S117, the document stored in the area 121 of the document data is displayed on the display device 105, and the character string registration processing ends. In response to this end, the processing shifts to S101 in FIG.

【0059】上述した図5の文字列登録処理において
は、短縮入力データの領域123に空きがない場合、最
も以前に使用された複数個の文字列CHの中で、最も使
用頻度(使用回数CO)の低い文字列CHが削除され
て、その代わりに今回入力された新たな文字列が登録さ
れるとともに、これら複数個の文字列の使用頻度の情報
が所定量減少される。これにより、本来よく使用される
(使用回数COの高い)文字列CHであるにもかかわら
ず、何らかの理由でしばらく使用されなかった文字列が
領域123から削除されてしまうことはない。
In the character string registration processing of FIG. 5 described above, when there is no space in the area 123 of the abbreviated input data, the most frequently used character string (the number of times of usage CO The character string CH having a low) is deleted, the new character string input this time is registered in place of it, and the information on the frequency of use of these plural character strings is reduced by a predetermined amount. As a result, the character string CH that is originally often used (the number of times CO is used frequently) but has not been used for some reason for some reason will not be deleted from the area 123.

【0060】次に図3のS107の呼出処理の詳細につ
いて説明する。図6は図3のS107の第1実施例によ
る呼出処理のフローチャートである。図6のS121で
はフラグ変数Fに0が代入されて、S122では変数a
に短縮入力データの領域123の先頭アドレスが代入さ
れ、その後S123で文字列バッファBUF2の初期化
が行なわれる。フラグ変数Fは検索モードを示し、その
値が0のとき、バッファBUF1の文字列と領域123
の文字列とを先頭文字から検索するモードを示し、その
値が1のときバッファBUF1の文字列と領域123の
文字列とを途中文字から検索するモードを示す。
Next, details of the calling process in S107 of FIG. 3 will be described. FIG. 6 is a flowchart of the calling process according to the first embodiment of S107 of FIG. In S121 of FIG. 6, 0 is assigned to the flag variable F, and in S122, the variable a is set.
The start address of the area 123 of the abbreviated input data is substituted into, and then the character string buffer BUF2 is initialized in S123. The flag variable F indicates the search mode, and when the value is 0, the character string of the buffer BUF1 and the area 123
And the character string in the buffer BUF1 and the character string in the area 123 when the value is 1, the mode in which the intermediate character is searched.

【0061】S124ではバッファBUF1の文字列を
含む文字列CHを短縮入力データの領域123から検索
する。検索された文字列CHはバッファBUF2に記憶
される。文字列が見つからなかった場合、バッファBU
F2は初期化状態のままで何も記憶されない。なお、S
124の検索処理の詳細については図7において後述す
る。
In S124, the character string CH including the character string in the buffer BUF1 is searched from the area 123 of the shortened input data. The retrieved character string CH is stored in the buffer BUF2. Buffer BU if the string is not found
F2 remains in the initialized state and nothing is stored. In addition, S
Details of the search processing of 124 will be described later with reference to FIG. 7.

【0062】S125ではS124においてバッファB
UF1の文字列を含む文字列CHが見つかったか否かが
バッファBUF2の内容から判断され、見つかった場合
S127へ、見つからなかった場合S126へ移行す
る。
In S125, the buffer B in S124
Whether or not the character string CH including the character string of UF1 is found is determined from the contents of the buffer BUF2. If found, the process proceeds to S127, and if not found, the process proceeds to S126.

【0063】S126ではバッファBUF1の文字列を
部分文字列として含む文字列CHが領域123に登録さ
れていなかったので、バッファBUF1の文字列をバッ
ファBUF2に複写しS134へ移行する。
In S126, since the character string CH including the character string of the buffer BUF1 as a partial character string is not registered in the area 123, the character string of the buffer BUF1 is copied to the buffer BUF2 and the process proceeds to S134.

【0064】一方、S127ではバッファBUF2の文
字列(S124で領域123から検索された文字列)C
Hが表示装置105に表示される。この表示に応じてS
128において使用者から次候補表示の指示があったか
否かが判断され、指示があればS123へ移行して同様
の処理が繰返されて次の文字列が領域123から検索さ
れ、指示がなければS129へ移行する。
On the other hand, in S127, the character string of the buffer BUF2 (the character string retrieved from the area 123 in S124) C
H is displayed on the display device 105. S according to this display
In 128, it is determined whether or not the user has instructed to display the next candidate. If there is an instruction, the process proceeds to S123, the same processing is repeated to retrieve the next character string from the area 123, and if there is no instruction, S129. Move to.

【0065】S129では変数Fの値が2であるか判断
され、2であればS132へ、2でなければS130へ
移行する。なお、変数Fの値が0であるのは、バッファ
BUF1の文字列が領域123の文字列CHの先頭文字
から一致したことを表わし、変数Fの値が1であれば、
バッファBUF1の文字列が領域123の文字列CHの
途中文字から一致して、文字列CHがバッファBUF2
に呼出されたことを表わし、変数Fの値が2であれば、
バッファBUF1の文字列が領域123の文字列CHの
途中からの範囲がバッファBUF2に呼出されたことを
表わす。
In S129, it is determined whether the value of the variable F is 2, and if it is 2, the process proceeds to S132, and if it is not 2, the process proceeds to S130. The value 0 of the variable F means that the character string of the buffer BUF1 matches from the first character of the character string CH of the area 123, and if the value of the variable F is 1,
The character string of the buffer BUF1 matches from the middle character of the character string CH of the area 123, and the character string CH becomes the buffer BUF2.
Is called, and the value of the variable F is 2,
The character string in the buffer BUF1 indicates that the range from the middle of the character string CH in the area 123 is called by the buffer BUF2.

【0066】S130ではS124で検索された文字列
CHに対応の領域123の使用回数COが1だけインク
リメントされる。
In S130, the usage count CO of the area 123 corresponding to the character string CH retrieved in S124 is incremented by one.

【0067】S131では、S124で検索された文字
列に関するデータD(文字数C、文字列CHおよび使用
回数CO)が領域123の先頭に移動させられた後、S
134へ移行する。これにより、次に同じ文字列で領域
123が検索された場合、この文字列が最初の候補とし
て表示される。
In S131, the data D (the number of characters C, the character string CH and the number of uses CO) relating to the character string retrieved in S124 is moved to the beginning of the area 123, and then S
Move to 134. As a result, when the area 123 is searched with the same character string next, this character string is displayed as the first candidate.

【0068】一方、S132ではバッファBUF1にバ
ッファBUF2の内容が複写される。
On the other hand, in S132, the contents of the buffer BUF2 are copied to the buffer BUF1.

【0069】S133ではバッファBUF1の内容を領
域123に図5の手順で登録する。これは、領域123
に登録されている文字列CHの中で、バッファBUF1
中の指定文字列をその中途以降に含む文字列CHのその
中途以降の範囲の文字列が領域123に登録されること
を示す。これによって、その後、中途以降の文字列を呼
出す場合は、該中途以降の文字列が第1候補として優先
的に呼出される。
In S133, the contents of the buffer BUF1 are registered in the area 123 according to the procedure shown in FIG. This is area 123
Buffer BUF1 in the character string CH registered in
It indicates that the character string in the range after the middle of the character string CH including the specified character string inside the middle is registered in the area 123. As a result, when the character string after the midway is called after that, the character string after the midway is preferentially called as the first candidate.

【0070】S134ではバッファBUF2の文字列が
文書データの領域121に複写された後、S135では
領域121に記憶された文書が表示装置105に表示さ
れて呼出処理は終了する。これに応じて図3のS101
へ移行する。
After the character string of the buffer BUF2 is copied to the area 121 of the document data in S134, the document stored in the area 121 is displayed on the display device 105 in S135, and the calling process ends. In response, S101 in FIG.
Move to.

【0071】図7は図6のS124の第1実施例による
検索処理のフローチャートである。このフローチャート
を参照してS124の検索処理について説明する。
FIG. 7 is a flow chart of the search process according to the first embodiment of S124 of FIG. The search process of S124 will be described with reference to this flowchart.

【0072】S141では変数bおよび変数cに1が代
入される。なお、以下の説明において、変数aおよびb
は短縮入力データの領域123のポインタとして使用さ
れ、変数cはバッファBUF1のポインタとして使用さ
れる。変数aには図6のS122において領域123の
先頭アドレスが記憶される。
At S141, 1 is assigned to the variables b and c. In the following description, variables a and b
Is used as a pointer of the area 123 of the shortened input data, and the variable c is used as a pointer of the buffer BUF1. The head address of the area 123 is stored in the variable a in S122 of FIG.

【0073】S142では変数mに変数aでポイントさ
れるアドレス領域(以下、アドレス(変数a)と記す)
のデータを代入する。アドレス(変数a)には領域12
3内の文字列の文字数Cが記憶されているので、変数m
には文字数Cが代入される。
In S142, the address area pointed to by the variable a in the variable m (hereinafter referred to as address (variable a))
Substitute the data of. Area 12 is set to the address (variable a)
Since the number of characters C of the character string in 3 is stored, the variable m
The number of characters C is substituted into.

【0074】S143では変数nが変数mより大きい
(バッファBUF1の文字列の文字数nが短縮入力デー
タの領域123内の文字列CHの文字数Cより多い)か
否かが判断され、大きければS151へ、そうでなけれ
ばS144へ移行する。この処理は、変数nが変数mよ
り大きい場合、バッファBUF1の入力文字列が短縮入
力データの領域123において現在ポイントされる文字
列CHの部分文字列であることはあり得ないので、S1
51へ移行して検索対象を領域123の次の文字列へ移
動させるようポインタ処理するものである。S151で
は変数aにアドレス(変数a)の値および2を加える。
これによって変数aは領域123の次の文字列CHに関
するデータDの先頭アドレスをポイントする。
In S143, it is determined whether or not the variable n is larger than the variable m (the number n of characters in the character string of the buffer BUF1 is larger than the number C of characters in the character string CH in the area 123 of the shortened input data). If not, the process proceeds to S144. In this process, if the variable n is larger than the variable m, the input character string of the buffer BUF1 cannot be a partial character string of the character string CH currently pointed to in the area 123 of the shortened input data, so S1
In step 51, pointer processing is performed to move the search target to the next character string in the area 123. In step S151, the value of the address (variable a) and 2 are added to the variable a.
As a result, the variable a points to the start address of the data D regarding the next character string CH in the area 123.

【0075】S152ではアドレス(変数a)にエンド
コードが記憶されているか否かが判断され、記憶されて
いればS153へ移行し、そうでなければS141へ移
行して処理を繰返す。
In S152, it is determined whether or not the end code is stored in the address (variable a). If the end code is stored, the process proceeds to S153, and if not, the process proceeds to S141 and the process is repeated.

【0076】S153ではフラグ変数Fの値が0である
か否かが判断され、0であればS154へ移行し、0で
なければ本処理を終了する。これに応じて処理は図6の
S125へ移行する。なおフラグ変数Fの値が0である
場合、バッファBUF1の文字列とその先頭から一致し
ている文字列CHが領域123から検索され、フラグ変
数Fの値が1である場合、バッファBUF1の文字列と
その文字列の途中から一致している文字列が領域123
から検索される。最初にF=0(S121)として検索
し、次にF=1(S154)として検索することにより
領域123中の文字列CHのうち指定された文字列を先
頭に含む文字列の方がその途中に含む文字列よりも優先
して検索される。
In S153, it is determined whether or not the value of the flag variable F is 0. If 0, the process proceeds to S154, and if not 0, this process ends. In response to this, the process proceeds to S125 in FIG. When the value of the flag variable F is 0, the character string CH that matches the character string of the buffer BUF1 from the beginning is searched from the area 123, and when the value of the flag variable F is 1, the characters of the buffer BUF1 are searched. The string that matches the string from the middle of the string is the area 123
It is searched from. By first searching for F = 0 (S121) and then searching for F = 1 (S154), the character string that includes the designated character string at the beginning of the character string CH in the area 123 is in the middle. Will be searched with priority over the character string included in.

【0077】S154ではフラグ変数Fに1が代入され
て、S155で変数aに領域123の先頭アドレスが代
入され、S141へ移行して処理が繰返される。
In step S154, 1 is assigned to the flag variable F, the head address of the area 123 is assigned to the variable a in step S155, and the process proceeds to step S141 to repeat the process.

【0078】一方、S144ではアドレス(変数a+変
数b)に記憶されている文字とバッファBUF1の変数
cのポイントする文字とが一致するか否かが判断され、
一致するならばS147へ、一致しなければS145へ
移行する。
On the other hand, in S144, it is determined whether or not the character stored in the address (variable a + variable b) and the character pointed to by the variable c in the buffer BUF1 match.
If they match, the process proceeds to S147, and if they do not match, the process proceeds to S145.

【0079】S145ではフラグ変数Fの値が1である
か否かが判断され、1であればS146へ移行し、1で
なければS151へ移行する。
In S145, it is determined whether or not the value of the flag variable F is 1, and if it is 1, the process proceeds to S146, and if it is not 1, the process proceeds to S151.

【0080】S146では変数bの値が1だけインクリ
メントされて変数mの値が1だけデクリメントされて、
S143へ移行し処理が繰返される。これによって領域
123の文字列CHのうちバッファBUF1中の文字列
とその途中から一致している文字列CHが検索される。
In S146, the value of the variable b is incremented by 1 and the value of the variable m is decremented by 1,
The process moves to S143 and the process is repeated. As a result, the character string CH in the area 123 is searched for a character string CH that matches the character string in the buffer BUF1 from the middle.

【0081】S147ではフラグ変数Fの値が1で、か
つ変数bの値が1であるか否かが判断され、そうであれ
ばS146へ、そうでなければS148へ移行する。こ
れは変数Fが1(文字列の途中からの一致を検索するモ
ード)である場合、領域123中の文字列CHとバッフ
ァBUF1中の文字列との先頭文字が一致してもこれを
無視するものである。
In S147, it is determined whether or not the value of the flag variable F is 1 and the value of the variable b is 1, and if so, the process proceeds to S146, and if not, the process proceeds to S148. When the variable F is 1 (a mode for searching for a match from the middle of the character string), even if the first character of the character string CH in the area 123 and the character string of the buffer BUF1 match, this is ignored. It is a thing.

【0082】S148では変数bおよびcの値を1だけ
インクリメントして変数mの値を1だけデクリメントし
た後、S149へ移行する。S149では変数cの値が
変数nの値より大きいか否か、すなわちバッファBUF
1中の文字列のすべての文字について一致と判断された
か否かが判定され、そうであればS150へ移行し、そ
うでなければS143へ移行して処理を繰返す。
In S148, the values of the variables b and c are incremented by 1 and the value of the variable m is decremented by 1, and then the process proceeds to S149. In S149, it is determined whether the value of the variable c is larger than the value of the variable n, that is, the buffer BUF.
It is determined whether or not it is determined that all the characters in the character string in 1 match, and if so, the process proceeds to S150, and if not, the process proceeds to S143 and repeats.

【0083】S150ではアドレス(変数a)の次のア
ドレスがポイントする文字から、アドレス(変数a)の
ポイントするデータ(文字数C)に相当の文字数からな
る文字列をバッファBUF2に複写して本処理を終了す
る。これに応じて処理は図6のS125へ移行する。こ
れにより、バッファBUF2には短縮入力データの領域
123に登録されている複数の文字列CHのうち、バッ
ファBUF1の文字列を含む文字列が記憶される。
In S150, a character string having a number of characters corresponding to the data (character number C) pointed to by the address (variable a) is copied to the buffer BUF2 from the character pointed to by the address next to the address (variable a), and the main processing is performed. To finish. In response to this, the process proceeds to S125 in FIG. As a result, the buffer BUF2 stores the character string including the character string of the buffer BUF1 among the plurality of character strings CH registered in the area 123 of the shortened input data.

【0084】なお、このS150の処理を図7に記載の
S150′による処理に変更してもよい。S150′で
は、まず、変数Fに2をセットし、アドレス(変数a+
変数b−変数c)の次のアドレスがポイントする文字か
ら、変数aにアドレス(変数a)のポイントするデータ
(文字数C)を加えたアドレスがポイントする文字まで
の文字列がバッファBUF2に複写される。これにより
バッファBUF2には短縮入力データの領域123に登
録されている複数の文字列CHのうち、バッファBUF
1の文字列を含む文字列CHについてバッファBUF1
の文字列と一致した位置以降の文字列が記憶される。こ
れにより、領域123に登録されている文字列CHの中
の呼出したい範囲(部分文字列)の先頭位置の文字を入
力すると、その位置以降の部分文字列を呼出すことがで
きるので、登録されている文字列CH中のある範囲だけ
を容易に呼出すことができる。なお、S150の処理を
行なうか、S150′の処理を行なうかは利用者の指示
により選択できるようにしてもよい。
The process of S150 may be changed to the process of S150 'shown in FIG. In S150 ', first, the variable F is set to 2, and the address (variable a +
The character string from the character pointed to by the next address of variable b-variable c) to the character pointed by the address obtained by adding the data (the number of characters C) of the address (variable a) to variable a is copied to buffer BUF2. It As a result, in the buffer BUF2, among the plurality of character strings CH registered in the area 123 of the shortened input data, the buffer BUF
Buffer BUF1 for the character string CH including the character string of 1
The character string after the position that matches the character string of is stored. As a result, when the character at the beginning position of the range (partial character string) to be called in the character string CH registered in the area 123 is input, the partial character string after that position can be called. Only a certain range in the existing character string CH can be easily called. The user may select whether to perform the process of S150 or S150 '.

【0085】次に、第2実施例について説明する。図8
はこの発明の第2実施例に適用される部首コード表20
0を示す図であり、図9はこの発明の第2実施例に適用
される文字部首対応辞書300を示す図である。図8お
よび図9のコード表200および辞書300はROM1
03のその他のデータ134に含まれる。上述した第1
の実施例では短縮文字列を指定して所望の文字列を領域
123から検索して呼出すことができるのに対し、第2
実施例では、漢字混じり文字列を入力した際にそれを記
憶装置に登録しておき、その後同じ文字列を用いて文書
編集などしたい場合、その文字列の先頭あるいは中途以
降に含まれる任意の漢字の部首列(少なくとも1つ以上
の部首からなる)を入力して呼出指示を行なうことによ
り、該当の文字列を呼出して文書編集ができる。たとえ
ば「短縮入力」という文字列を呼出す場合、「短」の部
首「矢」または「縮」の部首「糸」あるいはその両方を
指定することによって呼出すことができる。
Next, the second embodiment will be described. FIG.
Is a radical code table 20 applied to the second embodiment of the present invention.
9 is a diagram showing 0, and FIG. 9 is a diagram showing a character radical correspondence dictionary 300 applied to the second embodiment of the present invention. The code table 200 and the dictionary 300 shown in FIGS. 8 and 9 are stored in the ROM 1
03 other data 134. First mentioned above
In the embodiment described above, a desired character string can be retrieved from the area 123 and called out by designating a shortened character string.
In the embodiment, when a character string mixed with kanji is input, it is registered in the storage device, and when it is desired to edit a document using the same character string after that, any kanji included at the beginning or the middle of the character string can be used. By inputting a radical string (consisting of at least one radical) and issuing a calling instruction, the corresponding character string can be called to edit the document. For example, when a character string "shortened input" is called, it can be called by designating a "short" radical "arrow" or a "contracted" radical "thread" or both.

【0086】第2実施例による処理の流れは前述した図
3、図5、図6および図7に示されたフローチャートに
沿ったものであるので、その詳細説明は省略するが、図
3のS102の文字列入力処理において、文字列だけで
はなく漢字の部首列も入力できる処理が行なわれる点、
またS107の呼出処理において部首列をキーワードと
して短縮入力データの領域123に登録されている文字
列CHを検索できる処理が行なわれる点が、先に説明さ
れた処理とは異なるので、これら異なる点については以
下に説明する。
The flow of processing according to the second embodiment follows the flow charts shown in FIGS. 3, 5, 6 and 7 described above, so a detailed description thereof will be omitted, but S102 of FIG. 3 is omitted. In the character string input processing of, the point that not only the character string but also the radical of Kanji is input,
Further, the point that the character string CH registered in the area 123 of the abbreviated input data is searched in the calling process of S107 using the radical as a keyword is different from the process described above. Will be described below.

【0087】第2実施例では、図3のS102において
漢字の部首列が入力されてバッファBUF1に記憶され
る。これはたとえば表示画面上に部首の一覧を表示させ
て、その中から目的とする部首をカーソルや入力ペンな
どによって指定させる方法や、部首の形状をタブレット
上で入力してそれを手書き文字認識処理によって認識す
る方法などにより行なわれる。これらの方法は公知であ
るため、詳細説明は省略する。なお、入力された部首列
はたとえば図8に示された対応のコード201に変換さ
れてバッファBUF1に記憶される。部首コード表80
0は該プロセッサで使用する漢字の部首の種別202の
それぞれに対応してそのコード201と形状203とが
格納されている。
In the second embodiment, radicals of Chinese characters are input in S102 of FIG. 3 and stored in the buffer BUF1. This is, for example, a method of displaying a list of radicals on the display screen and specifying the desired radical from the list with a cursor or an input pen, or entering the radical shape on a tablet and handwriting it. It is performed by a method of recognizing by character recognition processing. Since these methods are known, detailed description is omitted. The entered radical is converted into the corresponding code 201 shown in FIG. 8 and stored in the buffer BUF1. Radical code table 80
0 stores the code 201 and the shape 203 corresponding to each radical type 202 of the kanji used by the processor.

【0088】図8のコード201の定め方は1画の部首
の方から順に0001−1,0002−1…と定め、ま
た同じ種類で形状203の異なるもの、たとえば部首種
別202の「ひと」と「にんべん」とは0009−1,
0009−2というように付属するコードを変えてい
る。
The code 201 shown in FIG. 8 is defined as the strokes of one stroke in the order of 0001-1, 0002-1, ... And the same type but different shape 203, for example, a radical type 202 "person." And "Ninben" are 0009-1,
The attached code is changed like 0009-2.

【0089】次に部首列をキーワードとして短縮入力デ
ータの領域123に登録されている文字列CHを検索す
る方法について説明する。
Next, a method for searching the character string CH registered in the area 123 of the abbreviated input data using the radical as a keyword will be described.

【0090】検索処理は図7に示される処理によって行
なわれるが、S144における文字の一致判断処理を部
首の一致判断処理に変更する。そのために図9に示され
るような文字部首対応辞書300が用意される。
The search process is performed by the process shown in FIG. 7, but the character match determination process in S144 is changed to the radical match determination process. For that purpose, a character radical correspondence dictionary 300 as shown in FIG. 9 is prepared.

【0091】図9の文字部首対応辞書300は該ワード
プロセッサで使用される文字(漢字)301のそれぞれ
について、その部首の種別302、部首の形状303お
よびコード304が記憶される。たとえば図9から
「仮」という文字の部首は「にんべん」であり、その形
状は「イ」、コードは「0009−2」であることがわ
かる。
The character radical correspondence dictionary 300 of FIG. 9 stores a radical type 302, a radical shape 303, and a code 304 for each character (kanji) 301 used in the word processor. For example, it can be seen from FIG. 9 that the radical of the character "provisional" is "nimben", its shape is "a", and its code is "0009-2".

【0092】図7のS144では、アドレス(変数a+
変数b)に記憶されている文字の部首コード304を、
辞書300を参照し求め、それがバッファBUF1の変
数cがポイントする位置に記憶されている部首コード2
01と一致するか否かを判断し、一致するならS147
へ、一致しなければS145へ移行する。なお、アドレ
ス(変数a+変数b)に記憶されている文字が漢字でな
かった場合はS145へ移行するように処理する。
In S144 of FIG. 7, the address (variable a +
The radical code 304 of the character stored in the variable b)
The radical code 2 which is obtained by referring to the dictionary 300 and is stored at the position pointed to by the variable c in the buffer BUF1
It is determined whether or not 01 matches, and if they match, S147.
If not, the process proceeds to S145. If the character stored in the address (variable a + variable b) is not a kanji character, the process proceeds to S145.

【0093】以上のように処理を変更することによって
図3、図5、図6および図7に示されたフローチャート
を用いて、部首列をキーワードにして、その部首列を含
んで構成される文字列を部分文字列として含む文字列C
Hを領域123から呼出すことができる。これにより、
呼出したい文字列CHが画数の多い漢字などで構成され
ている場合でも、それに対応の部首列を入力するだけで
容易にその文字列CHを呼出すことができる。
By changing the processing as described above, it is configured to include the radicals with the radicals as keywords using the flowcharts shown in FIGS. 3, 5, 6 and 7. Character string C that contains a character string that
H can be called from area 123. This allows
Even if the character string CH to be called is composed of Chinese characters having a large number of strokes, the character string CH can be easily called by simply inputting the radical corresponding to it.

【0094】上述した部首列をキーワードにして検索処
理するプロセッサでは、利用者が漢字の部首に関する知
識を予め準備していることが求められるが、文書を表示
する際に文書中の漢字のそれぞれについてその部首が対
応して表示されれば利用者はそのような知識は十分でな
くてもよい。図10(a)および(b)には、この発明
の第2実施例において文書データが部首とともに表示さ
れた場合を示す図である。
In the above-described processor that performs a search process using the radicals as keywords, it is required that the user prepares knowledge about radicals of Chinese characters in advance. The user does not need to have such knowledge as long as the radical is displayed correspondingly for each. FIGS. 10A and 10B are diagrams showing a case where the document data is displayed together with the radical in the second embodiment of the present invention.

【0095】このプロセッサの表示の改良は、図5のS
117および図6のS135による文書表示処理を部首
をわかりやすいよう表示できるよう変更することにより
行なわれる。
The improvement of the display of this processor is S in FIG.
117 and S135 in FIG. 6 are performed by changing the document display processing so that the radical can be displayed in an easily understandable manner.

【0096】この表示が改良されたプロセッサは図9に
示されるような文字部首対応辞書300を有しているの
で、たとえば文書中の「仮」という漢字の部首の形状3
03は「イ」であることがわかる。この部首形状303
のデータを図5のS117および図6のS135の処理
において、漢字「仮」を表示したその近傍に表示するよ
うに処理することによって、文書中の漢字のそれぞれの
部首を漢字と対応させて表示させることができる。
Since the processor whose display is improved has the character radical correspondence dictionary 300 as shown in FIG. 9, for example, the radical shape 3 of the Chinese character "temporary" in the document is used.
It can be seen that 03 is “a”. This radical shape 303
In step S117 of FIG. 5 and step S135 of FIG. 6, the data is processed so as to be displayed in the vicinity of the Chinese character “temporary”, so that each radical of the Chinese character in the document is associated with the Chinese character. Can be displayed.

【0097】図10(a)にはその表示の1形態として
漢字の下に対応の部首が表示されている。この表示形態
はこれに特定されず、その部首の形状303のデータに
従ってその部分の表示に関する属性データ(たとえば、
色や線種)を変更して対応の漢字を表示するようにして
もよい。処理方法としてはたとえば部首の形状303の
データと対応の文字のドットデータとの論理積を取り、
真となったドットの色を変更する、あるいは編み目状の
部首の形状303のデータと対応の文字のドットデータ
の論理積の結果データを表示させる。図10(b)には
他の表示形態として部首の線種が点線にして表示されて
いる。
In FIG. 10 (a), the corresponding radical is displayed below the Chinese character as one form of the display. This display form is not limited to this, and attribute data relating to the display of the part according to the data of the radical shape 303 (for example,
The corresponding kanji may be displayed by changing the color or line type). As a processing method, for example, a logical product of the data of the radical shape 303 and the dot data of the corresponding character is calculated,
The color of the dot that becomes true is changed, or the result data of the logical product of the data of the shape 303 of the knitted radical and the dot data of the corresponding character is displayed. In FIG. 10B, the radical line type is displayed as a dotted line as another display form.

【0098】以上の表示処理を行なうことによって、漢
字混じり文字列を出力する場合、各漢字の部首が何であ
るのか容易に判断できるように、各漢字に対応づけて部
首が出力される。これにより部首列を入力してその部首
列で構成される文字列を部分文字列として含む文字列C
Hを領域123から呼出す場合などに、利用者はその文
字の部首が何であるのか(どの部首を入力すればよいの
か)を容易に知ることができる。
By performing the above display processing, when a character string mixed with Chinese characters is output, the radical is output in association with each Chinese character so that it can be easily determined what the radical of each Chinese character is. As a result, the radical string is input and the character string C including the character string formed by the radical string as a partial character string is input.
When calling H from the area 123, the user can easily know what the radical of the character is (which radical should be input).

【0099】次に、第3実施例について説明する。上述
したプロセッサでは短縮入力データの領域123から漢
字の多い文字列を選択しようとした場合は、利用者は漢
字を多く含む短縮文字列を入力する必要が生じて入力操
作が煩わしくなる。これは第3実施例のプロセッサによ
り次のようにして改善される。
Next, a third embodiment will be described. When the processor described above attempts to select a character string having many Chinese characters from the area 123 of the abbreviated input data, the user needs to input the abbreviated character string containing many Chinese characters, which makes the input operation troublesome. This is improved by the processor of the third embodiment as follows.

【0100】このプロセッサでは漢字混じり文字列が入
力された際に、その漢字混じり文字を仮名文字列に変換
し、領域123にその仮名文字列を見出し語として対応
の漢字混じり文字列を登録しておき、次に同じ漢字混じ
り文字列の入力が所望された場合、利用者は変換後の仮
名文字列を任意の位置からのある数文字に短縮した短縮
仮名文字列を入力して呼出指示を行なうことにより、対
応の漢字混じり文字列を呼出すことができる。
In this processor, when a character string mixed with kanji is input, the character mixed with kanji is converted into a kana character string, and the corresponding kanji character mixed character string is registered in the area 123 using the kana character string as an entry word. Next, when it is desired to input the same kanji mixed character string, the user inputs a shortened kana character string that is a shortened kana character string after conversion into a certain number of characters from an arbitrary position to issue a call instruction. By doing so, it is possible to call the corresponding character string mixed with Kanji.

【0101】たとえば手書き文字認識処理により「漢字
混じり文字列」という文字列が入力された場合、これは
仮名文字列「かんじまじりもじれつ」に変換された後、
この双方は対応づけられて領域123に予め登録される
ので、その後利用者は漢字ではない、たとえば短縮仮名
文字列「か」や「まじり」などを入力することによって
対応の文字列「漢字混じり文字列」を呼出すことができ
る。
For example, when a character string "kanji mixed character string" is input by the handwritten character recognition processing, this is converted into the kana character string "Kanjijimari Mojiretsu",
Both of these are associated with each other and are registered in advance in the area 123, so that the user thereafter inputs a character string “Kanji mixed characters” that is not a Kanji character, for example, by inputting a short kana character string “KA” or “Majiri”. You can call "rows".

【0102】また、入力された「漢字混じり文字列」の
先頭1文字「漢」のみを仮名1文字「か」に変換した
後、この仮名1文字と「漢字混じり文字列」とを対応づ
けて領域123に登録すれば、利用者はその後「か」を
入力することによって対応の「漢字混じり文字列」を呼
出すことができる。
Also, after converting only the first character "Kan" of the input "Kanji mixed character string" into one Kana "Ka", this one Kana and "Kanji mixed character string" are associated with each other. If registered in the area 123, the user can call the corresponding "character string mixed with kanji" by inputting "ka" after that.

【0103】上述した第3実施例に係るプロセッサの処
理の流れは前述した図3に示されるフローチャートと同
様であるが、S105の登録処理およびS107の呼出
処理は以下に示すフローチャートに従って行なわれる。
The processing flow of the processor according to the third embodiment described above is the same as the flow chart shown in FIG. 3 described above, but the registration processing of S105 and the calling processing of S107 are performed according to the flow chart shown below.

【0104】図11は第3実施例によるプロセッサにお
ける短縮入力データの領域123のフォーマットを示す
図である。短縮入力データの領域123には、登録する
文字列のそれぞれについて仮名見出し語の文字数40
1、登録する文字列の文字数402、登録する文字列の
仮名見出し語403、登録する文字列404、その文字
列が使用された回数405が記憶されている。
FIG. 11 is a diagram showing the format of the area 123 of the shortened input data in the processor according to the third embodiment. In the area 123 of the abbreviated input data, the number of kana headwords for each registered character string is 40
1, the number of characters 402 of the character string to be registered, the kana headword 403 of the character string to be registered, the character string 404 to be registered, and the number of times 405 the character string has been used are stored.

【0105】またこれらのデータは文字列404が登録
された順番に後方から並んで記憶されているので、領域
123の先頭に登録されるデータが最も最近に登録され
たデータである。また最後方のデータの次の位置にはデ
ータの終了を表わす「エンドコード」が記憶される。
Since these data are stored side by side in the order in which the character string 404 was registered, the data registered at the beginning of the area 123 is the most recently registered data. An "end code" indicating the end of the data is stored at the position next to the last data.

【0106】領域123において登録される各文字列に
ついて、仮名見出し語文字数401、登録文字列文字数
402および使用回数405は図示されるようにそれぞ
れ1アドレス分の領域に格納され、仮名見出し語403
および登録文字列404はそれぞれN1アドレスおよび
Mアドレス分の領域に格納される。
For each character string registered in the area 123, the kana headword word number 401, the registered character string character number 402 and the number of times of use 405 are respectively stored in the area for one address as shown in the figure, and the kana headword word 403.
The registered character string 404 and the registered character string 404 are stored in areas for N1 address and M address, respectively.

【0107】仮名見出し語403はN1アドレス分の領
域に格納されるので仮名見出し語文字数401はN1の
値を有し、登録文字列404はMアドレス分に格納され
るので登録文字列文字数402の値はMとなる。
Since the kana headword 403 is stored in the area for N1 addresses, the kana headword word number 401 has a value of N1, and the registered character string 404 is stored for M addresses, so the registered character string character number 402 is The value is M.

【0108】図12および図13は第3実施例において
文字列が文節ごとに分割されて短縮入力データの領域1
23に登録された状態を示す図である。
12 and 13, the character string is divided for each clause in the third embodiment, and the area 1 of the shortened input data is shown.
It is a figure which shows the state registered into 23.

【0109】図14はこの発明の第3実施例による登録
処理のフローチャートであり、図3のS105に対応す
る。図14のフローチャートは図5に示されたフローチ
ャートとほぼ同様であるので、ここでは図5のフローチ
ャートとは異なる処理部分のみ説明する。また図14の
フローチャートにおいてバッファBUF1の先頭からn
文字(変数nの値の文字数)だけを処理の対象とする。
FIG. 14 is a flowchart of the registration processing according to the third embodiment of the present invention, which corresponds to S105 of FIG. Since the flowchart of FIG. 14 is substantially the same as the flowchart shown in FIG. 5, only the processing part different from the flowchart of FIG. 5 will be described here. Further, in the flowchart of FIG. 14, n from the beginning of the buffer BUF1
Only the characters (the number of characters of the value of the variable n) are processed.

【0110】S201ではバッファBUF1に記憶され
ている漢字混じり文字列から仮名見出し語を求める際
に、その仮名見出し語がいくつあるかを求め、その数を
変数m1に代入する。たとえば「文字」という文字列は
「もじ」と「もんじ」の2つの読みが存在するため、変
数m1には2が代入される。
In step S201, when obtaining kana headwords from the kanji-blended character string stored in the buffer BUF1, the number of kana headwords is calculated, and the number is substituted into the variable m1. For example, since the character string “character” has two readings “Moji” and “Monji”, 2 is assigned to the variable m1.

【0111】S202ではバッファBUF1に記憶され
ている漢字混じり文字列を仮名見出し語(複数ある場合
(m1>1)はm1番目の仮名見出し語)に変換し、そ
れをバッファBUF3に記憶する。なお、漢字混じり文
字列から仮名見出し語を求める方法の詳細は後述する。
In step S202, the kanji-blended character string stored in the buffer BUF1 is converted into a kana headword (if there are a plurality of characters (m1> 1), the m1th kana headword) and stored in the buffer BUF3. The details of the method for obtaining a kana headword from a character string mixed with kanji will be described later.

【0112】S203ではバッファBUF3に記憶され
た仮名文字列を見出し語として漢字混じり文字列が短縮
入力データの領域123に既に登録されているか否かが
判断され、登録されていればS204へ、登録されてい
なければS205へ移行する。
In S203, it is judged whether or not a kanji-blended character string has already been registered in the abbreviated input data area 123 using the kana character string stored in the buffer BUF3 as an entry word. If registered, the process proceeds to S204. If not, the process proceeds to S205.

【0113】S204〜S206は図5のS112〜S
114と同様であるため説明は省略する。
S204 to S206 are S112 to S in FIG.
The description is omitted because it is similar to 114.

【0114】S207では、図12に示されるように短
縮入力データの領域123の先頭にバッファBUF3中
の仮名見出し語の文字数、バッファBUF1中の文字
数、バッファBUF3の内容、バッファBUF1の内
容、および使用回数(=1)が仮名見出し語文字数40
1、登録文字列文字数402、仮名見出し語403、登
録文字列404および使用回数405のそれぞれとして
領域123の先頭に追加登録される。このとき、既に領
域123に登録されていたデータは順に後方に移動され
る。
In S207, as shown in FIG. 12, the number of characters of the kana headword in the buffer BUF3, the number of characters in the buffer BUF1, the contents of the buffer BUF3, the contents of the buffer BUF1 and the use The number of times (= 1) is 40 kana headword words
1, the registered character string character number 402, the kana headword 403, the registered character string 404, and the number of times of use 405 are additionally registered at the beginning of the area 123. At this time, the data already registered in the area 123 is sequentially moved backward.

【0115】S208では変数m1が1減算されて、S
209では減算後の変数m1が0となったか否かが判断
される。0である場合処理はS210へ移行し、0でな
い場合はS202へ移行して、以下同様に次の仮名見出
し語について処理が行なわれる。
At S208, the variable m1 is decremented by 1, and S
At 209, it is judged whether or not the variable m1 after the subtraction becomes 0. If it is 0, the process proceeds to S210, and if it is not 0, the process proceeds to S202, and similarly, the process is performed on the next kana headword.

【0116】S210〜S211は図5のS116〜S
117と同様であるため説明は省略する。
S210 to S211 are S116 to S in FIG.
The description is omitted because it is similar to 117.

【0117】ここで、S201およびS202における
漢字混じり文字列から仮名見出し語を求める方法につい
て説明する。ここでは、従来からある漢字仮名変換処理
によって求める方法1と、簡易的な方法によって求める
方法2とが説明される。
Here, a method for obtaining a kana headword from the kanji-blended character string in S201 and S202 will be described. Here, a method 1 obtained by a conventional kanji-kana conversion process and a method 2 obtained by a simple method will be described.

【0118】まず方法1について説明する。方法1では
漢字混じり文字列を従来の漢字仮名変換技術によって仮
名文字列に変換し、それを仮名見出し語とする方法であ
る。漢字混じりの文字列を仮名文字列に変換する方法は
多数提案されている。たとえば特公平6−77252号
公報、特開平4−88550号公報、特開平4−116
763号公報および特開平5−128105号公報など
に開示の技術において漢字文字列を仮名文字列に変換す
る手順が記載されているので、これらの方法を利用して
バッファBUF1の漢字混じり文字列を仮名文字列に変
換することができる。これらの方法によって漢字混じり
文字列を仮名文字列に変換する処理について簡単に説明
する。
First, the method 1 will be described. Method 1 is a method in which a character string mixed with kanji is converted into a kana character string by a conventional kanji kana conversion technique and used as a kana headword. Many methods have been proposed for converting a character string mixed with kanji into a kana character string. For example, JP-B-6-77252, JP-A-4-88550, and JP-A-4-116.
The techniques disclosed in Japanese Patent Laid-Open No. 763 and Japanese Patent Laid-Open No. 5-128105 disclose a procedure for converting a kanji character string into a kana character string. Therefore, using these methods, the kanji mixed character string in the buffer BUF1 can be converted. It can be converted into a kana character string. A process for converting a character string mixed with kanji into a kana character string by these methods will be briefly described.

【0119】図15は従来およびこの発明の第3実施例
に適用される漢字混じり文字列を仮名文字列に変換する
ために必要な漢字仮名変換辞書500の構成を示す図で
ある。この辞書500には複数の漢字501のそれぞれ
についてその読み502とその品詞503とが対応づけ
て記憶される。
FIG. 15 is a diagram showing the construction of a kanji / kana conversion dictionary 500 required for converting a kanji mixed character string into a kana character string, which is applied to the conventional and third embodiments of the present invention. In this dictionary 500, the reading 502 and the part-of-speech 503 of each of a plurality of Chinese characters 501 are stored in association with each other.

【0120】この辞書500を使用してバッファBUF
1の漢字混じり文字列、たとえば「仮名あるいは」を仮
名に変換するにはまずバッファBUF1の1文字目が漢
字であるか否かが判断される。この例では「仮」で漢字
なので、「仮」という文字の記憶されている位置が辞書
500中から検索されて、次にバッファBUF1の2文
字目が漢字であるか否かが判断される。この例では2文
字目は「名」で漢字であるので、「仮」を1文字目に接
続した「仮名」という語が辞書500の検索された
「仮」の位置にあるか否かが判断される。
Buffer BUF using this dictionary 500
In order to convert a character string of 1 mixed with Kanji, for example, "Kana or" into Kana, it is first judged whether or not the first character of the buffer BUF1 is a Kanji. In this example, since "kana" is a kanji character, the position where the character "kana" is stored is searched from the dictionary 500, and then it is determined whether or not the second character of the buffer BUF1 is a kanji character. In this example, the second character is "Kana", which is "name", so it is determined whether the word "Kana" connecting "Kana" to the first character is in the searched "Kana" position in the dictionary 500. To be done.

【0121】辞書500には「仮名」という語があるた
め、次にバッファBUF1の3文字目が漢字であるか否
かが判断される。この例では3文字目は「あ」で漢字で
はないため、先に見つけられた「仮名」という語の品詞
503が辞書500から読取られる。この例では読取ら
れた品詞503は名詞であるので「仮名」で1つの語で
あると判断されて、辞書500を参照してこれを仮名文
字列「かな」に変換しバッファBUF3に記憶する。バ
ッファBUF1の3文字目の「あ」以降はすべて平仮名
であるので、これらの平仮名はそのままバッファBUF
3に追加記憶されて処理は終了する。なお、「仮名」は
「かな」という読み502が1つしか存在しないので、
変数m1には1が代入される。
Since the dictionary 500 has the word "kana", it is next determined whether or not the third character of the buffer BUF1 is a kanji character. In this example, since the third character is “A” and is not a kanji character, the part of speech 503 of the previously found word “kana” is read from the dictionary 500. In this example, since the read part-of-speech 503 is a noun, it is determined that it is one word in "kana", the dictionary 500 is referred to, this is converted into a kana character string "kana", and the kana is stored in the buffer BUF3. Since all the characters after "a" in the third character of the buffer BUF1 are hiragana, these hiragana are kept as they are in the buffer BUF.
3 is additionally stored and the process ends. Note that there is only one kana reading 502 for "kana", so
1 is substituted into the variable m1.

【0122】以上の処理によってバッファBUF3に
「かなあるいは」が記憶されるので、図14のS203
〜S209の処理によって図12に示されるように「か
なあるいは」を仮名見出し語403として漢字混じり文
字列「仮名あるいは」404が短縮入力データの領域1
23に登録される。
Since "Kana or" is stored in the buffer BUF3 by the above processing, S203 of FIG.
As a result of the processing in steps S209 to S209, as shown in FIG. 12, "Kana or" is used as a kana headword 403 and the kanji mixed character string "Kana or" 404 is the region 1 of the shortened input data.
23 is registered.

【0123】次に方法2について説明する。前述の方法
1は、漢字混じり文字列を正確な仮名文字列に変換して
いるが、次の方法2は処理の高速化、記憶容量の節約な
どのために、漢字混じり文字列の先頭の1文字のみを1
文字の仮名に変換し、それを仮名見出し語とする。な
お、先頭の1文字の読み方が複数ある場合、その代表的
な読みすべてを仮名見出し語とする。
Next, the method 2 will be described. The method 1 described above converts a kanji mixed character string into an accurate kana character string, but the following method 2 speeds up processing and saves storage capacity. Character only 1
It is converted into a kana of characters and is used as a kana headword. In addition, when there is a plurality of readings of one character at the beginning, all the typical readings are set as kana headwords.

【0124】図16はこの発明の第3実施例に適用され
る漢字仮名変換を行なうための漢字仮名変換辞書600
の構成を示す図である。
FIG. 16 is a Kanji / Kana conversion dictionary 600 for performing Kanji / Kana conversion applied to the third embodiment of the present invention.
It is a figure which shows the structure of.

【0125】この辞書600は該プロセッサで使用する
漢字601のそれぞれに対してその代表的な読み602
の先頭1文字が記憶される。たとえば漢字601として
「仮」は「かり」、「か」および「け」という読みがあ
るがそのどれも比較的よく使われるため「か」と「け」
を読み602として記憶する。漢字601として「文」
は「ぶん」、「も」、「もん」および「ふみ」という読
みがあるがその中で比較的よく使用される「ぶ」と
「も」を読み602として記憶する。なお、記憶容量に
余裕があればすべての読みを記憶するようにしてもよ
い。
This dictionary 600 has a typical reading 602 for each Chinese character 601 used in the processor.
The first one character of is stored. For example, the kanji 601 has the readings of “kana” for “kari”, “ka”, and “ke”, but all of them are used relatively often, so “ka” and “ke”
Is read and stored as 602. "Sentence" as Kanji 601
There are readings such as “bu”, “mo”, “mon” and “fumi”, but “bu” and “mo” which are relatively frequently used among them are stored as a reading 602. It should be noted that all readings may be stored if there is enough storage capacity.

【0126】この辞書600を使用してバッファBUF
1の漢字混じり文字列、たとえば「仮名あるいは」から
仮名見出し語を求めるには図14のフローチャートに従
って以下のように処理を行なう。
Buffer BUF using this dictionary 600
In order to obtain a kana headword from a character string mixed with 1 kanji, for example, "kana or", the following processing is performed according to the flowchart of FIG.

【0127】まずS201ではバッファBUF1中の文
字列の1文字目が漢字であるか否かが判断される。この
例では「仮」で漢字なので、「仮」という漢字601が
記憶される位置を辞書600中から検索すると、「か」
と「け」の2つの読み602が得られるため、変数m1
に2が代入される。
First, in S201, it is determined whether or not the first character of the character string in the buffer BUF1 is a Kanji character. In this example, since "kana" is a kanji, when searching the position where the kanji 601 "kana" is stored in the dictionary 600, "ka"
Since two readings 602 of "and" are obtained, the variable m1
2 is assigned to.

【0128】S202ではバッファBUF3に先に得ら
れた2つの読み602のうち「け」(変数m1は2であ
るため、2番目の読み602)が記憶される。なお、バ
ッファBUF1の文字列の1文字目が仮名文字であった
場合、変数m1には1が代入され、バッファBUF3に
はその仮名文字が記憶される。
In S202, "ke" (the second reading 602 because the variable m1 is 2) of the two readings 602 previously obtained is stored in the buffer BUF3. When the first character of the character string of the buffer BUF1 is a kana character, 1 is assigned to the variable m1 and the kana character is stored in the buffer BUF3.

【0129】その後、S203〜S209の処理が行な
われた後、変数m1は1になってS202へ戻るので、
次はバッファBUF3に「か」が記憶されて、再度S2
03〜S209の処理が行なわれる。
After that, after the processes of S203 to S209 are performed, the variable m1 becomes 1 and the process returns to S202.
Next, "ka" is stored in the buffer BUF3, and S2 is again stored.
The processing from 03 to S209 is performed.

【0130】以上の処理によって、図13に示されるよ
うに「か」および「け」を仮名見出し語406として漢
字混じり文字列「仮名あるいは」が登録文字列404と
して短縮入力データの領域123に登録される。
As a result of the above processing, as shown in FIG. 13, "ka" and "ke" are registered as kana headwords 406 and the kanji mixed character string "kana or" is registered in the shortened input data area 123 as the registered character string 404. To be done.

【0131】なお、図13では見出し語406の「け」
および「か」のそれぞれに同じ文字列404の「仮名あ
るいは」を対応づけて登録しているが、この文字列40
4の登録に代替して「仮名あるいは」という文字列40
4に対するポインタを登録するような処理にすると、領
域123に関する記憶容量の消費を抑制できる。
Note that, in FIG. 13, the headword 406 "ke".
The same character string 404, “Kana or”, is registered in association with each of “and” and “ka”.
Character string 40 "Kana or" in place of registration 4
If the processing for registering the pointer for 4 is performed, it is possible to suppress the consumption of the storage capacity of the area 123.

【0132】このように方法2では方法1に比較して図
16に示されるように漢字仮名変換用辞書のための記憶
容量を節約することができ、また処理も高速化できる。
As described above, in the method 2, as compared with the method 1, the storage capacity for the kanji-kana conversion dictionary can be saved as shown in FIG. 16, and the processing can be speeded up.

【0133】次に第3実施例のプロセッサによる呼出処
理(図3のS107に対応)について説明する。呼出処
理は、図6のフローチャートに従って行なわれる。ただ
し図6のS124における検索処理は、バッファBUF
1の内容が漢字混じり文字列であった場合は図7に示さ
れるフローチャートに従って行なわれ、バッファBUF
1の内容が仮名文字列であった場合は図17に示される
フローチャートに従って行なわれる。
Next, the calling process (corresponding to S107 in FIG. 3) by the processor of the third embodiment will be described. The calling process is performed according to the flowchart of FIG. However, the search processing in S124 of FIG.
If the content of 1 is a character string mixed with Kanji, the process is performed according to the flowchart shown in FIG.
When the content of 1 is a kana character string, the process is performed according to the flowchart shown in FIG.

【0134】図17はこの発明の第3実施例による検索
処理のフローチャートである。このフローチャートは図
7に示されたフローチャートとほぼ同じであるので、図
7の処理とは異なっている部分のみを説明する。
FIG. 17 is a flow chart of search processing according to the third embodiment of the present invention. Since this flowchart is almost the same as the flowchart shown in FIG. 7, only the parts different from the processing in FIG. 7 will be described.

【0135】図17のS221〜S223は図7のS1
41〜S143と同じである。図17のS224では短
縮入力データの領域123のアドレス(変数a+変数b
+1)に記憶される文字とバッファBUF1の変数cが
ポイントする文字が一致しているか否かが判断され、一
致ならばS227へ、不一致ならばS225へ移行す
る。
S221 to S223 of FIG. 17 are S1 of FIG.
41 to S143. In S224 of FIG. 17, the address of the area 123 of the shortened input data (variable a + variable b
It is determined whether or not the character stored in +1) and the character pointed to by the variable c in the buffer BUF1 match. If they match, the process proceeds to S227, and if they do not match, the process proceeds to S225.

【0136】S225〜S229の処理は図7のS14
5〜S149と同じである。S230ではアドレス(変
数a+変数aのポイントする位置に記憶される値+2)
から、アドレス(変数a+1)に記憶される値に相当の
個数の文字がバッファBUF2に格納される。
The processing of S225 to S229 is S14 of FIG.
The same as 5 to S149. In S230, the address (the value stored in the position where the variable a + the variable a points + 2)
From, the number of characters corresponding to the value stored in the address (variable a + 1) is stored in the buffer BUF2.

【0137】S231では変数aにアドレス(変数a)
の値およびアドレス(変数a+1)の値および2を加え
る。これにより、変数aは領域123に登録される次の
文字列404に関するデータを指し示すことが可能とな
る。
In step S231, the address is assigned to the variable a (variable a).
And the value of the address (variable a + 1) and 2 are added. As a result, the variable a can point to the data regarding the next character string 404 registered in the area 123.

【0138】S232〜S235の処理は図7のS15
2〜S155と同じである。以上に説明したような登録
処理および呼出処理を図3に示したフローチャートで行
なうことにより、予め漢字混じり文字列とそれを変換し
て得られた仮名読みとを登録しておけば、その後、仮名
読みの一部を入力するだけでそれに対応の漢字混じり文
字列を呼出すことができる。また、前述の変換は漢字混
じり文字列の先頭1文字の読みを得て登録しておくだけ
でもよいので、処理の高速化と領域123の消費容量抑
制を図ることができる。
The processing of S232 to S235 is S15 of FIG.
2 to S155. By performing the registration processing and the calling processing as described above with the flowchart shown in FIG. 3, if a character string mixed with Chinese characters and a kana reading obtained by converting the character string are registered in advance, then kana By inputting a part of the reading, the corresponding kanji mixed character string can be called. Further, since the above-mentioned conversion may be performed only by reading and registering the reading of the first character of the mixed Kanji character string, it is possible to speed up the process and suppress the consumption of the area 123.

【0139】次に第4実施例について説明する。前述の
第3実施例では漢字混じり文字列を入力して、それを仮
名文字列に変換し、両者を対応づけて登録するようにし
ているのに対し、第4実施例では仮名文字列を入力し
て、それを仮名漢字変換し、両者を対応づけて登録する
ようにしている。
Next, a fourth embodiment will be described. In the third embodiment described above, a character string mixed with kanji is input, converted into a kana character string, and both are registered in association with each other, whereas in the fourth embodiment, a kana character string is input. Then, it is converted into Kana-Kanji and both are registered in association with each other.

【0140】たとえば第4実施例のプロセッサでは、キ
ーボード108などから仮名文字列「もじしょりそう
ち」を入力してこれを仮名漢字変換して漢字混じり文字
列「文字処理装置」を得た場合、この双方の文字列を対
応づけて領域123に登録する。これによって、短縮仮
名文字列「も」や「しょり」などを入力すれば、対応の
漢字混じり文字列「文字処理装置」を呼出すことができ
るとともに、短縮文字列「文」や「処」なども入力すれ
ば、対応の漢字混じり文字列「文字処理装置」を呼出す
ことができるというものである。
For example, in the processor of the fourth embodiment, when the kana character string "Mojishorisuchi" is input from the keyboard 108 or the like, and this is converted into kana-kanji characters to obtain the kanji mixed character string "character processing device". , Both of these character strings are associated with each other and registered in the area 123. This allows you to call the corresponding kanji mixed character string "character processing device" by entering the abbreviated kana character string "mo" or "shuri", and also shorten the character string "statement" or "processing". By also inputting, it is possible to call the corresponding character string "character processing device" containing mixed kanji.

【0141】図18はこの発明の第4実施例による登録
/呼出処理のフローチャートである。第4実施例につい
て、このフローチャートを参照し説明する。
FIG. 18 is a flowchart of the registration / calling process according to the fourth embodiment of the present invention. The fourth embodiment will be described with reference to this flowchart.

【0142】S401ではバッファBUF1およびBU
F3が初期化された後、S402でキーボード108な
どから仮名文字列が入力されて、バッファBUF3に格
納される。S403では短縮入力の呼出指示がキーボー
ド108などから出されたか否かが判断され、呼出指示
されたのであれば処理はS404へ、されなければS4
07へ移行する。なお、この呼出指示は専用のキーを設
けてもよいし、仮名漢字変換指示キーと共有してもよ
い。
In S401, the buffers BUF1 and BUF
After F3 is initialized, a kana character string is input from the keyboard 108 or the like in S402 and stored in the buffer BUF3. In S403, it is determined whether or not a call instruction for abbreviated input is issued from the keyboard 108 or the like. If a call instruction is issued, the process proceeds to S404, and if not, S4.
Move to 07. The calling instruction may be provided with a dedicated key or may be shared with the kana-kanji conversion instruction key.

【0143】S404ではバッファBUF3の内容がバ
ッファBUF1に複写されて、S405でバッファBU
F1中の文字列の文字数が変数n1に代入された後、S
406で文字列の呼出処理が行なわれて、S401の処
理へ移行する。なお、S406の呼出処理は図6に示さ
れたフローチャートに従って行なわれる。ただし図6の
S124の検索処理は図17のフローチャートに従って
行なわれる。
The contents of the buffer BUF3 are copied to the buffer BUF1 in S404, and the buffer BUF is copied in S405.
After the number of characters of the character string in F1 is assigned to the variable n1, S
A character string calling process is performed in 406, and the process proceeds to S401. The calling process of S406 is performed according to the flowchart shown in FIG. However, the search processing of S124 of FIG. 6 is performed according to the flowchart of FIG.

【0144】一方、S407ではバッファBUF3中の
仮名文字列は漢字混じり文字列に変換されて、バッファ
BUF1に格納される。なお、仮名漢字変換技術は公知
の技術であり説明は省略する。
On the other hand, in step S407, the kana character string in the buffer BUF3 is converted into a kanji mixed character string and stored in the buffer BUF1. Note that the kana-kanji conversion technology is a known technology and will not be described.

【0145】S408ではバッファBUF1中の文字列
の文字数が変数n1に代入された後、S409では短縮
入力の呼出指示がキーボード108などからなされたか
否かが判断され、されたのであればS410へ、されて
いなければS411へ移行する。
After the number of characters of the character string in the buffer BUF1 is substituted into the variable n1 in S408, it is determined in S409 whether or not the abbreviated input call instruction is issued from the keyboard 108 or the like, and if so, to S410. If not, the process proceeds to S411.

【0146】S410では文字列の呼出処理が行なわれ
た後、処理はS401へ移行する。なお、S410の呼
出処理は図6に示されたフローチャートに従って行なわ
れる。ただし図6のS124の検索処理は図7のフロー
チャートに従って行なわれる。
After the character string calling process is performed in S410, the process proceeds to S401. The calling process of S410 is performed according to the flowchart shown in FIG. However, the search processing of S124 of FIG. 6 is performed according to the flowchart of FIG.

【0147】一方、S411では仮名漢字変換の候補が
確定されたか否かが判断されて、そうであれば処理はS
412へ、そうでなければS407へ移行する。
On the other hand, in step S411, it is determined whether or not a candidate for kana-kanji conversion has been decided.
If not, the process proceeds to step S407.

【0148】S412では変数miに1が代入されて、
S413で文字列の登録処理が行なわれた後、処理はS
401へ移行する。なお、S413の登録処理は図14
のS203以降のフローチャートに従って行なわれる
か、図5のフローチャートに従って行なわれる。
At S412, 1 is assigned to the variable mi,
After the character string registration process is performed in S413, the process proceeds to S
Move to 401. The registration process of S413 is shown in FIG.
The processing is performed according to the flow charts of S203 and subsequent steps, or according to the flow chart of FIG.

【0149】以上の処理によって、仮名漢字変換処理に
よって仮名文字列を漢字混じり文字列に変換した際に、
その漢字混じり文字列を領域123に登録し、次にその
漢字混じり文字列に含まれる文字(漢字など)を指定し
てその漢字混じり文字列を呼出すことができる。
By the above processing, when the kana character string is converted into the kanji mixed character string by the kana kanji conversion processing,
The kanji mixed character string can be registered in the area 123, and then the character (kanji or the like) included in the kanji mixed character string can be designated to call the kanji mixed character string.

【0150】これによって仮名漢字変換処理によって入
力された漢字混じり文字列を呼出す際に、同じ短縮仮名
文字に対応して複数個の漢字混じり文字列が登録されて
いる場合でも、容易に目的とする文字列を指定すること
ができる。
Thus, when calling a kanji-blended character string input by the kana-kanji conversion processing, even if a plurality of kanji-blended character strings are registered corresponding to the same abbreviated kana character, it is easy to obtain the object. You can specify a character string.

【0151】次に、第5実施例について説明する。上述
した実施例では、利用者が短縮入力データの領域123
に登録する文字列の単位を予め意識して、たとえば文節
単位となるように意識して、その都度登録指示していた
が、第5実施例によるプロセッサでは、連続してバッフ
ァBUF1に入力された文字列は自動的に文節ごとに分
割された後、その文節の文字列ごとに領域123へ登録
される。たとえば、「漢字混じり文字列を記憶手段に登
録する」という文字列がバッファBUF1に入力された
場合、プロセッサはこれを「漢字混じり」、「文字列
を」、「記憶手段に」、「登録する」の4つに分割し、
それぞれを領域123に登録する。
Next, the fifth embodiment will be described. In the above-described embodiment, the user inputs the area 123 of the abbreviated input data.
Although the unit of the character string to be registered in advance was consciously given, for example, to be a phrase unit, and the registration instruction was made each time, the processor according to the fifth embodiment continuously inputs to the buffer BUF1. The character string is automatically divided for each phrase and then registered in the area 123 for each character string of the phrase. For example, when the character string "register a character string mixed with kanji in the storage means" is input to the buffer BUF1, the processor "mixes kanji characters", "character string", "in storage means", and "registers". Divided into four,
Each is registered in the area 123.

【0152】図19はこの発明の第5実施例による自動
文字列分割登録処理のフローチャートである。このフロ
ーチャートは図3で示されたフローチャートに対応する
ものである。このフローチャートによると、キーボード
108などから文字列が入力されると該文字列が適切な
位置で自動的に分割され、その分割された文字列ごとに
短縮入力データの領域123に登録される。また、文字
列が入力されるとともに呼出指示がなされると、文字列
の呼出処理が行なわれる。
FIG. 19 is a flowchart of the automatic character string division registration processing according to the fifth embodiment of the present invention. This flow chart corresponds to the flow chart shown in FIG. According to this flowchart, when a character string is input from the keyboard 108 or the like, the character string is automatically divided at appropriate positions, and each divided character string is registered in the shortened input data area 123. When a character string is input and a calling instruction is issued, a character string calling process is performed.

【0153】この実施例において文字列の分割は、句読
点・記号、平仮名から片仮名あるいは漢字への接続位
置、平仮名あるいは片仮名から英数字への接続位置など
を目安にして行なわれる。以下、図19を参照して処理
の詳細について説明する。
In this embodiment, the character string is divided with reference to punctuation marks / symbols, connection positions from hiragana to katakana or kanji, connection positions from hiragana or katakana to alphanumeric characters, and the like. The details of the process will be described below with reference to FIG.

【0154】S301では変数n2に0が代入される。
なお、変数の値の記憶に必要な領域はRAM102の変
数データの領域122に確保される。S302では文字
入力のバッファBUF1が初期化される。バッファに関
する記憶領域もRAM102の変数データの領域122
に確保される。なお、ここで初期化される範囲はバッフ
ァBUF1のn2+1番目から最後の文字までの領域で
ある。
At S301, 0 is substituted into the variable n2.
An area necessary for storing the value of the variable is secured in the variable data area 122 of the RAM 102. In S302, the character input buffer BUF1 is initialized. The storage area relating to the buffer is also the variable data area 122 of the RAM 102.
Secured in. The range initialized here is the area from the (n2 + 1) th to the last character of the buffer BUF1.

【0155】S303では変数n2の値に1が加えられ
て、S304では文字が1つ入力されて、バッファBU
F1のn2番目の位置に格納される。なお、ここでの文
字入力としてはキーボード108やタブレット107、
FD109などからの入力により行なわれる。
In S303, 1 is added to the value of the variable n2, and in S304, one character is input and the buffer BU
It is stored in the n2th position of F1. In addition, as the character input here, the keyboard 108, the tablet 107,
It is performed by input from the FD 109 or the like.

【0156】S305では、たとえばキーボード108
やタブレット107から呼出指示がされたか否かが判断
され、されたならばS306へ移行して呼出処理を行な
った後S301へ戻り、されていなければS307へ移
行する。なお、S306の呼出処理は図3のS107と
同じであり、図6に示されたフローチャートに従って行
なわれる。呼出指示がされなければ、S307でバッフ
ァBUF1のn2番目の位置の文字が句読点あるいは記
号であるか否かが判断されて、そうであれば処理はS3
08へ、そうでなければS311へ移行する。
In S305, for example, the keyboard 108
It is determined whether or not a call instruction has been issued from the tablet 107 or the tablet 107. If so, the process proceeds to S306 to perform the call process and then returns to S301. If not, the process proceeds to S307. The calling process of S306 is the same as S107 of FIG. 3, and is performed according to the flowchart shown in FIG. If no calling instruction is given, it is determined in S307 whether the character at the n2th position in the buffer BUF1 is a punctuation mark or a symbol, and if so, the process proceeds to S3.
08, otherwise, to S311.

【0157】S308では変数n2の値が1より大きい
か否かが判断され、大きければ処理はS309へ、そう
でなければS310へ移行する。S309ではバッファ
BUF1中の1文字目の文字を文書データの領域121
へ複写し、S301の処理に移行する。これは句読点あ
るいは記号1文字だけがバッファBUF1に記憶されて
いる場合の処理である。
In S308, it is determined whether or not the value of the variable n2 is larger than 1. If it is larger, the process proceeds to S309, and if not, the process proceeds to S310. In step S309, the first character in the buffer BUF1 is set to the document data area 121.
Is copied, and the process proceeds to S301. This is the process when only one punctuation mark or one symbol is stored in the buffer BUF1.

【0158】S310では文字列の登録処理が行なわれ
て、処理はS301へ移行する。なおS310の登録処
理は図3のS105と同じであり、図5あるいは図14
に示されたフローチャートに従って行なわれる。
In S310, a character string registration process is performed, and the process proceeds to S301. Note that the registration process of S310 is the same as that of S105 of FIG.
It is performed according to the flowchart shown in FIG.

【0159】一方、S311では変数n2が1より大き
いか否かが判断されて、大きければS312へ、そうで
なければS303へ移行して次の入力文字について同様
に処理が行なわれる。S312ではバッファBUF1の
n2番目の文字が漢字であるか否かが判断されて、漢字
であれば処理はS313へ、そうでなければS318へ
移行する。S313ではバッファBUF1の(n2−
1)番目の文字が平仮名あるいは片仮名であるか否かが
判断され、そうであれば処理はS314へ、そうでなけ
ればS303へ移行する。
On the other hand, in S311, it is determined whether or not the variable n2 is larger than 1, and if it is larger, the routine proceeds to S312, and if not, the routine proceeds to S303 and the same processing is performed for the next input character. In S312, it is determined whether or not the n2th character in the buffer BUF1 is a Chinese character, and if it is a Chinese character, the process proceeds to S313, and if not, the process proceeds to S318. In S313, (n2- of the buffer BUF1 is
It is determined whether the 1) th character is hiragana or katakana, and if so, the process proceeds to S314; otherwise, the process proceeds to S303.

【0160】S314では変数n2から1が減算された
後、S315で文字列の登録処理が行なわれる。なおS
315の登録処理は図3のS105と同じであり、図5
あるいは図14に示されたフローチャートに従って行な
われる。
At S314, 1 is subtracted from the variable n2, and then at S315, a character string is registered. Note that S
The registration process of 315 is the same as S105 of FIG.
Alternatively, the process is performed according to the flowchart shown in FIG.

【0161】S316ではバッファBUF1の1番目か
らn2番目の文字からなる文字列は既に登録処理が終了
したので、バッファBUF1の(n2+1)番目の文字
をバッファBUF1の1番目へ複写し、これに応じてS
317で変数n2に1を代入して処理をS302へ移行
させ、次に入力される文字列について分割処理が行なわ
れる。
In S316, since the registration process of the character string consisting of the first to n2th characters in the buffer BUF1 has already been completed, the (n2 + 1) th character in the buffer BUF1 is copied to the first character in the buffer BUF1 and, accordingly, is copied. S
In 317, 1 is assigned to the variable n2, the process proceeds to S302, and the character string to be input next is divided.

【0162】一方、S318およびS319でバッファ
BUF1のn2番目の文字が片仮名であり、かつn2−
1番目の文字が平仮名であるか否かが判断され、またS
320およびS321でバッファBUF1のn2番目の
文字が英字または数字であり、かつn2−1番目の文字
が平仮名または片仮名であるか否かが判断され、そうで
あれば処理はS314へ移行し、そうでなければS30
3へ移行して、処理が同様に繰返される。
On the other hand, in S318 and S319, the n2th character of the buffer BUF1 is a katakana, and n2-
It is determined whether the first character is a hiragana, and S
In 320 and S321, it is determined whether the n2-th character of the buffer BUF1 is an alphabetic character or a numeric character, and the n2-1-th character is a hiragana or katakana, and if so, the process proceeds to S314. Otherwise S30
Then, the process proceeds to 3 and the process is repeated.

【0163】以上の処理により、バッファBUF1に連
続して入力される文字列はプロセッサ側で自動的に文節
ごとに分割され、その分割された文節ごとに文字列の領
域123への登録処理を行なうことができる。これによ
って、利用者は領域123への登録単位を意識しながら
文字列を入力する手間が省かれる。また、連続して文字
列を入力するだけで自動的に登録文字列数が増えていく
ので、呼出可能な文字列数が増え、入力効率が向上す
る。
With the above processing, the character string continuously input to the buffer BUF1 is automatically divided into clauses on the processor side, and the character string is registered in the area 123 for each of the divided clauses. be able to. This saves the user the trouble of inputting the character string while being aware of the registration unit in the area 123. Further, since the number of registered character strings is automatically increased only by continuously inputting the character strings, the number of callable character strings is increased and the input efficiency is improved.

【0164】上述した文字列分割は特別な辞書などを用
いて行なっているわけではないので、処理の簡略化、処
理速度の向上、辞書が不要とされることによる記憶容量
の削減などが可能となる。
Since the above-mentioned character string division is not performed using a special dictionary or the like, it is possible to simplify the processing, improve the processing speed, and reduce the storage capacity by eliminating the dictionary. Become.

【0165】[0165]

【発明の効果】請求項1に係る文字列処理装置では、呼
出手段は第1検索手段を用いて記憶手段中の文字列群か
ら入力手段より入力された文字列をその途中の部分文字
列として含む文字列を検索し出力するので、登録されて
いる文字列の中途以降に含まれる部分文字列を指定して
該文字列を呼出すことができるという効果がある。
According to the character string processing apparatus of the first aspect, the calling means uses the first searching means to set the character string input from the input means from the character string group in the storage means as a partial character string in the middle of the character string. Since the included character string is searched and output, there is an effect that a partial character string included after the middle of the registered character string can be designated and the character string can be called.

【0166】この効果によって、登録される文字列群中
にその先頭部分文字列が同じである文字列が複数個存在
する場合でも、それらを区別して呼出すことができ、1
回の操作で所望文字列を唯一選択できるという効果も得
ることができる。
With this effect, even if there are a plurality of character strings having the same leading partial character string in the registered character string group, they can be called separately.
It is also possible to obtain the effect that the desired character string can be selected only by one operation.

【0167】また、記憶手段中から所望文字列を呼出す
場合に、該文字列を指定するとき、たとえば先頭の部分
文字列が画数が多いなどの理由によって指定入力に手間
がかかる場合は、呼出したい文字列の中途以降の入力し
やすい部分文字列を入力して指定することかできるの
で、容易に文字列呼出ができるという効果もある。
Further, when a desired character string is called from the storage means, when the specified character string is specified, for example, when it is troublesome to input the specified character string due to a large number of strokes, it is desired to call it. Since it is possible to input and specify a partial character string that is easy to input after the middle of the character string, there is an effect that the character string can be easily called.

【0168】請求項2に係る文字列処理装置では、請求
項1に係る装置の登録手段は、呼出手段により出力され
た文字列を記憶手段の文字列群に登録するので、利用者
の文字列入力操作を介さないで、文字列群への新たな文
字列の追加登録が可能となって、文字列の登録効率が良
くなる。
In the character string processing device according to claim 2, since the registration means of the device according to claim 1 registers the character string output by the calling means in the character string group of the storage means, the character string of the user. A new character string can be additionally registered in the character string group without an input operation, and the character string registration efficiency is improved.

【0169】請求項3に係る文字列処理装置では、請求
項1または2に係る装置においてさらに、呼出手段が第
2検索手段を用いて記憶手段の文字列群から入力手段よ
り入力の部首列に対応の漢字列を含む文字列を検索して
出力するので、部首列を指定して、その部首列で構成さ
れる漢字列が含まれる文字列を登録されている文字列群
から呼出すことができるという効果がある。
In the character string processing device according to claim 3, in the device according to claim 1 or 2, the calling means further uses the second search means to input a radical from the character string group of the storage means by the input means. Since a character string containing a kanji string corresponding to is searched and output, specify a radical and call a character string containing a kanji string consisting of that radical from the registered character string group. The effect is that you can.

【0170】この効果により、呼出したい文字列が漢字
が多い、または画数の多い漢字などで構成されている場
合でも、その部首列を入力するだけで容易に対応の文字
列を呼出すことができるという効果も得られる。
With this effect, even if the character string to be called is composed of many Kanji characters or Kanji characters with a large number of strokes, the corresponding character string can be easily called only by entering the radical. You can also get the effect.

【0171】請求項4に係る文字列処理装置では、請求
項1ないし3のいずれかに係る装置において呼出手段が
第3検索手段を有して、登録されている文字列群中から
入力手段により入力された文字列を含む文字列におい
て、所定位置(入力された文字列が存在する位置)以降
からなる文字列を検索して呼出すことができる。これに
よって、登録されている文字列のある範囲だけを容易に
呼出すことができるという効果がある。
In the character string processing device according to claim 4, in the device according to any one of claims 1 to 3, the calling means has the third searching means, and the input means selects from the registered character string group. A character string including the input character string can be searched for and called from a character string starting from a predetermined position (position where the input character string exists). This has the effect that only a certain range of the registered character string can be easily called.

【0172】請求項5に係る文字列処理装置では、請求
項1ないし4のいずれかに係る装置において漢字仮名混
じり文字列を登録する際、その漢字仮名混じり文字列を
入力手段の仮名変換手段により仮名文字列に変換し、そ
の変換された仮名文字列と元の漢字仮名混じり文字列と
を対応づけて登録手段の文字列群に登録しておくことに
よって、呼出手段により仮名文字列の全部または一部を
入力するだけで対応の漢字混じり文字列を呼出すことが
できる。
In the character string processing device according to claim 5, when a character string mixed with kanji kana is registered in the device according to any one of claims 1 to 4, the character string mixed with kanji kana is converted by the kana conversion means of the input means. By converting to a kana character string and registering the converted kana character string and the original kanji / kana mixed character string in the character string group of the registration means in association with each other, all or all of the kana character strings can be called by the calling means. You can call the corresponding mixed Kanji character string by just entering a part.

【0173】これによって、手書き文字認識などで直接
入力された漢字仮名混じり文字列を、その読みの一部を
入力するだけで容易に呼出すことができるという効果が
ある。
As a result, there is an effect that a character string mixed with kanji and kana directly input by handwritten character recognition or the like can be easily called by only inputting a part of the reading.

【0174】請求項6に係る文字列処理装置では、請求
項1ないし5のいずれかに係る装置において、入力手段
が漢字変換手段を用いて仮名文字列を漢字仮名混じり文
字列に変換して、その漢字仮名混じり文字列を元の仮名
文字列と対応させて記憶手段の文字列群に登録しておく
ことにより、呼出手段により、入力された漢字列に基づ
いてその漢字列を部分文字列に含む漢字仮名混じり文字
列を記憶手段の文字列群から呼出すことができる。
In the character string processing device according to claim 6, in the device according to any one of claims 1 to 5, the input means uses the kanji conversion means to convert the kana character string to a kanji kana mixed character string, By registering the mixed kanji kana character string in the character string group of the storage means in association with the original kana character string, the calling means converts the kanji character string into a partial character string based on the input kanji character string. A character string containing kanji and kana can be called from the character string group of the storage means.

【0175】これによってある仮名文字列を部分文字列
として含む漢字仮名混じり文字列が複数個登録されてい
た場合でも、部分仮名文字列に代替して漢字列を指定す
ることにより容易に目的とする文字列を呼出すことがで
きるという効果がある。
As a result, even when a plurality of kanji-kana mixed character strings including a certain kana character string as a partial character string are registered, it is possible to easily specify the kanji character string by substituting for the partial kana character string. The effect is that a character string can be called.

【0176】請求項7に係る文字列処理装置では、請求
項1ないし6のいずれかに係る装置においてさらに、登
録手段の文字列分割登録手段によって、入力手段から入
力の文字列を自動的に所定単位文字列に分割しながら、
分割された文字列ごとに記憶手段に登録することができ
るという効果がある。
In the character string processing apparatus according to claim 7, in the apparatus according to any one of claims 1 to 6, the character string division registration means of the registration means automatically determines the character string input from the input means. While dividing into unit character strings,
There is an effect that each divided character string can be registered in the storage means.

【0177】この効果によって、登録モード時は文字列
を入力するだけで自動的に登録文字列数が増えるので、
登録における利用者の負担は軽減され、文字列登録の効
率は向上する。
With this effect, the number of registered character strings is automatically increased by simply inputting a character string in the registration mode.
The burden on the user in registration is reduced, and the efficiency of character string registration is improved.

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

【図1】この発明の第1〜第5実施例による日本語ワー
ドプロセッサのブロック構成図である。
FIG. 1 is a block diagram of a Japanese word processor according to first to fifth embodiments of the present invention.

【図2】(a)および(b)は図1のRAM102およ
びROM103のデータ構造を示す図である。
2A and 2B are diagrams showing data structures of a RAM 102 and a ROM 103 of FIG.

【図3】この発明の第1実施例による日本語ワードプロ
セッサにおいて、入力文字列または登録文字列を用いな
がら文書データを生成するための概略フローチャートで
ある。
FIG. 3 is a schematic flowchart for generating document data using an input character string or a registered character string in the Japanese word processor according to the first embodiment of the present invention.

【図4】この発明の第1実施例による短縮入力データの
領域123のフォーマット図である。
FIG. 4 is a format diagram of an abbreviated input data area 123 according to the first embodiment of the present invention.

【図5】図3のS105の第1実施例による登録処理の
フローチャートである。
5 is a flowchart of a registration process according to the first embodiment of S105 of FIG.

【図6】図3のS107の第1実施例による呼出処理の
フローチャートである。
6 is a flowchart of a calling process according to the first embodiment of S107 of FIG.

【図7】図6のS124の第1実施例による検索処理の
フローチャートである。
7 is a flowchart of a search process according to the first embodiment of S124 of FIG.

【図8】この発明の第2実施例に適用される部首コード
表200を示す図である。
FIG. 8 is a diagram showing a radical code table 200 applied to a second embodiment of the present invention.

【図9】この発明の第2実施例に適用される文字部首対
応辞書300を示す図である。
FIG. 9 is a diagram showing a character radical correspondence dictionary 300 applied to a second embodiment of the present invention.

【図10】(a)および(b)はこの発明の第2実施例
において文書データが部首とともに表示された例を示す
図である。
10A and 10B are diagrams showing an example in which document data is displayed together with a radical in the second embodiment of the present invention.

【図11】この発明の第3実施例による短縮入力データ
の領域123のフォーマットを示す図である。
FIG. 11 is a diagram showing a format of a region 123 of shortened input data according to a third embodiment of the present invention.

【図12】この発明の第3実施例において文字列が文節
ごとに分割されて登録された状態を示す図である。
FIG. 12 is a diagram showing a state in which a character string is divided for each phrase and registered in the third embodiment of the present invention.

【図13】この発明の第3実施例において文字列が文節
ごとに分割されて登録された状態を示す図である。
FIG. 13 is a diagram showing a state in which a character string is divided for each clause and registered in the third embodiment of the present invention.

【図14】この発明の第3実施例による登録処理のフロ
ーチャートである。
FIG. 14 is a flowchart of a registration process according to the third embodiment of the present invention.

【図15】従来およびこの発明の第3実施例に適用され
る漢字混じり文字列を仮名文字列に変換するために必要
な漢字仮名変換辞書の構成を示す図である。
FIG. 15 is a diagram showing a configuration of a kanji-kana conversion dictionary required for converting a kanji-mixed character string into a kana character string, which is applied to the related art and the third embodiment of the present invention.

【図16】この発明の第3実施例に適用される漢字仮名
変換を行なうための漢字仮名変換辞書の構成を示す図で
ある。
FIG. 16 is a diagram showing a configuration of a Kanji / Kana conversion dictionary for performing Kanji / Kana conversion applied to the third embodiment of the present invention.

【図17】この発明の第3実施例による検索処理のフロ
ーチャートである。
FIG. 17 is a flowchart of search processing according to the third embodiment of the present invention.

【図18】この発明の第4実施例による登録/呼出処理
のフローチャートである。
FIG. 18 is a flowchart of registration / calling processing according to the fourth embodiment of the present invention.

【図19】この発明の第5実施例による自動文字列分割
登録処理のフローチャートである。
FIG. 19 is a flowchart of automatic character string division registration processing according to the fifth embodiment of the present invention.

【図20】(a)〜(c)は従来技術の登録文字列の格
納方法を説明する図である。
20A to 20C are diagrams illustrating a conventional method of storing a registered character string.

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

101 CPU 102 RAM 103 ROM 106 ペン 107 タブレット 108 キーボード 121 文書データの領域 123 短縮入力データの領域 300 文字部首対応辞書 なお、各図中同一符号は同一または相当部分を示す。 101 CPU 102 RAM 103 ROM 106 Pen 107 Tablet 108 Keyboard 121 Document data area 123 Short input data area 300 Character radical correspondence dictionary In the drawings, the same reference numerals indicate the same or corresponding parts.

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 文字列群を含むデータが登録される記憶
手段と、 文字列を含む情報を入力するための入力手段と、 登録モード時、文字列を前記記憶手段の前記文字列群に
登録する登録手段と、 呼出モード時、前記入力手段から入力された前記情報に
基づいて前記記憶手段の文字列群を検索して文字列を出
力する呼出手段とを備え、 前記呼出手段はさらに、 前記記憶手段中の前記文字列群から前記入力手段から入
力された前記文字列をその途中の部分文字列として含む
文字列を検索する第1検索手段を含む、文字列処理装
置。
1. A storage unit for registering data including a character string group, an input unit for inputting information including a character string, and a character string registered in the character string group of the storage unit in a registration mode. And a calling means for searching a character string group in the storage means based on the information input from the input means and outputting a character string in the calling mode, the calling means further comprising: A character string processing device, comprising: first searching means for searching a character string including the character string input from the input means as a partial character string in the middle of the character string group in the storage means.
【請求項2】 前記登録手段はさらに、 前記呼出手段により出力された前記文字列を前記記憶手
段の前記文字列群に登録する手段を備えた、請求項1に
記載の文字列処理装置。
2. The character string processing device according to claim 1, wherein the registration means further comprises means for registering the character string output by the calling means in the character string group of the storage means.
【請求項3】 前記入力手段により入力される前記情報
にはさらに部首列が含まれ、 前記記憶手段に登録される前記データにはさらに、複数
の漢字のそれぞれとその部首を対応して格納した漢字部
首対応表が含まれ、 前記呼出手段はさらに、 前記入力手段から入力された前記部首列に対応の漢字列
を前記漢字部首対応表から特定し、前記記憶手段中の前
記文字列群から前記特定された漢字列を含む文字列を検
索する第2検索手段を含む、請求項1または2に記載の
文字列処理装置。
3. The radical information is further included in the information inputted by the input means, and the data registered in the storage means further corresponds to each radical of a plurality of Chinese characters. The stored kanji radical correspondence table is included, and the calling means further specifies a kanji string corresponding to the radical inputted from the input means from the kanji radical correspondence table, and stores the kanji radical in the storage means. The character string processing device according to claim 1, further comprising a second searching unit that searches the character string group for a character string including the specified Chinese character string.
【請求項4】 前記呼出手段はさらに、 前記記憶手段の前記文字列群中の前記入力手段により入
力された前記文字列を含む文字列において、該入力文字
列以降からなる文字列を検索する第3検索手段を含む、
請求項1ないし3のいずれかに記載の文字列処理装置。
4. The calling means further searches a character string including the character string input by the input means in the character string group of the storage means for a character string subsequent to the input character string. Including 3 search means,
The character string processing device according to claim 1.
【請求項5】 前記入力手段はさらに、 漢字仮名混じり文字列を入力して仮名文字列に変換する
仮名変換手段を含み、 前記登録手段はさらに、 前記入力手段により入力された前記漢字仮名混じり文字
列と該入力漢字仮名混じり文字列の前記仮名変換手段に
よる前記仮名文字列とを対応させて前記記憶手段の前記
文字列群に登録する手段を含み、 前記呼出手段はさらに、 前記入力手段により入力された仮名文字列に基づいて前
記記憶手段の前記文字列群を検索して、該入力仮名文字
列を部分文字列に含む仮名文字列に対応の前記漢字仮名
混じり文字列を出力する手段を含む、請求項1ないし4
のいずれかに記載の文字列処理装置。
5. The input means further includes kana conversion means for inputting a character string mixed with kanji kana and converting it into a kana character string, and the registration means further includes the kanji kana mixed character input by the input means. The call means further includes means for registering the column and the kana character string by the kana conversion means of the input kanji kana mixed character string in the character string group of the storage means in association with each other. A means for searching the character string group of the storage means based on the kana character string that is generated, and outputting the kanji kana mixed character string corresponding to the kana character string that includes the input kana character string in the partial character string. , Claims 1 to 4
The character string processing device according to any one of 1.
【請求項6】 前記入力手段はさらに、 仮名文字列を入力して漢字仮名混じり文字列に変換する
漢字変換手段を含み、 前記登録手段はさらに、 前記入力手段により入力された前記仮名文字列と該入力
仮名文字列の前記漢字変換手段による前記漢字仮名混じ
り文字列とを対応させて前記記憶手段の前記文字列群に
登録する手段を含み、 前記呼出手段はさらに、 前記入力手段により入力された漢字列に基づいて前記記
憶手段の前記文字列群を検索して、該入力漢字列を部分
文字列に含む漢字仮名混じり文字列に対応の前記仮名文
字列を出力する手段を含む、請求項1ないし5のいずれ
かに記載の文字列装置。
6. The input means further includes kanji conversion means for inputting a kana character string and converting it into a kanji kana mixed character string, and the registration means further includes the kana character string input by the input means. The input unit further includes a unit for registering the input Kana character string in the character string group of the storage unit in association with the Kanji / Kana mixed character string by the Kanji conversion unit, and the calling unit is further input by the input unit. 3. A means for searching the character string group of the storage means based on a kanji character string, and outputting the kana character string corresponding to a kanji kana mixed character string including the input kanji character string as a partial character string. 6. The character string device according to any one of 5 to 5.
【請求項7】 前記登録手段はさらに、 前記入力手段から入力された文字列を所定単位の文字列
に分割して前記記憶手段の前記文字列群に登録する文字
列分割登録手段を含む、請求項1ないし6のいずれかに
記載の文字列処理装置。
7. The registration means further includes character string division registration means for dividing the character string input from the input means into character strings of a predetermined unit and registering the character string in the character string group of the storage means. Item 7. A character string processing device according to any one of items 1 to 6.
JP7103893A 1995-04-27 1995-04-27 Character string processor Pending JPH08297664A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7103893A JPH08297664A (en) 1995-04-27 1995-04-27 Character string processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7103893A JPH08297664A (en) 1995-04-27 1995-04-27 Character string processor

Publications (1)

Publication Number Publication Date
JPH08297664A true JPH08297664A (en) 1996-11-12

Family

ID=14366109

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7103893A Pending JPH08297664A (en) 1995-04-27 1995-04-27 Character string processor

Country Status (1)

Country Link
JP (1) JPH08297664A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007125659A1 (en) * 2006-04-28 2007-11-08 Mitsubishi Electric Corporation Map information providing device and navigation device using the same
JP2009265758A (en) * 2008-04-22 2009-11-12 Hitachi Ltd Term input support device, method, and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007125659A1 (en) * 2006-04-28 2007-11-08 Mitsubishi Electric Corporation Map information providing device and navigation device using the same
JPWO2007125659A1 (en) * 2006-04-28 2009-09-10 三菱電機株式会社 Map information providing device and navigation device using the same
JP2009265758A (en) * 2008-04-22 2009-11-12 Hitachi Ltd Term input support device, method, and program

Similar Documents

Publication Publication Date Title
JPH0696056A (en) Character input device
JPH08297664A (en) Character string processor
JPH08335214A (en) Sorting method, document search method, and information processing apparatus
JPS59100941A (en) Kana (japanese syllabary)-kanji (chinese character) converter
JPH09146934A (en) Japanese syllabary to chinese character conversion device
JPH05135007A (en) Character input processing method
JPH0981555A (en) Document processing apparatus and method
JPH01318156A (en) Document processor
JPS63257862A (en) character processing device
JPH06251203A (en) Handwritten character recognition device and japanese syllabary/chinese character converting method for handwritten input character
JPS5991532A (en) Documentation device
JPH08335217A (en) Reading conversion method and document creation device
JPH01177674A (en) Kana/kanji converter
JPH0535723A (en) Document creation device
JPH08202703A (en) Character processing device and its kana-kanji conversion method
JPH10334089A (en) Character input device
JPH07129554A (en) Document processor
JPH09114814A (en) Character processor
JP2000339304A (en) Kana-kanji converting device
JPH08212214A (en) Document creation device and notation method
JPH05135010A (en) Character processing method and device therefor
JPH0675682A (en) Device and method for character input
JPH07160697A (en) Document processor
JPH04332073A (en) Method and device for processing character
JPH09179858A (en) Document creation device and display method

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20030624