Voice recognition program and voice recognition device

The speech recognition system addresses the challenge of recognizing consecutive utterances by storing voice data and adjusting recognition timing based on utterance intervals, ensuring accurate and efficient voice recognition.

JP7542826B2Active Publication Date: 2024-09-02AISIN CORP
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2021060936
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2021-01-29
Filing Date
2021-03-31
Publication Date
2024-09-02
Estimated Expiration
2041-03-31

AI Technical Summary

Technical Problem

When consecutive voices are input with a short interval, existing systems face delays in starting the recognition of the second voice section, leading to potential loss of recognition and inaccurate identification of the second voice.

Method used

A speech recognition system that stores input voice, determines the start and end times of utterances, calculates the interval between them, and adjusts the recognition start time based on a retroactive time set according to the interval, ensuring accurate recognition of consecutive utterances.

Benefits of technology

Ensures reliable and accurate recognition of both the first and second utterances by starting recognition from the appropriate time relative to the start of the second utterance, minimizing delays and reducing processing load.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007542826000006
    Figure 0007542826000006
  • Figure 0007542826000005
    Figure 0007542826000005
  • Figure 0007542826000002
    Figure 0007542826000002
Patent Text Reader

Abstract

To provide a voice recognition program and a voice recognition apparatus which can precisely recognize each of first speech and second speech which are successively input.SOLUTION: From voice H input from a user H, start time StT and end time EdT of a first speech and a second speech immediately after the first speech are acquired respectively. Based on a speech interval ΔT between the start time StT of the second speech and the end time EdT of the first speech, retroaction time T is acquired, and voice recognition is started from recognition start time StR preceding, by the retroaction time T, from the start time StT of the second speech. Thus, the voice recognition of the second speech V2 can be reliably started from the start of the second speech V2. Accordingly, even if the first speech and the second speech are continuously input, the voice recognition can reliably be started from the start of the second speech, which allows precise voice recognition of both the first speech and the second speech.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a voice recognition program and a voice recognition device. [Background technology]

[0002] Patent Document 1 discloses a system 200 that recognizes input speech and uses the recognition result to provide route guidance, drive a vehicle, etc. The system 200 includes a speech input device 21 that inputs speech uttered by a user, a speech interval detection unit 11 that detects a speech interval from the start to the end that constitutes a continuous speech input from the speech input device 21, and a speech recognition unit 12 that recognizes the speech within the speech interval detected by the speech interval detection unit 11.

[0003] When a first voice (first utterance) is input to the voice input device 21 first and then a second voice (second utterance) is input to the voice input device 21, first, the voice section detection unit 11 detects a first voice section corresponding to the first voice, and the voice recognition unit 12 starts voice recognition of the first voice from the start of the first voice section. Then, after the voice recognition of the first voice section up to the end of the first voice section is completed, detection of a second voice section corresponding to the second voice and voice recognition from the start of the second voice section are started. This makes it possible to distinguish between the first voice and the second voice and perform voice recognition. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] WO 2019 / 058453 (e.g., paragraphs 0013-0039, Figures 1, 5) Summary of the Invention [Problem to be solved by the invention]

[0005] When the first voice and the second voice are uttered consecutively, the interval between the first voice and the second voice is short. In such a case, it is necessary to perform the voice recognition of the first voice section, the detection of the second voice section, and the start of the voice recognition of the second voice section in a short time. Therefore, if the voice recognition of the first voice section takes time, the start of the detection of the second voice section of the second voice input from the voice input device 21 thereafter may be delayed, and the start of the detected second voice section may be detected later than the start of the actual second voice. This causes a problem in that the voice recognition of the content uttered at the start of the second voice may be missed, and the second voice may not be accurately voice recognized.

[0006] The present invention has been made to solve the above-mentioned problems, and aims to provide a speech recognition program and a speech recognition device that can accurately recognize each of the first and second utterances even when they are input consecutively. [Means for solving the problem]

[0007] In order to achieve this object, the voice recognition program of the present invention is a program for causing a computer having a memory unit to execute a voice recognition process, and includes: a voice storage step for causing the memory unit to function as a voice storage means for storing voice, and storing input voice in the voice storage means; a start time acquisition step for acquiring a start time of an utterance by voice stored in the voice storage means; an end time acquisition step for acquiring an end time of an utterance by voice stored in the voice storage means; an interval acquisition step for acquiring an utterance interval which is a time difference between the end time of a first utterance acquired in the end time acquisition step and the start time acquired in the start time acquisition step, which is the start time of a second utterance input after the first utterance; a retroactive time acquisition step for acquiring a retroactive time which is a time going back from the start time of the second utterance acquired in the start time acquisition step, based on the utterance interval acquired in the interval acquisition step; and a voice recognition step for starting voice recognition of the second utterance from a time going back from the start time of the second utterance acquired in the start time acquisition step by the retroactive time acquired in the retroactive time acquisition step, in the voice stored in the voice storage means.

[0008] The voice recognition device of the present invention further comprises: voice input means for inputting voice; voice storage means for storing the voice input by the voice input means; start time acquisition means for acquiring a start time of an utterance made by the voice stored in the voice storage means; end time acquisition means for acquiring an end time of an utterance made by the voice stored in the voice storage means; interval acquisition means for acquiring an utterance interval which is a time difference between the end time of a first utterance acquired by the end time acquisition means and the start time acquired by the start time acquisition means and which is a start time of a second utterance input after the first utterance; retroactive time acquisition means for acquiring a retroactive time which is a time going back from the start time of the second utterance acquired by the start time acquisition means based on the utterance interval acquired by the interval acquisition means; and voice recognition means for starting voice recognition of the second utterance from a time going back from the start time of the second utterance acquired by the start time acquisition means by the retroactive time acquisition means. Effect of the Invention

[0009] According to the speech recognition program of claim 1, an input speech is stored in a speech storage means, an end time of a first utterance and a start time of a second utterance stored in the speech storage means are acquired, and a retroactive time based on the speech interval, which is the time difference between them, is acquired. Then, speech recognition of the second utterance is started from a time that is the retroactive time from the start time of the second utterance in the speech stored in the speech storage means. This makes it possible to reliably start speech recognition from the start of the second utterance stored in the speech storage means, and has the effect that even if the first utterance and the second utterance are input consecutively, each of them can be accurately recognized. In addition, since the retroactive time is set according to the speech interval between the first utterance and the second utterance, speech recognition can be started from the start of the second utterance, and the effect of the first utterance on the speech recognition of the second utterance can be minimized.

[0010] According to the speech recognition program of claim 2, in addition to the effect of the speech recognition program of claim 1, the following effect is achieved. When the speech interval is equal to or shorter than the first predetermined time, that is, when the speech interval between the first utterance and the second utterance is short and they are consecutive, by setting the look-back time to the first look-back time equal to or longer than the first predetermined time, there is an effect that speech recognition can be reliably started from the start of the second utterance that follows the first utterance.

[0011] According to the speech recognition program of claim 3, Section 2 In addition to the effects of the voice recognition program described above, the following effects are achieved: Longer than the first predetermined time When the second predetermined time or more is obtained, that is, when the speech interval between the first utterance and the second utterance is long, a second retroactive time equal to or less than the second predetermined time is acquired as the retroactive time, so that it is possible to prevent the time lag from increasing between the start of speech recognition of the second utterance and the actual start of the second utterance. This has the effect of preventing erroneous speech recognition of ambient sounds until the start of the second utterance, and reducing the processing time of the computer for speech recognition of the second utterance, thereby reducing the processing load of the computer.

[0012] According to the speech recognition program of claim 4, in addition to the effects of the speech recognition program of claim 3, the following effects are achieved. Since the first retroactive time is set to a time equal to or longer than the first predetermined time and equal to or shorter than the second predetermined time, it is possible to prevent the time at which speech recognition of the second utterance starts from going back to the start time of the first utterance. This has the effect of preventing the entire first utterance from being recognized together with the second utterance.

[0013] According to the speech recognition program of claim 5, in addition to the effects of the speech recognition program of claim 3 or 4, the following effects are achieved. The second retroactive time is set to a time equal to or longer than the first predetermined time and equal to or shorter than the second predetermined time. This makes it possible to prevent the time at which speech recognition of the second utterance starts from going back to the start time of the first utterance. This has the effect of preventing the entire first utterance from being speech-recognized together with the second utterance.

[0014] According to the voice recognition program of claim 6, in addition to the effects of the voice recognition program of any one of claims 1 to 5, the following effects are achieved. story If the interval is between the first and second predetermined times, story The interval is set to the look-back time, which allows the start of speech recognition of the second utterance to coincide with the end time of the first utterance, making it possible to easily obtain the look-back time and to reliably start speech recognition from the start of the second utterance.

[0015] According to the voice recognition device of claim 7, the same effect as that of the voice recognition program of claim 1 is achieved. [Brief description of the drawings]

[0016] [Figure 1] FIG. 2 is an external view of a mobile terminal. [Diagram 2] 1 is a diagram showing the volume of a voice and the start and end times of a user's speech. [Diagram 3]FIG. 1A is a diagram showing the timing for starting voice recognition when the speech interval is equal to or shorter than a first predetermined time, FIG. 1B is a diagram showing the timing for starting voice recognition when the speech interval is equal to or longer than a second predetermined time, and FIG. 1C is a diagram showing the timing for starting voice recognition when the speech interval is between the first and second predetermined times. [Figure 4] FIG. 2 is a block diagram showing the electrical configuration of the mobile terminal. [Diagram 5] 13A is a flowchart of voice processing, and FIG. 13B is a flowchart of recording processing. [Figure 6] 13 is a flowchart of a voice recognition process. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0017] A preferred embodiment of the present invention will now be described with reference to the accompanying drawings. First, the configuration of a mobile terminal 1 in this embodiment will be described with reference to Fig. 1. Fig. 1 is an external view of the mobile terminal 1. The mobile terminal 1 is an information processing device (computer) that performs voice recognition on speech uttered by a user H.

[0018] The mobile terminal 1 is configured to be able to input a voice V, and judges whether the input voice V is an utterance made by the user H based on the volume of the input voice V, and executes voice recognition for each utterance. Note that a known method is adopted for the voice recognition, and for example, a method of converting the voice V into a character string and replacing the converted character string with a corresponding word or phrase is exemplified. First, a method of judging the start and end of the user H's utterance from the voice V input to the mobile terminal 1 will be described with reference to FIG. 2.

[0019] Fig. 2 is a diagram showing a schematic representation of the volume of voice V and the start time StT and end time EdT of an utterance by user H. In Fig. 2, the horizontal axis represents time and the vertical axis represents the volume (dB) of voice V, with the maximum volume being "0 dB" and the minimum volume being "-120 dB." The range of the volume is not limited to 0 dB to -120 dB, and may be any other range.

[0020] In the mobile terminal 1 of this embodiment, it is determined whether the user H is speaking based on the volume of the input voice V. Specifically, a start determination value St_A, which is a volume threshold for determining whether the speech has started, and an end determination value Ed_A, which is a volume threshold for determining whether the speech has ended, are set. A volume greater than the end determination value Ed_A is set to the start determination value St_A, and examples of the start determination value St_A and the end determination value Ed_A are "-25 dB" and "-30 dB", respectively.

[0021] When the volume of the input voice V goes from being lower than the start judgment value St_A to being equal to or higher than the start judgment value St_A, it is determined that the user H has started speaking, and the time at which this occurs is set as the start time StT. On the other hand, when the volume goes below the end judgment value Ed_A after the start time StT, it is determined that the user H has ended speaking, and the time at which this occurs is set as the end time EdT. In other words, it is determined that the user H has been speaking between the start time StT and the end time EdT.

[0022] By setting the start judgment value St_A to a volume greater than the end judgment value Ed_A, it is possible to clearly distinguish between the surrounding environmental sounds and the start of speech, and to prevent the surrounding environmental sounds from being mistaken for pronunciation by user H. On the other hand, by setting the end judgment value Ed_A to a volume less than the start judgment value St_A, in a situation in which it is determined that user H is speaking, even if the volume of the speech temporarily drops below the start judgment value St_A, it is possible to determine that the speech is continuing. As a result, the start and end of user H's speech can be appropriately acquired.

[0023] Based on the start time StT and end time EdT of the user H's utterance thus acquired, voice recognition of the utterance is executed. In this embodiment, when the user H makes successive utterances, the timing to start voice recognition of the subsequent utterance is set according to the utterance interval ΔT, which is the time difference between the previous utterance and the subsequent utterance. The timing to start voice recognition will be described with reference to FIG. 3.

[0024] FIG. 3(a) is a diagram showing the timing for starting voice recognition when the speech interval ΔT is equal to or shorter than a first predetermined time x1, FIG. 3(b) is a diagram showing the timing for starting voice recognition when the speech interval ΔT is equal to or longer than a second predetermined time x2, and FIG. 3(c) is a diagram showing the timing for starting voice recognition when the speech interval ΔT is between the first predetermined time x1 and the second predetermined time x2.

[0025] 3(a) to 3(c), the first utterance V1 is "Good morning," and the second utterance V2 is "It's a sunny day today," uttered by the user H immediately after the first utterance. The time difference between the end time EdT of the first utterance V1 and the start time StT of the second utterance V2 is the utterance interval ΔT between the first utterance V1 and the second utterance V2, and the retroactive time T is calculated depending on the length of the utterance interval ΔT.

[0026] Here, the voice V input to the mobile terminal 1 is stored in a voice buffer 11b, which will be described later in Fig. 4, regardless of the presence or absence of an utterance by the user H. Voice recognition of the second utterance V2 starts at a recognition start time StR, which is a time going back by the retroactive time T from the start time StT of the second utterance V2, in the voice V in the voice buffer 11b.

[0027] First, referring to Fig. 3(a), the retroactive time T when the second utterance V2 starts immediately after the first utterance V1 will be described. Fig. 3(a) shows the case where the second utterance V2 starts immediately after the first utterance V1, that is, the above-mentioned utterance interval ΔT is equal to or shorter than the first predetermined time x1. The first predetermined time x1 is, for example, "0.1 seconds."

[0028] In this way, when the speech interval ΔT is short, less than or equal to the first predetermined time x1, and the first utterance V1 and the second utterance V2 are consecutive, the first retroactive time Tx1, which is equal to or greater than the first predetermined time x1, is set as the retroactive time T. An example of the first retroactive time Tx1 is "0.5 seconds." This allows the recognition start time StR of the second utterance to be earlier than the start time StT of the second utterance, so that speech recognition can be reliably started from the start of the second utterance.

[0029] In this case, an utterance near the end time EdT of the first utterance (for example, "su" in "Good morning") may be included in the recognition start time StR of the second utterance. In such a case, the recognition results before the start time StT of the second utterance may be excluded or removed from the speech recognition results starting from the recognition start time StR of the second utterance, thereby outputting only the speech recognition results from the start time StT of the second utterance.

[0030] Next, referring to FIG. 3(b), a case where the speech interval ΔT between the first utterance V1 and the second utterance V2 is long will be described. FIG. 3(b) shows a case where the speech interval ΔT is equal to or longer than the second predetermined time x2. An example of the second predetermined time x2 is "3 seconds". In this way, when the speech interval ΔT between the first utterance V1 and the second utterance V2 is equal to or longer than the second predetermined time x2, a second retroactive time Tx2 equal to or shorter than the second predetermined time x2 is set as the retroactive time T. An example of the first retroactive time Tx1 is "2 seconds".

[0031] This makes it possible to prevent an increase in the time lag from when the voice recognition of the second utterance V2 starts until the second utterance V2 actually starts. This makes it possible to prevent erroneous voice recognition of ambient sounds until the start of the second utterance V2, and also reduces the processing time of the mobile terminal 1 (specifically, the CPU 10 described later in FIG. 4) for voice recognition of the second utterance V2, thereby reducing the processing load of the mobile terminal 1.

[0032] 3(c), a case will be described in which the speech interval ΔT between the first utterance V1 and the second utterance V2 is between the first predetermined time x1 and the second predetermined time x2. In this case, the speech interval ΔT is set as the retroactive time T. As a result, the recognition start time StR of the second utterance V2 becomes the end time EdT of the first utterance V1, so that the retroactive time T can be easily obtained and speech recognition can be reliably started from the start of the second utterance V2.

[0033] Here, the first retroactive time Tx1 and the second retroactive time Tx2 are set to a time equal to or greater than the first predetermined time x1 and equal to or less than the second predetermined time x2. This makes it possible to prevent the recognition start time StR of the second utterance from going back to the start time StT of the first utterance V1, thereby making it possible to prevent the entire first utterance V1 from being voice-recognized together with the second utterance V2.

[0034] As described above, by starting speech recognition from the recognition start time StR obtained by going back from the start time StT of the second utterance V2 by the retroactive time T corresponding to the utterance interval ΔT between the immediately preceding first utterance V1 and second utterance V2, speech recognition of the second utterance can be reliably started from the start of the second utterance V2. This makes it possible to reliably start speech recognition from the start of the second utterance even if the first utterance and the second utterance are input consecutively, thereby enabling accurate speech recognition of the first utterance and the second utterance.

[0035] Also, the volume of the voice V when the user H starts the second utterance may be low, and the user H may actually be speaking at the time determined to be the start time StT of the second utterance V2. Even in such a case, by starting the voice recognition from a time going back by the retroactive time T from the start time StT of the second utterance V2, it is possible to suppress missed recognition of the voice V that the user H actually uttered before the start time StT of the second utterance V2 was determined.

[0036] The first predetermined time x1 is not limited to 0.1 seconds, and may be 0.1 seconds or more or 0.1 seconds or less as long as it is equal to or less than the second predetermined time x2. The second predetermined time x2 is not limited to 3 seconds, and may be 3 seconds or more or 3 seconds or less as long as it is equal to or more than the first predetermined time x1. The first retroactive time Tx1 is not limited to 0.5 seconds, and may be 0.5 seconds or more or 0.5 seconds or less as long as it is equal to or more than the first predetermined time x1 and equal to or less than the second predetermined time x2. Similarly, the second retroactive time Tx2 is not limited to 2 seconds, and may be 2 seconds or more or 2 seconds or less as long as it is equal to or more than the first predetermined time x1 and equal to or less than the second predetermined time x2. Furthermore, the first retroactive time Tx1 is shorter than the second retroactive time Tx2, but is not limited to this. The first retroactive time Tx1 and the second retroactive time Tx2 may be the same time, or the first retroactive time Tx1 may be longer than the second retroactive time Tx2.

[0037] Next, the electrical configuration of the mobile terminal 1 will be described with reference to Fig. 4. Fig. 4 is a block diagram showing the electrical configuration of the mobile terminal 1. As shown in Fig. 4, the mobile terminal 1 has a CPU 10, a flash ROM 11, and a RAM 12, which are each connected to an input / output port 14 via a bus line 13. The input / output port 14 is further connected to a microphone 15 for inputting a voice V, an LCD 16 for displaying the recognition result of the voice recognition, and a touch panel 17 for inputting instructions from a user H.

[0038] The CPU 10 is a calculation device that controls each part connected by a bus line 13. The flash ROM 11 is a rewritable non-volatile memory, and stores a voice recognition program 11a and a voice buffer 11b in which voice V is stored. When the voice recognition program 11a is executed by the CPU 10, the voice processing of Fig. 5 is executed. The RAM 12 is a memory for rewritably storing various work data, flags, etc. when the CPU 10 executes the voice recognition program 11a, and includes a retroactive time memory 12a in which the retroactive time T described above is stored.

[0039] Next, the process executed by the CPU 10 of the mobile terminal 1 will be described with reference to Fig. 5 and Fig. 6. Fig. 5(a) is a flowchart of the voice process. The voice process is a process executed when an instruction to execute the voice recognition program 11a is input from the user H via the touch panel 17 or the like.

[0040] The audio process begins by clearing the contents of the audio buffer 11b (S1), and setting the audio acquisition time and the above-mentioned start time StT and end time EdT to 0 (S2). The audio acquisition time is the time when the sampling period of the audio V (for example, 1 / 44100 seconds) is one unit time, and is used as time information for acquiring the audio V stored in the audio buffer 11b at the above-mentioned sampling period intervals in order from 0 seconds, i.e., the time when storage of the audio V in the audio buffer 11b began.

[0041] After the process of S2, the current volume and previous volume are set to −120 dB, which is the minimum volume value (S3). The current volume stores a volume for determining the start time StT and end time EdT of an utterance, and the previous volume stores the previous volume of the current volume.

[0042] After the process of S3, the recording process starts (S4). The recording process is executed every sampling period of the sound V, and the sound V input from the microphone 15 is stored in the sound buffer 11b every sampling period. The process of S4 starts the periodic execution of the recording process. Here, the recording process will be described with reference to FIG. 5(b).

[0043] 5(b) is a flowchart of the recording process. As described above, the recording process is an interrupt process that is executed for each sampling period of the audio V. The recording process adds the audio V acquired from the microphone 15 to the audio buffer 11b (S20) and ends. As a result, the audio V acquired for each sampling period is stored in the audio buffer 11b.

[0044] Return to Fig. 5(a). After the process of S4, the volume of the voice V at the voice acquisition time is acquired from the voice buffer 11b and set as the current volume (S5). After the process of S5, a voice recognition process (S6) is executed. Here, the voice recognition process will be described with reference to Fig. 6.

[0045] Fig. 6 is a flowchart of the voice recognition process. The voice recognition process first checks whether the previous volume is less than the start determination value St_A described above in Fig. 2 and whether the current volume at the voice acquisition time is equal to or greater than the start determination value St_A (S30). That is, in the voice V of the voice buffer 11b, it is checked whether it starts from a state less than the start determination value St_A and becomes equal to or greater than the start determination value St_A, which is the timing of the start time StT when the utterance starts.

[0046] In the process of S30, if the previous volume is less than the start determination value St_A and the current volume at the voice acquisition time is equal to or greater than the start determination value St_A (S30: Yes), the voice acquisition time is set as the start time StT (S31). After the process of S31, the voice interval ΔT is calculated by subtracting the end time EdT described above in Fig. 3, which is set in the processes of S39 and S40 described later, from the start time StT (S32). After the process of S32, the calculated voice interval ΔT is checked (S33).

[0047] In the process of S33, if the voice interval ΔT is less than or equal to the first predetermined time x1 (ΔT≦x1), the first retroactive time Tx1 is set in the retroactive time memory 12a (S34). If the voice interval ΔT is greater than or equal to the second predetermined time x2 (ΔT≧x2), the second retroactive time Tx2 is set in the retroactive time memory 12a (S35). If the voice interval ΔT is between the first predetermined time x1 and the second predetermined time x2 (x1<ΔT<x2), the voice interval ΔT is set in the retroactive time memory 12a (S36).

[0048] After the processes of S34 to S36, speech recognition is performed from a time (i.e., recognition start time StR) that is the retroactive time T in the retroactive time memory 12a back from the start time StT set in the process of S31 in the speech buffer 11b (S37). As a result, the retroactive time T corresponding to the speech interval ΔT described above in Figures 3(a) to 3(c) is set in the retroactive time memory 12a, and speech recognition is started from the retroactive time T from the start time StT. The result of the speech recognition performed in the process of S37 may be displayed on the LCD 16, or may be transmitted to an information processing device such as another mobile terminal 1 via a communication device (not shown).

[0049] In the process of S30, if the previous volume is equal to or greater than the start judgment value St_A, or if the current volume is smaller than the start judgment value St_A (S30: No), the processes of S31 to S37 are skipped. After the processes of S30 and S37, it is confirmed whether the previous volume is greater than the end judgment value Ed_A and the current volume is equal to or less than the end judgment value Ed_A (S38).

[0050] In the process of S38, if the previous volume was greater than the end judgment value Ed_A and the current volume is equal to or less than the end judgment value Ed_A (S38: Yes), the voice acquisition time is the timing of the end time EdT when the utterance described above in Fig. 2 ends, so the voice acquisition time is set to the end time EdT (S39). On the other hand, if the previous volume was equal to or less than the end judgment value Ed_A or the current volume is greater than the end judgment value Ed_A (S38: No), the process of S39 is skipped. After the processes of S38 and S39, the voice recognition process is terminated.

[0051] Returning to FIG. 5(a), after the voice recognition process in S6, the sampling period is added to the voice acquisition time, and the voice acquisition time is advanced to the next timing for acquiring the volume from the voice buffer 11b (S7). After the process in S7, it is confirmed whether an instruction to end the voice processing has been acquired from the user H via the touch panel 17 (S8). If an instruction to end the voice processing has not been acquired in the process in S8 (S8: No), the processes from S5 onwards are repeated, and if an instruction to end the voice processing has been acquired (S8: Yes), the voice processing is terminated.

[0052] The present invention has been described above based on an embodiment, but the present invention is not limited to the above-described embodiment, and it can be easily inferred that various improvements and modifications are possible within the scope of the present invention.

[0053] In the above embodiment, the retroactive time T is set to the first retroactive time Tx1 when the speech interval ΔT is equal to or less than the first predetermined time x1, the second retroactive time Tx2 when the speech interval ΔT is equal to or more than the second predetermined time x2, and the speech interval ΔT when the speech interval ΔT is between the first predetermined time x1 and the second predetermined time x2, but this is not limited to the above. Regardless of the speech interval ΔT, the retroactive time T may be set to the speech interval ΔT, or a time obtained by multiplying the speech interval ΔT by a predetermined coefficient (e.g., 0.8), or a time obtained by adding a predetermined time (e.g., 0.5 seconds) to the speech interval ΔT. Moreover, regardless of the speech interval ΔT, the retroactive time T may be set to the first retroactive time Tx1 or the second retroactive time Tx2.

[0054] In the above embodiment, the start time StT and end time EdT of the speech are determined based on the volume of the voice V, but this is not limited to the above. For example, the start time StT of the speech may be determined as the time when a frequency band of human voice (e.g., 100 Hz to 1000 Hz) begins to be observed in the voice V, and the end time EdT may be determined as the time when the frequency band is no longer observed in the voice V.

[0055] In the above embodiment, the voice V is input from the microphone 15, but this is not limited to the above. For example, the voice V may be voice data stored in advance in the flash ROM 11, or voice data transmitted from another mobile terminal 1 or the like via a communication device (not shown) may be used as the voice V.

[0056] In the above embodiment, the audio acquisition time is set to a sampling period as one unit time, and the volume is acquired from the audio buffer 11b at intervals of the sampling period, but this is not limited to this. For example, one unit time of the audio acquisition time may be set to one second, and the volume may be acquired from the audio buffer 11b at one second intervals.

[0057] In the above embodiment, the mobile terminal 1 in which the voice recognition program 11a is embedded is exemplified, but the present invention is not limited to this, and the voice recognition program 11a may be executed by other information processing devices (computers) such as a personal computer or a tablet terminal. Also, the voice recognition program 11a may be stored in a ROM or an IC chip, and the present invention may be applied to a dedicated device that executes only the voice recognition program 11a. [Explanation of symbols]

[0058] 1. Mobile terminals (computers) 11 Flash ROM (storage section) 11b Audio buffer (audio storage means) 11a Voice Recognition Program V Audio V1 First utterance V2 Second utterance S20 Voice Memory Step StT start time EdT End Time ΔT speech interval x1 First scheduled time x2 2nd predetermined time T retroactive time Tx1 1st retrospective time Tx2 2nd retrospective time S31 Start time acquisition step, start time acquisition means S39 End time acquisition step, end time acquisition means S32: Interval acquisition step, interval acquisition means S34~S36 Retrospective time acquisition step, retrospective time acquisition means S37 Speech recognition step, speech recognition means

Claims

1. A speech recognition program for causing a computer having a storage unit to execute a speech recognition process, The storage unit functions as a voice storage means for storing voice, a voice storage step of storing the input voice in the voice storage means; a start time acquisition step of acquiring a start time of an utterance by voice stored in the voice storage means; an end time acquisition step of acquiring an end time of an utterance by voice stored in the voice storage means; an interval acquiring step of acquiring an utterance interval which is a time difference between an end time of the first utterance acquired in the end time acquiring step and a start time of a second utterance which is acquired in the start time acquiring step and is input after the first utterance; a retroactive time acquisition step of acquiring a retroactive time that is a time going back from the start time of the second utterance acquired in the start time acquisition step, based on the utterance interval acquired in the interval acquisition step; a voice recognition step of starting voice recognition of the second utterance from a time going back from the start time of the second utterance acquired in the start time acquisition step by the retroactive time acquired in the retroactive time acquisition step, for the voice stored in the voice storage means.

2. 2. The speech recognition program according to claim 1, wherein the retroactive time acquisition step acquires, when the speech interval acquired in the interval acquisition step is equal to or shorter than a first predetermined time, a first retroactive time which is equal to or longer than the first predetermined time as the retroactive time.

3. 3. The speech recognition program according to claim 2, wherein the retroactive time acquisition step acquires, when the speech interval acquired in the interval acquisition step is equal to or greater than a second predetermined time longer than the first predetermined time, a second retroactive time which is equal to or less than the second predetermined time as the retroactive time.

4. 4. The speech recognition program according to claim 3, wherein the first retroactive time is equal to or greater than the first predetermined time and equal to or less than the second predetermined time.

5. 5. The speech recognition program according to claim 3, wherein the second retroactive time is equal to or greater than the first predetermined time and equal to or less than the second predetermined time.

6. 6. The speech recognition program according to claim 1, wherein the retroactive time acquisition step acquires the speech interval as the retroactive time when the speech interval acquired in the interval acquisition step is between a first predetermined time and a second predetermined time.

7. A voice input means for inputting voice; a voice storage means for storing the voice inputted by the voice input means; a start time acquisition means for acquiring a start time of an utterance by the voice stored in the voice storage means; an end time acquisition means for acquiring an end time of an utterance by the voice stored in the voice storage means; an interval acquiring means for acquiring an utterance interval, which is a time difference between an end time of a first utterance acquired by the end time acquiring means and a start time of a second utterance acquired by the start time acquiring means and input after the first utterance; a retroactive time acquisition means for acquiring a retroactive time that is a time going back from the start time of the second utterance acquired by the start time acquisition means, based on the utterance interval acquired by the interval acquisition means; a voice recognition means for starting voice recognition of the second utterance from a time going back from the start time of the second utterance acquired by the start time acquisition means by the retroactive time acquisition means, in the voice stored in the voice storage means.

Citation Information

Patent Citations

  • Voice recognizing device

    JP1990205898A

  • Segmentation device for voice

    JP1992355799A

  • Device for detecting speech section

    JP1996185196A

  • Information processing apparatus and program

    JP2011090483A

  • Voice interaction control device and method for controlling voice interaction

    WO2019058453A1