JPS6288077A - Pattern similarity calculating device - Google Patents

Pattern similarity calculating device

Info

Publication number
JPS6288077A
JPS6288077A JP60227671A JP22767185A JPS6288077A JP S6288077 A JPS6288077 A JP S6288077A JP 60227671 A JP60227671 A JP 60227671A JP 22767185 A JP22767185 A JP 22767185A JP S6288077 A JPS6288077 A JP S6288077A
Authority
JP
Japan
Prior art keywords
circuit
pattern
standard
threshold
inter
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
JP60227671A
Other languages
Japanese (ja)
Inventor
Toru Oshika
大鹿 徹
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP60227671A priority Critical patent/JPS6288077A/en
Publication of JPS6288077A publication Critical patent/JPS6288077A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To suppress the increase of a processing time due to that of the number of patterns by using two different threshold values against one reference pattern. CONSTITUTION:A time series data from an input circuit 1 is given to a feature extracting circuit 2, then a feature being extracted. The feature is stored at an input pattern storing circuit 3. First of all, after the threshold value of the first reference pattern is transferred to a threshold value holding circuit 7, a similarity between an input pattern and the first reference pattern is calculated at a between category distance calculating circuit 5, and when a compared result is larger than the first threshold value, the same process for the second reference pattern is started with a control circuit 14. Also, when the result is smaller than the first threshold value, the second threshold value is transferred to the threshold value holding circuit 7, then the distance between categories and the second threshold value being compared. Corresponding to the compared result, the pattern classification code of the reference pattern and the value of the distance between categories are registered at a candidate pattern storing circuit 9, or the pattern classification code is outputted.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は9例えば文字認識に用いられる/母、l−ン類
似度計算装置に関し、特にパターン類似度計算時間の短
縮に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a similarity calculation device for use in, for example, character recognition, and particularly relates to a reduction in pattern similarity calculation time.

〔従来の技術〕[Conventional technology]

従来、この種のパターン類似度計算装置では。 Conventionally, this type of pattern similarity calculation device.

第2図に示すように、入力回路1から取り込まれた時系
列データは、特徴抽出回路2によシ特徴を選択されtS
S油抽出後データは入力パターンとして入カッ4ターン
記憶回路3へ保存される。
As illustrated in FIG.
After the S oil is extracted, the data is stored in the input 4-turn memory circuit 3 as an input pattern.

一方、入力/’Pターンに対しあらかじめ用意しである
標準的な特徴を有しているデータを標準パターンと呼び
、該標準・母ターンは、標準パターン記憶回路4へ、予
め保存されている。
On the other hand, data having standard characteristics prepared in advance for the input/'P turn is called a standard pattern, and the standard/mother turn is stored in the standard pattern storage circuit 4 in advance.

なお、1つの標準パターンにノJ?ターン種別コードが
l′)、又、同一カテゴリの標準パターンに1つ閾値が
付加されている。該パターン種別コードはパターン種別
コード記憶回路12に保存されておシ、前記閾値は閾値
記憶回路13に保存されている。
In addition, one standard pattern has no J? The turn type code is l'), and one threshold value is added to the standard pattern of the same category. The pattern type code is stored in a pattern type code storage circuit 12, and the threshold value is stored in a threshold storage circuit 13.

まず第1番目の標準パターンの閾値を閾値記憶回路13
から閾値保持回路7へ転送後、入力パターンと前記第1
番目の標準・母ターンとの類似度をカテゴリ間距離計算
回路5にて計算し、その結果が閾値保持回路7の閾値よ
シ大きい場合は、制御回路15は、第2番目の標準・り
一ンについて同様の処理を開始する。
First, the threshold value of the first standard pattern is stored in the threshold value storage circuit 13.
The input pattern and the first
The inter-category distance calculation circuit 5 calculates the degree of similarity with the second standard mother turn, and if the result is greater than the threshold of the threshold holding circuit 7, the control circuit 15 calculates the degree of similarity with the second standard mother turn. Start the same process for the

又、小さい場合は、制御回路15は、その標準パターン
を候補・9ターンとし、その・fターン種別コードとカ
テゴリ間距離の値を、候補パターン記憶回路9へ登録し
ておく。
If it is smaller, the control circuit 15 sets the standard pattern as a candidate 9th turn, and registers the f-turn type code and the inter-category distance value in the candidate pattern storage circuit 9.

そして、すべての標準パターンに関し、カテゴリ間距離
を計算した結果、複数の候補パターンが生じた場合、制
御回路15は、最小値決定回路8に、候補パターン記憶
回路9の中からカテゴリ間距離が最小の候補のパターン
種別コードを出力させる。
If a plurality of candidate patterns are generated as a result of calculating inter-category distances for all standard patterns, the control circuit 15 causes the minimum value determination circuit 8 to select the minimum inter-category distance from among the candidate pattern storage circuits 9. The pattern type code of the candidate is output.

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

一般忙・クターン類似度計算装置の処理時間は。 What is the processing time of the General Busy/Cutane Similarity Calculator?

標準ノ母ターンのデータ構造、カテゴリ間距離計算手順
およびパターン数に依存している。
It depends on the data structure of the standard mother turn, the intercategory distance calculation procedure, and the number of patterns.

すなわち、従来のノ等ターン類似度計算装置では。That is, in the conventional equivalent turn similarity calculation device.

ノ9ターン数が増加すればそれに比例して処理時間が長
くなってしまうという欠点がある。
There is a drawback that as the number of turns increases, the processing time increases proportionally.

本発明の目的は、上記欠点を除去し、/4′ターン数の
増加に伴なう処理時間の増加を短縮できるノeターン類
似度計算装置を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a no-e turn similarity calculation device that can eliminate the above-mentioned drawbacks and shorten the increase in processing time due to the increase in the number of /4' turns.

以下余白 〔問題点を解決するための手段〕 本発明によれば2時系列データを取り込む入力回路と、
そのデータの特徴を抽出する回路と、特徴抽出後のデー
タを入力パターンとして保存する入力パターン記憶回路
と、あらかじめ登録された標準データを標準パターンと
して保存する標準パターン記憶回路と、前記入力パター
ン及び標準パターン記憶回路に保存しである入カノヤタ
ーンおよび標準t4ターンよシカテゴリ間の距離を計算
するカテがす間距離計算回路と、1つの標準ノ母ターン
該比較回路の比較結果によシ、前記カテゴリ間距離計算
回路で計算されたカテゴリ間距離と、該カテゴリ間距離
の計算に用いられた標準/IPターンのン種別コードの
うち、カテゴリ間距離が最小値の74タ一ン種別コード
を出力する最小値決定回路を有することを特徴とするパ
ターン類似度計算装置が得られる。
Blank space below [Means for solving the problem] According to the present invention, there are two input circuits that take in time series data;
a circuit for extracting features of the data; an input pattern storage circuit for storing data after feature extraction as an input pattern; a standard pattern storage circuit for storing pre-registered standard data as a standard pattern; Based on the comparison result of the comparison circuit, the distance calculation circuit calculates the distance between the categories of the input and standard t4 turns stored in the pattern memory circuit, and the comparison circuit of one standard mother turn. Among the inter-category distance calculated by the inter-category distance calculation circuit and the standard/IP turn type code used to calculate the inter-category distance, the 74-turn type code with the minimum inter-category distance is output. A pattern similarity calculation device characterized by having a minimum value determining circuit is obtained.

すなわち2本発明では、1つの標準tJ?ターンに対し
2つの値の異なる第1及び第2の閾値(ただし、第1の
閾値〉第2の閾値である)を用意する。
That is, in the present invention, one standard tJ? Two different first and second threshold values (first threshold>second threshold) are prepared for each turn.

第1の閾値は従来よシ用いられている候補・母ターン選
択用のものであシ、第2の閾値は候補・ぐターンを1つ
にしぼシ込むためのものである。
The first threshold value is for selecting a candidate/mother turn, which has been conventionally used, and the second threshold value is for narrowing down the candidate/mother turns to one.

〔実施例〕〔Example〕

次に本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は1本発明の一実施例によるパターン類似度計算
装置のブロック図である。
FIG. 1 is a block diagram of a pattern similarity calculation device according to an embodiment of the present invention.

入力回路1から取り込まれた時系列データは。The time series data taken in from input circuit 1 is as follows.

特徴抽出回路2によシ特徴(大きさ1位置の正規化、冗
長なサンプル点の除去を行い且つ入力の形を保存するサ
ンプル列)を選択する。
The feature extraction circuit 2 selects a feature (a sample sequence that performs size 1 position normalization, removes redundant sample points, and preserves the shape of the input).

この処理を行なった後のデータを入力パターンと呼び入
力パターン記憶回路3へ保存しておく。
The data after this processing is called an input pattern and is stored in the input pattern storage circuit 3.

一方、入カッJ?ターンに対しあらかじめ用意しである
標準的な特徴を有しているデータを標準パターンと呼び
、標準パターン記憶回路4へ保存しておく。
On the other hand, Ichika J? Data having standard characteristics prepared in advance for each turn is called a standard pattern, and is stored in the standard pattern storage circuit 4.

なお、1つの標準パターンには、パターン種別コードと
2つの値の異なる第1及び第2の閾値(ただし、第1の
閾値〉第2の閾値である。)が付加されている。第1の
閾値は従来よシ用いられている候補パターン選択用のも
のであシ、第2の閾値は候補パターンを1つにしぼシ込
むためのものである。該パターン種別コードはノぐター
ン種別コード記憶回路12に保持されておシ、前記第1
及び第2の閾値は第1及び第2の閾値記憶回路10及び
11にそれぞれ保持されている。
Note that a pattern type code and two different first and second thresholds (where the first threshold is greater than the second threshold) are added to one standard pattern. The first threshold value is for selecting candidate patterns, which has been conventionally used, and the second threshold value is for narrowing down the candidate patterns to one. The pattern type code is held in the turn type code storage circuit 12, and
and the second threshold are held in first and second threshold storage circuits 10 and 11, respectively.

まず、第1番目の標準/4’ターンの第1の閾値を閾値
保持回路7へ転送後、入力/4’ターンと第1番目の標
準/IPターンとの類似度をカテゴリ間距離計算回路5
にて計算し、その結果が第1の閾値よシ大きい場合は、
制御回路14は、第2番目の標準パターンについて同様
の処理を開始する。
First, after transferring the first threshold value of the first standard/4' turn to the threshold holding circuit 7, the similarity between the input/4' turn and the first standard/IP turn is calculated by the inter-category distance calculation circuit 5.
If the result is larger than the first threshold,
The control circuit 14 starts similar processing for the second standard pattern.

又、前記結果が第1の閾値よシ小さい場合は。Also, if the result is smaller than the first threshold.

制御回路14は、第1番目の標準Aターンの第2の閾値
を閾値保持回路7へ転送し、先はど計算したカテゴリ間
距離と比較を行なう。その結果、該カテがす間距離が第
2の閾値よシ大きい場合は。
The control circuit 14 transfers the second threshold value of the first standard A turn to the threshold value holding circuit 7, and compares it with the previously calculated inter-category distance. As a result, if the distance between the catheters is larger than the second threshold value.

制御回路14は、その標準ノ4ターンを候補/4’ター
ンとし、そのノ母ターン種別コードとカテがす間距離の
値を候補・母ターン記憶回路9へ登録しておく。
The control circuit 14 sets the standard No. 4 turn as a candidate/4' turn, and registers the mother turn type code and the value of the distance between categories in the candidate/mother turn storage circuit 9.

そして、すべての標準パターンに関し、カテゴリ間距離
を計算した結果、複数の候補/IPターンが生じた場合
、制御回路14は、最小値決定回路8に、候補パターン
記憶回路9の中からカテゴリ間距離が最小の候補のパタ
ーン種別コードを出力させる。
If a plurality of candidates/IP turns are generated as a result of calculating the inter-category distances for all standard patterns, the control circuit 14 causes the minimum value determination circuit 8 to calculate the inter-category distances from the candidate pattern storage circuit 9. Outputs the pattern type code of the candidate with the smallest value.

さて1元に戻って、制御回路14は、カテがす間距離が
第2の閾値よシもさらに小さい場合は。
Now, returning to step 1, if the distance between the catheters is smaller than the second threshold value, the control circuit 14 performs the following operations.

類似度が最も大と判定し、その標準・ぐターンを候補パ
ターンとし、そのパターン種別コードを出力し、以降の
標準・ぐターンとのカテゴリ間距離の計算は一切行なう
ことはしない。
It is determined that the degree of similarity is the highest, the standard/gutern is set as a candidate pattern, its pattern type code is output, and the distance between categories with the standard/gutern is not calculated at all thereafter.

本実施例では、きちっと書かれた文字は第2の閾値で、
はとんど特定することができる。
In this example, the properly written characters are the second threshold;
can be identified.

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

以上説明したように本発明は、入力Aターンと標準ハタ
ーンとの類似度計算において、1つの標準パターンに対
し2つの値の異なる閾値を用いる事によシ、カテゴリ間
距離計算を省略できる場合が生じ、パターン類似度計算
の短縮を行なえるという効果がある。
As explained above, in the similarity calculation between the input A turn and the standard pattern, the present invention uses two different threshold values for one standard pattern, which can sometimes omit the inter-category distance calculation. This has the effect of shortening the pattern similarity calculation.

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

第1図は本発明の一実施例によるパターン類似度計算装
置のブロック図である。第2図は従来の・母ターン類似
度計算装置のブロック図である。 1:入力回路、2:特徴抽出回路、3:入カッJ?ター
ン記憶回路、4:標準ノ臂ターン記憶回路。 5:カテゴリ間距離計算回路、6:比較回路。 7:閾値保持回路、8:最小値決定回路、9:候補・ぐ
ターン記憶回路、10:第1の閾値記憶回路。 11:第2の閾値記憶回路、12:パターン種別コード
記憶回路、la:IJ値記憶回路、14及び15:制御
回路。 も1図
FIG. 1 is a block diagram of a pattern similarity calculation device according to an embodiment of the present invention. FIG. 2 is a block diagram of a conventional mother turn similarity calculation device. 1: Input circuit, 2: Feature extraction circuit, 3: Input circuit? Turn memory circuit, 4: Standard arm turn memory circuit. 5: Inter-category distance calculation circuit, 6: Comparison circuit. 7: Threshold value holding circuit, 8: Minimum value determination circuit, 9: Candidate/gutern storage circuit, 10: First threshold value storage circuit. 11: second threshold storage circuit, 12: pattern type code storage circuit, la: IJ value storage circuit, 14 and 15: control circuit. Figure 1

Claims (1)

【特許請求の範囲】[Claims] 1、時系列データを取り込む入力回路と、そのデータの
特徴を抽出する回路と、特徴抽出後のデータを入力パタ
ーンとして保存する入力パターン記憶回路と、あらかじ
め登録された標準データを標準パターンとして保存する
標準パターン記憶回路と、前記入力パターン及び標準パ
ターン記憶回路に保存してある入力パターンおよび標準
パターンよりカテゴリ間の距離を計算するカテゴリ間距
離計算回路と、1つの標準パターンに対応したパターン
種別コードを保存しておくパターン種別コード記憶回路
と、1つの標準パターンに対して2つの値の異なる閾値
を保存しておく閾値記憶回路と、該閾値記憶回路からの
一閾値を一時的に保持しておく閾値保持回路と、前記カ
テゴリ間距離計算回路により計算されたカテゴリ間距離
と前記閾値保持回路内の閾値とを比較する比較回路と、
該比較回路の比較結果により、前記カテゴリ間距離計算
回路で計算されたカテゴリ間距離と、該カテゴリ間距離
の計算に用いられた標準パターンのパターン種別コード
とを保持しておく候補パターン記憶回路と、該候補パタ
ーン記憶回路内のパターン種別コードのうち、カテゴリ
間距離が最小値のパターン種別コードを出力する最小値
決定回路を有することを特徴とするパターン類似度計算
装置。
1. An input circuit that takes in time-series data, a circuit that extracts the features of that data, an input pattern storage circuit that stores the data after feature extraction as an input pattern, and stores pre-registered standard data as a standard pattern. a standard pattern storage circuit; an inter-category distance calculation circuit that calculates distances between categories from input patterns and standard patterns stored in the input pattern and standard pattern storage circuits; and a pattern type code corresponding to one standard pattern. A pattern type code storage circuit to be stored, a threshold storage circuit to store two different threshold values for one standard pattern, and one threshold value from the threshold storage circuit to be temporarily held. a threshold holding circuit; a comparison circuit that compares the inter-category distance calculated by the inter-category distance calculation circuit with a threshold in the threshold holding circuit;
a candidate pattern storage circuit that stores the inter-category distance calculated by the inter-category distance calculation circuit and the pattern type code of the standard pattern used to calculate the inter-category distance based on the comparison result of the comparison circuit; , a pattern similarity calculating device comprising: a minimum value determination circuit that outputs a pattern type code having a minimum intercategory distance among the pattern type codes in the candidate pattern storage circuit.
JP60227671A 1985-10-15 1985-10-15 Pattern similarity calculating device Pending JPS6288077A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60227671A JPS6288077A (en) 1985-10-15 1985-10-15 Pattern similarity calculating device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60227671A JPS6288077A (en) 1985-10-15 1985-10-15 Pattern similarity calculating device

Publications (1)

Publication Number Publication Date
JPS6288077A true JPS6288077A (en) 1987-04-22

Family

ID=16864502

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60227671A Pending JPS6288077A (en) 1985-10-15 1985-10-15 Pattern similarity calculating device

Country Status (1)

Country Link
JP (1) JPS6288077A (en)

Similar Documents

Publication Publication Date Title
JP3105967B2 (en) Character recognition method and device
JPS6288077A (en) Pattern similarity calculating device
JPH0520794B2 (en)
CN111783446A (en) Method and device for processing sequence
JPS6184786A (en) On-line handwriting character recognition system
JP3115459B2 (en) Method of constructing and retrieving character recognition dictionary
JP3127869B2 (en) Similar data extraction system and method
JPS62236088A (en) Recognizing device of character with sonant mark and p-sonant mark
JP2918380B2 (en) Post-processing method of character recognition result
JPS61198381A (en) Calculation system of distance between strokes
JP2725454B2 (en) Character code knowledge processing method
JPS62285189A (en) Character recognition post processing system
JP2851865B2 (en) Character recognition device
JPS6059487A (en) Recognizer of handwritten character
JPH0125106B2 (en)
CN117312877A (en) Shape near word discriminating method, device, electronic equipment and readable storage medium
CN117669561A (en) Unsupervised keyword extraction method, system, equipment and medium
JPS58144251A (en) Input device for chinese compound word
CN111428500A (en) Named entity identification method and device
JPS63103393A (en) Word recognizing device
JPS6280789A (en) Character recognizing device
JPS63111589A (en) Feature point extracting system
JPS5810274A (en) On-line manuscript character recognizing system
JPH01161592A (en) Character recognizing device
JPH06259602A (en) Candidate character extracting device