JPH0325798B2 - - Google Patents

Info

Publication number
JPH0325798B2
JPH0325798B2 JP59024122A JP2412284A JPH0325798B2 JP H0325798 B2 JPH0325798 B2 JP H0325798B2 JP 59024122 A JP59024122 A JP 59024122A JP 2412284 A JP2412284 A JP 2412284A JP H0325798 B2 JPH0325798 B2 JP H0325798B2
Authority
JP
Japan
Prior art keywords
pattern
selection output
output means
linear
matching
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
JP59024122A
Other languages
Japanese (ja)
Other versions
JPS60168196A (en
Inventor
Takahiro Sakuraba
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP59024122A priority Critical patent/JPS60168196A/en
Publication of JPS60168196A publication Critical patent/JPS60168196A/en
Publication of JPH0325798B2 publication Critical patent/JPH0325798B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は音声認識装置に係り、特にDP(ダイナ
ミツクプログラミング)照合を行う場合に使用す
るDP照合回路を、DP照合に先立ち候補数削減用
の1次照合用に使用できるようにした音声パター
ン照合回路に関するものである。
[Detailed Description of the Invention] [Technical Field of the Invention] The present invention relates to a speech recognition device, and in particular, a DP matching circuit used when performing DP (dynamic programming) matching, which is configured to reduce the number of candidates prior to DP matching. The present invention relates to a speech pattern matching circuit that can be used for primary matching.

〔技術の背景〕[Technology background]

音声認識装置では、認識すべき語(例えば単
語)の標準パターンを多数音声辞書に持ち、入力
パターンと標準パターンを照合し、照合距離から
最も入力パターンと似ている標準パターンの認識
結果としている。このパターン照合には、一般に
DP照合と呼ばれる音声の時間的変動を正規化す
る照合方式が使用されている。ところでこのDP
照合には大きな演算量が必要となるため照合時間
がかゝるので、一般に高速行列演算を実行する専
用回路を設けて照合時間を早めている。
A speech recognition device has a large number of standard patterns of words to be recognized (for example, words) in a speech dictionary, matches the input pattern with the standard pattern, and uses the matching distance to determine the recognition result of the standard pattern that is most similar to the input pattern. This pattern matching generally involves
A matching method called DP matching is used to normalize temporal fluctuations in speech. By the way, this DP
Since matching requires a large amount of calculation and takes a long time, a dedicated circuit for performing high-speed matrix operations is generally provided to shorten the matching time.

しかしこれでも登録してある単語数が多くて認
識数が多くなると、照合時間が遅くなり、要求性
能を満足することができなくなつてくる。
However, even with this, if the number of registered words increases and the number of recognition increases, the matching time becomes slow and it becomes impossible to satisfy the required performance.

そこでDP照合回路を複数設けて照合時間の短
縮を行つたり、DP照合に先立ち候補数削減用の
簡単な1次照合を行つてDP照合を行う標準パタ
ーンを大幅に削減したりしている。
Therefore, multiple DP matching circuits are installed to shorten the matching time, and prior to DP matching, a simple primary matching is performed to reduce the number of candidates, thereby significantly reducing the number of standard patterns for DP matching.

〔従来技術と問題点〕[Conventional technology and problems]

ところでこの候補削減用の照合には、DP照合
用のパラメータを変換したりして少情報の候補削
減用固定長パラメータを作成し、演算量の少ない
線形照合によつて照合距離を求め、例えば上位10
候補程度をDP照合用の標準パターンとしていた。
By the way, in this matching for reducing candidates, we convert the parameters for DP matching to create fixed-length parameters for reducing candidates with little information, and then calculate the matching distance by linear matching with a small amount of calculation. Ten
The candidate degree was used as the standard pattern for DP matching.

このような候補削減用の照合には演算量が少な
い方式を用いるため、従来では特別な専用回路は
設けず、制御用のマイクロプロセツサ(MPU)
等で演算していた。ところがこのようなMPUは
演算速度があまり速くないので、候補数削減の総
演算量はDP照合する場合に比較して大幅に少な
くとも、専用照合回路を使用しないため候補数削
減のための照合時間はかなり大きなものとなり、
十分な時間短縮が得られなかつた。
Conventionally, a method with a small amount of calculation is used for matching for candidate reduction, so a special dedicated circuit is not required, and a microprocessor (MPU) for control is used.
etc. were calculated. However, since the calculation speed of such an MPU is not very fast, the total amount of calculation for reducing the number of candidates is significantly at least compared to DP matching, and since no dedicated matching circuit is used, the matching time for reducing the number of candidates is It became quite large,
It was not possible to save enough time.

〔発明の目的〕[Purpose of the invention]

本発明の目的は前記の如き候補数削減のための
演算に長時間かかるという欠点を改善するため、
DP照合回路に複数の線形照合処理を可能とする
機能を付加することにより、DP照合回路がDP照
合を行わない期間を利用して、候補削減の照合を
DP照合回路を使用して、しかも複数の登録語を
1度に照合できるようにしたものを提供すること
である。
The purpose of the present invention is to improve the drawback that the calculation for reducing the number of candidates takes a long time as described above.
By adding a function that enables multiple linear matching processes to the DP matching circuit, it is possible to perform candidate reduction matching by using the period when the DP matching circuit does not perform DP matching.
To provide a device that uses a DP matching circuit and can match multiple registered words at once.

〔発明の構成〕[Structure of the invention]

前記目的を達成するために、本発明の音声パタ
ーン照合回路では、入力パターンが保持される第
1パターン保持手段と、標準パターンが保持され
る第2パターン保持手段と、入力パターンと標準
パターンの各パラメータの絶対値差を求める差演
算部と、加算手段と、異なるフレームにおけるG
値が保持される少くとも3個のデータ保持手段
と、これらのG値の最小の値を検出する比較部を
備えた音声パターン照合回路において、線形演算
とDP演算を切換えるための複数線形演算制御手
段と、差演算部の出力と零値のいずれかを出力す
る第1選択出力手段と、前記3個のデータ保持手
段のいずれか1つのテーダを出力する第2選択出
力手段と、該第2選択出力手段の出力と零値のい
ずれかを出力する第3選択出力手段を設けるとと
もに、前記第1パターン保持手段又は第2パター
ン保持手段の一方に線形演算用入力パターンを保
持し他方のパターン保持手段に線形演算用の複数
の標準パターンを保持し、線形演算制御の場合に
は、前記複数線形演算制御手段が、最初は前記第
1選択出力手段と第3選択出力手段からゼロを出
力させ、次に前記第1選択出力手段から前記差演
算部の演算値を出力させ、前記第2選択出力手段
に入力されるその3個のデータ保持手段のうち前
回のフレームまでの照合累積値が格納されている
ものを選択してその出力を第3選択出力手段が出
力するように制御して、前記線形演算用入力パタ
ーンと複数の線形演算用の標準パターンを同時に
線形照合するようにし、またDP演算制御の場合
には、前記複数線形演算制御手段が、前記第1選
択出力手段から前記差演算部の演算値を出力さ
せ、前記第2選択出力手段に入力される前記3個
のデータ保持手段の入力のうち前記比較部により
選択された最小値を第2選択出力手段から出力さ
せ、これを第3選択出力手段が出力するように制
御して加算手段でマツチングの累積値を算出する
ようにしたことを特徴とする。
In order to achieve the above object, the speech pattern matching circuit of the present invention includes a first pattern holding means for holding the input pattern, a second pattern holding means for holding the standard pattern, and a first pattern holding means for holding the input pattern and the second pattern holding means for holding the input pattern and the standard pattern. A difference calculation unit that calculates the absolute value difference of parameters, an addition means, and G in different frames.
Multiple linear calculation control for switching between linear calculation and DP calculation in a voice pattern matching circuit that includes at least three data holding means for holding values and a comparison unit that detects the minimum value of these G values. means, first selection output means for outputting either the output of the difference calculation unit or a zero value, second selection output means for outputting one of the data of the three data holding means; A third selection output means is provided for outputting either the output of the selection output means or a zero value, and one of the first pattern holding means or the second pattern holding means holds the input pattern for linear calculation, and the other pattern is held. The means holds a plurality of standard patterns for linear calculations, and in the case of linear calculation control, the plurality of linear calculation control means initially outputs zero from the first selection output means and the third selection output means, Next, the first selection output means outputs the calculated value of the difference calculation section, and the collation cumulative value up to the previous frame of the three data holding means is input to the second selection output means. The input pattern for linear calculations and the plurality of standard patterns for linear calculations are simultaneously linearly matched by selecting the input pattern for linear calculations and controlling the third selection output means to output the output thereof. In the case of control, the plural linear arithmetic control means causes the first selection output means to output the calculated value of the difference calculation section, and the three data holding means input to the second selection output means. The minimum value selected by the comparison section among the inputs is output from the second selection output means, and the third selection output means outputs this, so that the addition means calculates the cumulative value of matching. It is characterized by

〔発明の実施例〕[Embodiments of the invention]

本発明を一実施例にもとづき詳述するに先立
ち、まず従来のDP照合回路の処理例を第1図〜
第4図にもとづき説明する。
Before explaining the present invention in detail based on one embodiment, first, an example of processing of a conventional DP matching circuit is shown in FIGS.
This will be explained based on FIG.

入力された音声パラメータと登録されている音
声パラメータの最もよく一致するマツチング径路
を検出するためにDP(Dynamic Programing)
法による時間正規化マツチングを行う。このDP
照合動作は、第1図に示す如く、登録パターン
(標準パターン)と入力パターンの対応する部分
同士を、実線Mで示すマツチング径路により照合
することにより、音声の時間的バラツキを吸収す
る照合結果G0を得ることができる。
DP (Dynamic Programming) is used to detect the matching path that most closely matches the input audio parameters and registered audio parameters.
Perform time normalized matching using the method. This DP
As shown in Fig. 1, the matching operation is performed by matching the corresponding parts of the registered pattern (standard pattern) and the input pattern using the matching path shown by the solid line M, thereby creating a matching result G that absorbs temporal variations in audio. You can get 0 .

このように対応する部分同士を選択するため
に、DP法では、第2図に示す如く、入力パター
ンおよび登録パターンから得られる例えば10個の
パラメータをフレーム方向に2次元のテーブルと
して表わし、各パラメータの絶対値差dを求め
る。第2図にこのdテーブルの1例を示す。
In order to select corresponding parts in this way, in the DP method, for example, 10 parameters obtained from the input pattern and the registered pattern are represented as a two-dimensional table in the frame direction, as shown in Figure 2, and each parameter is Find the absolute value difference d. FIG. 2 shows an example of this d table.

このdの値をマツチング径路で累積した値Gを
入力パラメータと標準パラメータとの距離を示
す。
A value G obtained by accumulating the values of d along the matching path indicates the distance between the input parameter and the standard parameter.

DP法では、dテーブルに示したdの値を、次
式で示すGの演算条件にしたがつて、左上の始端
から入力パラメータ方向(第3図の水平方向)に
走査するようにして求めてゆく。
In the DP method, the value of d shown in the d table is obtained by scanning from the starting point in the upper left in the input parameter direction (horizontal direction in Figure 3) according to the calculation conditions for G shown in the following formula. go.

Gの演算条件は次式で示される。 The calculation conditions for G are expressed by the following equation.

G=min〔G0+2d、G1+d、G2+d〕ここで
G0、G1、G2は第3図に示す如く、演算している
フレーム(第3図のG)に関する他の位置のGで
ある。第3図に示す如く、現在演算しているフレ
ームをGとすると、その前のGがG2、前回の演
算結果(第3図のL)の同一フレームのGをG1
G1の前のGをG0という。
G=min [G 0 +2d, G 1 +d, G 2 +d] where
G 0 , G 1 , and G 2 are G at other positions with respect to the frame being calculated (G in FIG. 3), as shown in FIG. As shown in Fig. 3, if the frame currently being calculated is G, the previous G is G2 , the G of the same frame of the previous calculation result (L in Fig. 3) is G1 ,
The G before G 1 is called G 0 .

このG0、G1、G2の値とそのフレームのdによ
りG0+2d、G1+d、G2+dを計算し、最も値の
少ないものをGとする。この選択機能が対応する
パターン同士の照合になる。
G 0 +2d, G 1 +d, and G 2 +d are calculated using the values of G 0 , G 1 , and G 2 and d of the frame, and the one with the smallest value is set as G. This selection function matches corresponding patterns.

第2図のdテーブルをG演算した結果を第4図
に示す。第4図の矢印はどのGを選択したかを示
す。Gを選択する場合、テーブルの端にあるフレ
ームでは、G0、G1、G2のうち1つないしすべて
が存在しない場合があるので、このようなところ
では存在しないGは対象外として演算する。
FIG. 4 shows the result of G operation on the d table in FIG. 2. The arrow in FIG. 4 indicates which G is selected. When selecting G, one or all of G 0 , G 1 , and G 2 may not exist in the frame at the edge of the table, so G that does not exist in such a place is ignored in the calculation. .

第4図のDP照合の結果は右下の終端に存在し、
「9」が入力パラメータと標準パラメータの距離
であり、太枠が選択順を示す。
The result of DP matching in Figure 4 is at the bottom right end,
"9" is the distance between the input parameter and the standard parameter, and the thick frame indicates the selection order.

次にこのDP照合演算を行うDP演算回路の1例
を第5図により説明する。
Next, an example of a DP calculation circuit that performs this DP matching calculation will be explained with reference to FIG.

1はiメモリ、2はRレジスタ、3はd演算
部、4は加算回路、5は(G0+d)レジスタ、
6はG1レジスタ、7はG2レジスタ、8はGメモ
リ部、9は比較部、10はG演算制御回路、11
はマルチプレクサである。
1 is i memory, 2 is R register, 3 is d operation section, 4 is addition circuit, 5 is (G 0 + d) register,
6 is G1 register, 7 is G2 register, 8 is G memory section, 9 is comparison section, 10 is G operation control circuit, 11
is a multiplexer.

入力された音声から得られた入力パラメータ
(入力パターン)はiメモリ1に保持され、また
辞書部から出力された標準パラメータ(標準パタ
ーン)がRレジスタ2に保持され、d演算部3に
てこれら入力パターンと標準パターンの絶対値差
d(d=|R−i|)を求め、まず加算回路4で
G1レジスタ6保持されている前回のG1とこのd
を加算して(G0+d)とし(G0+d)レジスタ
5にセツトする。すなわち、第3図より明らかな
如く、G1は次のフレームにくるとG0にみえるの
で(G0+d)を計算するためG1レジスタ6に保
持されているG1の値を、G演算制御回路10の
制御によりMPX11を経由して出力し、加算回
路4にてdと加算してこれを(G0+d)として
(G0+d)レジスタ5にセツトする。また前回の
Gは実はG2である。それ故Gを演算したときG2
レジスタ7にもこのGの演算結果をセツトしてお
く。これによりG2レジスタ7からG2を得ること
ができる。そしてG1レジスタ6にはGメモリ部
8より読出してセツトする。このようにして各レ
ジスタ5,6,7に(G0+d)、G1、G2をセツト
した後に比較部9にてその最小のものを選択し、
これをG演算制御回路10に報告する。G演算制
御回路10は比較器9からのこの報告にもとづき
これらのうちの最小のものをMPX11から加算
回路4に出力しdを加算しGとする。このGは
G2レジスタ7にセツトしておき次のフレームの
演算に使用さる。このような操作をくり返すこと
によりDP照合演算を行うこととなる。
The input parameters (input pattern) obtained from the input voice are held in the i-memory 1, the standard parameters (standard pattern) output from the dictionary part are held in the R register 2, and the d calculation part 3 stores these parameters. The absolute value difference d (d=|R−i|) between the input pattern and the standard pattern is determined, and first, the adder circuit 4 calculates
G 1 register 6 holds the previous G 1 and this d
are added to (G 0 +d) and set in register 5 (G 0 +d). That is, as is clear from Fig. 3, G 1 appears to be G 0 in the next frame, so in order to calculate (G 0 + d), the value of G 1 held in the G 1 register 6 is used for the G operation. The signal is outputted via the MPX 11 under the control of the control circuit 10, added to d in the adder circuit 4, and set in the register 5 as (G 0 +d). Also, the G from last time is actually G 2 . Therefore, when calculating G, G 2
The result of this G calculation is also set in register 7. This allows G 2 to be obtained from the G 2 register 7. Then, the data is read from the G memory section 8 and set in the G1 register 6. After setting (G 0 +d), G 1 and G 2 in each register 5, 6 and 7 in this way, the comparison unit 9 selects the smallest value,
This is reported to the G calculation control circuit 10. Based on this report from the comparator 9, the G calculation control circuit 10 outputs the minimum of these from the MPX 11 to the addition circuit 4, adds d, and sets it as G. This G is
Set it in G2 register 7 and use it for the calculation of the next frame. By repeating such operations, DP matching calculations are performed.

本発明ではこのDP照合回路に複数線形照合を
実行することができるように、G選択でG0+d
を選択するような機能を備えさせ、第6図に示す
如く、入力パターンiと、複数の登録パターンを
1度に線形照合し、複数の照合結果を同時に得ら
れるようにしたものである。なおこれらのパター
ンは固定長パターンである。
In the present invention, in order to be able to perform multiple linear matching in this DP matching circuit, G 0 +d
As shown in FIG. 6, the input pattern i and a plurality of registered patterns are linearly matched at once, and a plurality of matching results can be obtained at the same time. Note that these patterns are fixed length patterns.

ところで複数線形照合をDP照合回路で行うた
めには次の様な機能を追加することが必要とな
る。
By the way, in order to perform multiple linear matching using the DP matching circuit, it is necessary to add the following functions.

(1) DP演算では入力パターンの格納されるiメ
モリに複数の線形照合用の標準パターンが格納
され、逆にRレジスタの方に線形照合用の入力
パターンが格納される。これはiメモリに格納
されたデータは順次出力することができること
による。
(1) In the DP operation, a plurality of standard patterns for linear matching are stored in the i-memory where input patterns are stored, and conversely, input patterns for linear matching are stored in the R register. This is because the data stored in the i-memory can be sequentially output.

(2) 最初の演算においてGを累積しないことが必
要である。DP照合では、第4に示す如く、最
初の演算でG=G2+dの演算を進めていくが、
複数線形照合ではG=dの演算を進めてゆく。
(2) It is necessary not to accumulate G in the first operation. In DP matching, as shown in No. 4, the first calculation proceeds with the calculation of G = G 2 + d, but
In multiple linear matching, the calculation of G=d is performed.

(3) 最初の演算以外ではG=G0+dを行う。(3) For operations other than the first, perform G=G 0 +d.

DP照合では、 G=mid〔G0+2d、G1+d、G2+d〕であつ
たが、複数線形照合ではG=G0+dの演算を
行う。ただしG0が存在しない場合はGの値は
無効としてどんな値になつてもよい。
In DP matching, G=mid [G 0 +2d, G 1 +d, G 2 +d], but in multiple linear matching, G=G 0 +d is calculated. However, if G 0 does not exist, the value of G is invalid and can be any value.

このような機能を有する、本発明の一実施例
構成を第7図に示す。
FIG. 7 shows the configuration of an embodiment of the present invention having such a function.

第7図において、21はiメモリ、22はR
レジスタであつてそれぞれ第5図におけるiメ
モリ1、Rレジスタ2に対応するもの、23は
d演算部であつてd演算部3に対応するもの、
24は第1マルチプレクサ、25は加算回路で
あつて加算回路4に対応するもの、26は
(G0+R)レジスタ、27はG1レジスタ、28
はG2レジスタであつてそれぞれ(G0+d)レ
ジスタ5、G1レジスタ6、G2レジスタ7に対
応するもの、29は比較部であつて比較部9に
対応するもの、30はG演算制御回路であつて
G演算制御回路10に対応するもの、31は第
2マルチプレクサ、32は第3マルチプレク
サ、33は複数線形演算制御回路、34はGメ
モリ部であつてGメモリ部8に対応するもので
ある。
In FIG. 7, 21 is i memory, 22 is R
Registers corresponding to the i-memory 1 and R-register 2 in FIG.
24 is a first multiplexer, 25 is an adder circuit corresponding to adder circuit 4, 26 is a (G 0 +R) register, 27 is a G 1 register, 28
are G2 registers corresponding to (G 0 +d) register 5, G1 register 6, and G2 register 7, 29 is a comparison section and corresponds to comparison section 9, and 30 is G calculation control. 31 is a second multiplexer, 32 is a third multiplexer, 33 is a multiple linear arithmetic control circuit, and 34 is a G memory unit that corresponds to the G memory unit 8. It is.

次に本発明の動作について説明する。 Next, the operation of the present invention will be explained.

(イ) 複数線形演算を行うとき まずiメモリ21に、第6図に標準パターン
1、2……として示す如き、線形演算用の複数
の標準パターンが格納され、またRレジスタ2
2に線形演算用の入力パターンがセツトされ
る。そしてまずRレジスタ−22にセツトされ
た入力パターンと標準パターン1とが線形照合
され、次に入力パターンと標準パターン2とが
線形照合される。以下入力パターンと標準パタ
ーン3、4……が順次線形照合される。このよ
うにして入力パターンは、iメモリ21に格納
された複数の標準パターンと、一度に線形照合
される。これが終了すると次の複数の標準パタ
ーンが同様にして一度に線形照合されることに
なる。
(a) When performing multiple linear calculations First, a plurality of standard patterns for linear calculations are stored in the i-memory 21, as shown in FIG. 6 as standard patterns 1, 2, and so on.
2, an input pattern for linear calculation is set. First, the input pattern set in the R register 22 and standard pattern 1 are linearly matched, and then the input pattern and standard pattern 2 are linearly matched. Thereafter, the input pattern and standard patterns 3, 4, . . . are sequentially linearly matched. In this way, the input pattern is linearly matched against a plurality of standard patterns stored in the i-memory 21 at once. Once this is completed, the next plurality of standard patterns will be linearly matched at once in the same way.

この標準パターンとの線形照合に際して、G
演算制御回路31は、第2マルチプレクサ31
からG0のセツトされているG2レジスタ28の
みが出力されるよう制御する。ただし各標準パ
ターンに対する最初の演算ではG2レジスタ2
8に保持されたG2にd演算部23から出力さ
れたdを加算せずG=dとするために、第3マ
ルチプレクサ32がこの最初の演算のとき零を
出力するように複数線形演算制御回路33が制
御する。また線形照合の場合には(G0+d)
で照合しなければならないが、DP照合の場合
にはG0+2dで照合するためG1レジスタにはG0
+dがすでにセツトされている。それ故、G0
+dを得るためG1レジスタにセツトされてい
る(G0+d)を零と加算することが必要とな
る。このためd演算部23の出力を零とするた
め、第1マルチプレクサ24からこのとき零を
出力させる必要があり、この制御をも複数線形
演算制御回路33が行うことになる。さらに線
形照合を行うためにG0+dがもつとも小さな
値にみえるようにこの複数線形演算制御回路3
3は制御する。このような制御操作を行うこと
により、他の部分は通常のDP演算を行うとき
と同じ動作で複数線形演算を行うことができ
る。
In linear matching with this standard pattern, G
The arithmetic control circuit 31 includes a second multiplexer 31
Control is performed so that only the G2 register 28 to which G0 is set is output. However, in the first operation for each standard pattern, G2 register 2
In order to set G=d without adding d output from the d calculation unit 23 to G 2 held at 8, multiple linear calculation control is performed so that the third multiplexer 32 outputs zero in this first calculation. A circuit 33 controls. In addition, in the case of linear matching (G 0 + d)
However, in the case of DP verification, the verification is performed using G 0 + 2d, so G 0 is stored in the G 1 register.
+d has already been set. Therefore, G 0
To obtain +d, it is necessary to add (G 0 +d) set in the G1 register with zero. Therefore, in order to make the output of the d calculation section 23 zero, it is necessary to output zero from the first multiplexer 24 at this time, and this control is also performed by the multiple linear calculation control circuit 33. Furthermore, in order to perform linear matching, this multiple linear arithmetic control circuit 3
3 controls. By performing such control operations, it is possible to perform multiple linear calculations with the other parts performing the same operations as when performing normal DP calculations.

(ロ) DP照合演算を行うとき 第7図の回路でDP照合を行う場合には、第
5図の場合と同様に、iメモリ21にDP演算
用の入力パターンを保持し、Rレジスタ22に
DP演算用の標準パターンをセツトする。そし
て複数線形演算制御回路33は、第1マルチプ
レクサ24からd演算部23からの演算結果で
あるdが出力し、第3マルチプレクサ32から
第2マルチプレクサ31からのデータが出力す
るように制御するとともに、比較部29に対し
ては、第5図の場合と同様に(G0+d)レジ
スタ26、G1レジスタ27、G2レジスタ28
のデータのうち最小のものを出力するように制
御する。
(b) When performing DP verification calculation When performing DP verification using the circuit shown in Figure 7, the input pattern for DP calculation is held in the i-memory 21 and stored in the R register 22, as in the case of Figure 5.
Set the standard pattern for DP calculation. The multiple linear calculation control circuit 33 controls the first multiplexer 24 to output d, which is the calculation result from the d calculation unit 23, and the third multiplexer 32 to output the data from the second multiplexer 31. For the comparison unit 29, as in the case of FIG .
control to output the smallest of the data.

これにより第7図に示す本発明の回路は、第
5図のDP照合回路と同様に動作するものとな
る。
As a result, the circuit of the present invention shown in FIG. 7 operates in the same manner as the DP verification circuit shown in FIG.

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

本発明によればDP照合回路を使用して、複数
の標準パターンとの線形照合を行つてDP照合用
の候補をきわめて高速に選択することができ、例
えばMPUを使用した場合に比較して1次照合用
時間を20分の1程度に減少することができたの
で、音声認識応答時間を大幅にスピードアツプす
ることが実現できる。
According to the present invention, by using a DP matching circuit, candidates for DP matching can be selected extremely quickly by performing linear matching with a plurality of standard patterns. Since the time for the next verification can be reduced to about one-twentieth, it is possible to significantly speed up the voice recognition response time.

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

第1図はDP照合の説明図、第2図はdテーブ
ル、第3図はGテーブル、第4図はGの位置説明
図、第5図は従来のDP演算回路、第6図は複数
標準パターン線形照合説明図、第7図は本発明の
一実施例構成図である。 図中、21はiメモリ、22はRレジスタ、2
3はd演算部、24は第1マルチプレクサ、25
は加算回路、26は(G0+d)レジスタ、27
はG1レジスタ、28はG2レジスタ、29は比較
部、30はG演算制御回路、31は第2マルチプ
レクサ、32は第3マルチプレクサ、33は複数
線形演算制御回路、34はGメモリ部を示す。
Figure 1 is an explanatory diagram of DP matching, Figure 2 is a d table, Figure 3 is a G table, Figure 4 is an explanatory diagram of the position of G, Figure 5 is a conventional DP calculation circuit, and Figure 6 is multiple standards. FIG. 7, which is an explanatory diagram of pattern linear matching, is a configuration diagram of an embodiment of the present invention. In the figure, 21 is i memory, 22 is R register, 2
3 is a d operation unit, 24 is a first multiplexer, 25
is an adder circuit, 26 is a (G 0 +d) register, 27
28 is a G 1 register, 28 is a G 2 register, 29 is a comparison section, 30 is a G operation control circuit, 31 is a second multiplexer, 32 is a third multiplexer, 33 is a multiple linear operation control circuit, and 34 is a G memory section. .

Claims (1)

【特許請求の範囲】[Claims] 1 入力パターンが保持される第1パターン保持
手段と、標準パターンが保持される第2パターン
保持手段と、入力パターンと標準パターンの各パ
ラメータの絶対値差を求める差演算部と、加算手
段と、異なるフレームにおけるG値が保持される
少なくとも3個のデータ保持手段と、これらのG
値の最小の値を検出する比較部を備えた音声パタ
ーン照合回路において、線形演算とDP演算を切
換えるための複数線形演算制御手段と、差演算部
の出力と零値のいずれかを出力する第1選択出力
手段と、前記3個のデータ保持手段のいずれか1
つのデータを出力する第2選択出力手段と、該第
2選択出力手段の出力と零値のいずれかを出力す
る第3選択出力手段を設けるとともに、前記第1
パターン保持手段又は第2パターン保持手段の一
方に線形演算用入力パターンを保持し他方のパタ
ーン保持手段に線形演算用の複数の標準パターン
を保持し、線形演算制御の場合には、前記複数線
形演算制御手段が、最初は前記第1選択出力手段
と第3選択出力手段からゼロを出力させ、次に前
記第1選択出力手段から前記差演算部の演算値を
出力させ、前記第2選択出力手段に入力されるそ
の3個のデータ保持手段のうち前回のフレームま
での照合累積値が格納されているものを選択して
その出力を第3選択出力手段が出力するように制
御して、前記線形演算用入力パターンと複数の線
形演算用の標準パターンを同時に線形照合するよ
うにし、またDP演算制御の場合には、前記複数
線形演算制御手段が、前記第1選択出力手段から
前記差演算部の演算値を出力させ、前記第2選択
出力手段に入力される前記3個のデータ保持手段
の入力のうち前記比較部により選択された最小値
を第2選択出力手段から出力させ、これを第3選
択出力手段が出力するように制御して加算手段で
マツチングの累積値を算出するようにしたことを
特徴とする音声パターン照合回路。
1. A first pattern holding means for holding an input pattern, a second pattern holding means for holding a standard pattern, a difference calculation unit for calculating the absolute value difference between each parameter of the input pattern and the standard pattern, and an addition means, at least three data holding means in which G values in different frames are held;
A voice pattern matching circuit equipped with a comparison section that detects the minimum value of the values, a plurality of linear operation control means for switching between linear operation and DP operation, and a second circuit that outputs either the output of the difference operation section or a zero value. 1 selection output means and any one of the three data holding means.
a second selection output means for outputting one data, and a third selection output means for outputting either the output of the second selection output means or a zero value;
One of the pattern holding means or the second pattern holding means holds an input pattern for linear calculations, and the other pattern holding means holds a plurality of standard patterns for linear calculations, and in the case of linear calculation control, the plurality of linear calculations The control means first causes the first selection output means and the third selection output means to output zero, then causes the first selection output means to output the calculated value of the difference calculation section, and the second selection output means Among the three data holding means inputted to the linear output means, the third selection output means selects the one in which the collation cumulative value up to the previous frame is stored, and outputs the output from the third selection output means. The calculation input pattern and a plurality of standard patterns for linear calculations are linearly matched at the same time, and in the case of DP calculation control, the plural linear calculation control means selects the difference calculation section from the first selection output means. A calculated value is outputted, and the minimum value selected by the comparison section among the inputs of the three data holding means inputted to the second selection output means is outputted from the second selection output means, and this is outputted from the second selection output means. A speech pattern matching circuit characterized in that the selection output means is controlled to output, and the addition means calculates a matching cumulative value.
JP59024122A 1984-02-10 1984-02-10 Voice pattern collation circuit Granted JPS60168196A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59024122A JPS60168196A (en) 1984-02-10 1984-02-10 Voice pattern collation circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59024122A JPS60168196A (en) 1984-02-10 1984-02-10 Voice pattern collation circuit

Publications (2)

Publication Number Publication Date
JPS60168196A JPS60168196A (en) 1985-08-31
JPH0325798B2 true JPH0325798B2 (en) 1991-04-08

Family

ID=12129501

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59024122A Granted JPS60168196A (en) 1984-02-10 1984-02-10 Voice pattern collation circuit

Country Status (1)

Country Link
JP (1) JPS60168196A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8818802B2 (en) 2008-10-10 2014-08-26 Spansion Llc Real-time data pattern analysis system and method of operation thereof
JP5714495B2 (en) * 2008-10-10 2015-05-07 スパンション エルエルシー Analysis system and data pattern analysis method

Also Published As

Publication number Publication date
JPS60168196A (en) 1985-08-31

Similar Documents

Publication Publication Date Title
JPH0159600B2 (en)
JPS58115497A (en) Voice recognition system
JPH0325798B2 (en)
JP2755590B2 (en) Speech synthesizer
SU1405061A2 (en) Device for shaping interrupt signals in program debugging
JP3068250B2 (en) Speech synthesizer
JPS60208800A (en) Word voice recognition equipment
JPS6118200B2 (en)
JPH0262879B2 (en)
JPS61122700A (en) Synthetic voice pronunciation speed control system
KR0135503B1 (en) Key input method and device
JPH0577080B2 (en)
JP2919841B2 (en) Testing method for data processing equipment
JP2712703B2 (en) Signal processing device
JP2532072Y2 (en) Pattern generator
JPH041918B2 (en)
JPH0134399B2 (en)
JPH04128800A (en) Pattern matching control circuit
JPH03223924A (en) Value comparator and maximum/minimum value detecting circuit
JPH01269999A (en) Linear matching system and arithmetic circuit
JPH03237500A (en) Sound detector
JPS58142447A (en) Data processor
JPH0465395B2 (en)
JPH01283599A (en) Pattern matching device
JPH0661984A (en) No-hit switching device