JPH01276285A - System for collating word - Google Patents

System for collating word

Info

Publication number
JPH01276285A
JPH01276285A JP63104635A JP10463588A JPH01276285A JP H01276285 A JPH01276285 A JP H01276285A JP 63104635 A JP63104635 A JP 63104635A JP 10463588 A JP10463588 A JP 10463588A JP H01276285 A JPH01276285 A JP H01276285A
Authority
JP
Japan
Prior art keywords
word
character
recognition
code
word code
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.)
Granted
Application number
JP63104635A
Other languages
Japanese (ja)
Other versions
JPH0632092B2 (en
Inventor
Masami Oguro
雅己 小黒
Kiyoshi Nakabayashi
仲林 清
Naotaka Oomiya
大光明 直孝
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.)
NTT Inc
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP63104635A priority Critical patent/JPH0632092B2/en
Publication of JPH01276285A publication Critical patent/JPH01276285A/en
Publication of JPH0632092B2 publication Critical patent/JPH0632092B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Character Discrimination (AREA)

Abstract

PURPOSE:To improve a correct answer rate by introducing a method to permit a retrieval only once to a recognition time position at one point. CONSTITUTION:A position history table 8 to record the retrieval history of the recognition time position for each word code is provided, and by inputting the recognition time positions of the word code and a character code to select the word code, whether an overlapping retrieval exists or not is tested through the use of a position testing part 7 to output the word code and an evaluation value to be unretrieved as to the recognition time position of the word code. Thus, at the time of checking the character in one or more in-dictionary positions as to one recognition position because plural candidate characters exist in one recognition time position and the word exists which is composed of the combination of the candidate characters, since the retrieval history is referred to by the position history table 8 from the word code and recognition time position at the position detecting part 7 even to the case of outputting the evaluation value my mistake.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、単語照合方式に関し、特に入力文字列の文字
位置について候補文字が複数個存在する場合に、入力文
字に誤りがあっても、単語を能率よく認識するための単
語認識方式に関するものである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a word matching method, and in particular, when there are multiple candidate characters for the character position of an input character string, even if there is an error in the input character, The present invention relates to a word recognition method for efficiently recognizing words.

〔従来の技術〕[Conventional technology]

従来の単語認識方式として、文字コードの並びで表わさ
れる入力文字列から単語を認識する際に、入力文字列の
各文字位置に対して候補文字が複数個あり、かつ入力文
字列中に誤字、脱字、余剰字を含んでいる場合を想定し
て、入力文字列の各位置の各候補文字と、任意の単語を
構成する1個以上の位置の文字とを照合する必要がある
場合がある。
In conventional word recognition methods, when recognizing words from an input character string represented by a sequence of character codes, there are multiple candidate characters for each character position in the input character string, and there are errors in the input character string. Assuming that the input character string contains omitted characters or redundant characters, it may be necessary to match each candidate character at each position of the input character string with characters at one or more positions constituting an arbitrary word.

第6図は、従来のこのような単語認識装置の一例を示す
構成図である。
FIG. 6 is a block diagram showing an example of such a conventional word recognition device.

第6図において、1は単語選択テーブルであり。In FIG. 6, 1 is a word selection table.

2は選択処理部であり、3は判定値テーブルであり、4
は判定値累積処理部であり、5はソート処理部であり、
6は評価値テーブルである。例えば。
2 is a selection processing unit, 3 is a judgment value table, and 4
is a judgment value accumulation processing section, 5 is a sorting processing section,
6 is an evaluation value table. for example.

入力文字列として「デコタル」 (この中のコはジを誤
ってコと入力したものと想定する)を入力すると1選択
処理部2の単語選択テーブル1を参照することにより、
1文字目、2文字目、・・・・の各々に対して単語コー
ドと判定値を出力し、これらを次段の判定値累積処理部
4に転送する。判定値累積処理部4では、入力された各
単語コードに対して判定値テーブル3を参照することに
より評価値を決定し、次段のソート処理部5に転送する
。ソート処理部5では評価値テーブルにより候補単語に
順位を付けて出力する。順位の最高のものが、認識され
た文字である。
When "Decotar" is entered as an input character string (assuming that the ko in this text was mistakenly entered as ko), by referring to the word selection table 1 of the 1 selection processing unit 2,
A word code and a judgment value are output for each of the first character, second character, etc., and these are transferred to the judgment value accumulation processing section 4 at the next stage. The judgment value accumulation processing section 4 determines an evaluation value for each input word code by referring to the judgment value table 3, and transfers it to the next stage sorting processing section 5. The sort processing unit 5 ranks and outputs candidate words using an evaluation value table. The one with the highest rank is the recognized character.

この単語認識装置では、各文字コートの並びを各単語に
対応させた単語辞書を用いて、入力文字列の文字コード
の並びと各単語の比較を行うために、入力文字列の各文
字位置ごとに入力文字列を構成する文字コードを入力す
る。すなわち、前述のように、「デコタル」を入力する
と、1文字目の「デ」に対してデジタルのWll、デー
タのW12、デコーダのW13が出力し、2文字目の「
コjに対してデコーダのW13、レコードのW2Bを出
力する。以下、同じようにして、入力された各文字ごと
に、単語コードと判定値が出力される。このように、選
択処理部2では、単語選択テーブル1により、文字コー
ドの文字を各文字位置に含む単語コードを出力する。こ
の単語認識装置では、誤字、余剰字、脱字に対応するた
め、辞書内の単語コードにおける文字位置(以下、辞書
内位置と呼ぶ)と入力文字列内の文字位置(以下、認識
時位置と呼ぶ)が一致しない場合についても、1箇所の
認識時位置の候補文字につき、1箇所以上の辞書内位置
で単語選択テーブルの検索を行っている。
This word recognition device uses a word dictionary in which the arrangement of each character code corresponds to each word, and in order to compare the arrangement of character codes of the input string with each word, Enter the character codes that make up the input string in . In other words, as mentioned above, when you input "dekotal", digital Wll, data W12, and decoder W13 are output for the first character "de", and the second character "de" is output.
Decoder W13 and record W2B are output for coj. Thereafter, in the same way, a word code and a judgment value are output for each input character. In this manner, the selection processing unit 2 outputs a word code containing a character of the character code at each character position using the word selection table 1. In order to deal with typos, redundant characters, and omissions, this word recognition device uses character positions in the word code in the dictionary (hereinafter referred to as dictionary positions) and character positions in the input string (hereinafter referred to as recognition positions). ) do not match, the word selection table is searched at one or more positions in the dictionary for each candidate character at one recognition position.

なお、従来の単語照合方式については、例えば、先に出
願された特願昭61−248415号明細書および図面
(発明の名称:単語認識装置)を参照されたい。
Regarding the conventional word matching method, please refer to the specification of Japanese Patent Application No. 1983-248415 and the drawings (title of invention: word recognition device), for example.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

このような単語認識装置においては、1箇所の認識時位
置の候補文字が1個以上存在し、かつその候補文字に対
して1箇所以上の辞書内位置で単語選択テーブルを検索
しているため1次に説明するような誤った評価値が出力
されてしまう。従って、このような誤出力を修正すべき
ii!題が生じる。
In such a word recognition device, there is one or more candidate characters at one recognition position, and the word selection table is searched for one or more positions in the dictionary for that candidate character. An erroneous evaluation value as described below will be output. Therefore, such erroneous output should be corrected!ii! A problem arises.

第7図は、従来の単語認識装置による具体的な処理過程
を示す図である。
FIG. 7 is a diagram showing a specific processing process by a conventional word recognition device.

文字認識においては、第7図に示すように、1箇所の認
識時位置に1個以上の文字候補が出力される。すなわち
、単語辞書に、東京、京都、都心があり、入力文字列と
して「京都」を入力した場合、認識時位置cl(ギヤラ
グ91字目)内の候補文字として、東、京、亨の3文字
、C2内の候補文字として、都、郡、群の3文字がそれ
ぞれ出力される。つまり、同じ認識時位置内の候補文字
だけで、単語として成立する場合([i’東京」)があ
る。
In character recognition, as shown in FIG. 7, one or more character candidates are output at one recognition position. In other words, if the word dictionary contains Tokyo, Kyoto, and Tokyo, and you input "Kyoto" as the input character string, the three characters Higashi, Kyoto, and Toru will be selected as candidate characters in position cl (gear lag 91st character) at the time of recognition. , C2, the three characters Miyako, Gun, and Gun are output as candidate characters, respectively. In other words, there are cases where candidate characters within the same recognition position can form a word ([i'Tokyo]).

この場合、前記手法を用いると、第7図の選択処理部2
において、認識時位置c1文字目を辞書内位置1文字目
とみたとき、■に候補文字「東Jから「東京」が取り出
され、clを辞書内装置2文字目とみたとき、■に候補
文字「京Jから「東京」が取り出される。このとき、1
箇所の認識時位置では、1個の候補文字しか使用できな
いにもかかわらず、「東京」の検索では、1箇所の認識
時位置で2個の候補文字が用いられ、誤った評価値が与
えられることになる。すなわち、判定値累積部では、「
東京jが1.7、「京都」が1.6、「都心」が0.8
の評価となり、次のソート処理部では、「東京」が1.
7、「京都jが1.6、「都心」が0.8となる。従っ
て、従来の方法では、正確な処理が行われていないこと
になる。
In this case, if the above method is used, the selection processing unit 2 in FIG.
, when the first character at recognition position c is considered as the first character in the dictionary, the candidate character "Tokyo" is extracted from "Higashi J" in ■, and when cl is considered as the second character in the dictionary, the candidate character is in ■ ``Tokyo'' is removed from Kyoto J. At this time, 1
Even though only one candidate character can be used at the recognition position of a place, when searching for "Tokyo", two candidate characters are used at one recognition position, giving an incorrect evaluation value. It turns out. In other words, in the judgment value accumulation section, "
Tokyo J is 1.7, ``Kyoto'' is 1.6, and ``City Center'' is 0.8.
In the next sort processing section, "Tokyo" is evaluated as 1.
7. ``Kyoto J'' is 1.6, and ``Tokyo Center'' is 0.8. Therefore, the conventional method does not perform accurate processing.

これが原因となって、第7図の例では、本来第1位とし
て抽出されるべき「京都」が第2位となって出力されて
いる。
Due to this, in the example of FIG. 7, "Kyoto", which should originally be extracted as the first place, is output as the second place.

本発明の目的は、このような従来の課題を解決し、1つ
の認識位置について1つ以上の辞書内位・置で文字の照
合を行う場合、誤って評価値を出力することなく、かつ
入力文字中に誤字、脱字、余剰字があっても、高精度に
単語を認識することができ、また並列処理を行う場合で
も、高精度に単語を認識することができる単語照合方式
を提供することにある。
An object of the present invention is to solve such conventional problems, and to avoid outputting evaluation values by mistake when matching characters at one or more dictionary positions for one recognition position, and to avoid inputting To provide a word matching method capable of recognizing words with high precision even if there are misspellings, omissions, or extra characters in characters, and also capable of recognizing words with high precision even when parallel processing is performed. It is in.

〔課題を解決するための手段〕[Means to solve the problem]

上記目的を達成するため、本発明の単語照合方式は1文
字コードが配列された入力文字列が、予め設定された単
語の中のどの単語に相当するかを照合する単語照合方式
において、単語を構成する文字配列の各位置(以下、辞
書自位置と記す)ごとに、使用文字と単語とを対応させ
た単語選択テーブルを含み、入力文字列の任意の文字位
置(以下、認識時位置と記す)の候補文字の文字コー1
−と辞書自位置を入力として、対応する単語コードを出
力する選択処理手段と、上記単語コードごとに該単語コ
ードの選択に用いた文字コードの認識時位置を記録した
位置履歴テーブルを含み、単語コードおよび該単語コー
ドの選択に用いた文字コードの認識時位置を入力として
、該単語コードの認識時位置について、他の候補文字で
検索済みか否かの検索履歴を出力する位置検定手段と、
該位置検定手段から出力された各単語コードについて、
確実さを示す評価値を加算する判定値累積手段と、該判
定値累積手段の判定値の大小関係より候補単語を抽出す
るソート手段とを有し、上記選択処理手段により入力文
字列の各認識位置ごとの候補文字について、1箇所以上
の辞書自位置ごとに上記単語選択テーブルから文字コー
ドに対応する単語コードを選択し、上記位置検定手段に
より、該単語コードと該認識時位置の検索履歴を上記位
置履歴テーブルから読み出し、未検索である場合にのみ
該位置履歴テーブルに検索済みの検索履歴を設定して、
該単語コードを上記判定値累積手段に送り、該判定値累
積手段では、上記位置検定手段から出力された単語コー
ドの評価値を累積加算して上記入力文字列に対する判定
値を得て、上記ソート手段により候補単語を抽出するこ
とに特徴がある。また、上記位置履歴テーブルの検索履
歴として、入力文字列の各文字の認識結果から得られた
確からしさの尺度を書き込むことにも特徴がある。
In order to achieve the above object, the word matching method of the present invention is a word matching method in which an input character string in which one-character codes are arranged corresponds to which word among preset words. It includes a word selection table that associates the characters used with words for each position of the constituent character array (hereinafter referred to as the dictionary position), and contains a word selection table that matches the characters used and words, and ) candidate character character code 1
- and the dictionary's own position as input, and a selection processing means that outputs the corresponding word code, and a position history table that records the position at the time of recognition of the character code used to select the word code for each word code, position verification means that receives as input the code and the position at the time of recognition of the character code used to select the word code, and outputs a search history indicating whether or not the position at the time of recognition of the word code has been searched with other candidate characters;
For each word code output from the position verification means,
It has a judgment value accumulating means for adding an evaluation value indicating certainty, and a sorting means for extracting candidate words based on the magnitude relationship of the judgment values of the judgment value accumulating means, and each recognition of the input character string is performed by the selection processing means. Regarding the candidate characters for each position, a word code corresponding to the character code is selected from the word selection table for each one or more dictionary positions, and the search history of the word code and the position at the time of recognition is checked by the position verification means. Read from the position history table, set the search history to the position history table only if it is not yet searched,
The word code is sent to the judgment value accumulation means, and the judgment value accumulation means cumulatively adds the evaluation value of the word code output from the position verification means to obtain a judgment value for the input character string, and performs the sorting. The feature is that candidate words are extracted by means. Another feature is that a measure of certainty obtained from the recognition results of each character in the input character string is written as the search history in the position history table.

〔作  用〕[For production]

本発明においては、1箇所の認識時位置に対して、1度
の検索しか許さない方法を導入することにより、正解率
を向上している。すなわち、入力文字列の各認識時位置
に対する各候補文字ごとに、得点と認識時位置を保持し
、単語コードごとにその単語コードの選択に用いた文字
コードの認識時位置を記録する位置履歴テーブルを持ち
、単語コードとその単語コートの選択に用いた候補文字
の認識時位置を入力して、その単語コードについて、そ
の認識時位置が未検索である単語コードと、その単語コ
ードの評価値を出力する位置検定部により、選択処理部
で得られた単語コードと、その単語コードを選択した候
補文字の認識時位置とから、その認識時位置と同じ認識
時位置からの選択が既に行われていないか検定し、初め
て選択が行われる場合についてのみ、その単語コードお
よび評価値を判定値累積部に出力し、同時に位置検定テ
ーブルに検定済みを記録する。
In the present invention, the accuracy rate is improved by introducing a method that allows only one search for one recognition position. That is, a position history table that holds the score and position at the time of recognition for each candidate character for each position at the time of recognition of the input character string, and records the position at the time of recognition of the character code used to select the word code for each word code. , enter the word code and the position at the time of recognition of the candidate character used to select the word coat, and for that word code, check the word code whose position at the time of recognition has not been searched and the evaluation value of that word code. The output position verification unit determines whether the word code obtained by the selection processing unit and the recognition position of the candidate character for which the word code is selected has already been selected from the same recognition position. Only when a selection is made for the first time, the word code and evaluation value are output to the judgment value accumulator, and at the same time, the status of verification is recorded in the position verification table.

これにより、入力文字列の各認識位置に1個以上の候補
文字認識が存在し、かつ入力文字列内に、誤字、脱字、
余剰字を含んでいても、1箇所の認識時位置の1個以上
の候補文字と、1箇所以上の辞書自位置の文字とを照合
する場合に生じる単語コードの誤評価を、位置履歴テー
ブルを用いて回避することにより、高精度な単語認識が
可能となる。
As a result, there is one or more candidate character recognition at each recognition position of the input string, and there are typos, omissions, and errors in the input string.
Even if redundant characters are included, the position history table can be used to prevent incorrect evaluation of word codes that occur when matching one or more candidate characters at one recognition position with one or more characters at one or more dictionary positions. By using and avoiding this method, highly accurate word recognition becomes possible.

〔実施例〕〔Example〕

以下1本発明の実施例を、図面により詳細に説明する。 EMBODIMENT OF THE INVENTION Below, one embodiment of the present invention will be described in detail with reference to the drawings.

第1図は、本発明の一実施例を示す単語照合装置のブロ
ック構成図である。
FIG. 1 is a block diagram of a word matching device showing an embodiment of the present invention.

本発明の単語照合装置は、単語選択テーブル1を含む選
択処理部2と、位置履歴テーブル8を含む位置検定部7
と、評価値テーブル3を含む判定値累積部4と、候補単
語テーブル(図示省略)を含むソート処理部5とから構
成される。
The word matching device of the present invention includes a selection processing section 2 including a word selection table 1, and a position verification section 7 including a position history table 8.
, a judgment value accumulation section 4 including an evaluation value table 3, and a sorting processing section 5 including a candidate word table (not shown).

第2図は、本発明の単語照合方式の一実施例を示す処理
過程図である。
FIG. 2 is a process diagram showing an embodiment of the word matching method of the present invention.

いま、第7図と同じ入力文字列に対して、同じ文字認識
結果が得られた場合について、本発明の動作原理を説明
する。
The operating principle of the present invention will now be described for a case where the same character recognition results are obtained for the same input character string as in FIG. 7.

選択処理部2では、各認識時位置ごとに次の選択処理を
行う。先ず、認識時位置の各候補文字の文字コードで単
語選択テーブル1を検索し、前記文字コードに対応する
単語コードを読み出す。この単語選択テーブル1は、辞
書自位置ごとに文字コードと、この辞書自位置にその文
字コードが存在する単語コードの対応表を示している。
The selection processing unit 2 performs the following selection processing for each position at the time of recognition. First, the word selection table 1 is searched using the character code of each candidate character at the position at the time of recognition, and the word code corresponding to the character code is read out. This word selection table 1 shows a correspondence table between character codes for each dictionary position and word codes for which the character code exists at this dictionary position.

単語認識装置では、認識時位百01については、辞書自
位置が1文字目の時の、および2文字口の時■について
、単語を選択する。■では、候補文字′東′から′東京
′が、候補文字′京′から′京都′が、それぞれ読み出
され、′東京′、評価値0.9、および認識時位置c1
、′京都″、評価値0.8.およびclを、それぞれ組
合わせて出力する。また、■では、候補文字′京′から
′東京′が読み出され、′東京′、0.8、および認識
時位置c1を組合わせて出力する。また、認識時位置c
2については、辞書自位置が1文字目、2文字目の単語
選択テーブル1により、′部内′、0.8およびc2、
また′京都′、0.8.およびc2を、それぞれ組合わ
せて出力する。このようにして、順次処理することによ
り、選択された単語コードと認識時位置、評価値を組に
して、次段の位置検定部7に転送する。
The word recognition device selects a word when the recognition position 1001 is the first character in the dictionary, and when the second character position is ■. In ■, the candidate characters 'Higashi' to 'Tokyo' and the candidate characters 'Kyo' to 'Kyoto' are read out, respectively, and 'Tokyo', the evaluation value 0.9, and the position at the time of recognition c1
, ``Kyoto'', evaluation value 0.8., and cl are output in combination. Also, in ■, ``Tokyo'' is read from the candidate character ``Kyo'', and ``Tokyo'', 0.8, and The position at the time of recognition c1 is combined and output. Also, the position at the time of recognition c
Regarding 2, according to the word selection table 1 whose dictionary position is the first character and the second character, 'inside', 0.8 and c2,
Also 'Kyoto', 0.8. and c2 are combined and output. By sequentially processing in this way, the selected word code, the position at the time of recognition, and the evaluation value are combined and transferred to the position verification section 7 at the next stage.

位置検定部7では、単語選択部2から送られてきた単語
コードにより、位置履歴テーブル8からその単語コード
の認識時位置に関する検索履歴を取り出し、単語選択テ
ーブル1から送られてきた認識時位置での検索が以前行
われたか否かを検定する。第2図に示す位置履歴テーブ
ル8は、認識時位置が2文字目までの例であって、各単
語コードごと、認識時位1cl、c2に、処理済み(1
)か、未処理である(0)かを記録できる欄を備えてい
る。この位置履歴テーブル8を利用する位置検定処理の
例として、位置履歴テーブル8が第2図に示すように■
■を位置検定して得た検索履歴が記録されている状態に
あり、次に■において、単語コードが′東京′、評価値
が0.8、認識時位置がclの結果が送られてきた場合
について説明する。位置履歴テーブル8により、単語コ
ード゛東京′から東京という単語が重複していることを
判別して、認識時位置C1が処理済み(1)、認識時位
[c2が未処理(0)であることが得られる。このこと
から、単語コード′東京′においては、選択処理部2か
ら送られてきた認識時位置C1が処理済みであることが
検出できるので、単語コード1東京′は判定値累積部4
に送られない。また、■を位置検定する例において、単
語コード′京都′に対しては、選択処理部2から送られ
た認識時位置c2が未処理であることが検出され、単語
コード′京都′は評価値とともに判定値累積部4に送ら
れる。このとき、位置履歴テーブル8の1京都′とc2
で指定される欄に、検索済み(1)を設定する。
In the position verification section 7, based on the word code sent from the word selection section 2, the search history regarding the position at the time of recognition of the word code is retrieved from the position history table 8, and the search history regarding the position at the time of recognition sent from the word selection table 1 is retrieved. Test whether the search for has been performed before. The position history table 8 shown in FIG. 2 is an example in which the position at the time of recognition is up to the second character, and for each word code, the processed (1cl, c2) position at the time of recognition is
) or unprocessed (0). As an example of the position verification process using this position history table 8, the position history table 8 is as shown in FIG.
The search history obtained by testing the position of ■ is being recorded, and next, in ■, the result with the word code 'Tokyo', the evaluation value 0.8, and the position at the time of recognition is cl was sent. Let me explain the case. From the position history table 8, it is determined that the word Tokyo is duplicated from the word code ``Tokyo'', and the recognition position C1 is processed (1) and the recognition position [c2 is unprocessed (0). You can get that. From this, in the word code 'Tokyo', it can be detected that the recognition position C1 sent from the selection processing unit 2 has been processed, so the word code 1 Tokyo' is
Not sent to. In addition, in the example of position testing for ■, for the word code 'Kyoto', it is detected that the recognition position c2 sent from the selection processing unit 2 is unprocessed, and the word code 'Kyoto' has an evaluation value. It is also sent to the judgment value accumulator 4. At this time, 1Kyoto' and c2 of position history table 8
Set searched (1) in the field specified by .

判定値累積部4では1位置検定部7で出力された単語コ
ードの中で、同じ単語コードについて。
The judgment value accumulator 4 evaluates the same word code among the word codes output by the 1-position verification unit 7.

評価値を累積加算する。前述の例では、単語コード′東
京′は、第2図の■の場合にしか送られてこないため、
評価値は0.9となり、認識候補文字から得られる単語
の評価値として正しい値が与えられたことになる。この
後、ソート処理部5において、評価値の大小比較が行わ
れる。第2図の例では、この単語認識装置は′京都′を
第1位候補として出力する。
Add evaluation values cumulatively. In the above example, the word code 'Tokyo' is only sent in the case of ■ in Figure 2, so
The evaluation value is 0.9, which means that a correct value has been given as the evaluation value of the word obtained from the recognition candidate characters. After that, the sorting processing unit 5 compares the evaluation values. In the example of FIG. 2, this word recognition device outputs 'Kyoto' as the first candidate.

第3図は1本発明における拡張時の位置履歴テーブルの
図である。
FIG. 3 is a diagram of a position history table at the time of expansion according to the present invention.

すなわち、第3図では、認識時位置をN文字目に拡張し
たときの位置履歴テーブルが示されている。位置履歴テ
ーブル8は、単語コードWごと、および任意の各認識時
位置Cごとに、処理済み(1)か、未処理(0)かを記
録する欄で構成される。
That is, FIG. 3 shows a position history table when the recognition position is extended to the Nth character. The position history table 8 is composed of columns for recording whether the word code W and each arbitrary recognition position C are processed (1) or unprocessed (0).

位置履歴テーブル8の検索時には、単語コードと現在処
理している認識時位置を用いて110を得ることができ
る。このために、認識時位[Ciにある候補文字の文字
コードCDjを入力することにより1選択処理部2で単
語コードWkが選択された時、位置履歴テーブル8のW
k行Ci列の値を読み出して、その単語コードを判定値
累積部4に出力するか否かを検定する。検定の結果、未
処理であった場合に、Wk行Ci列に検索済み(1)を
記録して、全ての認識時位置C1〜Cnで処理済みとな
ったことを確認し、単語コードと評価値を判定値・累積
部4に送る。また、入力された単語コードがその表から
既に処理済みであった場合には、その単語コードについ
ては判定値累積部4に出力しない。
When searching the position history table 8, 110 can be obtained using the word code and the position at the time of recognition currently being processed. For this purpose, when the word code Wk is selected in the 1 selection processing section 2 by inputting the character code CDj of the candidate character in the recognition position [Ci, W in the position history table 8
The value in row k and column Ci is read out, and it is tested whether or not the word code is to be output to the judgment value accumulator 4. If the result of the test is that it has not been processed, record searched (1) in the Wk row and Ci column, confirm that all recognition positions C1 to Cn have been processed, and add the word code and evaluation. The value is sent to the judgment value/accumulator 4. Furthermore, if the input word code has already been processed from the table, that word code is not output to the judgment value accumulation unit 4.

第1図の構成について、さらに詳述する。The configuration shown in FIG. 1 will be explained in further detail.

第1図の構成では、入力文字列の各認識時位置における
各候補文字、認識時位置、評価値の組を入力し、最も確
実らしい単語を出力する。各認識位置の候補文字コード
ごとに、探索回路11によりメモリ中の単語選択テーブ
ル1を用いて、1つ以上の辞書内位置につき文字コード
に対応する単語コードを検索し、検索された単語コード
を判定回路12に送出する。判定回路12では、メモリ
中の位置履歴テーブル8を参照し、その単語コードが重
複検索されていないか否かを検定する。重複検索されて
いない場合には、位置履歴テーブル8に検索済みを記録
し、加算回路13に単語コードと評価値を送る。加算回
路13では、メモリ中の評価値テーブル3からその単語
コードの現在までの判定値を検出し、その評価値の加算
によりその単語コード判定値を更新し、評価値テーブル
3にその値を戻す。全!!識時位置の全辞書自位置によ
る処理が終了した後、ソート回路9により、判定値テー
ブル6(図示省略)のソートを行い、その結果を出力す
る。すなわち、単語コードと判定値とを出力する。
In the configuration shown in FIG. 1, a set of candidate characters, recognition positions, and evaluation values at each recognition position of an input character string is input, and the most likely word is output. For each candidate character code at each recognition position, the search circuit 11 uses the word selection table 1 in memory to search for a word code corresponding to the character code for one or more positions in the dictionary, and then searches for the word code corresponding to the character code for one or more positions in the dictionary. It is sent to the determination circuit 12. The determination circuit 12 refers to the position history table 8 in the memory and verifies whether the word code has been searched repeatedly. If no duplicate searches have been made, the search is recorded in the position history table 8, and the word code and evaluation value are sent to the addition circuit 13. The addition circuit 13 detects the current judgment value of the word code from the evaluation value table 3 in the memory, updates the word code judgment value by adding the evaluation value, and returns the value to the evaluation value table 3. . all! ! After the processing using all the dictionary self-positions of the recognition time position is completed, the sorting circuit 9 sorts the judgment value table 6 (not shown) and outputs the result. That is, the word code and the judgment value are output.

第4図は、本発明の他の実施例を示す単語照合装置のブ
ロック構成図であり、第5図は第4図で用いられる位置
履歴テーブルの図である。
FIG. 4 is a block diagram of a word matching device showing another embodiment of the present invention, and FIG. 5 is a diagram of a position history table used in FIG. 4.

第4図では、並列に照合する場合の構成例が示されてい
る。
FIG. 4 shows an example of the configuration for parallel verification.

第4図においては1選択処理・位置検定部10a〜Io
nの探索回路11a〜llnおよび判定回路12a〜1
2nを用いて、各辞書内位置ごとに並列に実行し、辞書
内位置ごとの位置履歴テーブル8a〜8nを作成する。
In FIG. 4, 1 selection processing/position verification units 10a to Io
n search circuits 11a to lln and determination circuits 12a to 1
2n in parallel for each position in the dictionary to create position history tables 8a to 8n for each position in the dictionary.

この後、加算回路13において判定値を計算し、ソート
回路9により判定値の大小比較を行い、その結果を出力
する。このとき1位置履歴テーブル8および8a〜8n
には、第5図(a)(b)(c)に示すように、単語コ
ードの各認識時位置の欄に110のフラグではなく、評
価値を記録する。
Thereafter, an adder circuit 13 calculates a judgment value, a sorting circuit 9 compares the judgment values, and outputs the result. At this time, 1 position history table 8 and 8a to 8n
As shown in FIGS. 5(a), 5(b), and 5(c), instead of the flag 110, an evaluation value is recorded in the column of each recognition position of the word code.

各辞書内位置ごとの処理が終了した後、比較回路14に
おいて各位置履歴テーブル8a〜8nを検査し、重複し
ている場合には評価値の比較を行い、高い評価値を優先
することにより、重複検索による誤評価を回避する。こ
れにより、認識時の得点が高い候補文字での照合が可能
となる。
After the processing for each position in the dictionary is completed, the comparison circuit 14 inspects each position history table 8a to 8n, and if there are duplicates, the evaluation values are compared and the higher evaluation values are prioritized. Avoid false evaluations due to duplicate searches. This makes it possible to match candidate characters with high scores during recognition.

第5図においては、辞書内位置1文ラグの単語コードW
1の認識時位置1文字目と、辞書内装置M文字目の単語
コードW1の認識時位置1文字目が重複している。この
ため、双方を比較して、得点が高い0.8を辞書内位置
1文ラグの得点をw1行1列目の得点とする。
In Fig. 5, the word code W of the one-sentence lag in the dictionary is
The first character at the recognition position of No. 1 overlaps with the first character at the recognition position of the M-th word code W1 in the dictionary. Therefore, by comparing the two, the highest score of 0.8 is set as the score of one sentence lag in the dictionary position in the w1 row and 1st column.

なお、1箇所の認識時位置について1箇所以上の辞書内
位置との文字の照合は、任意ピッチの手書き文字や連続
音声のように、文字または音節の句切りが未知であるた
めに生じる認識時位置と辞書自位置のずれを補正する場
合にも必要となる。
Note that matching a character with one or more dictionary positions for one recognition position is a problem that occurs during recognition because the punctuation of characters or syllables is unknown, such as handwritten characters with arbitrary pitches or continuous speech. It is also necessary when correcting the discrepancy between the position and the dictionary's own position.

このように、本発明においては、単語コードごとに認識
時位置の検索履歴を記録した位置履歴テーブルを設けて
、単語コードと単語コードを選択した文字コードのH時
位置を入力することにより、その単語コートの認識時位
置についての未検索である単語コード、評価値を出力す
る位置検定部を用いて重複検索がないか否かを検定する
。これにより、1つの認識時位置に複数の候補文字があ
り、それらの候補文字の組合わせによりできる単語があ
るために、1つの認識位置について1つ以上の辞書自位
置で文字の照合を行う際に、誤って評価値を出力する場
合に対しても1位置検出部で単語コードと認識時位置か
ら位置履歴テーブルにより検索履歴を参照するので、誤
評価を防止することができる。また、並列処理を行う場
合でも、各プロセッサごとに位置履歴テーブルを持たせ
て、位置履歴テーブルに記録する値を各認識時位置の文
字候補の評価値とすることにより、並列化しても高精度
に単語を認識することができる。
In this way, in the present invention, a position history table is provided in which the search history of the position at the time of recognition is recorded for each word code, and by inputting the word code and the H position of the character code from which the word code is selected, It is tested whether or not there is a duplicate search using a position verification unit that outputs unsearched word codes and evaluation values regarding the position at the time of recognition of the word code. As a result, there are multiple candidate characters at one recognition position, and some words can be formed by combining these candidate characters, so when matching characters at one or more dictionary positions for one recognition position, Furthermore, even if an evaluation value is output by mistake, the 1-position detection unit refers to the search history using the position history table based on the word code and the position at the time of recognition, so that erroneous evaluation can be prevented. In addition, even when performing parallel processing, by providing a position history table for each processor and using the value recorded in the position history table as the evaluation value of the character candidate at each recognition position, high accuracy can be achieved even with parallel processing. can recognize words.

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

以上説明したように、本発明によれば、入力文字列の各
文字位置に1コ一ド以上の文字候補があり、かつ入力文
字列中に誤字、脱字、余剰室がある場合でも、高精度に
単語を認識することができる。また、並列処理を行う場
合においても、位置履歴テーブルに記録する値を文字候
補の評価値とすることにより、高精度に単語を認識する
ことができる。
As explained above, according to the present invention, even if there is a character candidate of one code or more at each character position of an input character string, and there are typos, omissions, or extra spaces in the input character string, high accuracy can be achieved. can recognize words. Further, even when parallel processing is performed, words can be recognized with high accuracy by using the values recorded in the position history table as evaluation values of character candidates.

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

第1図は本発明の一実施例を示す単語照合装置のブロッ
ク構成図、第2図は第1図を用いて認識処理を行う場合
の過程図、第3図は第1図における位置履歴テーブルの
内容を示す図、第4図は本発明の他の実施例を示す並列
処理の単語照合装置のブロック図、第5図は第4図の装
置に用いられる位置履歴テーブルの構成例を示す図、第
6図は従来の単語認識装置のブロック図、第7図は第6
図の装置の動作過程を示す図である。 1:単語選択テーブル、2:選択処理部、3:判定値テ
ーブル、4:判定値累積部、5:ソート処理部、6:位
置履歴テーブル、7:位置検定部。 8.8a〜8n:位置履歴テーブル、9:ソート回路、
10a〜10m:選択処理・位置検定部、11:探索回
路、12:判定回路、13:加算回路、14:比較回路
。 特許出願人 日本電信電話株式会社 第   1   図 高力、単語コード、判定値 第   3   図 0:未処理、1:処理済み
Fig. 1 is a block diagram of a word matching device showing an embodiment of the present invention, Fig. 2 is a process diagram when performing recognition processing using Fig. 1, and Fig. 3 is a position history table in Fig. 1. 4 is a block diagram of a parallel processing word matching device showing another embodiment of the present invention, and FIG. 5 is a diagram showing an example of the configuration of a position history table used in the device of FIG. 4. , Figure 6 is a block diagram of a conventional word recognition device, and Figure 7 is a block diagram of a conventional word recognition device.
It is a figure which shows the operation process of the apparatus of figure. 1: word selection table, 2: selection processing section, 3: judgment value table, 4: judgment value accumulation section, 5: sorting processing section, 6: position history table, 7: position verification section. 8.8a to 8n: position history table, 9: sorting circuit,
10a to 10m: selection processing/position verification section, 11: search circuit, 12: determination circuit, 13: addition circuit, 14: comparison circuit. Patent applicant: Nippon Telegraph and Telephone Corporation Figure 1 High power, word code, judgment value Figure 3 0: Unprocessed, 1: Processed

Claims (2)

【特許請求の範囲】[Claims] (1)文字コードが配列された入力文字列が、予め設定
された単語の中のどの単語に相当するかを照合する単語
照合方式において、単語を構成する文字配列の各位置(
以下、辞書内位置と記す)ごとに、使用文字と単語とを
対応させた単語選択テーブルを含み、入力文字列の任意
の文字位置(以下、認識時位置と記す)の候補文字の文
字コードと辞書内位置を入力として、対応する単語コー
ドを出力する選択処理手段と、上記単語コードごとに該
単語コードの選択に用いた文字コードの認識時位置を記
録した位置履歴テーブルを含み、単語コードおよび該単
語コードの選択に用いた文字コードの認識時位置を入力
として、該単語コードの認識時位置について、他の候補
文字で検索済みか否かの検索履歴を出力する位置検定手
段と、該位置検定手段から出力された各単語コードにつ
いて、確実さを示す評価値を加算する判定値累積手段と
、該判定値累積手段の判定値の大小関係より候補単語を
抽出するソート手段とを有し、上記選択処理手段により
入力文字列の各認識位置ごとの候補文字について、1箇
所以上の辞書内位置ごとに上記単語選択テーブルから文
字コードに対応する単語コードを選択し、上記位置検定
手段により、該単語コードと該認識時位置の検索履歴を
上記位置履歴テーブルから読み出し、未検索である場合
にのみ該位置履歴テーブルに検索済みの検索履歴を設定
して、該単語コードを上記判定値累積手段に送り、該判
定値累積手段では、上記位置検定手段から出力された単
語コードの評価値を累積加算して上記入力文字列に対す
る判定値を得て、上記ソート手段により候補単語を抽出
することを特徴とする単語照合方式。
(1) In a word matching method that matches an input character string in which character codes are arranged to which word among preset words, each position (
It includes a word selection table that matches characters used with words for each position in the dictionary (hereinafter referred to as the position in the dictionary), and the character code of the candidate character at any character position in the input string (hereinafter referred to as the position at the time of recognition). It includes a selection processing means that receives a position in the dictionary as an input and outputs a corresponding word code, and a position history table that records the position at the time of recognition of the character code used for selecting the word code for each word code. a position verification means that receives as input the position at the time of recognition of the character code used to select the word code and outputs a search history indicating whether or not the position at the time of recognition of the word code has been searched with other candidate characters; For each word code output from the testing means, the method includes a judgment value accumulating means for adding an evaluation value indicating certainty, and a sorting means for extracting candidate words based on the magnitude relationship of the judgment values of the judgment value accumulating means, The selection processing means selects a word code corresponding to the character code from the word selection table for each one or more dictionary positions for each candidate character in each recognition position of the input character string, and the position verification means selects a word code corresponding to the character code for each position in the dictionary. The word code and the search history of the position at the time of recognition are read from the position history table, and only if the search history has not yet been searched, the search history of the searched position is set in the position history table, and the word code is stored in the judgment value accumulating means. and the judgment value accumulating means cumulatively adds the evaluation values of the word codes output from the position verification means to obtain a judgment value for the input character string, and the sorting means extracts candidate words. A word matching method that uses
(2)上記位置履歴テーブルの検索履歴として、入力文
字列の各文字の認識結果から得られた確からしさの尺度
を書き込むことを特徴とする特許請求の範囲第1項記載
の単語照合方式。
(2) The word matching method according to claim 1, wherein a measure of certainty obtained from the recognition result of each character of the input character string is written as the search history in the position history table.
JP63104635A 1988-04-27 1988-04-27 Word matching method Expired - Lifetime JPH0632092B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63104635A JPH0632092B2 (en) 1988-04-27 1988-04-27 Word matching method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63104635A JPH0632092B2 (en) 1988-04-27 1988-04-27 Word matching method

Publications (2)

Publication Number Publication Date
JPH01276285A true JPH01276285A (en) 1989-11-06
JPH0632092B2 JPH0632092B2 (en) 1994-04-27

Family

ID=14385905

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63104635A Expired - Lifetime JPH0632092B2 (en) 1988-04-27 1988-04-27 Word matching method

Country Status (1)

Country Link
JP (1) JPH0632092B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07309082A (en) * 1994-05-16 1995-11-28 Kyowa Tokushu Insatsu Kk Anti-counterfeit coating film

Also Published As

Publication number Publication date
JPH0632092B2 (en) 1994-04-27

Similar Documents

Publication Publication Date Title
KR910007531B1 (en) Voice recognition device
US12456012B2 (en) Inference methods for word or wordpiece tokenization
JPS6359660A (en) information processing equipment
JPS61156466A (en) Word extracting system
CN108564086A (en) A kind of the identification method of calibration and device of character string
JPH0632092B2 (en) Word matching method
JP2792147B2 (en) Character processing method and device
JP2000331023A (en) Information search device and storage medium storing information search processing program
EP0148008B1 (en) Word spelling correlatively-storing method and its circuit
JP2774495B2 (en) Natural language processor
EP0178651B1 (en) Data retrieving apparatus
CN119807391B (en) A Chinese entity linking method and system based on large language model
JPS62285189A (en) Character recognition post processing system
JP2595043B2 (en) Automatic Japanese text error verification device
JPH04111186A (en) Character recognition result correction method for address character string
JP2595047B2 (en) Japanese sentence automatic verification and correction device
JPS60225273A (en) Word retrieving system
JPS6394364A (en) Automatic correction device for wrong character in japanese sentence
JPS63103393A (en) Word recognizing device
JPH06149872A (en) Text input device
JPH05274482A (en) Postprocessing method for character recognition of number string mixed document
JPH04278664A (en) Address analysis processor
JPS63268082A (en) Pattern recognizing device
JPS61161588A (en) Character recognition post-processing method
JPH10134150A (en) Post-processing method of character recognition result