Voice recognition apparatus for converting voice data present on a recording medium into text data

Abstract: The present invention relates to what causes a computer (1) to read a voice recognition program from a first recording medium (7), and read voice data from a second recording medium (10), and causes a CPU (1a) in the computer (1) to recognize voice represented by the read voice data according to the voice recognition program, convert the result of voice recognition into text data, and display the converted text data on a display unit (3). Also included is a check mark button used by a speaker to designate a portion of voice data, which is input through a microphone, corresponding to an unnecessary word or the like. The portion of the voice data in which a check mark is inscribed is not regarded as an object of voice recognition. Only the other portion of the voice data in which the check mark is not inscribed is regarded as an object of voice recognition, and voice recognition is thus carried out. Furthermore, the sound level of a voiceful portion of voice data is rated. The gain of the voice data is adjusted according to the rated level. On the basis of the voice data whose sound level has been adjusted, voice recognition is carried out.

Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a voice recognition apparatus and a recording medium having a voice recognition program recorded therein. More particularly, this invention is concerned with a voice recognition apparatus for recognizing voice data, and a recording medium in which a voice recognition program causing a computer to recognize voice data is recorded. 2. Description of the Related Art In recent years, research and development of a voice recognition technology has been undertaken in earnest. A technological means capable of recognizing voice in real time has been proposed. This kind of technology has been adapted to various kinds of products or usages, for example, reservation of tickets by telephone or voice commanding within car navigation. Along with a recent breakthrough in voice recognition technology and improvement in performance of personal computers, a technology for documenting voice input through a microphone connected to a personal computer by recognizing the voice within application software running in the personal computer, and displaying the document has been developed. An example of a software package enabling voice recognition is a product "Voice Type 3.0 for Windows 95" released recently by IBM Ltd. This product converts voice input through a microphone into text data in real time and enjoys a considerably high recognition ratio. However, the application software permits real-time input through a microphone that is only one means for inputting voice data. An already existent voice file cannot be recognized directly. One object of development of the aforesaid voice recognition technology is to realize a so-called voice word processor or a dictation system for automatically creating a document on the basis of voice data input by performing dictation, and displaying the document in a screen or the like. A conventionally adopted means is such that when the contents of a document to be created are dictated and temporarily recorded by a recording apparatus such as a tape recorder, and a secretary, typist, or the like reproduces the dictated contents and documents them using a documentation apparatus such as a type writer, word processor, or the like. This style has been generally adopted as one form of effective utilization of the recording apparatus such as a tape recorder. As for such dictational recording, a technique of appending an index mark or end mark to voice data so as to give instructions to a secretary or typist has been known in the past. According to a prior art of appending such a mark, a desired region of voice data is not designated as an interval but a specified region of voice data is designated as a point. In the foregoing form of utilization in which a recording apparatus is used for dictation, the birth of a technology for automatically converting the contents of a record into a document has been greatly demanded in the past. In actual dictation, a word irrelevant to contents to be informed may be contained. For example, when written sentences are recited, an incorrectly uttered word or a word having no meaning such as "Ah" or "Well" (hereinafter an unnecessary word) may be contained (frequently in some cases). In this case, the performance of voice recognition deteriorates. This leads to a drawback that a document displayed in a screen contains many mistakes. A technology for constructing a dictation system by taking account of the above unnecessary words and creating language models that cover all words including the unnecessary words and that are intended to be used for voice recognition has been proposed in the past. For example, according to JP-A-7005893, there is provided a voice recognition apparatus comprising: a standard pattern memory means for storing standard patterns; an unnecessary word pattern memory means for storing patterns of unnecessary words; a word spotting means for spotting as a word or word-spotting a standard pattern stored in the standard pattern memory means or a pattern of an unnecessary word stored in the unnecessary word pattern memory means on the basis of input voice, and outputting a corresponding interval and score; a producing means for hypothesizing the contents of uttered voice and producing a representation of the meaning; and an analyzing means for analyzing the result of word-spotting, which is performed by the word spotting means, on the basis of the representation of the meaning of the hypothesis produced by the producing means. The analyzing means allocates a score resulting from word-spotting performed on the pattern of an unnecessary word to remaining intervals, of which corresponding standard patterns or patterns of an unnecessary word have not been word-spotted, among all the intervals of data items constituting the voice. The result of word-spotting performed by the word spotting means is then analyzed. However, the voice recognition apparatus described in JP-A-7005893 has difficulty in carrying out practical processing within an existing computer (especially a computer of a personal level) because the data size of language models becomes enormous. Using a currently commercialized product, a speaker must be careful in not uttering an unnecessary word or the like and cannot therefore help feeling clumsiness. For improving the performance of voice recognition, it is required that the sound level of input voice is proper. Currently, it is hard to guarantee a high recognition ratio over a wide range of sound levels from a low level to a high level. A system is therefore designed to provide a maximum recognition ratio relative to an average sound level of voice. In a voice recognition apparatus of a mode in which voice is input through a microphone as mentioned above, a sound-level meter for indicating a sound level of voice is displayed in, for example, a screen or the like so that a speaker himself/herself can manage his/her sound level of voice properly. As an example of an embodiment of this technology, a sound pressure level display for a voice recognition apparatus comprising a first sound receiver for receiving a voice signal, a second sound receiver for receiving a noise whose level is close to that of the voice signal received by the first sound receiver, a sound pressure level ratio calculating means for calculating a ratio of a sound pressure level of a voice signal input to the first sound receiver to a ratio of a sound pressure level of a noise input to the second sound receiver, and a display means for displaying the ratio of sound pressure levels calculated by the sound pressure level ratio calculating means is described in JP-A-5231922. However, it is annoying for a speaker to manage his/her own voice so that the sound level will become proper. There is therefore an increasing demand for a user-friendly voice recognition apparatus. Moreover, since the sound level of input voice cannot be detected using already recorded voice data, the technology disclosed in JP-A-5231922 cannot be adapted as it is. It cannot be judged whether or not the sound level of voice data is suitable for voice recognition. Besides, since the sound pressure level display is not provided with a facility for adjusting a sound level of voice autonomously, a voice recognition ratio may vary abruptly depending on a sound level indicated by recorded voice data. EP 0 649 144 A1 discloses a method of recognizing speech previously recorded and to correlate (indexing) the speech recognized text with a written original text. Thereby the recorded speech is aligned with the text manuscript used e.g. for video clips. The speech recognition apparatus of EP 0 750 291 A1 handles the problem of correctly recognizing the beginning and end of voice containing portions of recorded speech. Background noise is detected and analyzed to properly set a threshold value for noise suppression. Improved Correction of Speech Recognition Errors Through Audio Playback", IBM Technical Disclosure Bulletin, vol. 36, no. 6A, June 1993, pages 153-154, discloses a method to aid the user of a speech recognition system in identifying recognition errors. OBJECTS AND SUMMARY OF THE INVENTION The first object of the present invention is to provide a voice recognition apparatus for recognizing voice represented by voice data recorded in a given recording medium and a recording medium in which a voice recognition program is recorded, both enabling quick access to recorded contents. The invention is defined in claims 1 and 3, respectively. Particular embodiments of the invention are set out in the dependent claims. Briefly, a voice recognition apparatus in accordance with the present invention for recognizing voice within a programmed computer comprises a voice data reading means for reading voice data from a voice data recording medium in which the voice data is recorded, a voice recognizing means for recognizing voice represented by the voice data so as to convert the voice into text data, and a display means for displaying the text data. A recording medium in accordance with the present invention having a voice recognition program recorded therein is used to run the voice recognition program in a computer, whereby the voice recognition program causes the computer to read voice data from a voice data recording medium in which the voice data is recorded, recognize voice represented by the voice data so as to convert the voice into text data, and display the text data. This object and advantages of the present invention will become further apparent from the following detailed explanation. BRIEF DESCRIPTION OF THE DRAWINGS The embodiments of Figs. 12 to 21 are illustrative and do not form part of the claimed invention. Fig. 1 is a block diagram schematically showing the configuration of a computer that is the first embodiment of a voice recognition apparatus in accordance with the present invention; Fig. 2 is a flowchart describing the first example (first voice recognition program) of a voice recognition program recorded in a recording medium in accordance with the present invention having the voice recognition program recorded therein, and run in the first embodiment; Fig. 3 is a diagram showing an example of display appearing when voice recognition application software read from the first recording medium is activated in the computer of the first embodiment, or a main screen used to reproduce compressed voice data; Fig. 4 is a diagram showing an example of a screen in which text data is displayed when the voice recognition application software read from the first recording medium is activated in the computer of the first embodiment; Fig. 5 is a diagram showing an example of a dialog box screen used to set a time interval between voice recognitions and the number of displayed words when a given number of words are recognized at intervals of a given time since the start of a file subjected to voice recognition, after the voice recognition application software read from the first recording medium is activated in the computer of the first embodiment; Fig. 6 is a diagram showing an example of a screen in which a given number of words recognized at intervals of a given time since the start of a file subjected to voice recognition after the voice recognition application software read from the first recording medium is activated in the computer of the first embodiment is displayed; Fig. 7 is a flowchart describing a second example (second voice recognition program) of a voice recognition program recorded in a recording medium in accordance with the present invention having the voice recognition program recorded therein, and run in the first embodiment; Fig. 8 is a flowchart describing a third example (third voice recognition program) of a voice recognition program recorded in a recording medium having the voice recognition program recorded therein, and run in the first embodiment; Fig. 9 is a diagram showing an example of a dialog box screen used to set a word to be retrieved for voice recognition when only a word that must be recognized in voice and contained in a voice compressed file is recognized in voice after the voice recognition application software read from the first recording medium is activated in the computer of the first embodiment; Fig. 10 is a flowchart describing a fourth example (fourth voice recognition program) of a voice recognition program recorded in a recording medium having the voice recognition program recorded therein, and run in the first embodiment; Fig. 11 is a flowchart describing a fifth example (fifth voice recognition program) of a voice recognition program recorded in a recording medium having the voice recognition program recorded therein, and run in the first embodiment; Fig. 12 is a conceptual diagram showing the overall configuration of a dictation system of the second embodiment; Fig. 13 is a block diagram showing the electrical configuration of a digital recorder of the second embodiment; Fig. 14 is a diagram showing a scene in which a check mark button of the digital recorder is handled during dictation in the second embodiment; Fig. 15 is a diagram showing the format of data to be recorded in a voice memory of a miniature card by means of the digital recorder of the second embodiment; Fig. 16 is a block diagram showing the electrical configuration of a personal computer of the second embodiment; Fig. 17 is a flowchart describing voice recognition carried out in the personal computer of the second embodiment; Fig. 18 is a diagram showing an overall flow of reading voice data from a voice memory and recognizing voice which is followed by the dictation system of the third embodiment; Fig. 19 is a flowchart describing voice recognition carried out by a dictation system of the third embodiment; Fig. 20 is a flowchart describing the contents of processing relevant to judgment of voice or voiceless which is briefed in Fig. 19; and Fig. 21 is a flowchart describing the contents of gain calculation briefed in Fig. 19. DESCRIPTION OF THE PREFERRED EMBODIMENTS Referring to the drawings, embodiments of the present invention will be described below. Fig. 1 is a block diagram schematically showing the configuration of a computer that is the first embodiment of a voice recognition apparatus in accordance with the present invention. A computer 1 consists, as shown in Fig. 1, mainly of: a central processing unit (CPU) 1a responsible for control of the whole computer 1; a first input unit 5 in which an external recording medium (first recording medium 7) having a given program recorded therein can be mounted freely; a first recording medium driver 6, incorporated in the first input unit 5, for reading a given program from the first recording medium 7 under the control of the CPU 1a when the first recording medium 7 is mounted in the first input unit 5; a second input/output unit 8 in which an external recording medium (second recording medium 10) having given voice data recorded therein can be mounted freely; a second recording medium driver 9, incorporated in the second input/output unit 8, for reading given voice data and writing given data from and in the second recording medium 10 under the control of the CPU 1a when the second recording medium 10 is mounted in the second input/output unit 8; an operation unit 2 for inputting a given instruction entered by a user; a display unit 3 serving as a display means for displaying given data after given processing is carried out by the CPU 1a; and a voice output unit 4 for outputting produced voice after given processing is carried out by the CPU 1a. The computer 1 is configured to permit operation of an operation system (OS) capable of executing a plurality of application software concurrently (multitasking). Hereinafter, a description will be made on the assumption that the OS is installed in the computer 1. The first recording medium 7 is a recording medium in which a given voice recognition program is recorded. In this embodiment, for example, a portable recording medium such as a CD-ROM or floppy disk is imagined as the recording medium. Moreover, the second recording medium 10 is a voice data recording medium in which given voice data is recorded. The second recording medium 10 will be described below. The second recording medium 10 is a recording medium in which voice data acquired by an external solid-state recorder is recorded. In this embodiment, a card-shaped recording medium that is a flash memory is imagined. In recent years, there has been an increasing demand for a flash memory. Digital solid-state recorders using the flash memory as a recording medium have been commercialized. The flash memory is known in many types of card-shaped recording media. For example, a memory card conformable to the PCMCIA standard, a miniature card manufactured by Intel Corp., an SSDFC manufactured by Toshiba Co., Ltd., and a compact flash memory manufactured by SunDisk Co., Ltd. are known. In general, these card-shaped flash memories are connected to a personal computer via an adaptor or the like, and capable of transferring given data. Many of the existing card-shaped memories have a storage capacity ranging from 2M bytes to 8M bytes. Moreover, the digital solid-state recorders currently on the market include those capable of recording sound in a card having a storage capacity of 2M bytes for 20 min. to 40 min. The solid-state recorders convert an analog signal input through a microphone into digital PCM data, which is digital data modulated in pulse code, or the like, compresses the PCM data according to an algorithm for encoding based on the ADPCM or CELP, and records compressed data in a flash memory card. The thus recorded data can be read directly by a personal computer via an adaptor. The computer 1 of this embodiment reads voice data from the flash memory card (second recording medium 10) mounted as mentioned above. Next, a voice recognition operation for recognizing voice represented by voice data which is carried out by the computer 1 will be described. To begin with, a user mounts a recording medium (first recording medium 7), in which a given voice recognition program is recorded, in the first input unit 5 of the computer 1. The computer 1 reads a given voice recognition program, which is application software, from the connected first recording medium 7 into an internal memory, which is not shown, via the first recording medium driver 6. This causes the CPU 1a to control a voice recognition operation following the program. Now, the voice recognition operation to be carried out according to the voice recognition program will be described. Fig. 2 is a flowchart describing the first example (first voice recognition program) of a voice recognition program recorded in the recording medium in accordance with the present invention having the voice recognition program recorded therein. When the second recording medium 10 is mounted in the computer 1, the CPU 1a reads voice data from a voice compressed file containing voice data compressed and recorded by an external solid-state recorder (step S1). The first voice recognition program stretches compressed voice data into PCM data by reversely following a compression algorithm according to which data is recorded by the solid-state recorder (step S2). In other words, this processing that is identical to reproduction performed by the solid-state recorder is carried out by the computer 1 controlled by the first voice recognition program. The PCM data stretched at step S2 is subjected to voice recognition (step S3). The voice-recognized data or data recognized in voice is converted into text data (step S4), and the converted text data is displayed on a display (display unit 3) (step S5). This processing is continued until the voice-recognized data comes to an end (step S6). Fig. 3 shows an example of display appearing when the voice recognition application software read from the first recording medium 7 is activated in the computer 1 of this embodiment, or a main screen used to reproduce voice data that is compressed data representing voice. Fig. 3 shows a main screen 11 in which: a menu bar 12 used to select file-related handling or editing-related handling; a tool button bar 13 presenting easily discernibly various kinds of handling in the form of icons; a voice file list box 14 which displays a list of information such as names of voice files transferred from the second recording medium 10, recording times, dates of recording, and priorities and in which a voice file whose data is reproduced or voice-recognized is highlighted in contrast with the other voice files; and a reproduction control 18 used to carry out processing such as replay, stop, fast feed, or fast return are displayed. The tool button bar 13 is provided with a voice recognition tool button group 21 consisting of a voice recognition start button 22, word recognition button 23, and list display button 24. Moreover, the reproduction control 18 is provided with a current position-of-reproduction indicator slider 15, lines 16, and an index search button 17. In the main screen 11 shown in Fig. 3, when the voice recognition start button 22 belonging to the voice recognition tool button group 21 included in the tool button bar 13 is pressed, voice recognition of a voice file highlighted in the voice file list box 14 is started. A text editor shown in Fig. 4 is started up. Recognized voice data is displayed as serial text data in the editor screen. Next, a processing operation of recognizing a given number of words at intervals of a given time since the start of a file subjected to voice-recognition and displaying a list of the words will be described. The list display button 24 belonging to the voice recognition tool button group 21 is a button used to recognize a certain number of words at intervals of a certain time since the start of a file subjected to voice recognition, and display the words in the form of a list. When the list display button 24 is pressed, a dialog box shown in Fig. 5 appears. A user is prompted to enter the setting of a time in sec, at intervals of which words will be recognized, since the start of a file (file subjected to voice recognition) highlighted in the voice file list box 14, and the setting of the number of words to be recognized and displayed. If the user wants to suspend the processing, he/she presses a cancel button shown in Fig. 5. Thus, control can be returned to the main screen shown in Fig. 3. When the user enters the setting of the time interval and the setting of the number of words to be recognized and presses the start button, the dialog box shown in Fig. 5 is closed and a list box shown in Fig. 6 appears. Fig. 7 is a flowchart describing the second example (second voice recognition program) of a voice recognition program recorded in a recording medium in accordance with the present invention having the voice recognition program recorded therein. Herein, a processing operation of recognizing a given number of words at intervals of a certain time since the start of a file subjected to voice recognition, and displaying the words in the form of a list is described. Specifically, when the user sets the time interval and the number of words to be recognized, and then presses the start button, voice data is first read from a file subjected to voice recognition and recorded in the second recording medium 10 (step S11). The second voice recognition program stretches the compressed voice data in the same manner as the first voice recognition program (step S12). If a word coincident with a time instant when the set time has elapsed is detected (step S13), stretched PCM data starting with the word is voice-recognized (step S14). The voice-recognized data is converted into text data (step S15), and the converted text data is, as shown in Fig. 6, displayed by the given number of words on the display (display unit 3). Specifically, in the list box shown in Fig. 6, display of a position-of-reproduction time passed since the start of the voice-recognized file and display of text data starting at the position of reproduction are carried out sequentially by the number of words set in the dialog box shown in Fig. 5. This processing is terminated when data comes to an end (step S17). Next, a processing operation of recognizing voice started at a given position in a file subjected to voice recognition will be described. When the position of reproduction indicated by the current position-of-reproduction indicator slider 15 in the main screen 11 shown in Fig. 3 is changed, if the voice recognition start button 22 belonging to the voice recognition tool button group 21 is pressed, voice recognition is started at the changed position of reproduction. The result of voice recognition then appears in the text editor screen shown in Fig. 4. Fig. 8 is a flowchart describing the third example (third voice recognition program) of a voice recognition program recorded in a recording medium having the voice recognition program recorded therein, wherein a processing operation of starting voice recognition at a given position in a file subjected to voice recognition and displaying the result is described. Specifically, when a user changes the position of reproduction indicated by the current position-of-reproduction indicator slider 15 shown in Fig. 3, voice data is read from a file subjected to voice recognition in the second recording medium (step S21). The third voice recognition program stretches compressed voice data in the same manner as the first voice recognition program (step S22). If a word coincident with a given position is detected (step S23), stretched PCM data starting with the word at the given position is voice-recognized (step S24). The voice-recognized data is converted into text data (step S25), and the converted text data is displayed on the display (display unit 3) (step S26). In other words, text data starting at the given position set in the editor screen shown in Fig. 4 is displayed. This processing is terminated when data comes to an end. Next, a processing operation of voice-recognizing a desired word, which should be voice-recognized, among those contained in a file subjected to voice recognition, and indicating the positions of the desired word will be described. The word recognition button 23 belonging to the voice recognition tool button group 21 shown in Fig. 3 is a button for use in voice-recognizing a desired word, which should be voice-recognized, among those contained in a file subjected to voice recognition, and indicating the positions of the desired word. Specifically, when the word recognition button 23 is pressed, only the word that should be voice-recognized is retrieved from a voice-compressed file by carrying out voice recognition. Retrieved locations are indicated with the lines 16 in the current position-of-reproduction indicator slider 15 so that they can be discerned at sight. The details will be described below. When the word recognition button 23 is pressed, the dialog box shown in Fig. 9 appears. With the dialog box, a user is prompted to enter a specified word that should be recognized. For suspending this processing, the cancel button is pressed. The processing is then exited and the main screen shown in Fig. 3 is returned. Fig. 10 is a flowchart describing the fourth example (fourth voice recognition program) of a voice recognition program recorded in a recording medium having the voice recognition program recorded therein, wherein a processing operation of voice-recognizing desired words alone, which should be voice-recognized, among those contained in a file subjected to voice recognition, and indicating the positions of the desired words is described. Specifically, after a desired word that should be recognized is entered in the screen shown in Fig. 9 by a user, when the start button is pressed, voice data is read from a file subjected to voice recognition in the second recording medium (step S31). The fourth voice recognition program stretches compressed voice data in the same manner as the first voice recognition program (step S32). Voice recognition is then started at the start of the selected voice-compressed file (step S33). Thereafter, when the word registered in the dialog box shown in Fig. 9 is recognized from among those contained in the file subjected to voice recognition (step S34), the positions of the word are indicated with the lines 16 in the current position-of-reproduction indicator slider 15 in the main screen 12 shown in Fig. 3. An index mark is inserted into a voice data item coincident with the position. Every time the index search button 17 in the reproduction control 18 in the main screen 11 shown in Fig. 3 is pressed, control is skipped sequentially to one of the positions indicated with the lines 16 (step S35 and step S36). This facility can be validated not only when reproduction is stopped but also when reproduction is under way. When voice recognition involving the end of the voice-compressed file is completed, all the positions at which the registered word is found are indicated with the lines 16 in the current position-of-reproduction indicator slider 15. This processing is terminated when data comes to an end (step S37). Next, a processing operation of deleting a portion of voice data corresponding to a designated portion of text data from a file subjected to voice recognition will be described. Fig. 11 is a flowchart describing the fifth example (fifth voice recognition program) of a voice recognition program recording in a recording medium having the voice recognition program recorded therein, wherein a processing operation of deleting a portion of voice data corresponding to a designated portion of text data from the second recording medium 10 is described. First, voice data is read from a file subjected to voice recognition in the second recording medium 10 (step S41). The fifth voice recognition program stretches compressed voice data in the same manner as the first voice recognition program (step S42). The stretched PCM data is voice-recognized (step S43). The voice-recognized data is converted into text data (step S44). Addresses in the second recording medium 10 associated with words are detected and then listed (step S45). Table 1 indicates the addresses in the second recording medium 10 allocated to an example of text data "The sky is blue and the ocean is also blue." Text Word Leading and last addresses in a recording medium 1 the 3468H 3492H 2 sky 3494H 3560H 3 is 3580H 3600H 4 blue 3610H 3620H 5 and 3622H 3640H 6 the 3692H 3699H 7 ocean 3706H 3720H 8 is 3724H 3736H 9 also 3740H 3753H 10 blue 3760H 3770H Thereafter, the above text data is kept displayed on the display until the data comes to an end (step S46 and step S47). When data comes to an end, it is judged whether or not the text data should be deleted (step S48). If the data should be deleted, a position of deletion is designated in the text data (step S49). Addresses in the second recording medium 10 associated with the designated position are retrieved from Table 1 (step S50). Thereafter, voice data is read from the second recording medium 10 (step S51), and stretched (step S52). The portion of the voice data defined by the addresses is deleted (step S53). Thereafter, the voice data is compressed again (step S54) and then overwritten (step S55). In this embodiment, addresses are listed so that a position of deletion in text data can be associated with a position in the second recording medium. Alternatively, times passed since the start of a file may be recorded in the form of a list. According to the voice recognition program of the first embodiment recorded in a recording medium to be adapted to a computer, a CPU is conventionally requested to exhibit a great processing capability because when voice output through a microphone is recognized directly, voice recognition must be carried out in real time. However, since stretching of a voice-compressed file and voice recognition should merely be repeated, the advantage that real-time processing is not required and the CPU is not requested to exhibit a great processing capability is exerted. Moreover, since real-time processing is not required, there is the advantage that an algorithm permitting voice recognition with high precision can be created. Furthermore, since the contents of a portion of a voice-compressed file can be discerned at sight, what is recorded at which position of reproduction can be grasped broadly. Only a portion of an existing voice-compressed file which should be converted into text data can be voice-recognized. In addition, control can be skipped spontaneously from an existing voice-compressed file to the position of a word serving as a keyword. A position of the word that should be retrieved can be reached at once. Furthermore, even after data is recorded, since a word can be designated later and an index mark can be inscribed in the recorded data, usefulness improves. Besides, even after data is recorded, since an unnecessary word can be designated later and deleted from the recorded data, an unsuccessful dictation can be deleted easily. In the computer 1 of the first embodiment, the first recording medium 7 is an external recording medium. After a recording medium having a given voice recognition program recorded therein is mounted in the computer 1, the given voice recognition program that is application software can be read from the recording medium. The present invention is not limited to this mode. Alternatively, any mode will do as long as a given voice recognition program can be activated by working on the CPU 1a in the computer. For example, the computer 1 may be provided with a recording medium having a voice recognition program recorded therein in advance so that the voice recognition program can be read any time. Figs. 12 to 17 relate to the second embodiment not forming part of the claimed invention. Fig. 12 is a conceptual diagram showing the overall configuration of a dictation system. The dictation system comprises: as shown in Fig. 12, a digital recorder 26 that is a voice recording apparatus for converting voice into an electric signal and producing voice data; a miniature card 10A, freely detachably attached to the digital recorder 26, serving as a voice date recording medium in which voice data is recorded; a PC card adaptor 27 used to insert the miniature card 10A into a PC card slot 9A (See Fig. 16) to be described later for connection; and a personal computer 1A including a display 3A serving as a display means, and a keyboard 2A and mouse 2B serving as an operation unit, and acting as a voice recognition apparatus for processing voice data read from the miniature card 10A through the PC card slot 9A according to a control program 28 or a voice recognition program 29. Fig. 13 is a block diagram showing the electrical configuration of the digital recorder 26. The digital recorder 26 comprises: as shown in Fig. 13, a microphone 31 serving as a voice data input means for inputting voice and converting it into an electric signal; a microphone amplifier 32 for amplifying a voice signal sent from the microphone 31 to a proper level; a lowpass filter 33 for removing unnecessary high-frequency components from the voice signal amplified by the microphone amplifier 32; an A/D converter 34 for converting an analog voice signal output from the lowpass filter 33 into digital data; an encoder-decoder 35 for encoding (compressing) the digitized voice signal during an recording operation, and decoding (stretching) encoded data during a reproduction operation; a memory control unit 36 serving as a recording means for controlling recording or reproduction of voice information in or from a voice memory 37, which will be described later, on the basis of address information given by a system control unit 38 to be described later; a voice memory 37 incorporated in the miniature card 10A serving as a voice data recording medium and formed with, for example, a semiconductor memory; a miniature card attachment 44 serving as a recording medium attaching means enabling the miniature card 10A including the voice memory 37 to be freely attached or detached to or from the digital recorder 26; a D/A converter 39 for converting the digital voice signal output from the encoder-decoder 35 into an analog signal; a lowpass filter 40 for removing unnecessary high-frequency components from a voice signal converted into an analog form by the D/A converter 39; a power amplifier 41 for amplifying an analog voice signal output from the lowpass filter 40; a loudspeaker 42 for uttering sound when driven by the power amplifier 41; an operation input unit 43 composed of various kinds of operation buttons including a check mark button 43a (See Fig. 14) to be described later; and a system control unit 38 that controls the digital recorder 26 including the encoder-decoder 35, memory control unit 36, and voice memory 37 in a centralized manner and that serves as a recording means to which an output terminal of the operation input unit 43 is connected. Fig. 14 is a diagram showing a scene in which the check mark button of the digital recorder is handled during dictation. The check mark button 43a serving as an interval designating means of the operation input unit 43 is, as shown in Fig. 14, located at a position enabling the thumb of a hand, by which the digital recorder 26 is grabbed, to handle the check mark button easily. The check mark button is a button to be pressed in order to append a check mark, which indicates that an uttered word is an unnecessary word, to voice data when an unnecessary word or the like is uttered while the contents of a document to be created are being dictated. The unnecessary word or the like is uttered unconsciously. The instant an unnecessary word was uttered, a speaker can recognize the uttered word as an unnecessary word. Since the check mark button 43a is located at a position enabling the speaker to press it easily, a check mark can be appended readily if necessary. Fig. 15 is a diagram showing the format of data to be recorded in the voice memory 37 in the miniature card 10A by the digital recorder 26. One record data is managed in the form of a file. In each file, information, for example, a date of recording and a recording time is written as a file header. In the remaining area, data divided into frames is written. Moreover, each frame includes check mark information indicating whether or not the check mark button 43a has been pressed, and encoded voice data. The check mark information is structured as, for example, a flag of, for example, 1 bit long. When the check mark button 43a is pressed, the flag is set to "1." When the check mark button 53a is not pressed, the flag is set to "0." Fig. 16 is a block diagram showing the electrical configuration of the personal computer 1A. The personal computer 1A carries out voice reproduction, information display, and the like according to the control program 28, carries out documentation according to the voice recognition program 29, and also carries out various kinds of processing according to the other various kinds of programs. The personal computer 1A comprises: a CPU 51 serving as a detecting means, a level adjusting means, a voice recognizing means, a voice rating means, a minimum value calculating means, a gain value calculating means, a multiplying means, and an averaging means; a main memory 52 serving as a recording medium offering a work area for the CPU 51; an internal recording medium 53 serving as a recording medium which is formed with, for example, a hard disk or floppy disk and in which the control program 28 and voice recognition program 29 are recorded; an external port 54 used to connect the personal computer to various kinds of external equipment; an interface 55 used to connect the display 3A to the personal computer; an interface 56 used to connect the keyboard 2A or mouse 2B; a loudspeaker 4A that is a voice output unit for uttering sound on the basis of voice data; an interface 57 used to connect the loudspeaker 4A; a PC card slot 9A which serves as a voice data reading means and into which the miniature card 10 attached to the PC card adaptor 27 is inserted; and an interface 58 used to connect the PC card slot 9A. The CPU 51, main memory 52, internal recording medium 53, external port 54, and interfaces 55, 56, 57, and 58 are interconnected over a bus. Voice data may be read directly from the miniature card 10A via the PC card slot 9A. Alternatively, the voice data may be temporarily recorded in the internal recording medium 53 and read from the internal recording medium 53. Otherwise, the voice data may be read directly from the digital recorder 26 via a communication means or the like. Thus, the voice data reading means is not limited to the PC card slot. Moreover, an example of screen display attained by running the control program in the personal computer is nearly identical to that shown in Fig. 3. Fig. 17 is a flowchart describing processing of voice recognition carried out in the personal computer 1A. The voice recognition is, as mentioned later, carried out stepwise in the order of phoneme recognition, word recognition, and sentence recognition. Specifically, when the voice recognition start button 22 belonging to the voice recognition tool button group 21 in the tool button bar 13 in the main screen 11 is clicked, voice recognition is started. A voice file highlighted in the voice file list box 14 is read in units of a given frame (step S61), and decoded in units of the frame (step S62). The decoded voice data is passed to the voice recognition program 29. First, a phoneme is identified (step S63). Word recognition is then carried out, wherein a word stream that matches input voice most satisfactorily is retrieved on the basis of a given language model suggested by the identified phoneme (step S64). What is referred to as the language model is a model giving a probability of occurrence that suggests a given word stream. As the language model, various forms have been conceived. However, an efficient model taking account of unnecessary words or the like has not been devised yet. In this embodiment, therefore, check mark information located at the start of each frame shown in Fig. 15 is checked to see if a word represented by data in a frame immediately preceding the frame is an unnecessary word or the like. Specifically, it is judged whether or not the check mark information is 1 (step S65). If the check mark information is 1, a word represented by data in a frame immediately preceding the frame is not regarded as an object of processing of sentence recognition of the next step (step S66). If the check mark information is 0, sentence recognition is carried out (step S67). Character conversion for converting voice data into character codes on the basis of a recognized sentence (step S68). The result of recognition is displayed in a screen on the display 3A (step S69). Thereafter, it is judged whether or not the voice file has come to an end (step S70). If the voice file has not come to an end, control is returned to step S61. If the voice file has come to an end, the processing is terminated. The processing of not regarding an unnecessary word as an object of recognition according to the result of detecting check mark information has been described to be carried out within the voice recognition program 29. Alternatively, the processing may be carried out within, for example, the control program 28, and the result may be passed to the voice recognition program 29. In this case, the control program 28 causes the personal computer 1A to fetch voice data from the miniature card 10A, and to detect check mark information appended to the voice data. If the check mark information is 1, the voice data is not passed to the voice recognition program 29. If the check mark information is 0, the voice data is passed to the voice recognition program 29. Moreover, a word represented by data in a frame immediately preceding a frame including check mark information of 1 has been described to be not regarded as an object of voice recognition. Alternatively, a word represented by data in a frame including check mark information of 1 may not be regarded as an object of voice recognition. Furthermore, the result of voice recognition has been described to be displayed as characters on the display 3A. Alternatively, the characters may be output as character data to a recording medium or may be displayed and output simultaneously. The check mark information has been described to be recorded during recording by the digital recorder 26. Alternatively, the system may be configured so that the check mark information can be designated during reproduction by the digital recorder 26 or reproduction by the personal computer 1A. According to the second embodiment, when a speaker presses the check mark button, a check mark is recorded in voice data. During processing of reproduction and voice recognition, the check mark is detected. A word represented by data in a frame having a check mark inscribed therein or a word represented by data in a frame preceding or succeeding the frame having the check mark inscribed therein is not regarded as an object of voice recognition. Consequently, treatment of an unnecessary word or the like which has not been able to be achieved in the past can be carried out easily without the need of increasing the load of voice recognition, that is, the need of especially fast processing. This results in a good-quality dictation system capable of achieving voice recognition properly and creating a document with few mistakes. Figs. 18 to 21 relate to the third embodiment not forming part of the claimed invention. The conceptual overall configuration of a dictation system of the third embodiment is identical to that shown in Fig. 12. Moreover, the electric configuration of the personal computer 1A is identical to that shown in Fig. 16. Next, Fig. 18 is a diagram showing the overall flow of reading voice data from a voice memory and recognizing voice which is followed by the dictation system, and Fig. 19 is a flowchart describing processing of voice recognition carried out by the dictation system. As described in Fig. 19, when the processing is started, voice data recorded in units of a file is read from a voice memory 61 in the miniature card 10A or internal recording medium 53, and Decoding 62 is executed (step S71). The result of decoding 62 is sent to Voiceful-or-voiceless Judgment 63 and Sample Absolute Value Averaging 64. Voiceful-or-voiceless Judgment 63 calculates a threshold value used for voiceful-or-voiceless judgment (step S72). Based on the calculated threshold value, whether voice data is voiceful or voiceless is judged (step S73). This processing will be explained in detail later in conjunction with Fig. 20. The result of voiceful-or-voiceless judgment 63 is sent to Sample Absolute Value Averaging 64. Sample Absolute Value Averaging 64 and Gain Calculation 65 are executed to calculate a gain (step S74). This processing will be described in conjunction with Fig. 21 later. Based on a gain calculated by Gain Calculation 65, Gain Multiplication 66 amplifies an output of Decoding 62 (step S75). Voice data adjusted to a proper level by Gain Multiplication 66 is sent to Voice Recognition 67, whereby voice recognition is carried out (step S76). Character conversion is carried out for converting the result of voice recognition into character codes (step S77). Resultant character codes are output and displayed 68 in a screen on the display 3A or the like (step S78). Fig. 20 is a flowchart describing the contents of processing relevant to voiceful-or-voiceless judgment performed at steps S72 and S73. When this processing is started, first, a variable f indicating a count of the number of frames is initialized to 0 (step S81). After the variable f is incremented (step S82), a level of frame energy e(f) is calculated according to an illustrated formula (step S83). In the formula, s(i) denotes an input signal of the (i-1)-th sample out of one frame, and N denotes the number of frames constituting one file. It is then judged whether or not the variable f is 1, that is, a frame to be treated is an initial frame (step S84). If the variable f is 1, a variable min indicating a minimum level of frame energy is set to e(1) (step S86). If it is found at step S84 that the variable f is not 1, it is judged whether or not the level of frame energy e(f) is smaller than the variable min (step S85). If the level of frame energy e(f) is smaller, the variable min is set to the level of frame energy e(f) (step S87). By contrast, if the level of frame energy e(f) is not smaller, nothing is done but control is passed to the nest step S88. It is then judged whether or not the file has come to an end (step S88). If the file has not come to an end, control is returned to step S82 and the foregoing processing is repeated. If it is judged at step S88 that the file has come to an end, a product of the variable min by a given value α (for example, 1.8) is set as a threshold value trs (step S89). The processing is then exited. This procedure of setting a threshold value is making the most of the fact that voice data is already recorded. Since the threshold value can be determined on the basis of the minimum energy level of the whole file, voiceful-or-voiceless judgment can be achieved with a little error. As described above, minimum values of all read intervals (that is, all the frames constituting a voice file) are calculated. Instead of the minimum values of all the intervals, a minimum value of an interval of a certain length will do. Next, Fig. 21 is a flowchart describing the contents of gain calculation to be performed at step S74 in Fig. 19. When this processing is started, a variable f indicating a count of the number of frames, a variable SumAbs indicating a sum of absolute values of samples, and a variable Cnt indicating the number of additions are initialized to 0s (step S91). The variable f is then incremented (step S92). It is judged whether or not the level of frame energy e(f) calculated within the processing described in Fig. 20 is larger than the threshold value trs (step S93). If the level of frame energy e(f) is larger than the threshold value trs, the sum of absolute values of samples of frames is added to the variable SumABs (step S94), and the variable Cnt is incremented (step S95). If it is found at step S93 that the level of frame energy e(f) is equal to or smaller than the threshold value, control is passed to the next step S96. Thereafter, it is judged whether or not the file has come to an end (step S96). If the file has not come to an end, control is returned to step S92 and the foregoing processing is repeated. If it is judged at step S96 that the file has come to an end, the variable SumAbs is divided by the variable Cnt in order to calculate an average value, average, of the absolute values of samples of frames (step S97). A given value LEV is divided by the average value, average, in order to calculate a gain, gain (step S98). Herein, the given value LEV is set to the average value of the predicted absolute values of samples. For example, an average value of absolute values of voice samples used to learn voice data by a voice recognizer is employed. According to the third embodiment, already-recorded voice data can be adjusted to a sound level suitable for voice recognition. Voice recognition can therefore be carried out on a stable basis irrespective of a sound level of recorded voice data. This results in a high-quality dictation system. In this invention, it is apparent that a wide range of different working modes can be formed on the basis of the invention without a departure from the scope of the invention.

Claims: A recording medium (7) having a voice recognition program recorded therein, said voice recognition program comprising computer program code means adapted to perform the following steps when the program is run on a computer (1): read voice data from a voice data recording medium (10) in which the voice data is recorded; characterized by : at intervals of a given time since the start of the voice data, voice-recognize only a given number of words, convert them into text data, and display the text data. The recording medium according to claim 1, wherein said voice data recorded in said voice data recording medium is compressed digital voice data. A voice recognition apparatus (1) for recognizing voice, comprising: a voice data reading means (8) for reading voice data from a voice data recording medium (10) in which the voice data is recorded; a voice recognition means (1a) for recognizing voice represented by the voice data and converting it into text data; and a display means (11) for displaying the text data; characterized in that said voice recognition means (1a) voice-recognize only a given number of words at intervals of a given time since the start of the voice data and convert them into text data. The voice recognition apparatus according to claim 3, wherein said voice data recorded in said voice data recording medium is compressed digital voice data. The voice recognition apparatus according to claim 3, wherein said voice recognition apparatus includes an attachment permitting attachment of said voice data recording medium. The voice recognition apparatus according to claim 5, wherein said voice data recording medium is attached to said attachment via an adaptor. The recording medium according to claim 1 or 2, wherein in a further voice recognition program procedure a voice recognition of a given number of words is started at a given position in said voice data recording medium. The voice recognition apparatus according to claim 3 or 4, wherein in a further voice recognition program procedure of said voice recognition means a voice recognition of a given number of words is started at a given position in said voice data recording medium.

Inventors: ONISHI TAKAFUMI, TAKAHASHI HIDETAKA, ONISHI, TAKAFUMI, TAKAHASHI, HIDETAKA
Applicants: OLYMPUS CORP, OLYMPUS CORPORATION
Application year: 1998
Main classification: G10L15
IPC codes: G10L15