JPS5830628B2 - pattern luigi dokeisan sochi - Google Patents

pattern luigi dokeisan sochi

Info

Publication number
JPS5830628B2
JPS5830628B2 JP50043594A JP4359475A JPS5830628B2 JP S5830628 B2 JPS5830628 B2 JP S5830628B2 JP 50043594 A JP50043594 A JP 50043594A JP 4359475 A JP4359475 A JP 4359475A JP S5830628 B2 JPS5830628 B2 JP S5830628B2
Authority
JP
Japan
Prior art keywords
circuit
recurrence formula
storage circuit
value
contents
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP50043594A
Other languages
Japanese (ja)
Other versions
JPS51117848A (en
Inventor
七郎 鶴田
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
Nippon Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP50043594A priority Critical patent/JPS5830628B2/en
Publication of JPS51117848A publication Critical patent/JPS51117848A/en
Publication of JPS5830628B2 publication Critical patent/JPS5830628B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Character Discrimination (AREA)

Description

【発明の詳細な説明】 本発明は、音声バタン等で代表される時系列バタン間の
類似度を算出する装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a device that calculates the degree of similarity between time-series bangs, such as voice bangs.

従来、この種の装置に関しては、時系列バタンの時間軸
変動を非線形変換で近似し、入力バタンと標準バタン間
の最大一致をとることによって、時間軸の影響を除去す
る方式が考えられ、この方式を実現する方法として、動
的計画法(DP)を利用し、時間軸を正規化した類似度
を算出するDPマツチング法が考えられている。
Conventionally, for this type of device, a method has been considered in which the influence of the time axis is removed by approximating the time axis fluctuation of the time-series bang by nonlinear transformation and taking the maximum coincidence between the input button and the standard button. As a method for realizing this method, a DP matching method is considered that uses dynamic programming (DP) to calculate similarity with a normalized time axis.

DPマツチング法を公知文献(日本音響学会誌VoL、
27、/I69.1971、P483〜p490「動的
計画法を利用した音声の時間正規化に基づく連続単語認
識」)にしたがって簡単に説明する。
The DP matching method is described in known documents (Journal of the Acoustical Society of Japan Vol.
27, /I69.1971, P483-490 "Continuous word recognition based on temporal normalization of speech using dynamic programming").

音声バタンは特徴ベクトルの時系列とじてA−仄1、L
2、°°”°°°、Ui1°°°゛°゛改1(1)B=
Tol、し2、・・・・・・Toi、・・・・・・L
j (2)と表現される。
The voice button is A-1, L as a time series of feature vectors.
2, °°”°°°, Ui1°°°゛°゛Revised 1 (1) B=
Tol, Shi2,...Toi,...L
j (2).

時間軸i、jの対応を最適に定めて、UiとJ との距
離の総和を最小として、バタン間の類似度をバタン全体
にわたる上記距離の平均の最小値として定義する。
The correspondence between time axes i and j is optimally determined, the sum of the distances between Ui and J is set as the minimum, and the degree of similarity between batons is defined as the minimum value of the average of the above distances over the batans.

この最小化問題は、次に示すDPによって扱える問題と
なる。
This minimization problem can be handled by the following DP.

初期値 として算出する方法である。initial value This is a method of calculating as follows.

この場合、(5)式は(i、j)に許容される範囲を限
定するものであり、以下では文献にしたがって整合窓と
称しNWで示す。
In this case, equation (5) limits the allowable range for (i, j), and is hereinafter referred to as a matching window and denoted by NW according to the literature.

また同様に、jが一定で、かつ窓NWに含まれる(i、
j)の集合を第j段という。
Similarly, if j is constant and is included in the window NW (i,
The set of j) is called the j-th stage.

(8)式の具体的な計算方法として、(4)式の漸化式
は同−股肉ではiの増加する方向に、第j段の次には、
第(j+1 )段を実行し、第5段までの実行後には(
8)式のg(1、J)、(J−γ≦l≦J+γ)はすべ
て求まり、(8)式の類似度を計算することができる。
As a specific calculation method for formula (8), the recurrence formula for formula (4) is as follows:
Executes the (j+1)th stage, and after execution up to the 5th stage, (
g(1, J) and (J-γ≦l≦J+γ) in equation (8) are all determined, and the degree of similarity in equation (8) can be calculated.

以上がDPマツチング法による類似度算出のアルゴリズ
ムである。
The above is the algorithm for calculating similarity using the DP matching method.

この方式を具体的装置により実行する場合、特に有限長
ビットで装置を構成するために、くり返し演算の多い漸
化式部においては、漸化式の値g(i、j)がオーバフ
ローする場合が、頻繁に生じ、(4)式の最小値検出処
理において、オーバフローした値を最小とする誤まった
状態を生ずるという問題点がある。
When this method is executed by a concrete device, the value g(i, j) of the recurrence formula may overflow, especially in the recurrence formula part where there are many repeated operations because the device is configured with finite length bits. , occurs frequently, and in the minimum value detection process of equation (4), there is a problem that an erroneous state is generated in which the overflow value is considered as the minimum value.

本発明の目的は、上述の問題点を除去し、(4)式の漸
化式処理における、最小値検出動作を矛盾なく実行させ
るバタン類似度計算装置を提供することにある。
An object of the present invention is to provide a slam similarity calculation device that eliminates the above-mentioned problems and allows the minimum value detection operation in the recurrence formula processing of equation (4) to be executed without contradiction.

本発明の特徴とするところは、オーバフローした場合に
最大値を出力するところの状態検出機能を有する加算回
路により漸化式処理部を構成し、最小値検出動作を矛盾
なく実行させることにある。
A feature of the present invention is that the recurrence formula processing section is configured with an adder circuit having a state detection function of outputting the maximum value in the event of an overflow, and the minimum value detection operation is executed without contradiction.

以下、本発明の一実施例を例にとって図面により詳しく
説明する。
Hereinafter, one embodiment of the present invention will be explained in detail with reference to the drawings.

図は本発明に係るバタン類似度計算装置の一実施例の構
成図であり、1は距離計算部、2は漸化式計算部、3は
類似度計算部である。
The figure is a block diagram of an embodiment of the batan similarity calculation device according to the present invention, in which 1 is a distance calculation section, 2 is a recurrence formula calculation section, and 3 is a similarity calculation section.

1の距離計算部は、入力バタンをにiとすると、夜・
からli+r までの整合窓内の入力バタンを記憶
するバッフと標準パタンIf>jを記憶するメモリと演
算回路から成り、一定のjに対して整合窓内をiの増加
する方向に(6)式にしたがい距離d(i、j)を計算
し、2の漸化式計算部に出力する。
When the input button is i, the distance calculation section 1 calculates
It consists of a buffer that stores the input button within the matching window from li+r, a memory that stores the standard pattern If>j, and an arithmetic circuit. The distance d(i, j) is calculated according to the equation, and outputted to the recurrence formula calculation section 2.

2の漸化式計算部は、第(j−1)段の漸化式の値を記
憶するメモリ4と、距離d(i、j)と(4)式にした
がい第(j −1)段の値等によりd(i、j)+g(
i−1、j)、 d(i、j)+g(i、j−1)・ 2d(i、j)+g(i−L j−1)の和を算出す
る加算回路5と、加算回路がオーバフローしキャリーを
発生すると出力Eを1″の状態にし、一方オーバフロー
しない場合は出力Eは011の状態を示すフリップフロ
ップ6と、状態信号EがII 、 71の時には充分大
きな値Gを出力し、信号Eが°0″の場合は5の加算回
路の出力Fを出力する切換回路7と、最小値検出回路8
と、第j段の漸化式の値を記憶するメモリ9とにより構
成されており、1の距離計算部の出力により(4)式の
計算をjを一定にして、iの増加する方向に順次実行し
、漸化式の値がオーバフローした時には、充分大きな値
Gが最小値検出回路8に出力されるので、このオーバフ
ローした値は結果として、最小値検出回路8からは出力
されない。
The recurrence formula calculation unit 2 includes a memory 4 that stores the value of the recurrence formula of the (j-1)th stage, and a recurrence formula calculation unit that stores the value of the recurrence formula of the (j-1)th stage according to the distance d(i, j) and equation (4). d(i,j)+g(
i-1, j), d(i, j)+g(i, j-1)・2d(i, j)+g(i-L j-1); When an overflow occurs and a carry occurs, the output E is set to a 1'' state, whereas when there is no overflow, the output E is output to the flip-flop 6 which indicates a state of 011, and when the state signal E is II, 71, a sufficiently large value G is output. When the signal E is °0'', a switching circuit 7 outputs the output F of the adder circuit 5, and a minimum value detection circuit 8.
and a memory 9 that stores the value of the recurrence formula of the j-th stage.The output of the distance calculation section 1 is used to calculate the formula (4) in the direction of increasing i, with j kept constant. When the value of the recurrence formula overflows during sequential execution, a sufficiently large value G is output to the minimum value detection circuit 8, so that the overflowed value is not output from the minimum value detection circuit 8.

したがって、整合窓内の漸化式の計算が終了した時点で
は、(4)式の漸化式の最小値検出動作を矛盾なく実行
した漸化式の値が得られる。
Therefore, when the calculation of the recurrence formula within the matching window is completed, the value of the recurrence formula obtained by consistently performing the minimum value detection operation of the recurrence formula in equation (4) is obtained.

さらに2の漸化式計算部は、上記動作終了後、第(j−
1’)段の内容を第j段の内容で更新し、次の段、(j
+1 )段の漸化式計算の準備を行なう。
Further, after the above operation is completed, the second recurrence formula calculation unit calculates the (j−
1') Update the contents of stage j with the contents of stage j, and update the contents of stage j
+1) Prepare the calculation of the recurrence formula for the stage.

30類似度計算部は、除算回路および最小値検出回路か
ら成り、2の漸化式計算部の漸化式の結果を記憶するメ
モリ9の内容を、(8)式にしたがい正規化し、最小値
を類似度として出力する。
The similarity calculation section 30 is composed of a division circuit and a minimum value detection circuit, and normalizes the contents of the memory 9 that stores the results of the recurrence formula of the recurrence formula calculation section 2 according to equation (8), and calculates the minimum value. Output as similarity.

以上の各計算部をj=1からj=Jまで順次動作させ漸
化式処理における最小値検出動作を矛盾なく実行し、2
つのバタン間の類似度を算出する装置を実現できる。
Each of the calculation units described above is operated sequentially from j=1 to j=J, and the minimum value detection operation in the recurrence formula process is executed without contradiction.
It is possible to realize a device that calculates the similarity between two batons.

以上説明したように、本発明はDPマツチング方式によ
る時間正規化類似度を算出する場合、漸化式部の最小値
検出動作を矛盾なく実行させることができ、この方式の
バタン類似度計算装置の実現にあたりきわめて有効な効
果をもたらす。
As explained above, when calculating time-normalized similarity using the DP matching method, the present invention can execute the minimum value detection operation of the recurrence formula part without contradiction, and the baton similarity calculation device using this method can perform the minimum value detection operation without contradiction. This will have extremely effective effects in achieving this goal.

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

図は本発明に係るバタン類似度計算装置の一実施例を示
す構成図である。 1はベクトル間の距離を計算する距離計算部、2は漸化
式計算部、3は類似度計算部、4は第(j−1)段の漸
化式の値を記憶する第1記憶回路、5は加算回路、6は
オーバフローする状態を検出するフリップフロップ、7
は2つのデータを切換で出力する切換回路、8は最小検
出回路、9は第j段の漸化式の値を記憶する第2記憶回
路である。
The figure is a configuration diagram showing an embodiment of a batan similarity calculation device according to the present invention. 1 is a distance calculation unit that calculates the distance between vectors, 2 is a recurrence formula calculation unit, 3 is a similarity calculation unit, and 4 is a first storage circuit that stores the value of the recurrence formula of the (j-1)th stage. , 5 is an adder circuit, 6 is a flip-flop that detects an overflow state, 7
8 is a switching circuit that outputs two data by switching, 8 is a minimum detection circuit, and 9 is a second storage circuit that stores the value of the recurrence formula of the j-th stage.

Claims (1)

【特許請求の範囲】[Claims] 1 あるバタンAをベクトルの系列として有限区間にわ
たり記憶する記憶回路と他のバタンBのベクトル系列の
ある一点のベクトルとの距離を前記有限区間にわたり算
出する距離計算部と、前記有限区間内の一時点過去の漸
化式値を保存する第1記憶回路と、この漸化式値と前記
距離を加算し、かつ加算処理の度びにオーバーフローの
状態を示す状態信号を出力する機能を有する加算回路と
、この状態信号に応答して、オーバーフローシタ場合に
は十分大きな値を、それ以外は、前記加算回路の出力を
、加算結果として出力する切換回路と、複数の前記加算
結果のうち最小な値を選択して新たな漸化式値として出
力する最小値検出回路と、この漸化式値を前記有限区間
内にわたり記憶する第2記憶回路とから成り、前記距離
計算部により算出された距離と第1記憶回路の内容とを
あらかじめ定められた順序によって指定される条件にし
たがって加算し、複数の加算結果のうちの最小なものを
新たな漸化式値として順次第2記憶回路に前記有限区間
内にわたり出力し、前記動作を終了後は第1記憶回路の
内容を状態に応じて第2記憶回路の内容で更新する機能
を有する漸化式計算部と、除算回路および最小値検出回
路から成り、前記漸化式計算部の第2記憶回路の内容を
正規化係数により前記有限区間内にわたり除し、その区
間内の最小値を出力する類似度計算部とから構成され:
パタンBの長さにより設定される回数にしたがい前記各
計算部を動作させて、ベクトルの系列で表わされるバタ
ンA、Bの間の類似度を算出することを特徴とするバタ
ン類似度計算装置。
1. A distance calculating section that calculates the distance between a memory circuit that stores a certain baton A as a vector series over a finite interval and a vector at a certain point in the vector series of another baton B over the finite interval; a first storage circuit that stores past recurrence formula values, and an addition circuit that has a function of adding the recurrence formula value to the distance and outputting a status signal indicating an overflow state each time an addition process is performed. , in response to this state signal, a switching circuit that outputs a sufficiently large value in the case of an overflow event, and a switching circuit that outputs the output of the adder circuit as the addition result in other cases; It consists of a minimum value detection circuit that selects and outputs it as a new recurrence formula value, and a second storage circuit that stores this recurrence formula value within the finite interval. The contents of the first storage circuit are added in accordance with the conditions specified in a predetermined order, and the smallest of the multiple addition results is used as a new recurrence formula value and sequentially stored in the second storage circuit within the finite interval. It consists of a recursion formula calculation unit, which has a function of outputting data over a period of time, and updating the contents of the first storage circuit with the contents of the second storage circuit according to the state after the operation is completed, a division circuit, and a minimum value detection circuit, and a similarity calculation unit that divides the contents of the second storage circuit of the recurrence formula calculation unit by the normalization coefficient over the finite interval and outputs the minimum value within the interval:
A slam similarity calculation device, characterized in that the calculation units are operated according to the number of times set according to the length of the pattern B to calculate the similarity between the batons A and B expressed by a sequence of vectors.
JP50043594A 1975-04-09 1975-04-09 pattern luigi dokeisan sochi Expired JPS5830628B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP50043594A JPS5830628B2 (en) 1975-04-09 1975-04-09 pattern luigi dokeisan sochi

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP50043594A JPS5830628B2 (en) 1975-04-09 1975-04-09 pattern luigi dokeisan sochi

Publications (2)

Publication Number Publication Date
JPS51117848A JPS51117848A (en) 1976-10-16
JPS5830628B2 true JPS5830628B2 (en) 1983-06-30

Family

ID=12668112

Family Applications (1)

Application Number Title Priority Date Filing Date
JP50043594A Expired JPS5830628B2 (en) 1975-04-09 1975-04-09 pattern luigi dokeisan sochi

Country Status (1)

Country Link
JP (1) JPS5830628B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6042747U (en) * 1983-08-31 1985-03-26 三菱電機株式会社 Superconducting three-terminal device
JPS6053737U (en) * 1983-09-21 1985-04-16 北越物産株式会社 Grain storage and conveyance device
JPS6376731U (en) * 1987-06-26 1988-05-21

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6042747U (en) * 1983-08-31 1985-03-26 三菱電機株式会社 Superconducting three-terminal device
JPS6053737U (en) * 1983-09-21 1985-04-16 北越物産株式会社 Grain storage and conveyance device
JPS6376731U (en) * 1987-06-26 1988-05-21

Also Published As

Publication number Publication date
JPS51117848A (en) 1976-10-16

Similar Documents

Publication Publication Date Title
JP2595495B2 (en) Pattern matching device
EP3769208B1 (en) Stochastic rounding logic
US4426551A (en) Speech recognition method and device
JPS58132298A (en) Pattern matching apparatus with window restriction
JPS5830628B2 (en) pattern luigi dokeisan sochi
EP0362785B1 (en) Continuous speech recognition unit
US6332136B1 (en) Fuzzy filtering method and associated fuzzy filter
JPS592954B2 (en) pattern luigi dokeisan sochi
JPH0683019B2 (en) Digital signal processor
JP2518871B2 (en) Pattern comparator
JP2785939B2 (en) Continuous speech recognition device
JP3052520B2 (en) Pattern classification device
Teodorescu Nonhomogeneous markov chains with desired properties-the nearest markovian model
JPS6122350B2 (en)
JPS6356585B2 (en)
JP2003243988A (en) Data processor
JPH0419571B2 (en)
JPH0638195B2 (en) Pattern matching device
KR930005772B1 (en) Hidden markov model including neural network for speech recognition
JPH0223876B2 (en)
JPS6382012A (en) Digital filter device
KUO et al. Adaptive non-linear Bayesian estimation for bounded-noise systems
JPS59200A (en) Pattern matching apparatus
Inoue et al. A modified Newton method with guaranteed accuracy based on rational arithmetic
JPH04205377A (en) Variance value calculation circuit