A first embodiment according to the present invention will now be explained with reference to
As shown in
To the bus 5 are connected a Hard Disk Drive (HDD) 6 that stores various kinds of programs, a CD-ROM drive 8 that reads information in a Compact Disc (CD)-ROM 7 as a mechanism that reads computer software as a distributed program, a communication controller 10 that controls communication between the speech-duration detector 1 and a network 9, an input device 11, e.g., a keyboard or a mouse that instructs various kinds of operations, a display unit 12 that displays various kinds of information, e.g., a Cathode Ray Tube (CRT) or a Liquid Crystal Display (LCD) via an I/O (not shown).
Since the RAM 4 has properties of rewritably storing various kinds of data, it functions as a working area for the CPU 2 to serve as, e.g., a buffer.
The CD-ROM 7 shown in
It is to be noted that, as a storage medium, various kinds of optical disks such as a DVD, various kinds of magneto optical disks, various kinds of magnetic disks such as a flexible disk, and medias adopting various kinds of modes such as a semiconductor memory can be used as well as the CD-ROM 7. A program may be downloaded from the network 9, e.g., the Internet via the communication controller 10 to be installed in the HDD 6. In this case, a storage unit that stores the program in a server on a transmission side is also a storage medium in the present invention. It is to be noted that the program may operate in a predetermined Operating System (OS). In this case, the program may allow the OS to execute a part of after-mentioned various kinds of processing. Alternatively, the program may be included as a part of a program file group constituting a predetermined application software or the OS.
The CPU 2 that controls operations of the entire system executes various kinds of processing based on the program loaded in the HDD 6 used as a main storage unit in the system.
Of functions executed by the CPU 2 based on various kinds of programs installed in the HDD 6 of the speech-duration detector 1, characteristic functions of the speech-duration detector 1 according to the embodiment will now be explained.
The FSA unit 24 includes a starting-end detecting unit 241 that detects a starting end of a duration where a characteristic extracted by the characteristic extractor 23 exceeds a threshold value as a starting end of a speech-duration when the duration continues for a predetermined time, and a trailing-end detecting unit 242 that detects a starting end of a duration where a characteristic extracted by the characteristic extractor 23 is below a threshold value as a trailing end of a speech-duration when the duration continues for a predetermined time after the starting-end detecting unit 241 detects the starting end of the speech-duration. The trailing-end detecting unit 242 includes a trailing-end-candidate detecting unit 243 that detects a candidate point for a speech trailing end, and a trailing-end-candidate determining unit 244 that determines a trailing-end candidate point detected by the trailing-end-candidate detecting unit 243 as a speech trailing end.
A procedure of the processing will now be explained hereinafter. First, the A/D converter 21 converts an input signal required to detect a speech-duration into a digital signal from an analog signal. Then, the frame divider 22 divides the digital signal converted by the A/D converter 21 into frames each having a length of 20 to 30 milliseconds and an interval of approximately 10 to 20 milliseconds. At this time, a hamming window may be used as a windowing function required to perform framing processing. Then, the characteristic extractor 23 extracts a power from an acoustic signal of each frame divided by the frame divider 22. Thereafter, the FSA unit 24 uses the power of each frame extracted by the characteristic extractor 23 to detect a starting and a trailing ends of speech, and carries out speech recognition processing with respect to a detected duration.
The FSA unit 24 will now be explained in detail. As shown in
In the FSA shown in
Detection of a trailing end of speech will now be explained. In the trailing-end-candidate detection state, a threshold value 2 as a threshold value required to detect a trailing end is used to achieve a transition between the states of the FSA. In general, a magnitude of human voice is reduced toward a last half of utterance. Therefore, when a characteristic is a power, like the embodiment, a setting, e.g., the threshold value 1>the threshold value 2 enables threshold value setting that is optimum for detection of a starting end and a trailing end. As another threshold value setting method, the threshold value may be adaptively varied for each frame rather than setting a fixed value in advance. In the trailing-end-candidate detection state, when a duration where the power is lower than the threshold value 2 continues for the trailing-end-candidate detection time Te1 or more, a starting end of the duration is determined as a trailing-end-candidate point, and the trailing-end-candidate detection state shifts to the trailing-end-candidate determination state. In this case, transmitting trailing end information to the voice recognizer 25 at a rear stage upon detection of the candidate point can improve responsiveness of the entire system.
In the trailing-end-candidate determination state, after transition between the states, when a duration where the power is equal to or above the threshold value 2 does not continue for the starting end detection time Ts while the trailing end determination time Te2 elapses from measurement at the trailing-end-candidate point, the trailing-end-candidate point is determined as a trailing end of speech. In other cases, i.e., when the duration where the power is equal to or above the threshold value 2 continues for the starting end detection time Ts, the trailing-end-candidate point detected in the trailing-end-candidate detection state is canceled, and the current state shifts to the trailing-end-candidate detection state. When a finally detected speech-duration length (a trailing end time instant—a starting end time instant) is shorter than a preset minimum speech-duration length Tmin, the detected duration is possibly extemporaneous noise, and the detected starting end and trailing end positions are thereby canceled to achieve a transition to the noise state. As a result, an accuracy can be improved. As a rough standard of a minimum unit for utterance, the minimum speech-duration length Tmin is set to approximately 200 milliseconds.
As explained above, according to the embodiment, two time continuation length parameters, i.e., the candidate point detection time and the candidate point determination time are used for detection of a trailing end of speech. Here, in the trailing-end-candidate detection state, detection including a soundless duration in a word, e.g., a double consonant is intended. In the trailing-end-candidate determination state, whether a candidate point detected in the trailing-end-candidate detection state corresponds to silence in a word, e.g., a double consonant or silence after end of utterance is judged.
It is to be noted that the trailing-end-candidate detection time Te1 is set to approximately 120 milliseconds with a length that is equal to or longer than a soundless duration (double consonant) included in a word being determined as a rough standard, and the trailing end determination time Te2 is set to approximately 400 milliseconds as a length representing an interval between utterances.
In detection of a trailing end, like detection of a starting end, a position obtained by adding a trailing end offset Fe can be determined as a final speech trailing end position. When speech-duration detection is used as preprocessing of speech recognition, a positive offset value is usually provided in trailing end detection. As a result, missing an end of an uttered word can be avoided, thereby improving a speech recognition accuracy.
As explained above, according to the embodiment, two time continuation length parameters, i.e., the candidate point detection time and the candidate point determination time are used for detection of a trailing end of speech to provide two states, i.e., the candidate point detection state and the candidate point determination state for a trailing end of speech. Consequently, even if noise extemporaneously occurs after an appropriate trailing end (a correct trailing end) of a speech-duration as shown in
Realizing high-performance speech-duration detection in this manner can improve speech recognition performance when the detection is used as, e.g., preprocessing of speech recognition. When a correct trailing end is detected, an unnecessary frame that can be a target of speech recognition processing can be eliminated. Therefore, not only a response speed with respect to speech can be increased but also an amount of calculation can be reduced.
It is to be noted that a short-time power is used as a characteristic for each frame in the embodiment, but the present invention is not restricted thereto. Any other characteristic can be used. For example, in Patent Document 1, a likelihood ratio of a voice model and a non-voice model is, used as a characteristic per predetermined time.
A second embodiment according to the present invention will now be explained with reference to
According to the embodiment, in detection of a starting end of speech, two states of, e.g., candidate point detection and candidate point determination are provided.
The FSA unit 30 includes a starting-end detecting unit 301 that detects a starting end of a duration where a characteristic extracted by the characteristic extractor 23 exceeds a threshold value as a starting end of a speech-duration when the duration continues for a predetermined time, and a trailing-end detecting unit 302 that detects a starting end of a duration where a characteristic extracted by the characteristic extractor 23 is lower than the threshold value as a trailing end of a speech-duration when the duration continues for a predetermined time. The starting-end detecting unit 301 includes a starting-end-candidate detecting unit 303 that detects a candidate point for a starting point of speech, and a starting-end-candidate determining unit 304 that determines a starting-end-candidate point detected by the starting-end-candidate detecting unit 303 as a starting end of speech.
A procedure of processing will now be explained hereinafter. First, the A/D converter 21 converts an input signal that is used to detect a speech-duration from an analog signal to a digital signal. Then, the frame divider 22 divides the digital signal converted by the A/D converter 21 into frames each having a length of 20 to 30 milliseconds and an interval of approximately 10 to 20 milliseconds. At this time, a hamming window may be used as a windowing function that is required to perform framing processing. Subsequently, the characteristic extractor 23 extracts a power from an acoustic signal of each frame divided by the frame divider 22. Thereafter, the FSA unit 30 uses the power of each frame extracted by the characteristic extractor 23 to detect a starting and a trailing ends of speech, and performs speech recognition processing with respect to the detected duration.
The FSA unit 30 will now be explained in detail. As shown in
In the FSA shown in
In the starting-end-candidate detection state, when a duration where the power is equal to or above the threshold value continues for the starting-end-candidate detection time Ts1, a starting end of the duration is detected as a starting-end-candidate point of speech, and the current state shifts to the starting-end-candidate determination state. On the other hand, in the starting-end-candidate detection state, when the power is lower than the threshold value, the current state shifts to the noise state as the initial state. At this time, information of the detected starting-end-candidate point is transmitted to the voice recognizer 25 on a rear stage to start speech recognition processing from a frame where the starting-end-candidate point is detected.
In the starting-end-candidate determination state, when counting starts from the starting-end-candidate point and a duration where the power exceeds the threshold value, continues for the starting-end-candidate determination time Ts2, the starting-end-candidate point is determined as a starting end of speech, and the current state shifts to the trailing end detection state. On the other hand, in the starting-end-candidate determinations state, when the power is lower than the threshold value, the detected starting-end-candidate point is canceled, speech recognition processing on the rear stage is stopped, and initialization is carried out, thereby achieving a transition to the starting-end-candidate detection state. Here, the starting-end-candidate detection time Ts1 is set to approximately 20 milliseconds, and the starting-end-candidate determination time Ts2 is set to approximately 100 milliseconds.
As explained above, a configuration of detecting and determining a candidate point is adopted for detection of a starting end, and speech recognition processing on the rear stage is started when the candidate point is detected. As a result, as shown in
On the other hand, in the trailing end detection state, when a duration where the power is lower than the threshold value continues for the trailing end detection time Te, a starting end of the duration is detected as a trailing end of speech, and information about the detection is transmitted to the voice recognizer 25 on the rear stage. The voice recognizer 25 performs characteristic amount extraction and decoder processing for speech recognition with respect to a frame from the starting end to the trailing end detected by the FSA unit 30.
When a finally detected speech-duration length (a trailing end time instance—a staring end time instance) is shorter than a preset minimum speech-duration length Tmin, the detected duration possibly corresponds to extemporaneous noise, and the detected starting and trailing end positions are thereby canceled to achieve a transition to the noise state. Consequently, an accuracy can be improved. As a rough standard of a minimum unit for utterance, the minimum speech-duration length Tmin is set to approximately 200 milliseconds.
It is to be noted that a candidate point alone is detected in regard to a starting point in the embodiment, but a candidate point can be likewise detected with respect to a trailing end by using such a technique as explained in conjunction with the first embodiment.
Additional advantages and modifications will readily occur to those skilled in the art. Therefore, the invention in its broader aspects is not limited to the specific details and representative embodiments shown and described herein. Accordingly, various modifications may be made without departing from the spirit or scope of the general inventive concept as defined by the appended claims and their equivalents.
| Number | Date | Country | Kind |
|---|---|---|---|
| 2006-263113 | Sep 2006 | JP | national |