JPS5868140A - Character processor - Google Patents

Character processor

Info

Publication number
JPS5868140A
JPS5868140A JP56166644A JP16664481A JPS5868140A JP S5868140 A JPS5868140 A JP S5868140A JP 56166644 A JP56166644 A JP 56166644A JP 16664481 A JP16664481 A JP 16664481A JP S5868140 A JPS5868140 A JP S5868140A
Authority
JP
Japan
Prior art keywords
dictionary
memory
word
partial
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
JP56166644A
Other languages
Japanese (ja)
Inventor
Eiichiro Toshima
英一朗 戸島
Tetsuyuki Masuda
増田 哲之
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP56166644A priority Critical patent/JPS5868140A/en
Publication of JPS5868140A publication Critical patent/JPS5868140A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/40Processing or translation of natural language

Abstract

PURPOSE:To obtain a device having a dictonary with superior expansibility while the use efficiency of memories is improved, by providing the device having a dictionary using pieces of phonetical information as indexes with memories stored with plural divided phonetical reading elements. CONSTITUTION:A CPU1 processes input data from a keyboad 5 and the processed data are displayed on a CRT8. An RAM14 is a random access memory, and the memory 14-1 includes 16 kinds of partial dictionaries to classify words. The 1st starting character of reading information is indicated in a dictionary index table, so it is not stored. In a memory 14-2, a pointer for indicating what position of a partial dictional a word starting with optional KANA (Japanese syllabary) is stored at in the dictionary index table is set up. A memory 14-3 stores a partial dictonary starting code table, and a memory 14-4 has a partial dictionary starting address table. A memory 14-5 is a register for storing inputted character data strings, and a memory 14-6 stores word codes and grammatical information.

Description

【発明の詳細な説明】 本発明は、例えば仮名漢字変換方式において、読みデー
タの一柿を索引として別の領域に用意し、辞書の読みフ
ィールドには登録しない辞書を有する文字処理装置に関
するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a character processing device having a dictionary that prepares one persimmon of reading data as an index in a separate area and does not register it in the reading field of the dictionary, for example in a kana-kanji conversion method. be.

従来、漢字を入力する際に、かなをキーボードより入力
し、それを漢字に変換する仮名漢字変換方式においては
、ある音読み(訓も含む)要素を読みとして持つ単語な
検索するために、記憶装置上に辞書を備え−Cいたが、
その辞書の読みフィールドにはその単語の読みのすべて
が収められていた。
Conventionally, when inputting kanji, the kana-kanji conversion method inputs kana from the keyboard and converts it into kanji. There was a dictionary on top, but
The reading field of the dictionary contained all the readings of that word.

単語が辞書に格納されている順番は通常、いわゆる辞書
式配列、例えばアイウェオ胴であるので、同じ先頭文字
を持つ単語はある場所にかたまって登録されている。
The order in which words are stored in a dictionary is usually in a so-called lexicographical arrangement, for example, in a lexicographical arrangement, so words with the same first letter are registered in a certain location.

例えば6きかい”という単RFtは”き”という先頭文
字で始まり、1きかい”の周辺VC登録されている単語
は1きおん1きせつ′lCど1き”で始まる単語である
。′き”で9Fi ’、!る単語が、例えば1000飴
あれば、′き”は1000回)?′tみフィールドに登
録され、1oooバイトのメモリ領域を使用することに
なる。
For example, the single RFt ``6kikai'' starts with the first letter ``ki'', and the words registered in the surrounding VCs of ``1kikai'' are words that start with ``1kion1kisetsu'lCdo1ki''.' 9Fi ',! For example, if there are 1000 candy words, ``ki'' will be registered 1000 times in the ??t field, and a memory area of 100 bytes will be used.

かくの如〈従来の辞書は館、みフィールドに穴長な文字
が登録されるという欠点を持っていた。
Thus, conventional dictionaries had the disadvantage that long characters were registered in the kan and mi fields.

本発明は上述の点に鑑み、インデックスとしての読み情
報を複数に分けそれぞれを関連ずけておのおの別のメモ
リに6ピ憶させる文字処理装置を提供する。
In view of the above-mentioned points, the present invention provides a character processing device that divides reading information as an index into a plurality of pieces and stores them in six separate memories in association with each other.

本発明は上述の目的を実現する為に例えば、辞書の読み
フィールドに単語の読みをすべてを登録するのではなく
、読みから先頭文字を除いたもの−1 を登録することにする。そして先頭文字だけは別の場所
にまとめて索引テーブルをつくり、その先頭文字で始ま
る辞沓内の位置へのポインタを格納する。索引テーブル
はポインタのみから成るテーブルで先頭文字の読みは登
録されない。例えば6き”で始まる単語を検索するとき
には、索引テーブルの7査目のポインタの示す位置から
辞書をサーチすればよい。
In order to achieve the above-mentioned object, the present invention does not register the entire pronunciation of a word in the pronunciation field of a dictionary, but instead registers the pronunciation minus the first character -1. Then, an index table is created by collecting only the first characters in a separate location, and a pointer to the position in the dictionary starting with the first character is stored. The index table is a table consisting only of pointers, and the reading of the first character is not registered. For example, when searching for a word starting with ``6'', the dictionary can be searched from the position indicated by the seventh pointer in the index table.

前自己辞書においては、先頭文字は登録されない。In the pre-self dictionary, the first character is not registered.

例えば8きかい′°、°”きおん”、1きせつ”という
読みはそれぞれ“かい”、″おん′″、″せ1つ”とし
て登録されるのでそれぞれ2バイトの読みフィールドし
か必要としない。またサーチ時間においても、6文字の
計1みの単語1きかい”に対して、比較は1かい”の2
字分だけ行なわれ、また、サーチすべき辞書も索引によ
り限定され狭くなっているので、時間か短組される。
For example, the readings 8kikai'°, ° ``kion'', and 1kisetsu'' are registered as ``kai'', ``on'', and ``se1tsu'', respectively, so each requires only a 2-byte reading field. .Also, in terms of search time, for a 6-character word with a total of 1 words, the comparison is 1 word with 2 words.
Since the search is performed for the number of characters, and the dictionary to be searched is limited and narrowed by the index, the time is shortened.

か(の如(、メモリ容量を節約し、かつサーチ時間が減
少された辞書が可能となった。
This makes it possible to create a dictionary that saves memory space and reduces search time.

−2 ズ了:舜S:b諭I切:メ−;〔:」J−i勢7−自−
;す−膜5−メC−キー処−(lづルトニ廿¥=4ト巨
杖と0以下本発明に」−る1実施例を”” +(+:を
参1i(11,て説1!IIする。
-2 Z finish: Shun S: b admonition I cut: Me-; [:” J-i force 7-self-
+(+: Please refer to 1i(11, 1! II.

まず文字妨理装置1′(内のメモリにW+(1らねる辞
書の構成、について以下述べる。
First, the structure of the dictionary containing W+(1) in the memory of the character blocking device 1' will be described below.

第1図に示ず如く、各年■11ごとに読み、漢字。As shown in Figure 1, read and read 11 kanji for each year.

文法情報が格納されている。l 、l’を飴は(y■、
EN−(−KLEN −1−1) r7−ドでtM f
k、される。1リードを例えは16ヒツト(2バイト)
で構成する。かかる110成の1単filのうち初めの
YT、l X 2バイトは誘み情報であ1)、それから
最卸Jσ)YI、’l・:Nワード分に引続く次のKI
JNワード分にi;+ >z+字コードを入れ、最後の
1ワードにζ」文法fIII報](T・1<Nを入れ分
類することにより第2図に示−4如き多種類の1 部分辞書a〜pを構成する。以下、読みフィールドの長
さYLBN 、漢字フィールドの長さKL’BNの部分
辞書を(YLEN、 KLEN )辞書と称することに
する。例えば(1,2)辞書というのは読みフィールド
1ワード、漢字フィールド2ワード構成の部分辞書のこ
とである。各部分辞書はその部分辞Wの内部では固定長
形式となっているため、単語コードからそのlp語の格
納されている番地を計αすることが容易である(、(以
下この構成の辞書を半固定長辞書と称することにする)
上述の如き辞書を備えた本発明の1実施例をさらに把朗
する。
Contains grammar information. l, l' is candy (y■,
EN-(-KLEN -1-1) tM f at r7-de
k, will be done. For example, 1 read is 16 hits (2 bytes)
Consists of. The first YT, l x 2 bytes of this 110-component single file are invitation information1), and then the next KI following the last YI, 'l.:N words.
By inserting i; The dictionaries a to p are constructed.Hereinafter, the partial dictionary with the reading field length YLBN and the kanji field length KL'BN will be referred to as the (YLEN, KLEN) dictionary.For example, the (1, 2) dictionary is a partial dictionary consisting of one word in the reading field and two words in the kanji field.Since each partial dictionary has a fixed length format inside its partial word W, the lp word is stored from the word code. It is easy to calculate addresses (hereinafter, a dictionary with this structure will be referred to as a semi-fixed length dictionary).
An embodiment of the present invention including a dictionary as described above will be further explained.

第3図は本発明による1実施例を示すブロック図である
FIG. 3 is a block diagram showing one embodiment according to the present invention.

図示の構成において、1はマイクロプロセサであり、2
はアドレスバスであって、各人出カメモリの番地を指定
する。また、3はデータバスであって、各種のデータの
転送に用いる双方向性のバスであり、4はフントロール
バスであって、各メモリ等のリード、ライト、インタラ
へ ブトの受付け、データセットのタイミング等を伝送する
ために片1いる。さらに、5c1ギーボードコントロー
ラーである。キーボード5によって入力したデータをキ
ーボードコントローラ6によってエンコードするととも
に、インターラフ0 ツト信号をコントロールバス4に送出する。つぎに、7
は0TITコントローラでA;Iす、CIIT装置8、
キャラクタジェネレータ9.リフレッシュメモリ10.
リフレツシニメモリコントローラ1】を制御する。また
、8はo +t’i’装置であって通常のテレビジョン
受@機と同様のディスプレイを行なうことができ、9は
キャラクタジェネレータであって、文字コード、文字パ
ターンの行アドレス等のコード入力によりその文字パタ
ーンのうちその行のパターンを順次に出力し、10はリ
フレッシュメモリであって、alt7”41 i18に
表示する文字コードを記憶し、O1l’l’コントロー
ラ7からの表示の指示に応じて繰返しその文字コードを
出力するものであり、IIはリフレッシュメモリコント
ローラであって、CRTコントローラ7からの指示に応
じて0ItT表示のたメ(1) 子連したリフレッシュ
サイクルとマイクロプロセサlからのデータの担込み、
ん「、出しを制御する。さらに、12は読出し専用メモ
リ、すなわち、いわゆる1(OMであって、第4図〜第
6図に示した制御手順をd[1慟するとともに各棟の処
理手順を市I憶させである。また、13はROM12の
コントローラであり、14Ljランタムアクセ奏スメモ
リ、す!「わち、いわゆるRAMであって、辞書及び各
紳のテーブルの記憶及び名種の変数の一時記恒に用いる
In the illustrated configuration, 1 is a microprocessor, 2
is an address bus, which specifies the address of each person's output memory. In addition, 3 is a data bus, which is a bidirectional bus used for transferring various data, and 4 is a flight control bus, which is used for reading, writing, and accepting data from each memory, etc. There is one piece to transmit the timing etc. Furthermore, it is a 5c1 Gee board controller. The keyboard controller 6 encodes the data inputted through the keyboard 5 and sends an inter-raft signal to the control bus 4. Next, 7
is 0TIT controller A; I, CIIT device 8,
Character generator 9. Refresh memory 10.
The reflex memory controller 1] is controlled. Further, 8 is an o+t'i' device, which can perform a display similar to a normal television receiver, and 9 is a character generator, which inputs codes such as character codes and line addresses of character patterns. 10 is a refresh memory, which stores the character code to be displayed in alt7"41i18, and outputs the pattern of that line out of the character pattern sequentially. II is a refresh memory controller that displays 0ItT in response to instructions from the CRT controller 7.(1) A series of refresh cycles and data from the microprocessor I Carrying the
Furthermore, 12 is a read-only memory, that is, the so-called 1 (OM), which performs the control procedures shown in FIGS. In addition, 13 is a controller for the ROM 12, and 14 is a random access memory (Lj).It is a so-called RAM, and is used to store the dictionary and each gentleman's table, as well as temporary variables for names. Used for commemoration.

14−1は半固定長な辞書であり、16種類の部分辞世
を含む。各単訃目才この16種類部分辞表のいずれかに
分類され、登録される。(yr、nN。
14-1 is a semi-fixed length dictionary and includes 16 types of partial death. Each single death is classified into one of these 16 types and registered. (yr, nN.

KL箕N)辞書には読みYLBN X 2文字、漢字K
T、’EN文字の単語及びルrみ(yLnNX 2 +
1)文字、漢字KLBN文字の単語が登録される。例え
ば(3,2)辞書には読み6文字、漢字2文字の単語及
び読み7文字、漢字2文字の単HjHが登録さ4Iる。
KL 箕N) Dictionary has reading YLBN x 2 characters, kanji K
T, 'EN letter words and rules (yLnNX 2 +
1) Words of characters and Kanji KLBN characters are registered. For example, in the (3,2) dictionary, a word with 6 pronunciations and 2 kanji characters and a word HjH with 7 pronunciations and 2 kanji characters are registered.

(0,1)辞書には島−み1文字+ i’X+字1文字
の単語のみが登録される。H4?みの最初の1文字は後
述する辞書索引テーブル、目NT)で示ひ第1るのでi
’ii′。
(0,1) Only words consisting of one character shima-mi+i'X+one character are registered in the dictionary. H4? The first character of ``mi'' is shown in the dictionary index table (mentioned NT) described later.
'ii'.

曽(には格納さ才“t y(し)。Zeng (has stored talent).

14−2は部分計V)−\の索引をもつ辞νN索引チー
 7’ ルメモIJ JTN]1テあ2)。これGet
ニー+J−1時11)1を短縮するためにbv壷に伺加
された辞約索引テーブルメモリである。第71ツ」に示
ずi+++<がかど、メモリには任慧の仮名に対し、そ
の((ソ名で始まる単語が各部分辞書のどの荀W;に格
納さ第1ているかを示すポインタが用涜されている。I
’ H:”+をサーチするときには、このポインタσ〕
イ1”t %”からサーチし、辞書全体をサーチする必
1δ”01′/、「い。例えば“きかい、、を検索する
には屑綿索引テーブルメモリの°゛き9.の項目を見て
、例えば(1,2)辞書へのポインタをたどってサーチ
を始める。
14-2 is the term νN index 7' with the index of the partial total V)-\. Get this
Knee+J-1:11) This is a dictionary index table memory added to the BV bottle to shorten 1. There is a pointer in memory indicating in which section of each partial dictionary the word starting with (() is stored in the first part of the dictionary for Renhui's kana. It has been desecrated.I
' When searching for "H:"+, use this pointer σ]
It is necessary to search from ``t %'' and then search the entire dictionary. For example, the search is started by following the pointer to the dictionary (1, 2).

ざすれニ゛“機械1.を見つけることができる。You can find the machine 1.

14−3は部分辞書の開#i jl” ifi+コード
を示す部分辞書開始コードテーブルメモリJi・0])
で、第8図に示す如く各部分辞書に対し、その部分辞書
の開始コードが格納されている。単語コードは各部分辞
書内では1llli査に粕号付けざわている。
14-3 is a partial dictionary start code table memory Ji・0] indicating the opening #i jl" ifi+ code of the partial dictionary.
As shown in FIG. 8, the start code of each partial dictionary is stored for each partial dictionary. Word codes are assigned to every word in each partial dictionary.

前記fRSr ’M引テーブルメモリJTNDのポイン
タPTHに部分辞書開始コードテーブルメモリJTOD
で求めた開始単品コードを加えねば、サーチ開始単語コ
ードとなる。またポインタP’l’Hにその部分辞書の
1単飴当りの所要記憶容量を来じて開始アドレスを加え
ると、サーチを開始すべき辞書アドレスが得られる3つ 単語コードからその単語の持つ情報を知りたいときには
部分M書開始コードテーブルメモリJTODからその単
語が含まれる部分辞書を調べ、単語コードから開始コー
ドを減じたものにその辞書の1単語当り所要記憶容量を
乗じたものを開始アドレスに加えることにより、その単
語が登録さねているアドレスを得ることができる。
The pointer PTH of the fRSr 'M reference table memory JTND is set to the partial dictionary start code table memory JTOD.
If you add the starting single item code found in , you will get the search starting word code. Also, if you add the start address to the pointer P'l'H based on the required storage capacity per candy for that partial dictionary, you will get the dictionary address at which to start the search.From the three-word code, you will find the information that the word has. When you want to know the partial M book start code table memory JTOD, look up the partial dictionary that includes the word, and set the start address to the word code minus the start code multiplied by the storage capacity required per word in the dictionary. By adding the word, you can get the address where that word is not registered.

14−4は部分辞書の開始アドレスを示す部分辞書開始
アドレステーブルJ’I’ADで、第8図は半固定長辞
書を検索するのに必要な部分辞他開始アドレステーブル
J ’I’AI)の(1c、成を示−4ものである。
14-4 is a partial dictionary start address table J'I'AD indicating the start address of a partial dictionary, and FIG. 8 is a partial dictionary start address table J'I'AI) necessary for searching a semi-fixed length dictionary. (1c, showing the formation of -4).

各部分計めに対し、その部分辞書の開始アドレスが格納
されている。単f、76コードは各部分辞書内では順番
に番号付けされているc’+ l’lil記辞令1F索
引テーブルメモリJINDのポインタT”TIIに、T
 ’I’ 0 ])で求めた開始単語コードを加えれば
、・す゛−チ開始単制フードとなる。またポインタI”
rRにその部分辞書の1単。語当りの所要記憶容量を牙
じて開始アドレスを加えると、サーチを開始すべき辞書
アドレスが得られる。
For each partial measure, the starting address of that partial dictionary is stored. The single f, 76 code is numbered sequentially in each partial dictionary.
If we add the start word code found in 'I' 0 ]), we get -S - CH start simple food. Also pointer I”
One unit of that partial dictionary to rR. Adding the starting address along with the required storage capacity per word yields the dictionary address at which to start the search.

単語コードからその単d11の持つ情報を知りたいとき
には辞書索引テーブルメモリJTO’Dがらその単語が
含まれる部分辞書を調べ、単語:1−ドから開始コード
を減じたものにその辞書の11′L飴当り所要記憶容量
を乗じたものを開Itiアドレスに加えることにより、
その単H:iが登會メされているアドレスを得ることが
できる。
When you want to know the information of the word d11 from the word code, look up the partial dictionary that includes that word in the dictionary lookup table memory JTO'D, and subtract the start code from word:1-d to 11'L of that dictionary. By multiplying the required storage capacity per candy and adding it to the Iti address,
The address where the single H:i is registered can be obtained.

14−5は人力された文字データ列を格納するサーチ単
語レジスタ5WIIで、第91ンjに示す如くこのレジ
スタは入力された文字データ列を格納するものである。
Reference numeral 14-5 denotes a search word register 5WII which stores a character data string entered manually, and as shown in the 91st line j, this register stores the input character data string.

レジスタ8WB 14−5 の大きさはNワードとし、
必要に応じて大きさを変えることができる。図示の如く
入力に関してはまず入力開始コードII (uが入れら
れ、次から入力文字データ列が入り、最後に入力終了コ
ード“)9.が入る。
The size of register 8WB 14-5 is N words,
You can change the size as needed. As shown in the figure, regarding the input, the input start code II (u is entered first, then the input character data string is entered, and finally the input end code 9) is entered.

14−6は各読みデータに対し対応する単語コードと文
法情報を格納するーサーナ単語テーブルメモリ8WTB
Lで、第10図に示す如く上述した舊読み要素に対して
各々読みデータOEと前記辞書より検索された単語の単
語コード′I′0及び文法情報BIを格納する。1つの
音読み要素に対し、読みデータ1ワード、単語コード1
ワード。
14-6 stores word codes and grammar information corresponding to each reading data - Sarna word table memory 8WTB
At L, as shown in FIG. 10, the reading data OE, the word code 'I'0 of the word retrieved from the dictionary, and the grammar information BI are stored for each of the above-mentioned 芊read elements. For one on-yomi element, one word of reading data and one word code
word.

文法情報1ワードの計3ワードで構成する。全体のワー
ド数は必要に応じて決めることができ18は70ツビ駆
動装置のコントローラである。
It consists of three words in total, one word of grammatical information. The total number of words can be determined as required, and 18 is a controller for a 70-twin drive.

また、19はプリンタであり、20はプリンタのコント
ローラである。
Further, 19 is a printer, and 20 is a controller for the printer.

上述したような各構成、要素からなる′4−発明文字処
理装置は、キーボード5からの入力によって作動するも
のであって、キーボード5からの入力がなされると、イ
ンタラブ)信号がマイクロプロセサ1に伝えられて、T
10M12内に記憶されている制御手順に従って文字処
理に心安な各種の制御動作を行なう。
The '4-invention character processing device comprising the above-mentioned configurations and elements is operated by input from the keyboard 5, and when an input is made from the keyboard 5, an interrupt signal is sent to the microprocessor 1. I was told, T
10M12 performs various control operations that are safe for character processing in accordance with control procedures stored in the memory.

次に第4図に示すフローチャー1・を参+tt+ L、
ながら、本発明文字処理装置6′の子連した制御動作を
説明する。まず、ステップ4−1において、キーボード
コントローラ6より続み出した一連のデータをRAM1
4内の入力データレジスタSWBに書き込む。
Next, refer to flowchart 1 shown in FIG. 4 +tt+L,
The control operations of the character processing device 6' of the present invention will now be explained. First, in step 4-1, a series of data output from the keyboard controller 6 is stored in the RAM 1.
Write to the input data register SWB in 4.

ついで、4−2でかな漢字変PiI!始め指定か沓かを
判定し、かかる漢字変換始めでない場合はステップ4−
3に移り、各種の人力処理、例えば通常の英文字、仮名
文字の入力や文字コードの入力等名種の制伺1が行なわ
れる。かかる入力処理は、通常のワードプロセッサ等に
より実施されている入力処理と同様のものであり、その
説明を省略する。一方、仮名漢字変換始めである場合は
ステップ8−4に移る。
Next, 4-2 Kana Kanji Hen PiI! Determine whether the beginning is specified or kutsu, and if it is not the beginning of the kanji conversion, step 4-
Moving on to step 3, various manual processes such as inputting ordinary English characters, kana characters, inputting character codes, etc., are performed. Such input processing is similar to input processing performed by a normal word processor, etc., and its explanation will be omitted. On the other hand, if it is the beginning of kana-kanji conversion, the process moves to step 8-4.

ステップ4−4においてレジスタBWB内の入力文字デ
ータ列に対して第1図に示しであるような音読み要素に
区νIる。
In step 4-4, the input character data string in the register BWB is divided into on-yomi elements νI as shown in FIG.

ステップ4−5においてステップ4−4で得られた読み
について辞書上検索が行なわれる。
In step 4-5, a dictionary search is performed for the pronunciation obtained in step 4-4.

ステップ4−6において、辞書上検索の結果求める単d
l)があったか否かを判定し、無かった場合はステップ
4−8に移る。存在した場合はステップ4−7に移り、
SW’l’BLに第10図に示す如く読みデータ、単語
フード、文法情報を登録する。
In step 4-6, the word d to be searched as a result of the dictionary search.
It is determined whether or not l) has occurred, and if not, the process moves to step 4-8. If it exists, move to step 4-7,
Reading data, word food, and grammar information are registered in SW'l'BL as shown in FIG.

ステップ4−8において辞書検索が終りか否かを判定し
、終りでない場合、ステップ4−4に移り、次の音読み
要素を作成する。
In step 4-8, it is determined whether or not the dictionary search has ended. If not, the process moves to step 4-4 and the next on-yomi element is created.

ステップ4−9においてメモリ8WTBLを用いて仮名
漢字変換を行なう。
In step 4-9, kana-kanji conversion is performed using the memory 8WTBL.

次に第5図について説明する。こノ1は第4図における
ステップ4−5を詳細に説明するものである。
Next, FIG. 5 will be explained. This part 1 explains step 4-5 in FIG. 4 in detail.

ステップ5−1においてサーチしたい音読み要素の読み
の長さを求めレジスタWLBNに格納する。
In step 5-1, the reading length of the on-yomi element to be searched for is determined and stored in the register WLBN.

ステップ5−2においてレジスタWT、ENを2で除し
、小数点以下を切捨てたものをIイ〆みの長さを示すレ
ジスタYIJNにセットする。
In step 5-2, the registers WT and EN are divided by 2, the decimal part is rounded down, and the result is set in the register YIJN indicating the length of the I-stop.

ステップ5−3において逆字の一1#さを示すレジスタ
KLIiNを1にセットする。
In step 5-3, a register KLIiN indicating the number of backward characters is set to 1.

ステップ5−4において(y■、vh、 KT、BN 
)辞書をサーチする。
In step 5-4 (y■, vh, KT, BN
) Search the dictionary.

ステップ5−5において(YLI州、 KLBN )辞
書サーチの結果、求める音読み要素の単語が見つかった
かどうかを判定し、見つかった場合は見つかったことを
表わすフラグ・レジスタを1にセットし、辞楢サーチと
いう一連の処理を経える。
In step 5-5, as a result of the (YLI state, KLBN) dictionary search, it is determined whether or not the word of the desired on-yomi element is found. If it is found, a flag register indicating that it has been found is set to 1, and the dictionary search is performed. It goes through a series of processes.

ステップ5−6においてKINレジスタの値が上限を超
えたかどうか判定し、Mlえている場合には上記フラグ
、レジスタを0にリセットし、辞実サーチという一連の
処理を終える。
In step 5-6, it is determined whether or not the value of the KIN register exceeds the upper limit, and if M1 is exceeded, the flag and register are reset to 0, and a series of processing called dictionary search is completed.

ステップ5−7においてレジスタKLEN を1だけカ
ウントアツプし、ステップ5−4に移る。
In step 5-7, the register KLEN is counted up by 1, and the process moves to step 5-4.

かかるステラ75−4を第6図を参照し詳細に設J3J
4する。
Such Stella 75-4 was designed in detail with reference to FIG.
4.

ステップ6−1においてレジスタ5WB−ヒにある音読
み要素の最初の1文字及びレジスタYLBN。
In step 6-1, the first character of the on-yomi element in register 5WB-hi and register YLBN.

KIJNの仙をネ(にJINDを調べ(YIJN、 K
LEN )辞書へのポインタをPTRにセットする。
Check out JIND in KIJN's Sen (YIJN, K
LEN) Set a pointer to the dictionary in PTR.

ステラ76−2においてJTODより(YLEN。From JTOD at Stella 76-2 (YLEN.

KLEN)昇動の開始コードを求めレジスタCDにセラ
[する。
KLEN) Finds the start code of the ascending movement and stores it in the register CD.

ステップ6−3においてメモリJTADより(YI、E
N、 KLBN )辞書の開始アドレスを求めレジスタ
ADにセットする。
In step 6-3, (YI, E
N, KLBN) Find the starting address of the dictionary and set it in register AD.

にセットする。レジスタ0BL8の値は、レジスタYI
JNの値にレジスタKLHNの値を加えたものに1を加
えたものに2を乗じたもので求められる。
Set to . The value of register 0BL8 is the value of register YI
It is determined by adding 1 to the value of register KLHN to the value of JN, and multiplying the result by 2.

レジスタAI)の伯を加λることにより号−チ開始アド
レスを得る。
By adding the numbers of the registers AI), the start address of number -CH is obtained.

ステップ6−6において」二翫iアトl/ス、 jl(
i:tフードより1単飴すつ島・みの比較を?j’ )
rいながら(YIJN、 KIJ3N ) lW≠)の
→ノ゛−チを行t「う。
In step 6-6, ``two lines i at l/s, jl(
i: Comparison of 1 single candy Sutsushima and Mi from T Food? j')
While doing so, (YIJN, KIJ3N) lW≠) → go to the notch.

埼玉で−A「の酸1竹を1才る。In Saitama - A's acid 1 bamboo is 1 year old.

次に本発明の仙の実施1例について貌明する。Next, one embodiment of the present invention will be explained.

すなわち上述した実施例においては、−:〒1Aを部分
辞書に分類する昂準としてll+ %1”(の読み情報
That is, in the above-mentioned embodiment, the reading information of ll+%1'' (-:〒1A is classified as a partial dictionary).

及び漢字情報の2つのみを選んでいたが、それ以外にも
各単語のFi[%・記’9.j容h(にiCfいを生ず
る項目があれは、それも基準に含めでM1分辞書に分り
′ミすることもできる。また部分1脣肖の紳類として1
6種類を採用しているが、必曳′にl1Fxじてその数
を増加さセることもできる 以」二のM(す!11からr!IIらかなように、本発
明によればiI#書を℃録する単1Vl)のよみV舊が
字数に分って分類された部分辞書に分角1しているので
、どのような単語に対しても無駄な記憶域が生ずること
なく、また、どんなに長い単語を新たに登録する場合で
も、全体のm成、を変更することなく 、jiiに新た
な部分辞書を追加するだけで良いので、メモリの使用効
率を著しく向上させて拡張性にすぐれた辞書を持つ文字
処理装置を実駒することができた7、
and kanji information, but in addition to that, each word's Fi[%・Ki'9. If there are any items that give rise to iCf, they can also be included in the criteria and can be found in the M1-minute dictionary.
Although 6 types are adopted, the number can be increased as the required number l1Fx increases. #Recording a book 1 Vl) Reading V 舊 is divided into partial dictionaries classified according to the number of characters, so there is no wasted storage space for any word, In addition, no matter how long a new word is to be registered, it is only necessary to add a new partial dictionary to JII without changing the overall m-structure, which significantly improves memory usage efficiency and improves scalability. We were able to manufacture a character processing device with an excellent dictionary7.

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

第1し]は辞書の11i飴構成を示す図。 第2図は部分辞書の極短を示す図、 第3図は本発明による1実施例を示すブロック図、 第4図は制御生駒を示す70−チャート図、か、5図は
約4図に示すステップ4−5を詳細に示すフローチャー
ト図、 第6図は第5図に示すステップ5−4を詳細化したフロ
ーチャート白、 第7図は部分#書の索引を含むJINDテーブルの構成
を示す図、 第8図は部分辞書の開始単語コードと開始アドレスを格
納するJ’l’ODとJ′P^■)の構成を示す同第9
図は入力文字データ列を格納するサーチ単語バッファの
構成を示す図、 第10図は読みデータと対応する単語の単語コード、文
法情報を登録した8W′l’旧、を示1図、14・・・
・・・・・・ランダム・アクセス・メモリ14−1・・
・辞書 14−2・・・JTNI)テーブル 14−3・・・JTODテーブル 14−4・・・JTADテーブル 14−5・・・8WBレジスタ 14−6・・・8WTIILテ一ブル 出願人  ギヤノン株式会t1 4−1.+l!Ij 11ぐ作             1ペイトイLEN
           KLEすり      匹ビT
刈hイ]囚1m          (う71)又イ]
==■ア「ロ          (2,1)m5丁=
E−「口        (1,3,)hHW丁−扉=
m           41.2 )Oイmア「ロ 
           (Ll)特開0U58−681
40(7)
1] is a diagram showing the 11i candy structure of the dictionary. Fig. 2 is a diagram showing the extremely short length of a partial dictionary, Fig. 3 is a block diagram showing an embodiment according to the present invention, Fig. 4 is a 70-chart diagram showing a control Ikoma, and Fig. 5 is about 4 Fig. Figure 6 is a detailed flowchart showing step 5-4 shown in Figure 5. Figure 7 is a diagram showing the structure of a JIND table including an index of partial #books. , Figure 8 shows the structure of J'l'OD and J'P^■) which store the start word code and start address of the partial dictionary.
The figure shows the structure of the search word buffer that stores the input character data string. Figure 10 shows the 8W'l' old version in which the reading data, the word code of the corresponding word, and the grammar information are registered.・・・
...Random access memory 14-1...
・Dictionary 14-2...JTNI) Table 14-3...JTOD table 14-4...JTAD table 14-5...8WB register 14-6...8WTIIL table Applicant: Gyanon Co., Ltd. t1 4-1. +l! Ij 11 pieces 1 pay toy LEN
KLE pickpocket
[Karihi] prisoner 1m (U71) Mata]
==■A “B (2,1) m5 pieces=
E-“mouth (1,3,)hHW ding-door=
m 41.2)
(LL) JP 0U58-681
40(7)

Claims (1)

【特許請求の範囲】[Claims] 音読み情報をインデックスとした辞書を有する装置にお
いて、前記音読み機素を複数に分は前記複数に分けられ
た前記音読み要素をおのおの記憶する為のメモリを有す
る文字処理装置。
A character processing device having a dictionary with on-yomi information as an index, and having a memory for storing each of the on-yomi elements divided into a plurality of on-yomi elements.
JP56166644A 1981-10-19 1981-10-19 Character processor Pending JPS5868140A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56166644A JPS5868140A (en) 1981-10-19 1981-10-19 Character processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56166644A JPS5868140A (en) 1981-10-19 1981-10-19 Character processor

Publications (1)

Publication Number Publication Date
JPS5868140A true JPS5868140A (en) 1983-04-22

Family

ID=15835087

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56166644A Pending JPS5868140A (en) 1981-10-19 1981-10-19 Character processor

Country Status (1)

Country Link
JP (1) JPS5868140A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6057424A (en) * 1983-09-08 1985-04-03 Ricoh Co Ltd Kana/kanji conversion processor
US6702676B1 (en) * 1998-12-18 2004-03-09 Konami Co., Ltd. Message-creating game machine and message-creating method therefor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6057424A (en) * 1983-09-08 1985-04-03 Ricoh Co Ltd Kana/kanji conversion processor
US6702676B1 (en) * 1998-12-18 2004-03-09 Konami Co., Ltd. Message-creating game machine and message-creating method therefor

Similar Documents

Publication Publication Date Title
US5357431A (en) Character string retrieval system using index and unit for making the index
JPS5911137B2 (en) Kanji input method
JPS5868140A (en) Character processor
JPS646496B2 (en)
JPS5868139A (en) Character processor
JPH036659A (en) Document processor
JPS6161392B2 (en)
JPH0531190B2 (en)
JP3278148B2 (en) Character processing apparatus and method
JPS6162970A (en) Dictionary for word processor of kana-kanji conversion
JP2575650B2 (en) Kana-Kanji conversion device
JPH052263U (en) Kana-Kanji converter
JP3342028B2 (en) Kana-Kanji conversion device
JPH05120259A (en) Japanese syllabary to chinese character conversion device
JPH05120266A (en) Japanese syllabary to chinese character conversion device
JP3273778B2 (en) Kana-kanji conversion device and kana-kanji conversion method
JPH0522269B2 (en)
JPS59125424A (en) Character processor
JPS61175854A (en) Kana to kanji converting device
JPH041848A (en) Kana/kanji converter
JPH04268949A (en) 'kana'/'kanji' conversion system for character processor
JPH0236988B2 (en)
JPS63213071A (en) Electronic dictionary
JPS6336550B2 (en)
JPS6068421A (en) Input system of japanese sentence