JPH04218100A - Pattern recognizing device - Google Patents

Pattern recognizing device

Info

Publication number
JPH04218100A
JPH04218100A JP3084180A JP8418091A JPH04218100A JP H04218100 A JPH04218100 A JP H04218100A JP 3084180 A JP3084180 A JP 3084180A JP 8418091 A JP8418091 A JP 8418091A JP H04218100 A JPH04218100 A JP H04218100A
Authority
JP
Japan
Prior art keywords
candidate
output
calculation
data
input
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.)
Withdrawn
Application number
JP3084180A
Other languages
Japanese (ja)
Inventor
Masami Yuyama
将美 湯山
Susumu Takashima
進 高島
Kazumasa Fukushima
一雅 福島
Masao Ninomiya
二ノ宮 正生
Kazuyuki Kurosawa
和幸 黒沢
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP3084180A priority Critical patent/JPH04218100A/en
Publication of JPH04218100A publication Critical patent/JPH04218100A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To effectively select a candidate at the time of executing rear-stage DP matching by selecting the candidate from the result of the fore-stage DP matching in two-stage DP matching with the pattern recognizing device which executes two-stage matching in a dynamic planning method. CONSTITUTION:This device has a candidate selecting means which selects plural pieces of the candidate standard pattern data by subjecting input pattern data to primary DP matching processing and selects the 1st and 2nd candidates from the data of the higher degrees of similarity therefrom, a means which announces a recognition failure if the distance between the 1st candidate and the input pattern data is above the 1st specific value, a means which determines the 1st candidate as the result of recognition when the distance between the 1st candidate and the 2nd candidate is above the 2nd specific value if the recognition failure is not judged and further, a means which determines the result of recognition by the secondary DP matching processing if the result of recognition is not determined. The primary DP matching processing is executed at the accuracy lower than the accuracy of the secondary DP matching processing.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【発明の技術分野】本発明は認識装置に係り、特に動的
計画法(Dynamic Programming 以
下DP法と呼ぶ)において2段階マッチングを行う認識
装置の前段マッチング結果から候補を選定するパターン
認識装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a recognition apparatus, and more particularly to a pattern recognition apparatus that selects candidates from the first-stage matching results of a recognition apparatus that performs two-stage matching in dynamic programming (hereinafter referred to as DP method).

【0002】0002

【従来の技術】一般的に文字認識装置や音声認識装置等
は、入力された文字や音声の特徴パラメータを抽出し、
予め記憶されているパターンとパターンマッチングを行
い、最も類似度の高いものを選択して認識している。
[Prior Art] Generally, character recognition devices, voice recognition devices, etc. extract characteristic parameters of input characters and voices.
It performs pattern matching with pre-stored patterns and selects and recognizes the one with the highest degree of similarity.

【0003】前述の音声の特徴パラメータは音声の周波
数スペクトラムが多く用いられており、多数のバンドパ
スフィルターによる方法や高速フーリエ変換によってス
ペクトラムが求められている。そして、これらの方法に
よって求められた音声の周波数スペクトラムを前述した
様に予め登録されているパターンとの比較すなわち標準
パターンとの類似性を求め、入力データに一番近い標準
パターンが入力データであるとしてその結果を出力する
[0003] The frequency spectrum of the voice is often used as the voice characteristic parameter described above, and the spectrum is obtained by a method using a large number of bandpass filters or a fast Fourier transform. Then, as described above, the frequency spectrum of the audio obtained by these methods is compared with the pre-registered patterns, that is, the similarity with the standard pattern is determined, and the standard pattern closest to the input data is determined to be the input data. Output the result as .

【0004】前述の入力データを登録しているパターン
と比較するとき、これらの間には必ずしも時間軸が1対
1で対応するとは限らず、前後の言葉の関係あるいは長
音の長さ等によって変化する。この様に時間軸等が1対
1に対応しないパターン間の類似性を求める方法すなわ
ちパターンマッチング法としてDP法がある(一般的に
、二つのパターン間の類似性は距離として表される)。
[0004] When comparing the input data mentioned above with the registered patterns, there is not necessarily a one-to-one correspondence in the time axis between them, and changes may occur depending on the relationship between the words before and after the words or the length of long sounds. do. As described above, the DP method is a method of determining the similarity between patterns whose time axes etc. do not correspond one-to-one, that is, a pattern matching method (generally, the similarity between two patterns is expressed as a distance).

【0005】このDP法は、音声認識に限らず、文字認
識装置等においても同様に応用される。このDP法はそ
れぞれの特徴点間の最小距離を全てにわたって求める為
に、特徴点の数が増加するほどその演算時間は増大する
欠点を有している。DP法による前述の欠点を補う為、
一般的には次の方法が用いられている。先ずパターン自
体を線形伸縮し、線形マッチングによる予備選択を行い
、それによって選択された標準パターンについてDP法
によって最小距離の標準パターンを求める方法である。
[0005] This DP method is applied not only to speech recognition but also to character recognition devices and the like. This DP method has the disadvantage that the calculation time increases as the number of feature points increases because the minimum distance between each feature point is determined over all. In order to compensate for the above-mentioned drawbacks of the DP method,
The following method is generally used. First, the pattern itself is linearly expanded or contracted, a preliminary selection is performed by linear matching, and a standard pattern with the minimum distance is determined using the DP method for the selected standard pattern.

【0006】[0006]

【従来技術の問題点】線形マッチング法はDP法と比べ
その処理速度が速いので、前述の方法もその処理速度は
全ての標準パターンについてDP法を行った場合と比べ
速い。しかしながらこの方法はパターンを線形圧縮して
いる為、DP法本来の時間軸の非線形圧縮の性質が薄れ
てしまう欠点を有している。さらに、予備選択に用いら
れている線形マッチングは継続時間の長い単語に対して
はDP法に比べて誤認識が多く予備選択において目的の
標準パターンを選択できない場合があるという問題を有
している。
[Problems with the Prior Art] Since the processing speed of the linear matching method is faster than the DP method, the processing speed of the above-mentioned method is also faster than when the DP method is applied to all standard patterns. However, since this method linearly compresses the pattern, it has the drawback that the property of nonlinear compression on the time axis inherent in the DP method is weakened. Furthermore, the linear matching used for preliminary selection has the problem that it often misrecognizes words with long durations compared to the DP method, and may not be able to select the desired standard pattern in the preliminary selection. .

【0007】[0007]

【発明の目的】本発明は前記問題点に鑑みなされたもの
であり、その目的は2段階DPマッチングにおける前段
のDPマッチング結果から候補を選定し、後段DPマッ
チングを行う際の候補選定を効果的に行うパターン認識
装置を提供することにある。
[Object of the Invention] The present invention has been made in view of the above problems, and its purpose is to select candidates from the DP matching results of the first stage in two-stage DP matching, and to effectively select candidates when performing the second stage DP matching. An object of the present invention is to provide a pattern recognition device that performs the following steps.

【0008】[0008]

【発明の要点】本発明の特徴とするところは入力パター
ンデータと予め格納されている標準パターンデータとの
パターンマッチングを行い認識結果を決定するパターン
認識装置において、前記入力パターンデータに対して第
1次DPマッチング処理により複数の候補標準パターン
データを選択し、更にその中より類似度が高いと判断さ
れたものから第1の候補、第2の候補とする候補選定手
段と、前記第1の候補と前記入力パターンデータとの距
離が第1の特定値以上であると判断された時は認識不能
と判断し、認識不能を報知する手段と、前記手段により
認識不能と判断されなかった場合において、前記第1の
候補と前記第2の候補との距離が第2の特定値以上であ
ると判断された時は前記第1の候補を認識結果として決
定する手段と、前記手段により認識結果が決定されなか
った場合において、前記候補選定手段により選択された
複数の候補標準パターンデータの中から、第2次DPマ
ッチング処理により認識結果を決定する手段と、を有し
、前記第1次DPマッチング処理は前記第2次マッチン
グ処理よりも粗い精度で行うことを特徴とするパターン
認識装置にある。
Summary of the Invention The present invention is characterized in that in a pattern recognition device that performs pattern matching between input pattern data and pre-stored standard pattern data to determine a recognition result, candidate selection means for selecting a plurality of candidate standard pattern data through a next DP matching process, and selecting those that are determined to have a higher degree of similarity as a first candidate and a second candidate; means for determining that the input pattern data is unrecognizable when it is determined that the distance between the input pattern data and the input pattern data is equal to or greater than a first specific value, and notifying that the input pattern data is unrecognizable; means for determining the first candidate as a recognition result when it is determined that the distance between the first candidate and the second candidate is equal to or greater than a second specific value; and a recognition result determined by the means. and means for determining a recognition result by performing a second DP matching process from among the plurality of candidate standard pattern data selected by the candidate selection means when the candidate standard pattern data is not selected by the first DP matching process. The pattern recognition apparatus is characterized in that the second matching process is performed with a coarser accuracy than the second matching process.

【0009】[0009]

【発明の実施例】以下、図面を用いて本発明を詳細に説
明する。図1はプロセッサを用いた本発明の第1の実施
例の構成図である。マイクロホン1はAGC回路2を介
してBPF回路3に接続されている。そしてBPF回路
3の出力はA/Dコンバータ4に加わる。プロセッサ(
CPU)6に接続しているバスライン7には前述のA/
Dコンバータ4の他にリードオンリメモリ(ROM)8
、ランダムアクセスメモリ(RAM)9、入出力コント
ロールシステム(IOCS)10が接続されている。 そして入出力コントロールシステム(IOCS)10は
他の装置例えばパーソナルコンピュータ11に接続され
ている。マイクロホン1に入った音声は音声信号すなわ
ち電気信号に変換される。この電気信号は人の話す声の
大きさあるいは話す人の口とマイクの距離によってその
レベルが異なるので、ほぼ一定のレベルとする為、AG
C回路2に入力する。AGC回路はその出力がほぼ一定
となる様に利得が変化する回路である。AGC回路2の
出力すなわち一定のレベルとなった音声信号はBPF回
路3に加わる。BPF回路3は例えば音声帯域を8分割
する様に複数のバンドパスフィルタを有し、このBPF
回路3によって特定の帯域に8分割される。帯域別に8
分割された音声信号はA/Dコンバータ4に加わり、各
帯域の音声信号の例えばパワーをデジタル量に変換する
。A/Dコンバータ4はBPF回路3の出力の1帯域す
なわち1チャンネルに対し8bitのデータに変換する
ので合計64bitのデータが例えば8bit単位でバ
スライン7に出力される。前述のA/Dコンバータ4は
バスライン7を介してプロセッサ(CPU)6によって
制御されており、前述の64bitのデータはチャンネ
ル単位で分割されてランダムアクセスメモリ(RAM)
9に記憶される。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be explained in detail below with reference to the drawings. FIG. 1 is a block diagram of a first embodiment of the present invention using a processor. Microphone 1 is connected to BPF circuit 3 via AGC circuit 2. The output of the BPF circuit 3 is then applied to the A/D converter 4. Processor (
The bus line 7 connected to the CPU) 6 has the aforementioned A/
Read only memory (ROM) 8 in addition to D converter 4
, random access memory (RAM) 9, and input/output control system (IOCS) 10 are connected. The input/output control system (IOCS) 10 is connected to other devices such as a personal computer 11. The sound entering the microphone 1 is converted into an audio signal, that is, an electrical signal. The level of this electrical signal varies depending on the volume of the person's speaking voice or the distance between the speaker's mouth and the microphone, so the AG
Input to C circuit 2. The AGC circuit is a circuit whose gain changes so that its output remains approximately constant. The output of the AGC circuit 2, that is, the audio signal at a constant level, is applied to the BPF circuit 3. The BPF circuit 3 has a plurality of band pass filters so as to divide the audio band into 8, for example, and this BPF
The circuit 3 divides the signal into eight specific bands. 8 by band
The divided audio signals are applied to the A/D converter 4, which converts, for example, the power of the audio signals in each band into digital quantities. Since the A/D converter 4 converts one band, that is, one channel, of the output of the BPF circuit 3 into 8-bit data, a total of 64-bit data is output to the bus line 7 in units of 8 bits, for example. The aforementioned A/D converter 4 is controlled by a processor (CPU) 6 via a bus line 7, and the aforementioned 64-bit data is divided into channels and stored in a random access memory (RAM).
9 is stored.

【0010】プロセッサ(CPU)6は前述のA/Dコ
ンバータ4の制御とデータの格納の他にDP法における
計算処理すなわちDP演算とパーソナルコンピュータ1
1に結果を入出力コントロールシステム(IOCS)1
0を介して出力する制御を行う。これらの演算と制御は
リードオンリメモリ(ROM)8に予め格納されている
プログラムをプロセッサ(CPU)6が実行することに
よってなされる。そしてランダムアクセスメモリ(RA
M)9はその時のワークエリアとしても使用される。
In addition to controlling the A/D converter 4 and storing data, the processor (CPU) 6 also performs calculation processing in the DP method, that is, DP operation, and the personal computer 1
1. Input/output control system (IOCS) 1
Controls output via 0. These calculations and controls are performed by a processor (CPU) 6 executing a program stored in a read-only memory (ROM) 8 in advance. and random access memory (RA)
M) 9 is also used as a work area at that time.

【0011】図2は前述のDP演算処理を説明するため
のフローチャート図である。A/Dコンバータ4よりデ
ータが入力するとDP演算処理がスタート12し、先ず
、前段DP演算13を行う。この前段DP演算13は予
めランダムアクセスメモリ(RAM)9に格納されてい
る標準データとの距離を求めるものである。しかしなが
らこの演算はすべての入力データに対して行うのではな
く、特定のデータ間隔例えば、入力するデータのうち3
回に1回行う。尚1回の測定データは前述した様に全部
で64bitより成る。特定の時間例えば1単語の音声
データが全て入力し、それに対応した演算が全て終了す
ると、次の候補選定処理14を実行する。先に実行した
前段DP演算13は3回のうち1回の入力データに対し
てDP演算を行ったものであり、その演算は当然ながら
確実さを欠いている。その為に特定の範囲に入った距離
結果の標準パターンデータに対して再度DP演算を行う
為の選定処理を行う。この選定処理が候補選定処理14
である。しかしながら前段DP演算13によって1個の
標準パターンデータのみの距離が予め定めた距離内に入
っている場合には再度DP演算を行わず、その標準パタ
ーンが入力データであると決定15し、図1に示した入
出力コントロールシステム(IOCS)10を介してパ
ーソナルコンピュータ11に出力する。また、予め定め
た距離内に入ったものがない場合には入力したデータは
認識できないとして無効16とする。さらに、前述の特
定の距離内に複数の標準パターンを用いた演算結果が入
りさらに第1の候補との距離の差が特定の範囲に入った
場合には最小距離のパターンから例えば五番目までを候
補として選定する。尚、第1の候補との距離の差が特定
範囲に五個以下しか入らなかった場合にはその数のもの
だけを候補として選定する。候補を決定すると、候補選
定処理14を終了し、次の後段DP演算17を実行する
。前段DP演算13においては入力したデータ並びに時
間に対応して並んでいる標準パターンデータを3回に1
回用いて演算しているが、後段DP演算17は選択され
た標準パターンデータのそれぞれの全てのデータに対し
ての最小距離を求める。そしてそれぞれの選定された標
準パターンデータに対応して最小距離の中で最も小さい
値の標準パターンを入力したデータと一致しているとし
て決定15し出力する。
FIG. 2 is a flowchart for explaining the above-mentioned DP calculation process. When data is input from the A/D converter 4, DP calculation processing starts 12, and first, a pre-stage DP calculation 13 is performed. This pre-stage DP calculation 13 is for finding the distance from standard data stored in the random access memory (RAM) 9 in advance. However, this operation is not performed for all input data, but for specific data intervals, for example, 3 out of 3 input data.
Do it once a time. Note that one measurement data consists of 64 bits in total as described above. When all the audio data of one word, for example, has been input for a specific time and all the corresponding calculations have been completed, the next candidate selection process 14 is executed. The first-stage DP operation 13 executed earlier is a DP operation performed on input data once out of three times, and the operation naturally lacks reliability. For this purpose, selection processing is performed to perform the DP calculation again on standard pattern data whose distance results fall within a specific range. This selection process is candidate selection process 14.
It is. However, if the distance of only one standard pattern data is within the predetermined distance by the previous stage DP calculation 13, the DP calculation is not performed again, and the standard pattern is determined to be the input data 15, and as shown in FIG. The data is output to a personal computer 11 via an input/output control system (IOCS) 10 shown in FIG. Further, if there is no object within a predetermined distance, the input data is deemed to be unrecognizable and invalid 16. Furthermore, if the calculation results using multiple standard patterns are within the above-mentioned specific distance and the difference in distance from the first candidate is within a specific range, the patterns from the minimum distance to, for example, the fifth one are Select as a candidate. Note that if the difference in distance from the first candidate falls within the specific range of five or less, only that number of objects are selected as candidates. Once a candidate is determined, the candidate selection process 14 is ended, and the next subsequent stage DP calculation 17 is executed. In the first stage DP calculation 13, the standard pattern data arranged according to the input data and time are calculated once every three times.
However, the subsequent DP calculation 17 calculates the minimum distance for all data of each of the selected standard pattern data. Then, corresponding to each selected standard pattern data, the standard pattern having the smallest value among the minimum distances is determined to match the input data (15) and is output.

【0012】図3は前述候補選定処理14を更に詳細に
示すフローチャート図である。スタート14−1の後、
先ず、標準パターンに対する最小距離D(1)を検出し
、第1の特定の値Drejと比較14−2する。すなわ
ちD(1)をDrejで減算し、キャリーが有るか否か
を判別するのである。キャリーなしでD(1)≧Dre
j(Y)の場合には無効16とする。これは前段DP演
算において、距離が離れすぎた為に後段DP演算を行っ
ても目的の標準パターンが存在しない可能性が大である
ことを意味するものであり、第1の特定値Drejは、
そのスレッシホールド値である。キャリー有りでD(1
)<Drej(N)の場合には、第2番目の最小距離D
(2)との差分値が第2の特定値Ddec以上であるか
否かを判別14−3する。前段DP演算における処理は
後段DP演算における処理より誤差は大であるが、第1
の候補すなわちD(1)の距離の標準パターンと第2の
候補、すなわちD(2)の距離の標準パターンとの差が
前述の第2の特定値Ddec以上あれば、後段の演算処
理を行っても、その候補順位に変化はみられない。 これによって、第2の特定値以上の差が生じている場合
には第1の候補を一致したとして決定15する。すなわ
ち(D(2)−D(1))≧Ddecを満足(Y)する
として決定15する。
FIG. 3 is a flow chart showing the aforementioned candidate selection process 14 in more detail. After a 14-1 start,
First, the minimum distance D(1) with respect to the standard pattern is detected and compared 14-2 with a first specific value Drej. That is, D(1) is subtracted by Drej to determine whether there is a carry or not. D(1)≧Dre without carry
In the case of j(Y), it is set as invalid 16. This means that in the first stage DP calculation, there is a high possibility that the target standard pattern does not exist even if the second stage DP calculation is performed because the distance is too far, and the first specific value Drej is
This is the threshold value. D with carry (1
)<Drej(N), then the second minimum distance D
It is determined 14-3 whether the difference value with (2) is greater than or equal to the second specific value Ddec. The processing in the first stage DP calculation has a larger error than the processing in the second stage DP calculation, but the first
If the difference between the candidate, that is, the standard pattern of the distance of D(1), and the second candidate, that is, the standard pattern of the distance of D(2) is greater than or equal to the second specific value Ddec, the subsequent calculation process is performed. However, there is no change in the ranking of candidates. As a result, if the difference is greater than or equal to the second specific value, the first candidate is determined to be a match (15). That is, it is determined that (D(2)-D(1))≧Ddec is satisfied (Y).

【0013】前述の差が少ない場合には前段処理におけ
る誤差範囲であるので、第1〜第5の候補を選択14−
4する。すなわち、第1の候補の最小距離D(1)との
差が第3の特定値DDPより小となる候補D(n)を求
める。そして、第1の候補から5番目までの候補を選択
する。すなわち第1の候補との差が第3の特定値DDP
以下である標準パターンのうち最小値から5番目以内を
選択する。前述の選択処理14−4が終了すると候補選
定処理14は終了14−5する。
If the above-mentioned difference is small, it is within the error range in the previous stage processing, so the first to fifth candidates are selected 14-
4. That is, a candidate D(n) whose difference from the first candidate's minimum distance D(1) is smaller than the third specific value DDP is determined. Then, the first to fifth candidates are selected. In other words, the difference from the first candidate is the third specific value DDP
Select the fifth standard pattern from the minimum value among the following standard patterns. When the aforementioned selection process 14-4 ends, the candidate selection process 14 ends 14-5.

【0014】図2において、標準パターンの時間に対応
した全てのデータについて行うのは後段DP演算17で
あり、その時の標準パターンは最大五個であるので、こ
の演算時間は全ての標準パターンに対して行う演算と比
べはるかに速い。例えば標準パターンが64個あった場
合には最大で5/64に短縮される。また前段DP演算
は3回に1回の割合で行うので1個の標準パターンの全
てのデータに対して行うのに比べその演算処理ははるか
に少ない。
In FIG. 2, it is the latter stage DP calculation 17 that is performed on all the data corresponding to the time of the standard pattern, and since there are a maximum of five standard patterns at that time, this calculation time is the same for all the standard patterns. It is much faster than calculations performed by For example, if there are 64 standard patterns, the number can be shortened to 5/64 at the maximum. Furthermore, since the pre-stage DP calculation is performed once every three times, the calculation processing is much less than when it is performed on all data of one standard pattern.

【0015】さらに、候補選択しておいて、候補の数が
5個以下になる場合、またさらには決定してしまう場合
があり、その処理時間は全てDP演算を行った処理と比
べはるかに速い。
Furthermore, after selecting candidates, there are cases where the number of candidates becomes less than 5, or even when they are determined, and the processing time is much faster than when all DP calculations are performed. .

【0016】図4は本発明の第2の実施例の回路構成図
である。図1に示した本発明の実施例はプロセッサにお
いて演算とその制御を行っているが、図4の実施例は全
て回路によって制御され、さらに演算も回路によってな
される。A/Dコンバータ18には図1に示したBPF
回路3の出力が加わり、その出力はパラメータ正規化圧
縮部19を介してレベル検出部21、入力パターンメモ
リ20に入力する。レベル検出部21の検出出力はタイ
ミング制御部22に加わる。そしてタイミング制御部2
2の制御出力はA/Dコンバータ18、パラメータ正規
化圧縮部19、フレームカウンタ23、制御部24に入
力する。入力パターンメモリ20、標準パターンメモリ
25、ワークエリアメモリ26、最小距離メモリ27に
は制御部24より出力されるアドレス出力が加わる。
FIG. 4 is a circuit diagram of a second embodiment of the present invention. Although the embodiment of the present invention shown in FIG. 1 performs calculations and controls thereof in a processor, the embodiment shown in FIG. 4 is entirely controlled by a circuit, and furthermore, calculations are also performed by a circuit. The A/D converter 18 has a BPF shown in FIG.
The output of the circuit 3 is added, and the output is inputted to the level detection section 21 and the input pattern memory 20 via the parameter normalization compression section 19. The detection output of the level detection section 21 is applied to the timing control section 22. and timing control section 2
The control output No. 2 is input to the A/D converter 18, the parameter normalization compression section 19, the frame counter 23, and the control section 24. The input pattern memory 20, the standard pattern memory 25, the work area memory 26, and the minimum distance memory 27 are supplied with the address output from the control section 24.

【0017】距離演算部28には入力パターンメモリ2
0、標準パターンメモリ25の出力が加わり、その出力
は部分和演算部29を介してワークエリアメモリ26に
入力する。ワークエリアメモリ26の出力は部分和演算
部29と最小距離算出部30に加わる。最小距離算出部
30にはこの他に標準パターンフレーム長メモリ31の
出力、フレームカウンタ23の出力がゲート回路32を
介して、ならびにゲート回路33とフレーム数補正部3
4を介して加わる。最小距離算出部30の出力端子は最
小距離メモリ27の入力端子に接続されており、最小距
離メモリ27の出力端子は候補選択部35の入力端子に
接続される。候補選択部35の出力は候補番号メモリ3
6と制御部24に加わる。そしてさらに決定結果37と
して出力される。候補番号メモリ36は制御部24に接
続される。制御部24の制御出力は距離演算部28、部
分和演算部29、最小距離算出部30、標準パターンフ
レーム長メモリ31、候補選択部35に加わる。さらに
、制御部24からはゲート回路32の制御端子に、また
インバータ38を介してゲート回路33の制御端子に制
御信号が入力する。尚、図中Aは接続されていることを
示すシンボルである。
The distance calculation section 28 includes an input pattern memory 2.
0, the output of the standard pattern memory 25 is added, and the output is input to the work area memory 26 via the partial sum calculation section 29. The output of the work area memory 26 is applied to a partial sum calculation section 29 and a minimum distance calculation section 30. In addition to this, the minimum distance calculation section 30 receives the output of the standard pattern frame length memory 31 and the output of the frame counter 23 via the gate circuit 32, as well as the gate circuit 33 and the frame number correction section 3.
Join via 4. The output terminal of the minimum distance calculation section 30 is connected to the input terminal of the minimum distance memory 27, and the output terminal of the minimum distance memory 27 is connected to the input terminal of the candidate selection section 35. The output of the candidate selection section 35 is stored in the candidate number memory 3.
6 and the control section 24. Then, it is further output as a decision result 37. Candidate number memory 36 is connected to control section 24 . The control output of the control section 24 is applied to a distance calculation section 28, a partial sum calculation section 29, a minimum distance calculation section 30, a standard pattern frame length memory 31, and a candidate selection section 35. Furthermore, a control signal is input from the control section 24 to the control terminal of the gate circuit 32 and to the control terminal of the gate circuit 33 via the inverter 38 . Note that A in the figure is a symbol indicating that the devices are connected.

【0018】A/Dコンバータ18に加わるそれぞれの
帯域分割された信号はデジタル量に変換されパラメータ
正規化圧縮部19に入力する。パラメータ正規化圧縮部
19においては最大値+1の値で入力データを正規化し
、処理に必要なビット数に変換すなわち有効ビット数以
下を切りすてる。また最大値が特定の値以下の時には、
特定値で入力データを正規化し、前述と同様に処理に必
要なビット数に変換する。これによって特定のビット数
に変換されたデータは入力パターンメモリ20に格納さ
れる。レベル検出部21は前述のパラメータ正規化圧縮
部19によって処理されたデータが特定の値すなわちス
レッシホールドレベルTH以上であるか否かを検出する
。このレベル検出部21によって得られた結果によって
タイミング信号を切換える動作をタイミング制御部22
は行う。これはA/Dコンバータ18、パラメータ正規
化圧縮部19が動作する場合に音声区間TSのスタート
を早く検出する為に行うものである。これによって入力
したパラメータ、すなわちデータDaがスレッシホール
ドレベルTH以下の時には高速のクロックTPSにおい
て、スレッシホールドレベルTH以上の時、すなわち音
声区間に入ると特定の遅いクロックでA/Dコンバータ
18並びにパラメータ正規化圧縮部19が動作する。 前述の動作によって得られたデータは音声区間TSにお
いて入力パターンメモリ20に格納される。前述した図
1のプロセッサを用いた処理装置の処理と同様に前段D
P演算と後段DP演算とを行うが、その処理は図4の本
発明の実施例の回路においては同じ回路でなされる。そ
してその前段DP演算であるか後段DP演算であるかは
制御部24の制御によって決まる。すなわち前段DP演
算と後段DP演算は、入力パターンメモリ20、標準パ
ターンメモリ25、ワークエリアメモリ26のアクセス
が異なるのみで、DP演算に関係する距離演算部28、
部分和演算部29、最小距離算出部30は全く同じ動作
となる。図1の説明において述べたように、その異なる
点は全てのデータに対してDP演算を行うのではなく、
3個に1個の演算となることであり、これは制御部24
より発生する各メモリのアドレス値が異なるだけである
Each band-divided signal applied to the A/D converter 18 is converted into a digital quantity and input to a parameter normalization compression section 19. The parameter normalization compression unit 19 normalizes the input data with a value of the maximum value + 1, converts it to the number of bits required for processing, that is, cuts the data below the effective number of bits. Also, when the maximum value is less than a certain value,
Normalize the input data with a specific value and convert it to the number of bits required for processing in the same way as described above. The data thus converted into a specific number of bits is stored in the input pattern memory 20. The level detection unit 21 detects whether the data processed by the parameter normalization compression unit 19 described above is equal to or higher than a specific value, that is, a threshold level TH. The timing control unit 22 controls the operation of switching the timing signal based on the result obtained by the level detection unit 21.
will do. This is done in order to quickly detect the start of the voice section TS when the A/D converter 18 and the parameter normalization compression section 19 operate. As a result, when the input parameter, that is, data Da, is below the threshold level TH, the A/D converter 18 and the A/D converter 18 and The parameter normalization compression unit 19 operates. The data obtained by the above-described operation is stored in the input pattern memory 20 during the voice section TS. Similar to the processing of the processing device using the processor of FIG. 1 described above, the first stage D
The P operation and the subsequent DP operation are performed in the same circuit in the circuit of the embodiment of the present invention shown in FIG. The control of the control unit 24 determines whether the DP calculation is the first stage DP calculation or the second stage DP calculation. That is, the first-stage DP calculation and the second-stage DP calculation differ only in access to the input pattern memory 20, standard pattern memory 25, and work area memory 26, and the distance calculation unit 28, which is related to the DP calculation,
The partial sum calculation section 29 and the minimum distance calculation section 30 operate in exactly the same way. As mentioned in the explanation of Figure 1, the difference is that instead of performing DP calculation on all data,
This means that one out of every three operations is performed by the control unit 24.
The only difference is the address value of each memory generated.

【0019】距離演算部28、部分和演算部29、最小
距離算出部30は前述した様にDP演算に関係する回路
部である。先ずDP演算について式を用いて説明する。 入力パターン|A|、標準パターン|B|をそれぞれ|
A|=|A|1 ,|A|2 ,・・・|A|j   
・・・(1)|B|=|B|1 ,|B|2 ,・・・
|B|i   ・・・(2)とする。|A|1 〜|A
|j ,|B|1 〜|B|i はある時間における特
徴ベクトルである。このある時間における特徴ベクトル
は例えば本発明の実施例においては8次元(音声帯域を
8分割)の特徴ベクトルであり、|A|j =(aj1
,aj2,・・・aj8)        ・・・(3
)|B|j =(bi1,bi2,・・・bi8)  
      ・・・(4)で表される。
The distance calculation unit 28, the partial sum calculation unit 29, and the minimum distance calculation unit 30 are circuit units related to the DP calculation, as described above. First, the DP calculation will be explained using equations. Input pattern |A|, standard pattern |B|, respectively |
A|=|A|1 , |A|2 , ... |A|j
...(1) |B|=|B|1 , |B|2 , ...
|B|i ... (2). |A|1 ~|A
|j, |B|1 to |B|i are feature vectors at a certain time. This feature vector at a certain time is, for example, an eight-dimensional feature vector (dividing the audio band into eight) in the embodiment of the present invention, and |A|j = (aj1
, aj2, ... aj8) ... (3
) | B | j = (bi1, bi2, ... bi8)
...It is expressed as (4).

【0020】DP演算における部分和g(i,j)は一
般的に
The partial sum g(i,j) in DP operation is generally

【0021】[0021]

【数1】[Math 1]

【0022】で表される。ここでd(i,j)は各特徴
ベクトル間の距離であり、
It is expressed as: Here, d(i,j) is the distance between each feature vector,

【0023】[0023]

【数2】[Math 2]

【0024】で定義される。またdwは片側の窓幅であ
り窓幅をWとするならばW=2dW+1となる。前述の
(5)式はDP演算における部分和を表す式であり、パ
ターン間距離はg(I,J)で得られる。一方、音声認
識等の場合には入力パターンデータ並びに標準パターン
データはそれぞれ入力時間が異なる。すなわち、(1)
(2)式におけるI,Jが一定ではないので、サンプル
数で正規化しなくてはならない。本発明の実施例におい
てはこのサンプル数が入力パターンデータ、標準パター
ンデータでそれぞれ異なるので、最終パターン間距離G
(I,J)は
It is defined as: Further, dw is the window width on one side, and if the window width is W, then W=2dW+1. The above-mentioned equation (5) is an equation expressing a partial sum in the DP calculation, and the inter-pattern distance is obtained by g(I, J). On the other hand, in the case of voice recognition and the like, input pattern data and standard pattern data each have different input times. That is, (1)
Since I and J in equation (2) are not constant, they must be normalized by the number of samples. In the embodiment of the present invention, the number of samples differs between the input pattern data and the standard pattern data, so the final inter-pattern distance G
(I, J) is

【0025】[0025]

【数3】[Math 3]

【0026】となる。一方、本発明の図4の実施例にお
いては変数変換して演算を行っている。すなわち、i=
m+j−dw−1                 
   ・・・(7)ただし1≦m≦wl=j     
                         
    ・・・(8)l′=j−1         
                   ・・・(9)
としてm,l,l′に関係する式を用いて演算を行う。 (7)〜(9)式を(5),(6)式に代入し、変換す
ると、e(dw+1,1)=2d(1,1)     
 ・・・(10)
[0026] On the other hand, in the embodiment of the present invention shown in FIG. 4, calculations are performed by converting variables. That is, i=
m+j-dw-1
...(7) However, 1≦m≦wl=j

...(8) l'=j-1
...(9)
Calculations are performed using equations related to m, l, and l'. Substituting equations (7) to (9) into equations (5) and (6) and converting, e(dw+1,1)=2d(1,1)
...(10)

【0027】[0027]

【数4】[Math 4]

【0028】となる。そして変換後の最終パターン間距
離E(M,L)は
[0028] And the final inter-pattern distance E(M,L) after conversion is

【0029】[0029]

【数5】[Math 5]

【0030】但しM=I−J+dw+1       
             ・・・(13)L=J  
                         
       ・・・(14)で表される。
[0030] However, M=I-J+dw+1
...(13) L=J

... is expressed as (14).

【0031】(10)′式において、m≠dw+1,1
≦m≦wではe(m,1)は無限大としている。これは
後述するが、メモリ内において(11)式の最小値を格
納する為に(10)式の演算と同時あるいはその演算の
前に最大値をメモリに格納する。
In formula (10)', m≠dw+1,1
When ≦m≦w, e(m, 1) is assumed to be infinite. This will be described later, but in order to store the minimum value of equation (11) in the memory, the maximum value is stored in the memory at the same time as or before the calculation of equation (10).

【0032】図4についてさらに説明を続ける。距離演
算部28は前述の特徴ベクトル間の距離d(i,j)を
求める回路である。すなわち、入力パターンメモリ20
と標準パターンメモリ25より入力する各データより(
5)′式の演算を行う。そしてその演算結果を部分和演
算部29に出力する。部分和演算部29は距離演算部2
8より得られる演算結果とワークエリアメモリ26より
得られるデータより(10)(11)式の演算を行う。
The description of FIG. 4 will be continued further. The distance calculation unit 28 is a circuit that calculates the distance d(i, j) between the aforementioned feature vectors. That is, the input pattern memory 20
and each data input from the standard pattern memory 25 (
5) Calculate the expression '. Then, the calculation result is output to the partial sum calculation section 29. The partial sum calculation unit 29 is the distance calculation unit 2
The calculations of equations (10) and (11) are performed using the calculation results obtained from step 8 and the data obtained from work area memory 26.

【0033】前段DP演算は入力データすなわち前述各
特徴ベクトルのうち3個に1個の割合で演算を行ってい
る。すなわち、入力データの|A|1 ,|A|4 ・
・・|A|3P+1に関してのみ演算する。標準パター
ンデータも同様に3個に1個の割合で標準パターンメモ
リ25から|B|1 ,|B|4 ・・・|B|3P′
+1が読出されて演算に用いられている。
The first-stage DP calculation is performed on one out of three input data, ie, each of the above-mentioned feature vectors. That is, the input data |A|1 , |A|4 ・
...|A| Calculate only regarding 3P+1. Similarly, standard pattern data is also extracted from the standard pattern memory 25 at a rate of one in three pieces |B|1, |B|4...|B|3P'
+1 is read out and used for calculation.

【0034】尚、後段DP演算においては全てのデータ
が用いられる。最小距離算出部30は後述する音声区間
終了後に動作する回路である。この最小距離算出部30
はワークエリア26内の距離データから各標準パターン
データの最小値を求める。すなわち、前述(12)式の
E(M,L)を求める回路である。
Note that all data are used in the subsequent DP calculation. The minimum distance calculation unit 30 is a circuit that operates after the end of the voice section, which will be described later. This minimum distance calculation unit 30
calculates the minimum value of each standard pattern data from the distance data in the work area 26. That is, this is a circuit for determining E(M,L) of the above-mentioned equation (12).

【0035】先ず前述(13),(14)式を満たすM
,Lに該当するe(M,L)をワークエリアメモリ26
より求める。さらに標準パターンフレーム長メモリ31
より出力されるIとフレームカウンタ23より出力され
るデータJを加算し、その結果でe(M,L)を割る。 そしてその結果を最小距離メモリ27に格納する。 ただし、前段処理の場合、入力パターン、標準パターン
のフレーム長はほぼ3分の1になっているが、I,Jは
整数であり、3で割切れるとは限らないので、これはI
,Jが3の倍数の時(I/3)+1,(J/3)+1と
し、I,Jが3の倍数プラス1の時{(I−1)/3}
+1,{(J−1)/3}+1とし、I,Jが3の倍数
プラス2の時{(I−2)/3}+1,{(J−2)/
3}+1として標準パターン長メモリ31、フレーム数
補正部34から出力される。
First, M that satisfies the above equations (13) and (14)
, L corresponding to e(M,L) is stored in the work area memory 26.
Seek more. Furthermore, standard pattern frame length memory 31
The I output from the frame counter 23 and the data J output from the frame counter 23 are added, and e(M, L) is divided by the result. Then, the result is stored in the minimum distance memory 27. However, in the case of pre-processing, the frame length of the input pattern and standard pattern is approximately one third, but since I and J are integers and are not necessarily divisible by 3, this is
, when J is a multiple of 3, (I/3) + 1, (J/3) + 1, and when I and J are multiples of 3 plus 1, {(I-1)/3}
+1, {(J-1)/3}+1, and when I and J are multiples of 3 plus 2, {(I-2)/3}+1, {(J-2)/
3}+1 is output from the standard pattern length memory 31 and the frame number correction unit 34.

【0036】このように、I/3,J/3は前段処理の
場合であり、後段処理の場合には標準パターンフレーム
長メモリ31からはIが、フレームカウンタ23からゲ
ートを介してJがそれぞれ入力される。
In this way, I/3 and J/3 are in the case of pre-processing, and in the case of post-processing, I is obtained from the standard pattern frame length memory 31 and J is obtained from the frame counter 23 via the gate. is input.

【0037】[0037]

【数6】[Math 6]

【0038】が演算される。候補選択部35は最小距離
メモリ27に格納された各標準パターンデータに対する
最小距離の中から、さらに最小値を有するものを求め、
候補番号メモリ36に標準パターンデータに対応したパ
ターンナンバー(1〜n)を格納する。候補選択部35
は前述したプロセッサを用いた2段DP演算と同様に、
条件によって候補番号メモリ36に格納する動作が異な
る。前段DP演算13によって1個の標準パターンデー
タのみの距離が予め定めた距離内に入っている場合には
決定として端子37に決定結果例えばパターンナンバー
を出力する。またこの結果は制御部24を介して入出力
制御システム(IOCS)10に出力される。この時に
は制御部24は後段DP演算処理の制御は行わず次の入
力パターンデータが入力するのを待つ。また予め定めた
距離内に入ったものがない場合には入力したデータは認
識できないとして制御部24に出力する。この場合にも
制御部24は認識不可能であることを入出力制御システ
ム(IOCS)10に出力する。さらに前述の特定距離
内に複数の標準パターンを用いた演算結果が入りさらに
第1の候補との距離の差が特定の範囲に入った場合には
最小距離のパターンから例えば五番目までを候補として
選定する。尚、特定範囲内に五個以下しか入らなかった
場合、さらには第1の候補との距離の差が特定範囲に入
らなかった場合にはその数のものだけを候補として選定
する。すなわち、この場合には候補番号メモリ36には
2〜5個の番号が格納される。尚、候補番号メモリ36
への番号の格納は前段処理を行った場合にのみ格納され
るものであり、後段演算においてはこの候補選択部は最
小値を検出後そのナンバー(1〜n)を制御部24に出
力する。
##EQU1## is calculated. The candidate selection unit 35 further finds the one having the minimum value from among the minimum distances for each standard pattern data stored in the minimum distance memory 27,
Pattern numbers (1 to n) corresponding to the standard pattern data are stored in the candidate number memory 36. Candidate selection section 35
Similar to the two-stage DP operation using the processor described above,
The operation of storing in the candidate number memory 36 differs depending on the conditions. If the distance of only one standard pattern data is within a predetermined distance according to the pre-stage DP calculation 13, the determination result, for example, the pattern number, is output to the terminal 37 as a determination. Further, this result is output to the input/output control system (IOCS) 10 via the control unit 24. At this time, the control unit 24 waits for the next input pattern data to be input without controlling the subsequent DP calculation process. If there is no object within a predetermined distance, the input data is determined to be unrecognizable and output to the control unit 24. In this case as well, the control unit 24 outputs to the input/output control system (IOCS) 10 that recognition is not possible. Furthermore, if calculation results using multiple standard patterns are found within the above-mentioned specific distance, and the difference in distance from the first candidate falls within a specific range, the pattern with the smallest distance, for example, up to the fifth one is selected as a candidate. Select. Note that if only five or fewer objects fall within the specific range, or furthermore, if the difference in distance from the first candidate does not fall within the specific range, only that number of objects are selected as candidates. That is, in this case, two to five numbers are stored in the candidate number memory 36. In addition, the candidate number memory 36
The number is stored only when the pre-processing is performed, and in the post-processing, the candidate selection section detects the minimum value and then outputs the number (1 to n) to the control section 24.

【0039】前述の距離演算部28、部分和演算部29
、最小距離算出部30、候補選択部35はそれぞれ前段
DP演算、後段DP演算の場合に共通に使用されるもの
である。
The aforementioned distance calculation unit 28 and partial sum calculation unit 29
, the minimum distance calculation section 30, and the candidate selection section 35 are used in common in the case of the first-stage DP calculation and the second-stage DP calculation, respectively.

【0040】レベル検出部21は前述した様にパラメー
タ正規化圧縮部19のレベルすなわちパラメータDaが
特定値(スレッシホールドレベルTH)以上であるか否
かを判別する回路であり、スレッシホールドレベルTH
以上の検出でクロックTPSがTS に変化してDP演
算処理を開始させるが、逆に演算処理中に検出した場合
には候補の退避を行わせる信号となる。タイミング制御
部22はこれらのタイミングを制御する回路である。
As described above, the level detection unit 21 is a circuit that determines whether the level of the parameter normalization compression unit 19, that is, the parameter Da, is equal to or higher than a specific value (threshold level TH). T.H.
With the above detection, the clock TPS changes to TS to start the DP calculation process, but if it is detected during the calculation process, it becomes a signal that causes the candidate to be saved. The timing control section 22 is a circuit that controls these timings.

【0041】図5はタイミング制御部22の回路構成図
である。レベル検出部21からの検出信号はフリップフ
ロップ40のセット端子S、カウンタ51のリセット端
子Rとインバータ41を介してアンドゲート42,43
のゲートに加わる。フリップフロップ40の出力Qはア
ンドゲート44,45のゲートとインバータ46を介し
てアンドゲート47のゲートに接続される。タイミング
発生部48のクロック出力TS ,TPSはアンドゲー
ト45,47を介してオアゲート49に入力する。オア
ゲート49の出力はA/Dコンバータ4及びパラメータ
正規化圧縮部19に接続される。アンドゲート45の出
力TS′は3進のカウンタ50の入力とアンドゲート4
2,44のゲートに加わる。アンドゲート44の出力は
フレームカウンタ23に接続される。アンドゲート42
の出力はカウンタ51に加わり、そのカウンタ51のN
O.7出力はフリップフロップ40のリセット端子Rに
加わるとともに終端出力として制御部24に出力される
。タイミング発生部のクロック出力、アンドゲート43
の出力、フリップフロップ40の出力Qは制御部24に
加わる。カウンタ50のNO.2出力はタイミング発生
部48とアンドゲート43に接続される。
FIG. 5 is a circuit diagram of the timing control section 22. As shown in FIG. The detection signal from the level detection section 21 is passed through the set terminal S of the flip-flop 40, the reset terminal R of the counter 51, and the inverter 41 to the AND gates 42, 43.
join the gate. The output Q of the flip-flop 40 is connected to the gate of an AND gate 47 via the gates of AND gates 44 and 45 and an inverter 46. Clock outputs TS and TPS of the timing generator 48 are input to an OR gate 49 via AND gates 45 and 47. The output of the OR gate 49 is connected to the A/D converter 4 and the parameter normalization compression section 19. The output TS' of the AND gate 45 is the input of the ternary counter 50 and the AND gate 4.
Join gate 2,44. The output of the AND gate 44 is connected to the frame counter 23. and gate 42
The output of the counter 51 is added to the counter 51, and the output of the counter 51 is
O. The 7 output is applied to the reset terminal R of the flip-flop 40 and is output to the control section 24 as a terminal output. Clock output of timing generator, AND gate 43
The output of the flip-flop 40 and the output Q of the flip-flop 40 are applied to the control section 24. Counter 50 NO. The two outputs are connected to the timing generator 48 and the AND gate 43.

【0042】図6はタイミング制御部22のタイミング
チャート図である。以下図6を用いてタイミング制御部
22の動作を説明する。フリップフロップ40がリセッ
ト状態の時にはその出力Qはローレベル(Lレベル)で
あるのでアンドゲート44,45はオフとなる。しかし
ながら、その信号はインバータ46に加わっているので
、インバータ46の出力はハイレベル(Hレベル)とな
る。インバータ46の出力はアンドゲート47に加わっ
ているので、アンドゲート47がオンとなり、タイミン
グ発生部48より発生するクロックTPSがアンドゲー
ト47、オアゲート49を介して出力される。図6にお
けるクロックTPS′はアンドゲート47の出力を示す
信号である。パラメータDaがスレッシホールドレベル
THより大となると、レベル検出部21の出力はHレベ
ルとなりフリップフロップ40をセットするとともにカ
ウンタ51をリセットする。これによってフリップフロ
ップ40の出力はHレベルとなり、カウンタ51のカウ
ント値は0となる。フリップフロップ40の出力がHレ
ベルとなるとアンドゲート47はオフとなりアンドゲー
ト44,45がオンとなる。これによってタイミング発
生部48より発生するクロックTS がアンドゲート4
5、オアゲート49を介して出力される。オアゲート4
9の出力はA/Dコンバータ18並びにパラメータ正規
化圧縮部19のそれぞれのクロック端子に加わっている
ので、スレッシホールドレベル以下ではそのタイミング
はTPSで行われ、以上ではTS となる。例えばTS
 とTPSのクロック周波数の関係を1:3としておけ
ば、TS の3倍のクロックで低レベルを読出し、スレ
ッシホールドレベル以上になるとTS のクロックでサ
ンプリングを行いDP演算用のデータとして取込まれる
。アンドゲート45の出力すなわちクロックTS ′は
カウンタ50にも加わっているので、カウンタ50の出
力すなわち、カウンタ50は3進カウンタであるので1
/3分周された信号がタイミング発生部48を介してイ
ンバートされTFDP の信号として制御部24に加わ
る。TFDP 信号はそのタイミングで図3に示した回
路がDP演算を行うクロックとなる。またアンドゲート
44もオンとなるので、クロックTS ′が出力され、
フレームカウンタ23に加わる。また、フリップフロッ
プ40の出力Qは制御部24の始端信号端子に加わって
いるので、制御部24はフリップフロップ40がHレベ
ルとなった時に前段DP演算の制御を開始する。
FIG. 6 is a timing chart diagram of the timing control section 22. The operation of the timing control section 22 will be explained below using FIG. When the flip-flop 40 is in the reset state, its output Q is at a low level (L level), so the AND gates 44 and 45 are turned off. However, since that signal is applied to the inverter 46, the output of the inverter 46 becomes high level (H level). Since the output of the inverter 46 is applied to the AND gate 47, the AND gate 47 is turned on and the clock TPS generated by the timing generator 48 is outputted via the AND gate 47 and the OR gate 49. The clock TPS' in FIG. 6 is a signal indicating the output of the AND gate 47. When the parameter Da becomes higher than the threshold level TH, the output of the level detector 21 becomes H level, setting the flip-flop 40 and resetting the counter 51. As a result, the output of the flip-flop 40 becomes H level, and the count value of the counter 51 becomes 0. When the output of the flip-flop 40 becomes H level, the AND gate 47 is turned off and the AND gates 44 and 45 are turned on. As a result, the clock TS generated by the timing generator 48 is changed to the AND gate 4.
5. Output via OR gate 49. or gate 4
Since the output of 9 is applied to each clock terminal of the A/D converter 18 and the parameter normalization compression section 19, the timing is TPS below the threshold level, and TS above the threshold level. For example, T.S.
If the relationship between the clock frequency and the TPS clock frequency is set to 1:3, the low level is read out with a clock three times the TS, and when it exceeds the threshold level, it is sampled with the TS clock and taken in as data for DP calculation. . Since the output of the AND gate 45, that is, the clock TS' is also applied to the counter 50, the output of the counter 50, that is, the clock TS' is 1 because the counter 50 is a ternary counter.
The signal frequency-divided by /3 is inverted via the timing generator 48 and applied to the controller 24 as a TFDP signal. The TFDP signal serves as a clock for the circuit shown in FIG. 3 to perform the DP calculation at that timing. Furthermore, since the AND gate 44 is also turned on, the clock TS' is output.
It is added to the frame counter 23. Furthermore, since the output Q of the flip-flop 40 is applied to the start end signal terminal of the control section 24, the control section 24 starts controlling the previous stage DP calculation when the flip-flop 40 becomes H level.

【0043】一方、音声信号等は一時的にその信号レベ
ルが低下する場合がある。例えばガッコウ(学校)の様
に「ッ」の音はつまる音であり、音声としてはそのレベ
ルは低下している。しかしながら、これを終点としてし
まうと誤認識をともなうので、特定の時間レベルが低下
したことを検出して認識を行う。この特定の時間を検出
するのがカウンタ51である。フリップフロップ40が
セット状態でレベル検出部21がローレベルとなるとカ
ウンタ51はリセットが解除され、インバータ41を介
してHレベルが加わりアンドゲート42がオンとなる。 これによってアンドゲート45より発生するクロックが
アンドゲート42を介してカウンタ51に加わる。カウ
ンタ51は8進カウンタであり、リセット解除後クロッ
クが7クロック入力することによってNO.7出力がH
レベルとなる。7クロック以前で再度レベル検出部21
がHレベルとなるとカウンタ51はリセットされる。そ
して次にレベル検出部21より入力する信号がLレベル
になるとまた同様の動作をくりかえす。カウンタ51が
7クロックをカウントすると、NO.7出力がHレベル
となるので、フリップフロップ40はリセットされ、初
期状態となる。カウンタ51のNO.7出力は制御部2
4の終端決定の端子に加わっており、制御部24は後段
のDP演算を行う。一方、レベル検出部21の信号はイ
ンバータ41を介してゲート43にも加わっているので
、レベル検出部21の信号がLレベルとなるとゲート4
3にはHレベルが加わりカウンタ50の出力が待避信号
として制御部24に加わる。
[0043] On the other hand, the signal level of audio signals etc. may drop temporarily. For example, the sound "tsu" as in Gakkou (school) is a boring sound, and its level as a voice has decreased. However, if this is taken as the end point, erroneous recognition will occur, so recognition is performed by detecting a decrease in the level at a specific time. The counter 51 detects this specific time. When the flip-flop 40 is set and the level detection section 21 becomes low level, the reset of the counter 51 is canceled, and the H level is applied via the inverter 41, and the AND gate 42 is turned on. As a result, the clock generated by the AND gate 45 is applied to the counter 51 via the AND gate 42. The counter 51 is an octal counter, and when seven clocks are input after the reset is released, the counter 51 is an octal counter. 7 output is H
level. The level detection unit 21 is activated again before 7 clocks.
When becomes H level, the counter 51 is reset. Then, when the signal inputted from the level detection section 21 becomes L level, the same operation is repeated again. When the counter 51 counts 7 clocks, NO. 7 output becomes H level, the flip-flop 40 is reset and becomes the initial state. No. of counter 51. 7 output is control part 2
The control unit 24 performs the subsequent DP calculation. On the other hand, since the signal from the level detector 21 is also applied to the gate 43 via the inverter 41, when the signal from the level detector 21 becomes L level, the gate 43
3 is added with an H level, and the output of the counter 50 is applied to the control section 24 as a save signal.

【0044】待避信号すなわちアンドゲート43の出力
信号はレベル検出部21がLの状態ではカウンタ50の
出力に同期して制御部24に出力される。そして制御部
24では候補の待避を行う。待避とはワークエリアメモ
リ26に格納されているDP演算における部分和演算結
果よりデータを読出し、最小距離算出部30で最終的な
演算を標準パターン数(1〜n)行い最小距離メモリ2
7に格納しさらに候補選択部35での候補決定を行い候
補番号メモリ36に格納する動作を示している。この待
避はレベル検出部21の出力がLレベルになってから7
クロック(TS ′)後に行うことも可能である。しか
し、この待避をLレベル検出期間すなわち前述の7クロ
ック期間に行うことによって終端決定がなされると同時
に後段DP演算を実行することが可能となるので、本発
明の実施例ではその全処理における時間はさらに短くな
る。
The save signal, that is, the output signal of the AND gate 43, is outputted to the control section 24 in synchronization with the output of the counter 50 when the level detection section 21 is in the L state. The control unit 24 then saves the candidates. Saving refers to reading data from the partial sum operation result in the DP operation stored in the work area memory 26, and performing the final calculation in the minimum distance calculation unit 30 for the number of standard patterns (1 to n), and saving the data to the minimum distance memory 2.
7, the candidate selecting unit 35 determines the candidate, and stores the candidate number in the candidate number memory 36. This evacuation is performed after the output of the level detection section 21 becomes L level.
It is also possible to perform this after the clock (TS'). However, by performing this saving during the L level detection period, that is, the aforementioned 7 clock period, it becomes possible to execute the subsequent DP calculation at the same time as the termination determination is made, so in the embodiment of the present invention, the entire processing time is becomes even shorter.

【0045】図6に示したタイミングチャートにおいて
は音声区域で一時的なレベル低下が検出され、待避を行
っているが、さらに続くレベルがHレベルとなるので、
再度、前段DP演算処理を実行する。そして無音区間T
Snにおいて再度候補の待避を行い7クロック目で終端
を検出し、候補が決定する。前述の音声区間TSと無音
区間TSnが前段DP演算であり、候補決定から単語決
定の間で後段DP演算がなされる。この区間の単語決定
区間TJとなる。クロックTBDP  ,TFDP は
前段後段DP演算のクロックであり、制御部24はこの
クロックに同期して各演算部を制御する。図4にもどっ
てさらに説明する。タイミング制御部22より発生しフ
レームカウンタ23に入力するクロックは、フレームカ
ウンタ23においてカウントされる。このカウンタ23
によって入力パターンデータのフレーム数が求められる
。フレームカウンタ23の出力はゲート回路32,33
に加わる。制御部24の出力信号はゲート32の制御端
子とインバータ38を介してゲート33の制御端子に加
わっているのでゲート32,33は常時どちらか一方が
オンとなる構成となっている。前段DP演算の場合には
Lレベルが制御部24より出力されるのでゲート33が
オンとなりフレームカウンタ23の出力はゲート33を
介してフレーム数補正部34に加わる。フレーム数補正
部34は前述した様にフレームカウンタの値をほぼ1/
3にする回路であり、入力Jが3U(Uは整数)の時、
(J/3)+1を出力、入力Jが3U+1の時{(J−
1)/3}+1を出力、入力Jが3U+2の時{(J−
2)/3}+1を出力する。この出力が前段DP演算に
おいて最小距離算出部30において使用される。一方、
後段DP演算の時にはゲート32がオン、ゲート33が
オフとなり、フレームカウンタの出力Jがそのまま最小
距離算出部30に加わる。
In the timing chart shown in FIG. 6, a temporary level drop is detected in the audio area and evacuation is performed, but since the subsequent level becomes H level,
The pre-stage DP calculation process is executed again. And silent section T
At Sn, candidates are saved again, the end is detected at the 7th clock, and the candidate is determined. The aforementioned speech section TS and silent section TSn are the first-stage DP calculation, and the second-stage DP calculation is performed between candidate determination and word determination. This section becomes the word determination section TJ. The clocks TBDP and TFDP are the clocks for the front-stage and rear-stage DP calculations, and the control unit 24 controls each calculation unit in synchronization with these clocks. Returning to FIG. 4, further explanation will be provided. A clock generated by the timing control section 22 and input to the frame counter 23 is counted by the frame counter 23. This counter 23
The number of frames of input pattern data is determined by: The output of the frame counter 23 is the gate circuit 32, 33
join. Since the output signal of the control section 24 is applied to the control terminal of the gate 33 via the control terminal of the gate 32 and the inverter 38, one of the gates 32 and 33 is always on. In the case of the pre-stage DP calculation, the L level is output from the control unit 24, so the gate 33 is turned on and the output of the frame counter 23 is applied to the frame number correction unit 34 via the gate 33. As mentioned above, the frame number correction unit 34 adjusts the value of the frame counter by approximately 1/
3, and when the input J is 3U (U is an integer),
(J/3)+1 is output, when input J is 3U+1 {(J-
1)/3}+1 is output, when input J is 3U+2 {(J-
2)/3}+1 is output. This output is used in the minimum distance calculation section 30 in the pre-stage DP calculation. on the other hand,
During the subsequent DP calculation, the gate 32 is turned on and the gate 33 is turned off, and the output J of the frame counter is directly applied to the minimum distance calculating section 30.

【0046】また、標準パターンフレーム長メモリ31
は前述した様に制御部24において前段DP演算である
か後段DP演算であるかが制御されており、最小距離算
出部30にはそれに対応した各標準パターンのフレーム
数Iに関係した値すなわち、前段DP演算の時にはIが
3U′(U′は整数)の時(I/3)+1、Iが3U′
+1の時{(I−1)/3}+1、Iが3U′+2の時
(I−2)/3+1を出力し、後段DP演算の時にはI
をそのまま出力する。尚、Iは標準パターンメモリ25
に格納された標準パターンデータ(1〜n)に対応して
変化するものである。
In addition, the standard pattern frame length memory 31
As described above, the control unit 24 controls whether the calculation is the first-stage DP calculation or the second-stage DP calculation, and the minimum distance calculation unit 30 stores a value related to the number of frames I of each standard pattern corresponding to it, that is, In the first stage DP operation, when I is 3U'(U' is an integer), (I/3) + 1, I is 3U'
+1, outputs {(I-1)/3}+1, when I is 3U'+2, outputs (I-2)/3+1, and outputs I during subsequent DP calculation.
Output as is. In addition, I is the standard pattern memory 25
It changes in accordance with the standard pattern data (1 to n) stored in .

【0047】図7は図4における候補選択部35を詳細
に示す回路構成図である。最小距離メモリ27の出力は
最小値選択部35−1に入力する。最小値選択部35−
1の第1の出力は候補メモリ35−2の入力に接続され
第2の出力は後段DP演算時の決定信号として出力35
−3される。候補メモリ35−2のアドレス入力には制
御27からの信号をカウントするアドレスカウンタ35
−4の出力が加わる。そして候補メモリ35−2の出力
はラッチ35−5と比較回路35−6の第1の入力、選
択回路35−7の第1の入力に加わる。ラッチ35−5
の出力は比較回路35−8の入力、比較回路35−6の
第2の入力、選択回路35−7の第2の入力に接続され
る。比較回路35−6の比較出力は選択回路35−7に
入力するとともに制御部24に加わる。さらに決定出力
は候補選定処理14での決定として制御部24に入力す
るとともに決定として出力35−3′される。選択回路
35−7の出力は候補番号メモリ36に入力する。比較
回路35−8、35−6、選択回路35−7には第1〜
第3特定値Drej、Ddec、DDPのデータがそれ
ぞれ加わる。
FIG. 7 is a circuit diagram showing the candidate selection section 35 in FIG. 4 in detail. The output of the minimum distance memory 27 is input to the minimum value selection section 35-1. Minimum value selection section 35-
The first output of 1 is connected to the input of candidate memory 35-2, and the second output is output as a decision signal during subsequent DP calculation.
-3. An address counter 35 that counts signals from the control 27 is used to input the address of the candidate memory 35-2.
-4 output is added. The output of the candidate memory 35-2 is then applied to the latch 35-5, the first input of the comparison circuit 35-6, and the first input of the selection circuit 35-7. Latch 35-5
The output of is connected to the input of the comparison circuit 35-8, the second input of the comparison circuit 35-6, and the second input of the selection circuit 35-7. The comparison output of the comparison circuit 35-6 is input to the selection circuit 35-7 and is also applied to the control section 24. Furthermore, the decision output is input to the control unit 24 as a decision in the candidate selection process 14, and is also output as a decision 35-3'. The output of the selection circuit 35-7 is input to the candidate number memory 36. The comparison circuits 35-8, 35-6 and the selection circuit 35-7 include the first to
Data of the third specific values Drej, Ddec, and DDP are added, respectively.

【0048】アドレスカウンタ35−4に加わる信号B
、最小値選択部35−1、選択回路35−7に制御信号
B′並びに前述の第1〜第3の特定値Drej、Dde
c、DDPのデータは制御部24より加わるデータであ
る。最小値選択部35−1は最小距離メモリ27より順
次入力する最小距離データと候補メモリ35−2に格納
されているデータとの大小関係を比較する。候補メモリ
35−2は最小距離データの値の少ないものから5番目
までを記憶するメモリである。そして、この記憶されて
いるデータと入力されているデータとを最小値選択部3
5−1は小さい順に比較し、最小距離メモリ27より入
力するデータが対応する順位のデータであった場合には
対応する順位の位置にデータとその候補番号を格納し、
それ以降の順位のデータを順次シフトする。すなわち、
例えば、標準パターンの最小距離データの値が小さいも
のよりB2 、B7 、B1 、B8 、B4 と存し
、最小距離メモリ27より入力した標準パターンの最小
距離データB9 の値が小さいものより第3位であった
場合にはB1 の位置にB9 を格納し、B1 、B8
 をその後にシフトする。すなわち結果としてはB2 
、B7 、B9 、B1 、B8 となる。この様にし
て全ての標準パターンデータに対する最小距離データに
対して大小の比較処理を行うことによって、最小距離デ
ータの小さいものから5番に(D(1)〜D(5))ま
での値とその番号が候補メモリ35−2に格納される。 すなわち、無条件で第1〜第5の候補が選択されて格納
される。これらの動作の制御は制御部24から入力する
制御信号B、B′によってなされる。
Signal B applied to address counter 35-4
, the minimum value selection section 35-1 and the selection circuit 35-7 are supplied with the control signal B' and the above-mentioned first to third specific values Drej, Dde.
c, DDP data is data added from the control unit 24. The minimum value selection unit 35-1 compares the minimum distance data sequentially input from the minimum distance memory 27 with the data stored in the candidate memory 35-2. The candidate memory 35-2 is a memory that stores the fifth minimum distance data. Then, the stored data and the input data are selected by the minimum value selection unit 3.
5-1 compares in descending order, and if the data input from the minimum distance memory 27 is data of the corresponding rank, stores the data and its candidate number in the position of the corresponding rank;
Data for subsequent rankings is sequentially shifted. That is,
For example, B2, B7, B1, B8, and B4 are ranked higher than those whose minimum distance data of the standard pattern has a smaller value, and are ranked third than those whose minimum distance data B9 of the standard pattern input from the minimum distance memory 27 has a smaller value. If so, B9 is stored in the B1 position, and B1, B8
then shift. In other words, the result is B2
, B7, B9, B1, B8. In this way, by performing a size comparison process on the minimum distance data for all standard pattern data, the values (D(1) to D(5)) from smallest to smallest distance data are The number is stored in candidate memory 35-2. That is, the first to fifth candidates are unconditionally selected and stored. These operations are controlled by control signals B and B' input from the control section 24.

【0049】次に最小値の最小距離データすなわち第1
の候補D(1)が候補メモリ35−2より出力されラッ
チ回路35−5に格納される。そして、比較回路35−
8にも加わり第1の候補が前述の第1の特定値Drej
と比較される(図3ステップ14−2)。第1の候補D
(1)が第1の特定値Drej以上であると無効信号が
制御部24に出力されて無効と判断される。また第1の
特定値より第1の候補の値が小さい場合には有効信号が
制御部24に出力されることにより図3のステップ14
−3が示すように、アドレスカウンタ35−4が制御部
24の制御信号Bによってカウントが進み第2の候補の
最小距離データD(2)が格納されている候補メモリ3
5−2をアクセスし、候補メモリ35−2より第2の候
補の最小距離データD(2)が比較回路35−6の第1
の入力に加わる。比較回路35−6は図3のステップ1
4−3に示すように第1の入力に加わるデータと第2の
入力に加わるデータとの差を求め、その差が第2の特定
値Ddecより小さいか否かを判別する回路であり、前
述の比較回路35−8の出力によって動作する。すなわ
ち比較回路35−6の第2の入力には前述のラッチ35
−5に格納された第1の候補データD(1)が加わって
いるので、その差分を求め、第2の特定値Ddecと比
較する。その結果、差分値が第2の特定値Ddec以上
の場合には第1の候補を目的とする標準パターンとして
決定信号と決定番号を制御部24に出力する(図3ステ
ップ14−3)。尚、この時には選択回路35−7は動
作しない。また、前述と逆に第2の特定値Ddecより
差分値が小さい場合には、第1の候補の他にまた他の候
補が存在する可能性を有するので、それらの選択を行う
動作信号を選択回路35−7に出力する。選択回路35
−7は図3ステップ14−4に示すような選択を行う回
路であり、第1の入力と第2の入力との差分値が第3の
特定値DDPより大きいか否かを判別し第2〜第5の候
補を選択する回路である。最小値選択部35−1におい
て第1の候補から第5の候補までは選択されているが、
この最小値選択部35−1における選択には第1の候補
データからの差は求められていない。この差を求め、そ
の差が第3の特定値DDPより小さいか否かを判別する
のが選択回路である。すなわち、第1の入力に加わる信
号D(n)と第2の入力に加わる信号D(1)と差分を
求め、その差分値が第3の特定値DDPより小さい場合
にはその候補番号を候補番号メモリ36に出力する。比
較回路35−6より選択回路35−7の動作開始信号が
入力すると選択回路は前述の動作を開始する。
Next, the minimum distance data of the minimum value, that is, the first
Candidate D(1) is output from candidate memory 35-2 and stored in latch circuit 35-5. Then, the comparison circuit 35-
8 and the first candidate is the above-mentioned first specific value Drej
(Step 14-2 in FIG. 3). First candidate D
If (1) is greater than or equal to the first specific value Drej, an invalidation signal is output to the control unit 24 and it is determined to be invalid. In addition, if the value of the first candidate is smaller than the first specific value, a valid signal is output to the control unit 24, so that step 14 in FIG.
As indicated by -3, the address counter 35-4 is incremented by the control signal B of the control unit 24, and the candidate memory 3 stores the minimum distance data D(2) of the second candidate.
5-2, the minimum distance data D(2) of the second candidate from the candidate memory 35-2 is stored in the first
Participate in input. Comparison circuit 35-6 is shown in step 1 of FIG.
As shown in 4-3, this circuit calculates the difference between the data applied to the first input and the data applied to the second input, and determines whether the difference is smaller than the second specific value Ddec. It operates based on the output of the comparison circuit 35-8. That is, the second input of the comparison circuit 35-6 is connected to the latch 35 described above.
Since the first candidate data D(1) stored in -5 is added, the difference is calculated and compared with the second specific value Ddec. As a result, if the difference value is greater than or equal to the second specific value Ddec, a decision signal and a decision number are output to the control unit 24 as a standard pattern aiming at the first candidate (step 14-3 in FIG. 3). Note that the selection circuit 35-7 does not operate at this time. Moreover, contrary to the above, if the difference value is smaller than the second specific value Ddec, there is a possibility that other candidates exist in addition to the first candidate, so the operation signal that selects them is selected. Output to circuit 35-7. Selection circuit 35
-7 is a circuit that performs selection as shown in step 14-4 in FIG. - This is a circuit for selecting the fifth candidate. Although the first to fifth candidates are selected in the minimum value selection unit 35-1,
The selection by the minimum value selection unit 35-1 does not require a difference from the first candidate data. The selection circuit determines this difference and determines whether the difference is smaller than the third specific value DDP. That is, the difference between the signal D(n) applied to the first input and the signal D(1) applied to the second input is calculated, and if the difference value is smaller than the third specific value DDP, that candidate number is selected as the candidate. Output to number memory 36. When the operation start signal of the selection circuit 35-7 is inputted from the comparison circuit 35-6, the selection circuit starts the above-described operation.

【0050】この回路が動作を開始するのは、第1の入
力に第3の候補データが入力した時から始まるものであ
り、第1、第2の候補の候補番号はこの動作開始前に無
条件に選択回路35−7を介して候補番号メモリに順次
出力される。すなわち、比較回路35−6でD(2)−
D(1)<Ddecと判断された際に(図3ステップ1
4−3)、第1及び第2の候補番号をそれぞれ候補番号
メモリに出力し格納する。選択回路は第3の候補データ
から順次前述の判別動作をくりかえし、その差が第3の
特定値DDPより大きくなった時に候補番号メモリ36
にその候補番号を出力しなくなる。候補番号メモリ36
には最大5個の候補番号が記憶されるが、選択回路の判
別動作によってその数は2〜5と変化する。
This circuit starts operating when the third candidate data is input to the first input, and the candidate numbers of the first and second candidates are empty before starting this operation. The conditions are sequentially output to the candidate number memory via the selection circuit 35-7. That is, D(2)- in the comparison circuit 35-6
When it is determined that D(1)<Ddec (Figure 3 Step 1
4-3) Output and store the first and second candidate numbers in the candidate number memory, respectively. The selection circuit repeats the above-described discrimination operation sequentially starting from the third candidate data, and when the difference becomes larger than the third specific value DDP, the selection circuit selects the candidate number memory 36.
The candidate number will no longer be output. Candidate number memory 36
A maximum of 5 candidate numbers are stored in , but the number changes from 2 to 5 depending on the determination operation of the selection circuit.

【0051】前述した本発明の実施例では音声認識装置
を用いるが、これに限るものではない。例えば文字認識
装置等、パターンを認識するものであれば応用可能であ
る。
Although a voice recognition device is used in the embodiment of the present invention described above, the present invention is not limited to this. For example, it can be applied to anything that recognizes patterns, such as a character recognition device.

【0052】[0052]

【発明の効果】以上述べた様に本発明は前後2段による
DP演算を行うものであり、前後は候補選択を行うため
の処理であり、後段は高精度に前段によって得られた候
補からその目的のパターンを検出する処理である。前段
は全てのデータに対して処理するのではなく例えば3測
定ポイントに対して1回の距離演算を行うのでその処理
速度は速くまた、多くのワークメモリを必要としない。 又同様に後段においては、特定数の候補に対してのみD
P演算を行うので多くのメモリを必要とせず処理時間は
短い。
[Effects of the Invention] As described above, the present invention performs DP calculation in two stages, the front and rear stages are processes for selecting candidates, and the latter stage is a process for selecting candidates obtained in the first stage with high precision. This is a process of detecting a target pattern. The first stage does not process all data, but performs one distance calculation for, for example, three measurement points, so its processing speed is fast and it does not require a large amount of work memory. Similarly, in the latter stage, D is applied only to a specific number of candidates.
Since P calculation is performed, a large amount of memory is not required and the processing time is short.

【0053】そして本発明によれば前段DPマッチング
の結果によって目的の標準パターンの決定、あるいは2
〜5個の候補を選択して後段DP演算を行っているので
、平均的な処理時間は速くなる。
According to the present invention, the target standard pattern is determined based on the result of the previous stage DP matching, or
Since ~5 candidates are selected and the subsequent DP calculation is performed, the average processing time becomes faster.

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

【図1】プロセッサを用いた本発明の第1の実施例の構
成図である。
FIG. 1 is a configuration diagram of a first embodiment of the present invention using a processor.

【図2】DP演算処理を説明するフローチャート図であ
る。
FIG. 2 is a flowchart diagram illustrating DP calculation processing.

【図3】本発明の実施例の候補選定処理14をさらに詳
細に示すフローチャート図である。
FIG. 3 is a flowchart diagram showing further details of candidate selection processing 14 according to the embodiment of the present invention.

【図4】本発明の第2の実施例の回路構成図である。FIG. 4 is a circuit configuration diagram of a second embodiment of the present invention.

【図5】タイミング制御部の回路構成図である。FIG. 5 is a circuit configuration diagram of a timing control section.

【図6】タイミング制御部のタイミングチャート図であ
る。
FIG. 6 is a timing chart diagram of a timing control section.

【図7】本発明の実施例の候補選択部35の詳細な回路
図である。
FIG. 7 is a detailed circuit diagram of the candidate selection unit 35 according to the embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1  マイクロホン2  AGC回路3  BPF回路
4,18  A/Dコンバータ6プロセッサ8  リー
ドオンリメモリ9  ランダムアクセスメモリ10  
入出力コントロールシステム13  前段DP演算14
  候補選定処理15  後段DP演算19  パラメ
ータ正規化圧縮部20  入力パターンメモリ21  
レベル検出部22  タイミング制御部23  フレー
ムカウンタ24  制御部25  標準パターンメモリ
26  ワークエリアメモリ27  最小距離メモリ2
8  距離演算部29  部分和演算部30  最小距
離算出部31  標準パターンフレーム長メモリ32,
33  ゲート回路34  フレーム数補正部35  
候補選択部36  候補番号メモリ50,51  カウ
ンタ35−1  最小値選択部35−2  候補メモリ
35−4アドレスカウンタ35−5  ラッチ35−6
,35−8  比較回路35−7  選択回路
1 Microphone 2 AGC circuit 3 BPF circuit 4, 18 A/D converter 6 Processor 8 Read only memory 9 Random access memory 10
Input/output control system 13 Front stage DP calculation 14
Candidate selection processing 15 Post-stage DP calculation 19 Parameter normalization compression unit 20 Input pattern memory 21
Level detection section 22 Timing control section 23 Frame counter 24 Control section 25 Standard pattern memory 26 Work area memory 27 Minimum distance memory 2
8 distance calculation unit 29 partial sum calculation unit 30 minimum distance calculation unit 31 standard pattern frame length memory 32,
33 Gate circuit 34 Frame number correction section 35
Candidate selection section 36 Candidate number memories 50, 51 Counter 35-1 Minimum value selection section 35-2 Candidate memory 35-4 Address counter 35-5 Latch 35-6
, 35-8 Comparison circuit 35-7 Selection circuit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】入力パターンデータと予め格納されている
標準パターンデータとのパターンマッチングを行い認識
結果を決定するパターン認識装置において、前記入力パ
ターンデータに対して第1次DPマッチング処理により
複数の候補標準パターンデータを選択し、更にその中よ
り類似度が高いと判断されたものから第1の候補、第2
の候補とする候補選定手段と、前記第1の候補と前記入
力パターンデータとの距離が第1の特定値以上であると
判断された時は認識不能と判断し、認識不能を報知する
手段と、前記手段により認識不能と判断されなかった場
合において、前記第1の候補と前記第2の候補との距離
が第2の特定値以上であると判断された時は前記第1の
候補を認識結果として決定する手段と、前記手段により
認識結果が決定されなかった場合において、前記候補選
定手段により選択された複数の候補標準パターンデータ
の中から、第2次DPマッチング処理により認識結果を
決定する手段と、を有し、前記第1次DPマッチング処
理は前記第2次マッチング処理よりも粗い精度で行うこ
とを特徴とするパターン認識装置。
1. A pattern recognition device that determines a recognition result by performing pattern matching between input pattern data and pre-stored standard pattern data, wherein a plurality of candidates are determined by a primary DP matching process on the input pattern data. Select the standard pattern data, and select the first candidate and the second candidate from among those that are judged to have a higher degree of similarity.
and means for determining that the first candidate is unrecognizable when it is determined that the distance between the first candidate and the input pattern data is equal to or greater than a first specific value, and notifying that the input pattern data is unrecognizable. , in the case where it is not determined that the first candidate is unrecognizable by the means, and the distance between the first candidate and the second candidate is determined to be greater than or equal to a second specific value, the first candidate is recognized. means for determining a result, and when a recognition result is not determined by the means, determining a recognition result from a plurality of candidate standard pattern data selected by the candidate selection means by a second DP matching process; A pattern recognition device comprising means for performing the first DP matching process with a coarser accuracy than the second matching process.
JP3084180A 1991-04-16 1991-04-16 Pattern recognizing device Withdrawn JPH04218100A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3084180A JPH04218100A (en) 1991-04-16 1991-04-16 Pattern recognizing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3084180A JPH04218100A (en) 1991-04-16 1991-04-16 Pattern recognizing device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP58080437A Division JPS59204896A (en) 1983-05-09 1983-05-09 Candidate selection system for voice recognition equipment

Publications (1)

Publication Number Publication Date
JPH04218100A true JPH04218100A (en) 1992-08-07

Family

ID=13823287

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3084180A Withdrawn JPH04218100A (en) 1991-04-16 1991-04-16 Pattern recognizing device

Country Status (1)

Country Link
JP (1) JPH04218100A (en)

Similar Documents

Publication Publication Date Title
US4712243A (en) Speech recognition apparatus
US4535473A (en) Apparatus for detecting the duration of voice
EP0077194B1 (en) Speech recognition system
US5056150A (en) Method and apparatus for real time speech recognition with and without speaker dependency
JPS6350896A (en) Voice recognition equipment
US5751898A (en) Speech recognition method and apparatus for use therein
KR20020005205A (en) Efficient Speech Recognition System based on Auditory Model
US4868879A (en) Apparatus and method for recognizing speech
US5974381A (en) Method and system for efficiently avoiding partial matching in voice recognition
JPH04218100A (en) Pattern recognizing device
JPH0664478B2 (en) Pattern recognizer
JPH0354359B2 (en)
JPS59204894A (en) Stage dp matching system for voice recognition equipment
JPS59204895A (en) Voice recognition equipment
KR100298118B1 (en) Speech recognition device and method using similarity of HMM model
JPS6120880B2 (en)
JPS59204900A (en) Parameter normalizing compression system
JPH0568717B2 (en)
JPH0568716B2 (en)
JPS6328319B2 (en)
JPS6172299A (en) Voice recognition equipment
JPH0311479B2 (en)
JPS60138599A (en) Voice section detector
JPH0567037B2 (en)
JP2008107706A (en) Speech speed conversion apparatus and program

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19920611