JPH0577079B2 - - Google Patents

Info

Publication number
JPH0577079B2
JPH0577079B2 JP62271148A JP27114887A JPH0577079B2 JP H0577079 B2 JPH0577079 B2 JP H0577079B2 JP 62271148 A JP62271148 A JP 62271148A JP 27114887 A JP27114887 A JP 27114887A JP H0577079 B2 JPH0577079 B2 JP H0577079B2
Authority
JP
Japan
Prior art keywords
threshold
result
optimal path
value
recognition
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 - Lifetime
Application number
JP62271148A
Other languages
Japanese (ja)
Other versions
JPH01112298A (en
Inventor
Hiromi Fujii
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 JP62271148A priority Critical patent/JPH01112298A/en
Publication of JPH01112298A publication Critical patent/JPH01112298A/en
Publication of JPH0577079B2 publication Critical patent/JPH0577079B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、発声された音声を高速で認識する音
声認識装置の改良に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to an improvement in a speech recognition device that recognizes uttered speech at high speed.

(従来の技術) 音声認識は、優れたマンマシンインターフエー
スを実現する技術として重要であり、すでにさま
ざまな分野で音声認識装置が使われている。現在
の装置のほとんどは、パターンマツチング法によ
る認識方式を採用している。この方式は、発声さ
れた認識対象の単語をあらかじめ標準パターンと
して保持しておき、入力された発声のパターン
(以下、入力パターンとする)と保持された標準
パターンとの比較を行い、最も類似した標準パタ
ーンの単語名を認識結果とするものである。この
時、2つのパターンの時間軸を対応づけてパター
ン間距離を求める方法としては、動的計画法によ
り非線形な対応付けを行うDPマツチング法が使
用されている。DPマツチングについては「連続
発声した単語音声を効率的に認識する2段DPマ
ツチング」、日計エレクトロニクス、1983年11月
7日号の171頁より208頁(以下、文献1とする)
に詳しく記述されている。この文献によると、パ
ターンA,B間の距離D(A,B)は、以下のよ
うに定義されている。
(Prior Art) Speech recognition is an important technology for realizing excellent man-machine interfaces, and speech recognition devices are already being used in various fields. Most of the current devices employ a recognition method based on a pattern matching method. In this method, uttered words to be recognized are stored in advance as standard patterns, and the input utterance pattern (hereinafter referred to as input pattern) is compared with the stored standard pattern. The recognition result is the word name of the standard pattern. At this time, as a method for associating the time axes of the two patterns and finding the distance between the patterns, a DP matching method is used that performs nonlinear matching using dynamic programming. Regarding DP matching, see "Two-stage DP matching for efficiently recognizing continuously uttered word sounds," Nikkei Electronics, November 7, 1983 issue, pages 171 to 208 (hereinafter referred to as Document 1).
is described in detail. According to this document, the distance D (A, B) between patterns A and B is defined as follows.

D(A,B)=min j=j=(i)[i=1 〓I d(i,j)] d(i,j)はaiとbiのベクトル間距離である。
パターン間距離Dは、たとえば以下の漸化式計算
により求めることができる。
D (A, B) = min j=j= (i) [ i=1 〓 I d (i, j)] d (i, j) is the distance between vectors a i and b i .
The inter-pattern distance D can be determined, for example, by the following recurrence formula calculation.

g(i,j)=d(i,j)+ming(i
−1,j) g(i−1,j−1) g(i−1,j−2) (イ) (ロ) (ハ) …(1)式 g(i,j)はi,jにより張られるij平面中
の点(1,1)から(i,j)までのベクトル間
距離dの累積値の最小値であり、以下、累積距離
と呼ぶことにする。D(A,B)はこの漸化式計
算をi=1…I,j=1…Jまで行つて得られる
g(I,J)として求められる。
g(i,j)=d(i,j)+ming(i
-1, j) g (i-1, j-1) g (i-1, j-2) (a) (b) (c) ...Equation (1) g (i, j) is determined by i, j This is the minimum cumulative value of the inter-vector distance d from point (1, 1) to (i, j) in the ij plane, and will be referred to as cumulative distance hereinafter. D(A, B) is obtained as g(I, J) obtained by performing this recurrence formula calculation up to i=1...I, j=1...J.

ここで、第2図に示すようなi,j平面を考え
る。上記漸化式は、第2図に示すように、(i−
1,j),(i−1,j−1),(i−1,j−2)
から(i,j)に至る3本のパス(イ),(ロ),(ハ)を許
して、格子点(1,1)から(I,J)に至るベ
クトル間距離d(i,j)の総和が最小を与える
(i,j,)の経路(以下、最適パスという)を求
めるものである。最適パスは、(1)式の計算の際に
(イ),(ロ),(ハ)のうちどのパスが選ばれたかのパス情
報h(i,j)をすべて(i,j)に対して保持
しておき、Dが求められた後に(I,J)より保
持されたパスを(1,1)まで遡るバツクトラツ
クを行うことにより得られる。バツクトラツクに
より最適パスを求める方法については、「音声認
識における動的計画法の応用」、bit,Vol.15.No.8
の131頁より142頁に詳しく述べられている。
Here, consider the i,j plane as shown in FIG. As shown in Figure 2, the above recurrence formula is (i-
1, j), (i-1, j-1), (i-1, j-2)
Allowing three paths (a), (b), and (c) from lattice point (1, 1) to (i, j), vector distance d(i, j ) to find the path (hereinafter referred to as the optimal path) for (i, j,) that provides the minimum sum. The optimal path is calculated using equation (1).
Path information h(i, j) indicating which path was selected among (a), (b), and (c) is retained for all (i, j), and after D is determined, (I , J) by backtracking back to (1, 1). For information on how to find the optimal path using backtracking, see ``Application of dynamic programming in speech recognition'', bit, Vol. 15. No. 8.
This is explained in detail on pages 131 to 142.

以上述べたDPマツチングによる認識アルゴリ
ズムには、多くの改良があるが、その1つとして
特開昭58−98796号に記載されているクロツクワ
イズDP法がある。この方法は、入力パターンの
時間軸iを最も外側のループにしてgn(i,j)
の計算を行うことにより、特徴ベクトルaiの入力
と同期したマツチング処理を実現し、実時間性を
高める方法である。すなわち、この方法では、入
力パターンの時刻iにおいて、全ての単語nと単
語nの標準パターン上の時刻jに対してgn(i,
j)を求める。
There have been many improvements to the recognition algorithm using DP matching described above, one of which is the clockwise DP method described in Japanese Patent Application Laid-Open No. 58-98796. In this method, the time axis i of the input pattern is set as the outermost loop and g n (i, j)
This is a method that realizes matching processing that is synchronized with the input of feature vector a i by calculating , and improves real-time performance. That is, in this method, at time i of the input pattern, g n (i,
Find j).

また、上記のクロツクワイズDP法に枝刈の考
えを導入することにより処理を高速化したものが
特願昭62−61732号、特願昭62−219460号に述べ
られている。以下、これらの方法について簡単に
説明する。
In addition, Japanese Patent Application No. 62-61732 and No. 62-219460 disclose methods in which the above-mentioned Crotwise DP method is speeded up by introducing the idea of pruning. These methods will be briefly explained below.

特願昭62−61732号の方法は、クロツクワイズ
DP法において、時刻iでの累積距離gn(i,j)
があるしきい値θ(i)以上のn,i,jに対して
は、時刻i+1以降の漸化式計算を省略するもの
である。これは、gn(i,j)が大きい(n,i,
j)は最適パス上にある可能性が低いとみなして
漸化式計算を省略するものである。これにより計
算すべき漸化式計算回数が大幅に減少し、認識処
理が高速化される。θ(i)の設定法としては以下の
ものがある。
The method of patent application No. 62-61732 is to
In the DP method, the cumulative distance g n (i, j) at time i
For n, i, and j whose values are greater than or equal to a certain threshold value θ(i), the calculation of the recurrence formula after time i+1 is omitted. This means that g n (i, j) is large (n, i,
j) is considered to be unlikely to be on the optimal path, and calculation of the recurrence formula is omitted. As a result, the number of recurrence formula calculations to be performed is significantly reduced, and the recognition processing speed is increased. The following methods are available for setting θ(i).

(イ) θ(i)=αi+β (ロ) θ(i)=g min(i)+α(α,βは定数) (イ)は最適累積距離が増加するとしてθ(i)をiの
一次単調増加関数として定めるもの、(ロ)は各iに
おける累積距離gn(i,j),J=i,…Jn,n=
1,…,Nの最小値g min(i)にαの余裕を持た
せてθを定めるものである。しかし、この方法に
おいて、しきい値を求めるためのしきい値パラメ
ータα,βは一定値であつたため、適切でないし
きい値θ(i)による認識エラーや計算量が低減され
ない場合があつた。
(a) θ(i)=αi+β (b) θ(i)=g min(i)+α (α, β are constants) (a) Assuming that the optimal cumulative distance increases, θ(i) is linearly monotonous for i. What is defined as an increasing function, (b) is the cumulative distance g n (i, j) at each i, J=i,...Jn, n=
θ is determined by giving a margin of α to the minimum value g min(i) of 1, . . . , N. However, in this method, since the threshold parameters α and β for determining the threshold value were constant values, there were cases in which recognition errors and calculation amount due to inappropriate threshold value θ(i) were not reduced.

特願昭62−219460号の方法は、特願昭62−
61732号におけるこのような問題に対処できるも
のであり、過去の発声よりしきい値パラメータを
学習する機能を有する。しきい値パラメータは以
下の手順で学習する。まず、認識結果出力後、入
力パターンと認識結果を与えた標準パターンとの
間でマツチングを行い、バツクトラツクによつて
最適パスを求める。次に、最適パス上の累積距離
gppt(i),i=1,…,1を求め、しきい値θ(i)が
全てのiにおいてgppt(i)<θ(i)を満足するように
しきい値パラメータα′,β′を求める。次の認識処
理に使用するα,βは、過去1回以上X回の発声
に対するしきい値パラメータα′(x),β′(x),x=
1,…,Xより求める。
The method of patent application No. 1983-219460 is
This is a device that can deal with such problems in No. 61732, and has a function to learn threshold parameters from past utterances. The threshold parameters are learned using the following steps. First, after outputting the recognition results, matching is performed between the input pattern and the standard pattern that gave the recognition results, and an optimal path is determined by backtracking. Then, the cumulative distance on the optimal path
g ppt (i), i = 1, ..., 1, and set the threshold parameters α', β so that the threshold θ(i) satisfies g ppt (i) < θ(i) for all i. Find ′. α and β used in the next recognition process are threshold parameters α′(x), β′(x), x=
Obtain from 1,...,X.

(発明が解決しようとする問題点) 従来法における枝刈では、認識結果が正解でも
エラーでも同様の方法でパラメータα,βの学習
を行つていた。しかし、誤認識の場合には最適パ
スを求める際に、発声された単語とは異なる標準
パターンとのマツチングが行われるため、正解単
語との正解パスは求められない。従つて、誤認識
が起きると、適切でないしきい値パラメータα,
βが学習されることがあり、さらに誤認識を生む
ことにつながつていた。
(Problems to be Solved by the Invention) In pruning in the conventional method, the parameters α and β are learned in the same way regardless of whether the recognition result is correct or erroneous. However, in the case of misrecognition, when determining the optimal path, the uttered word is matched with a different standard pattern, so the correct path with the correct word cannot be determined. Therefore, when misrecognition occurs, inappropriate threshold parameters α,
β may be learned, leading to further misrecognition.

本発明の目的は、上記の問題点をなくし、常に
適切な枝刈のしきい値θを定めることのできる音
声認識装置を提供することである。
An object of the present invention is to provide a speech recognition device that eliminates the above-mentioned problems and can always determine an appropriate pruning threshold θ.

(問題点を解決するための手段) 本発明による音声認識装置は次の各部を必要と
する。すなわち、各単語nの音声の特徴ベクトル
時系列Bn=bn 1…bn j…bn joを標準パターンとして
保持する標準パターン格納部と、枝刈のしきい値
を求めるパラメータであるしきい値パラメータを
格納するしきい値パラメータ格納部と、時刻iの
入力音声の特徴ベクトルaiを逐次読み込み時系列
パターンA=a1…ai…aIとして保持する入力パタ
ーン格納部と、各時刻iにおいて入力音声の特徴
aiと前記標準パターン格納部の標準パターンbn jと
の距離dn(i,j)の累計距離gn(i,j)を前記
しきい値パラメータ格納部のパラメータで定めら
れる枝刈条件を満足する(n,j)の値に対して
求めるマツチング部と、マツチング部にて時刻I
に求められた累積距離gn(i,j)の最小値を与
える単語nを認識結果として出力する判定部と、
認識結果の正否を与える結果確認部と、結果が正
解である場合に入力パターン格納部における入力
パターンAと認識結果の標準パターンBnを読み
込み最適パスを求める最適パス計算部と、結果が
正解である場合には前記最適パス計算部にて得ら
れた最適パス上の累積距離の値を用いてしきい値
パラメータを更新し結果が誤りである場合にはし
きい値パラメータ格納部のしきい値パラメータを
しきい値を高くするように更新するしきい値パラ
メータ決定部の各部である。
(Means for Solving the Problems) The speech recognition device according to the present invention requires the following parts. In other words, there is a standard pattern storage section that stores the feature vector time series B n =b n 1 ...b n j ...b n jo of the speech of each word n as a standard pattern, and a parameter that determines the pruning threshold. a threshold parameter storage unit that stores threshold parameters; an input pattern storage unit that sequentially reads the feature vector a i of input speech at time i and holds it as a time series pattern A=a 1 …a i …a I ; Characteristics of input audio at time i
The cumulative distance g n (i, j) of the distance d n (i, j) between a i and the standard pattern b n j in the standard pattern storage section is determined by the pruning condition determined by the parameters in the threshold parameter storage section. The matching unit calculates the value of (n, j) that satisfies
a determination unit that outputs, as a recognition result, a word n that gives the minimum value of the cumulative distance g n (i, j) found in
a result confirmation unit that indicates whether the recognition result is correct; an optimal path calculation unit that reads the input pattern A in the input pattern storage unit and the standard pattern Bn of the recognition result and calculates the optimal path if the result is correct; In this case, the threshold parameter is updated using the value of the cumulative distance on the optimal path obtained by the optimal path calculation section, and if the result is incorrect, the threshold parameter is updated in the threshold parameter storage section. These are the parts of the threshold parameter determining unit that update the threshold value to make it higher.

(作用) 本発明による音声認識装置は、過去に発声され
た音声と、認識結果の正否の情報を用いてしきい
値を学習することにより、話者や環境の変化に対
応して、枝刈を効率よく行い高速に認識処理を行
うことを特徴とする。
(Operation) The speech recognition device according to the present invention learns a threshold value using speech uttered in the past and information on whether the recognition results are correct or incorrect, and pruns in response to changes in the speaker or the environment. It is characterized by efficient and high-speed recognition processing.

上述したように、枝刈は入力パターンの各時刻
iにおけるしきい値θ(i)を用いて行う。従つて、
θ(i)は正解の単語の最適パス上の累積距離を下回
らず、かつ、高すぎないように設定することが望
ましい。本発明の特徴は、過去の発声に対して最
適パス上の累積距離を求め、それらの値から適切
なしきい値θ(i)を求めるパラメータを学習するこ
とにある。さらに、最適パス上の累積距離を用い
た学習は認識結果が正解であるときのみ行い、認
識結果がエラーである場合には、枝刈のしきい値
を上げることにより連続したエラーを防ぐことを
特徴とする。以下に、その動作原理を説明する。
As described above, pruning is performed using the threshold value θ(i) at each time i of the input pattern. Therefore,
It is desirable to set θ(i) so that it is not less than the cumulative distance of the correct word on the optimal path and not too high. The feature of the present invention is to obtain cumulative distances on the optimal path for past utterances, and to learn parameters for obtaining an appropriate threshold value θ(i) from these values. Furthermore, learning using the cumulative distance on the optimal path is performed only when the recognition result is correct, and if the recognition result is an error, the pruning threshold is raised to prevent consecutive errors. Features. The operating principle will be explained below.

従来方式による認識処理が行われ、結果が出力
された後、認識結果が正解か否かの入力を促すプ
ロンプトに従つて、利用者が結果の正否を入力す
る。認識結果が正解である場合には、認識結果の
単語nの標準パターンBnと保持されている入力
パターンとの間で前記文献1に述べられている
DPマツチングを行う。マツチングでは、漸化式
計算において選択されたパスの情報h(i,j)
と累積距離g(i,j)を全ての(i,j)に対
して保持しておき、バツクトラツクにより最適パ
スを得る。最適パス上の累積距離gppt(i)は、最適
パスhppt(i)=j(1)…j(i)…j(I)における累積距離
g(i,j(i))として得られる。
After the conventional recognition process is performed and the results are output, the user inputs whether the results are correct or not in accordance with a prompt prompting the user to input whether the recognition results are correct or not. If the recognition result is correct, the standard pattern B n of the word n of the recognition result and the retained input pattern are determined as described in the above-mentioned document 1.
Perform DP matching. In matching, the information h(i, j) of the path selected in the recurrence formula calculation is
and cumulative distance g(i,j) are maintained for all (i,j), and the optimal path is obtained by backtracking. The cumulative distance g ppt (i) on the optimal path is obtained as the cumulative distance g (i, j(i)) on the optimal path h ppt (i) = j(1)...j(i)...j(I) .

このようにして得られた各iにおける最適パス
上の累積距離gppt(i)は、直前の入力音声の時刻i
における枝刈のしきい値θ(i)の最適値と考えるこ
とができる。そのため、これらの情報を用いて、
現在のしきい値パラメータを補正することで、次
回の認識処理ではより適切なしきい値を設定する
ことができる。さらに、話者や環境が変化した場
合、それ以前と同じパラメータでは不適切なしき
い値θが設定される場合があるが、そのような場
合にも、上記の原理によつて、発声ごとにより適
切なθが設定できるようになる。
The cumulative distance g ppt (i) on the optimal path for each i obtained in this way is the time i of the immediately preceding input voice.
It can be considered as the optimal value of the pruning threshold θ(i) in . Therefore, using this information,
By correcting the current threshold parameters, a more appropriate threshold can be set for the next recognition process. Furthermore, if the speaker or the environment changes, an inappropriate threshold θ may be set using the same parameters as before, but even in such cases, the above principle can be used to set a more appropriate threshold value for each utterance. It becomes possible to set θ.

以上は、認識結果が正解である場合の処理であ
るが、誤認識の場合は正解単語に対する最適パス
が枝刈されてしまつた可能性が強いとみなして、
現在のしきい値θより高いしきい値が設定される
ようにしきい値パラメータα,βを更新する。
The above is the process when the recognition result is correct, but in the case of incorrect recognition, it is assumed that there is a strong possibility that the optimal path for the correct word has been pruned.
The threshold parameters α and β are updated so that a threshold higher than the current threshold θ is set.

(実施例) 以下に、本発明の実施例について図面を参照し
ながら詳細に説明する。第1図は、本発明の一実
施例を示すブロツク図である。
(Example) Examples of the present invention will be described in detail below with reference to the drawings. FIG. 1 is a block diagram showing one embodiment of the present invention.

第1図における標準パターン格納部2には、あ
らかじめ発声された認識対象単語nの各時刻列デ
ータが標準パターンBoとして格納されており、
しきい値パラメータ格納部3には、枝刈のしきい
値θ(i)を求めるためのしきい値α,βがあらかじ
め格納されている。発声された入力パターンAは
実時間で分析され、特徴ベクトルaiの時系列のデ
ータとして逐次マツチング部4に入力される。ま
た、aiは同時に、入力パターン格納部1に逐次格
納され、次の入力があるまで保持される。マツチ
ング部4では入力されたaiごとにn,jに対して
漸化式計算を行いgn(i,j)を求める。マツチ
ングには、従来方式におけるクロツクワイズDP
法に枝刈の考えを導入した方式(特願昭62−
61732号)を用いる。枝刈のしきい値θの求め方
としては、ここでは、一次単調増加関数(θ(i)=
αi+β)を用いることとする。マツチング部4
は、iにおける累積距離計算後、しきい値パラメ
ータ格納部3のα,βを読み込みθ(i)を計算し、
gn(i,j)<θ(i)を満足する(n,j)を求め
る。ai+1が入力されると、時刻iで求められた枝
刈基準を満足する(n,j)に対して漸化式計算
を行う。マツチング部4ではこのように枝刈をし
ながら時刻Iまでの処理を行い入力パターンAと
全ての標準パターンBnとのパターン間距離を求
める。
In the standard pattern storage unit 2 in FIG. 1, each time sequence data of the recognition target word n uttered in advance is stored as a standard pattern B o ,
The threshold parameter storage unit 3 stores in advance thresholds α and β for determining the pruning threshold θ(i). The uttered input pattern A is analyzed in real time and is sequentially input to the matching unit 4 as time-series data of the feature vector a i . Also, a i is simultaneously stored sequentially in the input pattern storage section 1 and held until the next input. The matching unit 4 performs a recurrence formula calculation on n and j for each input a i to obtain g n (i, j). For matching, the conventional method of black-wize DP is used.
A method that introduced the idea of pruning into the law (patent application 1983-
61732). To find the pruning threshold θ, here we use a linear monotonically increasing function (θ(i)=
αi+β) is used. Matching section 4
After calculating the cumulative distance at i, reads α and β in the threshold parameter storage unit 3 and calculates θ(i),
Find (n, j) that satisfies g n (i, j) < θ(i). When a i+1 is input, recurrence formula calculation is performed for (n, j) that satisfies the pruning criterion determined at time i. The matching section 4 performs the processing up to time I while performing pruning in this manner, and calculates inter-pattern distances between the input pattern A and all standard patterns Bn.

判定部5では、マツチング部4にて得られた入
力パターンAと全ての標準パターンBn,n=1
…Nとのパターン間距離のうち最小距離を与えた
標準パターンを結果として出力する。引続き、利
用者によつてこの認識結果の正否が結果確認部8
より入力される。結果確認部8は、正否を入力す
る手段を有し、例えば正否に対応する2つのキー
よりなる装置を用いることができる。このよう
に、結果の正否が入力されると、正否に応じてし
きい値パラメータの学習処理が行われる。
In the determination unit 5, the input pattern A obtained in the matching unit 4 and all standard patterns Bn, n=1
. . . A standard pattern giving the minimum distance among the inter-pattern distances with N is output as a result. Subsequently, the user checks whether the recognition result is correct or not in the result confirmation section 8.
Input from The result confirmation unit 8 has a means for inputting whether the result is correct or not, and for example, a device including two keys corresponding to the correct or incorrect results can be used. In this way, when the result is correct or incorrect, the threshold parameter learning process is performed depending on whether the result is correct or incorrect.

まず、結果が正解である場合について説明す
る。この場合の学習には、従来方法(特願昭62−
61732号)と同様に、入力パターンと認識結果を
与えた標準パターンとのマツチングにおける最適
パス上の累積距離を用いる。最適パス計算部6
は、利用者から結果が正解であるという入力を得
ると、入力パターンAを入力パターン格納部1よ
り、結果を与えた標準パターンBnを標準パター
ン格納部2より読み込み、文献1に示されている
ようなDPマツチング法を用いて1対1のマツチ
ングを行う。マツチングの際には、(i,j)に
おける累積距離g(i,j)と(i,j)に至る
パスh(i,j)を全ての(i,j)に対して保
持しておく。最適パスは、(I,J)より、パス
の情報hを溯るバツクトラツクにより得られる。
このようにして得られた最適パス上の累積距離を
gppt(i),i=1,…,Iとする。その後、パラメ
ータ決定部7においてしきい値パラメータα,β
の学習を行う。gpptは、最適パス上の累積距離で
あるから、マツチング時の枝刈のしきい値は常に
この値以上である必要がある。パラメータα,β
の値は例えば、gpptの最小自乗近似直線の係数と
して求めることができる。第3図は、gpptと求め
られたα,βによるθ(i)を示している。図におけ
るβは最小自乗近似直線の係数として求められた
値より余裕分Δβだけ大きくなつている。パラメ
ータ決定部7には、このようにして求められた
α,βを過去の発声X回分(X≧0)が格納され
ている。これらの値から、新たなしきい値パラメ
ータを求め、しきい値パラメータ格納部3に格納
する。しきい値パラメータの求め方としては、X
回のα,βの値の最大値をとる方法を用いる。し
きい値パラメータα,βの求め方としては、過去
X回の最大値をとる方法の他に、過去X回の平均
値をとる方法などを用いることができる。
First, a case where the result is correct will be explained. In this case, the conventional method (patent application 1986-
61732), the cumulative distance on the optimal path in matching the input pattern and the standard pattern that gave the recognition result is used. Optimal path calculation section 6
When receiving input from the user that the result is correct, reads the input pattern A from the input pattern storage unit 1 and the standard pattern Bn that gave the result from the standard pattern storage unit 2, and reads the standard pattern Bn that gave the result from the standard pattern storage unit 2. One-to-one matching is performed using the DP matching method. During matching, keep the cumulative distance g(i,j) at (i,j) and the path h(i,j) leading to (i,j) for all (i,j). . The optimal path is obtained from (I, J) by backtracking the path information h.
The cumulative distance on the optimal path obtained in this way is
Let g ppt (i), i=1,...,I. After that, in the parameter determining section 7, the threshold parameters α and β are set.
Learn about. Since g ppt is the cumulative distance on the optimal path, the pruning threshold during matching must always be equal to or greater than this value. Parameters α, β
The value of can be obtained, for example, as a coefficient of the least squares approximation straight line of g ppt . FIG. 3 shows θ(i) based on g ppt and the determined α and β. β in the figure is larger than the value determined as the coefficient of the least squares approximation straight line by an amount of margin Δβ. The parameter determination unit 7 stores α and β determined in this manner for X times of past utterances (X≧0). New threshold parameters are determined from these values and stored in the threshold parameter storage section 3. To find the threshold parameter,
The method of taking the maximum value of α and β is used. As a method for determining the threshold parameters α and β, in addition to a method of taking the maximum value of the past X times, a method of taking the average value of the past X times, etc. can be used.

次に、認識結果が誤認識の場合について説明す
る。利用者により、認識結果がエラーと入力され
た場合は、しきい値パラメータ格納部3より現在
設定されているしきい値パラメータα,βを読み
込み、それらをしきい値θ(i)が増加するように更
新する。αの更新値は例えば、αoew=k・αpld,
αoew=αpld+TまたBの更新値も同様に、βoew=
k・βpld,βoew=βpld+Tなどの方法を用いること
ができる。θの求め方として一次単調増加関数を
用いる上記の例では、kとして1以上の値、また
は、正の値を持つTを与えることによりθoew>
θpldとなるα,βを設定することができる。
Next, a case where the recognition result is erroneous recognition will be explained. If the user inputs an error in the recognition result, the currently set threshold parameters α and β are read from the threshold parameter storage unit 3, and the threshold value θ(i) is increased using them. Update as follows. The updated value of α is, for example, α oew = k・α pld ,
α oew = α pld + T Similarly, the updated value of B is β oew =
Methods such as k·β pld and β oew =β pld +T can be used. In the above example where a linear monotonically increasing function is used to find θ, by giving k a value of 1 or more or a positive value T, θ oew >
It is possible to set α and β that result in θ pld .

以上の実施例では、しきい値θの求め方として
一次単調増加関数を用いて説明したが、それ以外
の方法として、iにおける最小値を基にした場合
(θ(i)=g min(i)+α)について説明する。こ
の場合には、以下のようにしてパラメータαを学
習することができる。まず、認識時にマツチング
部4における枝刈処理に使用された各iの累積距
離の最小値g min(i),i=1,…,Iを、各時
刻iにおいてパラメータ決定部7に格納してお
く。その後、上記の実施例と同様に処理し、最適
パス計算部6においてgppt(i),i=1,…,Iを
求めた後、パラメータ決定部7において、gdiff(i)
=gppt(i)−g min(i),i=1,…Iを計算しgdiff
の最大値を求める。パラメータ決定部7には、こ
のようにして求められたgdiffの最大値が過去の発
声X回分(X≧0)格納されている。αはこれら
の値の平均、または最大値に基づいて決定するこ
とができる。
In the above embodiments, the method of determining the threshold value θ was explained using a linear monotonically increasing function. However, another method is to use the minimum value at i (θ(i)=g min(i )+α) will be explained. In this case, the parameter α can be learned as follows. First, the minimum value g min(i), i=1,..., I of the cumulative distance of each i used in the pruning process in the matching unit 4 during recognition is stored in the parameter determining unit 7 at each time i. put. Thereafter, the process is performed in the same manner as in the above embodiment, and after the optimal path calculating section 6 calculates g ppt (i), i=1,..., I, the parameter determining section 7 calculates g diff (i)
=g ppt (i)−g min(i), i=1,...I is calculated and g diff
Find the maximum value of. The parameter determination unit 7 stores the maximum value of g diff determined in this manner for X times of past utterances (X≧0). α can be determined based on the average or maximum value of these values.

(発明の効果) 以上に説明した本発明による高速音声認識装置
では、誤認識が起きてもそれが誤認識の多発につ
ながることなく、枝刈における最適なしきい値を
学習することができる。そのため、話者や環境な
どの変化に適応したしきい値の設定が可能にな
る。それにより、しきい値が不適当であるために
起きていた従来の問題点が解決され、認識速度が
より高速になり、また、認識率が向上する。
(Effects of the Invention) In the high-speed speech recognition device according to the present invention described above, even if erroneous recognition occurs, it is possible to learn an optimal threshold value for pruning without leading to frequent erroneous recognition. Therefore, it is possible to set a threshold value that adapts to changes in the speaker, environment, etc. This solves the conventional problems caused by inappropriate threshold values, increases recognition speed, and improves recognition rate.

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

第1図は本発明の一実施例を示すブロツク図、
第2図は従来方式におけるマツチングの様子を説
明するための図、第3図は第1図実施例における
パラメータ決定部で行なわれる処理を説明するた
めの図である。 1……入力パターン格納部、2……標準パター
ン格納部、3……しきい値パラメータ格納部、4
……マツチング部、5……判定部、6……最適パ
ス計算部、7……パラメータ決定部、8……結果
確認部。
FIG. 1 is a block diagram showing one embodiment of the present invention;
FIG. 2 is a diagram for explaining the state of matching in the conventional method, and FIG. 3 is a diagram for explaining the processing performed by the parameter determining section in the embodiment of FIG. 1. 1... Input pattern storage section, 2... Standard pattern storage section, 3... Threshold parameter storage section, 4
...Matching section, 5... Judgment section, 6... Optimum path calculation section, 7... Parameter determination section, 8... Result confirmation section.

Claims (1)

【特許請求の範囲】[Claims] 1 各単語nの音声の特徴ベクトル時系列Bn=
bn i…bn j…bn joを標準パターンとして保持する標準
パターン格納部と、枝刈のしきい値を求めるパラ
メータであるしきい値パラメータを格納するしき
い値パラメータ格納部と、時刻iの入力音声の特
徴ベクトルaiを逐次読み込み時系列パターンA=
a1…ai…aIとして保持する入力パターン格納部と、
各時刻iにおいて入力音声の特徴aiと前記標準パ
ターン格納部の標準パターンbn jとの距離dn(i,
j)の累積距離gn(i,j)を前記しきい値パラ
メータ格納部のパラメータで定められる枝刈条件
を満足する(n,j)の値に対して求めるマツチ
ング部と、このマツチング部にて時刻Iに求めら
れた累積距離gn(I,J)の最小値を与える単語
nを認識結果として出力する判定部と、認識結果
の正否を与える結果確認部と、結果が正解である
場合に前記入力パターン格納部における入力パタ
ーンAと認識結果の標準パターンBnを読み込み
最適パスを求める最適パス計算部と、結果が正解
である場合には前記最適パス計算部にて得られた
最適パス上の累積距離の値を用いてしきい値パラ
メータを更新し結果が誤りである場合には前記し
きい値パラメータ格納部のしきい値パラメータを
しきい値を高くするように更新するしきい値パラ
メータ決定部とを有することを特徴とする音声認
識装置。
1 Speech feature vector time series B n = each word n
b n i …b n j …b n jo as a standard pattern; a threshold parameter storage unit that stores threshold parameters that are parameters for determining the pruning threshold; Sequentially read feature vector a i of input voice of i, time series pattern A=
an input pattern storage section to hold as a 1 ...a i ...a I ;
At each time i, the distance d n ( i ,
a matching unit that calculates the cumulative distance g n (i, j) of j) for the value of (n, j) that satisfies the pruning condition determined by the parameters of the threshold parameter storage unit; a determination unit that outputs as a recognition result the word n that gives the minimum value of the cumulative distance g n (I, J) found at time I; a result confirmation unit that determines whether the recognition result is correct; and if the result is correct. an optimal path calculation section that reads the input pattern A in the input pattern storage section and the standard pattern Bn of the recognition result and calculates the optimal path; and if the result is correct, the optimal path calculated by the optimal path calculation section a threshold parameter that updates a threshold parameter using the cumulative distance value of and, if the result is erroneous, updates the threshold parameter in the threshold parameter storage unit to increase the threshold value; A speech recognition device comprising: a determining section.
JP62271148A 1987-10-26 1987-10-26 Voice recognition equipment Granted JPH01112298A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62271148A JPH01112298A (en) 1987-10-26 1987-10-26 Voice recognition equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62271148A JPH01112298A (en) 1987-10-26 1987-10-26 Voice recognition equipment

Publications (2)

Publication Number Publication Date
JPH01112298A JPH01112298A (en) 1989-04-28
JPH0577079B2 true JPH0577079B2 (en) 1993-10-25

Family

ID=17495995

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62271148A Granted JPH01112298A (en) 1987-10-26 1987-10-26 Voice recognition equipment

Country Status (1)

Country Link
JP (1) JPH01112298A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5143135A (en) * 1991-01-18 1992-09-01 Levolor Corporation Low profile headrail venetian blind

Also Published As

Publication number Publication date
JPH01112298A (en) 1989-04-28

Similar Documents

Publication Publication Date Title
KR100697961B1 (en) Semi-directed speaker adaptation
US7447634B2 (en) Speech recognizing apparatus having optimal phoneme series comparing unit and speech recognizing method
WO2020024646A1 (en) Monaural multi-talker speech recognition with attention mechanism and gated convolutional networks
US8612235B2 (en) Method and system for considering information about an expected response when performing speech recognition
JP4531166B2 (en) Speech recognition method using reliability measure evaluation
JPH0355837B2 (en)
JPH07334184A (en) Acoustic category average value calculation device and adaptation device
CN112509560A (en) Voice recognition self-adaption method and system based on cache language model
JPH0683388A (en) Speech recognition device
JP3014177B2 (en) Speaker adaptive speech recognition device
JPH07219579A (en) Voice recognizer
JP2852298B2 (en) Standard pattern adaptation method
JPH0296800A (en) Continuous voice recognizing device
US5828998A (en) Identification-function calculator, identification-function calculating method, identification unit, identification method, and speech recognition system
JPH01204099A (en) Speech recognition device
JPH01112298A (en) Voice recognition equipment
JPH0962644A (en) neural network
JPH09258783A (en) Voice recognition device
JP3400474B2 (en) Voice recognition device and voice recognition method
JP3357752B2 (en) Pattern matching device
JPH01138596A (en) Voice recognition equipment
JPH11237893A (en) Phoneme recognition method in speech recognition system
JPS59173884A (en) pattern comparison device
JPH071440B2 (en) Feature pattern creation method
JPH07261790A (en) Voice recognizer