JP7771015B2 - Speech recognition device, speech recognition method, and speech recognition program - Google Patents
Speech recognition device, speech recognition method, and speech recognition programInfo
- Publication number
- JP7771015B2 JP7771015B2 JP2022118135A JP2022118135A JP7771015B2 JP 7771015 B2 JP7771015 B2 JP 7771015B2 JP 2022118135 A JP2022118135 A JP 2022118135A JP 2022118135 A JP2022118135 A JP 2022118135A JP 7771015 B2 JP7771015 B2 JP 7771015B2
- Authority
- JP
- Japan
- Prior art keywords
- speech recognition
- topic
- recognition result
- correction
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Machine Translation (AREA)
Description
本発明の実施形態は、音声認識装置、音声認識方法、および音声認識プログラムに関する。 Embodiments of the present invention relate to a speech recognition device, a speech recognition method, and a speech recognition program.
音声認識技術を活用した字幕生成技術が知られている。字幕生成技術は、例えば、テレビ番組等の字幕制作の分野等で用いられている。しかし、背景音、言い間違い、専門用語を含む発話、などの音声認識では、誤認識が発生する場合がある。このため、音声認識結果をユーザが修正し、修正済の音声認識結果を出力することが行われている(例えば、非特許文献1参照)。音声認識性能の向上に関する技術としては、様々な手法が検討されている。例えば、音声認識結果から話題を推定し、推定した話題を用いて、音声認識に利用する言語スコアを調整する音声認識装置が開示されている(例えば、特許文献1参照)。 Subtitle generation technology that utilizes speech recognition technology is known. Subtitle generation technology is used, for example, in the field of subtitling for television programs and the like. However, speech recognition can sometimes result in misrecognition due to background sounds, slip-ups, or speech containing technical terms. For this reason, users are encouraged to correct the speech recognition results and output the corrected results (see, for example, Non-Patent Document 1). Various techniques are being considered for improving speech recognition performance. For example, a speech recognition device has been disclosed that infers a topic from speech recognition results and uses the inferred topic to adjust the language score used in speech recognition (see, for example, Patent Document 1).
特許文献1には、テレビ番組の台本や進行表などの話題情報から音声認識結果に対応するテキストを抽出し、抽出したテキストに関連するテキストをウェブサイト上の外部データから取得する技術が開示されている。そして、特許文献1には、外部データから取得したテキストを用いて、音声認識に利用する言語スコアを調整する技術が開示されている。 Patent Document 1 discloses a technology that extracts text corresponding to speech recognition results from topic information such as television program scripts and progress schedules, and obtains text related to the extracted text from external data on a website. Patent Document 1 also discloses a technology that uses text obtained from external data to adjust the language score used for speech recognition.
しかしながら、従来技術では、音声認識結果に関連するテキストをウェブサイト上の外部データから取得することで言語スコアを調整する構成のため、ニュース番組などのリアルタイムの字幕制作に応用することは難しく、音声認識性能の向上が図れない場合があった。 However, conventional technology adjusts language scores by obtaining text related to speech recognition results from external data on websites, making it difficult to apply to real-time subtitling for programs such as news programs, and in some cases preventing improvements in speech recognition performance.
本発明が解決しようとする課題は、音声認識性能の向上を図ることができる、音声認識装置、音声認識方法、および音声認識プログラムを提供することである。 The problem that this invention aims to solve is to provide a voice recognition device, a voice recognition method, and a voice recognition program that can improve voice recognition performance.
実施形態の音声認識装置は、認識部と、出力制御部と、を備える。認識部は、経過時間により変化する複数の話題の各々の前記経過時間ごとの話題出現確率が予め登録された話題データと、複数の前記話題の各々に紐づけられ、音声データから音声認識結果を出力するための適応言語モデルを含む認識モデルと、前記経過時間と、を用いて、前記音声データから音声認識結果を生成する。出力制御部は、前記音声認識結果を出力する。前記出力制御部は、前記音声認識結果と、前記音声認識結果の音声認識に用いた前記話題と、を表示部に出力し、前記話題出現確率が閾値以上の前記話題を、前記話題出現確率が前記閾値未満の前記話題とは異なる表示形態で前記表示部に出力する。 A speech recognition device according to an embodiment includes a recognition unit and an output control unit. The recognition unit generates a speech recognition result from speech data using topic data in which a topic appearance probability for each elapsed time for each of a plurality of topics that changes over time is registered in advance, a recognition model associated with each of the plurality of topics and including an adaptive language model for outputting a speech recognition result from speech data, and the elapsed time. The output control unit outputs the speech recognition result. The output control unit outputs the speech recognition result and the topic used for the speech recognition of the speech recognition result to a display unit, and outputs the topic whose topic appearance probability is equal to or greater than a threshold to the display unit in a different display format from the topic whose topic appearance probability is less than the threshold.
以下に添付図面を参照して、音声認識装置、音声認識方法、および音声認識プログラムを詳細に説明する。 The voice recognition device, voice recognition method, and voice recognition program are described in detail below with reference to the accompanying drawings.
図1は、本実施形態の音声認識装置10の一例の機能ブロック図である。 Figure 1 is a functional block diagram of an example of a speech recognition device 10 according to this embodiment.
音声認識装置10は、入力された音声データの音声認識処理を実行し、音声認識結果を出力する情報処理装置である。 The speech recognition device 10 is an information processing device that performs speech recognition processing on input speech data and outputs the speech recognition results.
音声認識装置10は、制御部20と、記憶部30と、UI(ユーザ・インターフェース)部40と、通信部50と、を備える。制御部20、記憶部30、UI部40、および通信部50は、バス等を介して通信可能に接続されている。 The speech recognition device 10 includes a control unit 20, a memory unit 30, a UI (user interface) unit 40, and a communication unit 50. The control unit 20, memory unit 30, UI unit 40, and communication unit 50 are connected to each other so that they can communicate with each other via a bus or the like.
記憶部30は、各種の情報を記憶する。本実施形態では、記憶部30は、話題データ31、認識モデル32、訂正モデル33、および修正履歴データ34等を記憶する。これらのデータおよびモデルの詳細は後述する。 The storage unit 30 stores various types of information. In this embodiment, the storage unit 30 stores topic data 31, recognition models 32, correction models 33, and correction history data 34. Details of these data and models will be described later.
UI部40は、表示部40Aおよび入力部40Bを含む。表示部40Aは、各種の情報を表示する。表示部40Aは、例えば、ディスプレイである。入力部40Bは、ユーザによる操作指示を受付ける。入力部40Bは、例えば、マウスおよびタッチパッドなどのポインティングデバイス、キーボード、等である。UI部40は、表示部40Aと入力部40Bとを一体的に構成したタッチパネルであってもよい。また、UI部40は、スピーカ、投影装置等による出力機能を更に備えた構成であってもよい。 The UI unit 40 includes a display unit 40A and an input unit 40B. The display unit 40A displays various types of information. The display unit 40A is, for example, a display. The input unit 40B accepts operational instructions from the user. The input unit 40B is, for example, a pointing device such as a mouse or touchpad, a keyboard, etc. The UI unit 40 may be a touch panel that integrates the display unit 40A and the input unit 40B. The UI unit 40 may also be configured to further include output functions such as a speaker, a projection device, etc.
通信部50は、音声認識装置10の外部の情報処理装置と通信するための通信インターフェースである。例えば、通信部50は、Ethernet(登録商標)等の有線ネットワーク、Wi-Fi(Wireless Fidelity)またはBluetooth(登録商標)等の無線ネットワーク、等により外部の情報処理装置や電子機器と通信する。 The communication unit 50 is a communication interface for communicating with information processing devices external to the speech recognition device 10. For example, the communication unit 50 communicates with external information processing devices or electronic devices via a wired network such as Ethernet (registered trademark), or a wireless network such as Wi-Fi (Wireless Fidelity) or Bluetooth (registered trademark).
制御部20は、音声認識装置10において情報処理を実行する。制御部20は、取得部20Aと、認識部20Bと、訂正部20Cと、出力制御部20Dと、記憶制御部20Eと、更新部20Fと、話題データ更新部20Gと、を備える。 The control unit 20 executes information processing in the speech recognition device 10. The control unit 20 includes an acquisition unit 20A, a recognition unit 20B, a correction unit 20C, an output control unit 20D, a memory control unit 20E, an update unit 20F, and a topic data update unit 20G.
取得部20A、認識部20B、訂正部20C、出力制御部20D、記憶制御部20E、更新部20F、および話題データ更新部20Gは、例えば、1または複数のプロセッサにより実現される。例えば上記各部は、CPU(Central Processing Unit)などのプロセッサにプログラムを実行させること、すなわちソフトウェアにより実現してもよい。上記各部は、専用のIC(Integrated Circuit)などのプロセッサ、すなわちハードウェアにより実現してもよい。上記各部は、ソフトウェアおよびハードウェアを併用して実現してもよい。複数のプロセッサを用いる場合、各プロセッサは、各部のうち1つを実現してもよいし、各部のうち2以上を実現してもよい。 The acquisition unit 20A, recognition unit 20B, correction unit 20C, output control unit 20D, storage control unit 20E, update unit 20F, and topic data update unit 20G are realized, for example, by one or more processors. For example, each of the above units may be realized by having a processor such as a CPU (Central Processing Unit) execute a program, i.e., by software. Each of the above units may also be realized by a processor such as a dedicated IC (Integrated Circuit), i.e., by hardware. Each of the above units may also be realized by a combination of software and hardware. When multiple processors are used, each processor may realize one of the units, or two or more of the units.
なお、記憶部30に記憶されている情報および制御部20に含まれる上記各部の少なくとも一部を、音声認識装置10に対して通信可能に接続された外部の情報処理装置に搭載した構成としてもよい。 In addition, the information stored in the memory unit 30 and at least some of the above-mentioned components included in the control unit 20 may be installed in an external information processing device communicatively connected to the voice recognition device 10.
取得部20Aは、音声データを取得する。音声データとは、音声のデータである。音声は、例えば、ユーザによって発話された音声、各種の機器からスピーカ等を介して出力された音声、等である。本実施形態では、音声データが、ユーザによって発話された音声のデータである場合を想定して説明する。 The acquisition unit 20A acquires voice data. Voice data is data of voice. Voice may be, for example, voice spoken by a user, or voice output from various devices via speakers, etc. In this embodiment, we will assume that the voice data is data of voice spoken by a user.
例えば、取得部20Aは、制御部20に接続された図示を省略するマイクロフォンによって収集されるリアルタイムの音声を逐次デジタル化することで、時系列に連続する音声の音声データを取得する。取得部20Aは、予め録音され記憶部30等に記憶された音声ファイルから音声データを読取ることで、音声データを取得してもよい。 For example, the acquisition unit 20A acquires audio data of continuous audio in a time series by sequentially digitizing real-time audio collected by a microphone (not shown) connected to the control unit 20. The acquisition unit 20A may also acquire audio data by reading audio data from an audio file that has been recorded in advance and stored in the storage unit 30, etc.
認識部20Bは、話題データ31と、認識モデル32と、経過時間と、を用いて、取得部20Aで取得した音声データから音声認識結果を生成する。 The recognition unit 20B generates speech recognition results from the speech data acquired by the acquisition unit 20A using the topic data 31, the recognition model 32, and the elapsed time.
話題データ31とは、経過時間により変化する複数の話題の各々の、経過時間ごとの話題出現確率が予め登録されたデータである。 Topic data 31 is pre-registered data that contains the topic appearance probability for each elapsed time for each of multiple topics that change over time.
話題とは、音声データによって表される内容の題目を表す情報である。 A topic is information that indicates the subject of the content represented by the audio data.
経過時間とは、所定のタイミングを起点とし、該起点からの経過時間を表す情報である。例えば、経過時間は、取得部20Aで取得する音声データの発話開始タイミングを起点とした経過時間、制御部20による音声認識開始タイミングを起点とした経過時間、話題データ31における先頭の話題を起点とした経過時間、等である。 Elapsed time is information that indicates the amount of time that has elapsed since a specific timing. For example, the elapsed time may be the time that elapsed from the timing at which speech starts in the voice data acquired by the acquisition unit 20A, the time that elapsed from the timing at which voice recognition by the control unit 20 starts, the time that elapsed from the first topic in the topic data 31, etc.
本実施形態では、経過時間が、取得部20Aで取得する音声データの音声認識開始タイミングを起点とした経過時間である形態を一例として説明する。なお、制御部20では、処理対象のデータ間で用いられる経過時間の起点が異なる場合、起点となるタイミングが一致するように、各データに含まれるタイムスタンプに関する情報を用いて経過時間を調整した上で、後述する各処理を実行すればよい。本実施形態では、各データで用いられる経過時間の起点が同じであるものとして説明を続ける。 In this embodiment, we will explain an example in which the elapsed time is the time elapsed from the start of voice recognition of the voice data acquired by the acquisition unit 20A. Note that if the start points of the elapsed time used for the data to be processed differ, the control unit 20 adjusts the elapsed time using information related to the timestamp included in each data so that the start points match, and then executes the processes described below. In this embodiment, we will continue the explanation assuming that the start points of the elapsed time used for each data are the same.
図2Aは、話題データ31Aのデータ構成の一例を示す模式図である。話題データ31Aは、音声データが日本語の音声のデータである場合の、話題データ31の一例である。図2Aに示すように、話題データ31Aは、経過時間ごとに、音声データにおける該経過時間に出現する話題と、該話題の該経過時間における話題出現確率と、を対応付けたデータベースである。図2Aには、話題及び話題出現確率を、分単位によって示される所定の期間の経過時間ごとに紐づけた例を示す。 Figure 2A is a schematic diagram showing an example of the data structure of topic data 31A. Topic data 31A is an example of topic data 31 when the audio data is Japanese audio data. As shown in Figure 2A, topic data 31A is a database that associates, for each elapsed time, topics that appear in the audio data at that elapsed time with the topic appearance probability of that topic at that elapsed time. Figure 2A shows an example in which topics and topic appearance probabilities are linked for each elapsed time of a specified period indicated in minutes.
図2Bは、話題データ31Bのデータ構成の一例を示す模式図である。話題データ31Bは、音声データが日本語の音声のデータである場合の、話題データ31の一例である。図2B中、横軸は経過時間を表す、縦軸は話題出現確率を表す。図2Bに示すように、話題データ31Aは、経過時間ごとに、音声データにおける該経過時間に出現する話題と、該話題の該経過時間における話題出現確率と、をグラフ形式で表したデータであってもよい。図2Bには、話題及び話題出現確率を、分単位によって示される所定の期間の経過時間ごとに紐づけた例を示す。 Figure 2B is a schematic diagram showing an example of the data structure of topic data 31B. Topic data 31B is an example of topic data 31 when the audio data is Japanese audio data. In Figure 2B, the horizontal axis represents elapsed time, and the vertical axis represents the topic appearance probability. As shown in Figure 2B, topic data 31A may be data that graphically represents, for each elapsed time, the topics that appear in the audio data at that elapsed time and the topic appearance probability of that topic at that elapsed time. Figure 2B shows an example in which topics and topic appearance probabilities are linked for each elapsed time of a predetermined period indicated in minutes.
図2Aおよび図2Bには、話題として、「一般」、「スポーツ」、「天気」を一例として示す。図2Aおよび図2Bには、最も高い話題出現確率を示す話題が経過時間に応じて「一般」、「スポーツ」、および「天気」のこの順に推移する例を示す。 Figures 2A and 2B show examples of topics such as "General," "Sports," and "Weather." Figures 2A and 2B also show an example in which the topics with the highest topic appearance probability change over time in the order "General," "Sports," and "Weather."
なお、話題データ31のデータ形式は、データベース、グラフ形式、に限定されない。例えば、話題データ31は、経過時間に対応する話題の話題出現確率を、正規分布等の一般的に用いられる確率分布に従って表したデータであってもよい。 The data format of the topic data 31 is not limited to a database or graph format. For example, the topic data 31 may be data that represents the topic appearance probability of a topic corresponding to elapsed time according to a commonly used probability distribution such as a normal distribution.
なお、図2Aおよび図2Bには、話題データ31に示される各話題の経過時間の単位が、分単位である場合を一例として示す。しかし、経過時間の単位は、分単位に限定されない。例えば、話題データ31に示される各話題の経過時間の単位は、一般的な1つのテレビ番組の放映時間より長い期間であってもよい。具体的には、経過時間の単位は、週単位、月単位、季節単位、イベント期間等であってもよい。 Note that Figures 2A and 2B show an example in which the elapsed time for each topic shown in topic data 31 is measured in minutes. However, the unit of elapsed time is not limited to minutes. For example, the unit of elapsed time for each topic shown in topic data 31 may be a period longer than the broadcast time of a typical television program. Specifically, the unit of elapsed time may be weekly, monthly, seasonal, event period, etc.
例えば、オリンピックの開催時期には、ニュース番組などで話題「オリンピック」の内容が取り上げられる可能性が高い。このため、制御部20は、例えば、イベント期間の一例であるオリンピックの開催期間を経過時間とし、該経過時間に対応する上位の話題出現確率の話題として話題「オリンピック」、次の話題出現確率の話題として話題「スポーツ」を規定した話題データ31を予め記憶部30に記憶する。また、制御部20は、オリンピック向けの汎用言語モデル32Bおよび適応言語モデル32Cを予め生成し、認識モデル32として登録すればよい。汎用言語モデル32Bおよび適応言語モデル32Cの詳細は後述する。 For example, during the Olympic Games, there is a high possibility that the topic "Olympics" will be featured in news programs and the like. For this reason, the control unit 20, for example, sets the duration of the Olympics, which is an example of an event period, as the elapsed time, and stores in advance in the storage unit 30 topic data 31 that specifies the topic "Olympics" as the topic with the highest topic appearance probability corresponding to that elapsed time, and the topic "sports" as the topic with the next highest topic appearance probability. The control unit 20 may also generate a general-purpose language model 32B and an adapted language model 32C for the Olympics in advance and register them as recognition models 32. Details of the general-purpose language model 32B and the adapted language model 32C will be described later.
話題データ31は、少なくとも認識部20Bによる認識処理前に予め生成された情報であればよく、ユーザによる音声の発話前、ユーザによる音声の発話後、の何れのタイミングで生成されてもよい。 Topic data 31 may be information generated in advance at least prior to the recognition process by recognition unit 20B, and may be generated either before or after the user speaks.
話題データ31がユーザによる発話前に予め生成された情報である場合、話題データ31は、例えば、番組進行予定シートの情報や、講演用のメモの情報等を用いて予め生成されていればよい。番組進行予定シートは、放送番組の制作の際に用いられる、制作番組の進行予定内容が記載された情報である。講演用のメモは、講演の際に用いられるスピーチ内容が記載されたメモである。 When topic data 31 is information generated in advance before a user speaks, topic data 31 may be generated in advance using, for example, information from a program progress schedule sheet or information from lecture notes. A program progress schedule sheet is information used when producing a broadcast program that describes the planned progress of the program being produced. Lecture notes are notes that describe the speech content to be used during a lecture.
話題データ31がユーザによる発話後に生成された情報である場合、話題データ31は、例えば、講演後にまとめられた講演記録の情報や、会議の議事録の情報などである。 When topic data 31 is information generated after a user speaks, topic data 31 may be, for example, information on lecture records compiled after a lecture or information on meeting minutes.
話題データ31は、制御部20によって予め生成されていてもよく、また、外部の情報処理によって予め生成されていてもよい。 Topic data 31 may be generated in advance by the control unit 20, or may be generated in advance by external information processing.
図1に戻り説明を続ける。 Let's return to Figure 1 and continue the explanation.
認識モデル32とは、音声認識時に用いられる予め学習された学習モデルである。認識モデル32は、音響モデル32Aと、汎用言語モデル32Bと、適応言語モデル32Cと、を含む。 The recognition model 32 is a pre-trained learning model used during speech recognition. The recognition model 32 includes an acoustic model 32A, a general-purpose language model 32B, and an adapted language model 32C.
音響モデル32Aは、音声データを入力とし、音声データに含まれる経過時間ごとの音素の各々の音素出現確率を出力するための機械学習モデルである。音響モデル32Aは、公知の方法により予め学習されたモデルであればよい。 Acoustic model 32A is a machine learning model that takes speech data as input and outputs the phoneme occurrence probability for each phoneme included in the speech data for each elapsed time. Acoustic model 32A may be a model that has been trained in advance using a known method.
汎用言語モデル32Bは、音声データに含まれる経過時間ごとの音素および音素出現確率を入力とし、経過時間ごとの汎用候補単語列を出力するための機械学習モデルである。汎用言語モデル32Bは、公知の方法により予め学習されたモデルであればよい。 The generic language model 32B is a machine learning model that takes as input the phonemes and phoneme occurrence probabilities for each elapsed time contained in the speech data and outputs a generic candidate word string for each elapsed time. The generic language model 32B may be a model that has been trained in advance using a known method.
適応言語モデル32Cは、音声データから音声認識結果を出力するための機械学習モデルモデルである。適応言語モデル32Cは、複数の話題の各々に紐づけられて記憶部30に予め記憶されている。すなわち、認識モデル32は複数の適応言語モデル32Cを含み、複数の適応言語モデル32Cは、それぞれ互いに異なる話題に紐づけられている。 The adapted language model 32C is a machine learning model for outputting speech recognition results from speech data. The adapted language model 32C is linked to each of multiple topics and pre-stored in the storage unit 30. In other words, the recognition model 32 includes multiple adapted language models 32C, and each of the multiple adapted language models 32C is linked to a different topic.
詳細には、適応言語モデル32Cは、汎用候補単語列によって表される音素列を入力とし、候補単語列を出力するための機械学習モデルである。適応言語モデル32Cは、公知の方法により予め学習されたモデルであればよい。 In detail, the adapted language model 32C is a machine learning model that takes a phoneme string represented by a generic candidate word string as input and outputs a candidate word string. The adapted language model 32C may be a model that has been trained in advance using a known method.
認識部20Bは、上述したように、話題データ31と、認識モデル32と、経過時間と、を用いて、取得部20Aで取得した音声データから音声認識結果を生成する。 As described above, the recognition unit 20B uses the topic data 31, the recognition model 32, and the elapsed time to generate a speech recognition result from the speech data acquired by the acquisition unit 20A.
詳細には、認識部20Bは、取得部20Aで取得した音声データの経過時間ごとに、経過時間に対応する話題出現確率が最も高い話題に紐づけられた適応言語モデル32Cを用いた音声認識結果を生成する。 In detail, for each elapsed time of the speech data acquired by the acquisition unit 20A, the recognition unit 20B generates a speech recognition result using an adapted language model 32C linked to the topic with the highest probability of topic appearance corresponding to the elapsed time.
認識部20Bは、取得部20Aで取得した音声データを音響モデル32Aへ入力する。この処理により、認識部20Bは、音響モデル32Aからの出力として、該音声データに含まれる経過時間ごとの音素の各々の音素出現確率を導出する。 The recognition unit 20B inputs the speech data acquired by the acquisition unit 20A into the acoustic model 32A. Through this processing, the recognition unit 20B derives the phoneme occurrence probability for each phoneme included in the speech data for each elapsed time as output from the acoustic model 32A.
そして、認識部20Bは、導出した音素と該音素の音素出現確率とのペアを音声データに沿って時系列に配列し、汎用言語モデル32Bへ入力する。これらの処理により、認識部20Bは、汎用言語モデル32Bからの出力として、経過時間ごとの汎用候補単語列を導出する。 The recognition unit 20B then arranges the derived phoneme and its phoneme occurrence probability pairs in chronological order along with the speech data, and inputs them into the general-purpose language model 32B. Through these processes, the recognition unit 20B derives a general-purpose candidate word string for each elapsed time as output from the general-purpose language model 32B.
更に、認識部20Bは、経過時間に対応する汎用候補単語列によって表される音素列を、複数の話題の各々に対応する適応言語モデル32Cの各々へ入力することで、複数の候補単語列を導出する。 Furthermore, the recognition unit 20B derives multiple candidate word sequences by inputting the phoneme sequence represented by the generic candidate word sequence corresponding to the elapsed time into each of the adapted language models 32C corresponding to each of the multiple topics.
そして、認識部20Bは、経過時間および話題ごとに導出した複数の候補単語列の各々について、各々の話題に対応する適応言語モデル32Cによって得られる言語スコアと対応する話題出現確率との乗算値と、音響モデル32Aにより得られる音響スコアと、汎用言語モデル32Bにより得られる汎用言語スコアと、の加算値を、候補単語列スコアとして算出する。 Then, for each of the multiple candidate word strings derived for each elapsed time and topic, the recognition unit 20B calculates a candidate word string score by adding the product of the language score obtained by the adapted language model 32C corresponding to each topic and the corresponding topic occurrence probability, the acoustic score obtained by the acoustic model 32A, and the general-purpose language score obtained by the general-purpose language model 32B.
すなわち、認識部20Bは、以下の式(1)および式(2)を用いて、経過時間および話題ごとの複数の候補単語列の各々の、候補単語列スコアを算出する。 That is, the recognition unit 20B calculates the candidate word string score for each of multiple candidate word strings for each elapsed time and topic using the following formulas (1) and (2).
式(1)中、nは、話題のID(識別情報)を表す。tは、経過時間を表す。Scoren,tは、経過時間tおよび話題nの候補単語列の候補単語列スコアを表す。Acoustictは、経過時間tの音響スコアを表す。Languagetは、経過時間tの汎用言語スコアを表す。λは、定数を表す。Topicn,tは、経過時間tおよび話題nの話題出現確率を表す。Adaptn,tは、経過時間tおよび話題nの適応言語スコアを表す。 In formula (1), n represents the topic ID (identification information). t represents the elapsed time. Score n,t represents the candidate word string score of the candidate word string for the elapsed time t and topic n. Acoustic t represents the acoustic score for the elapsed time t. Language t represents the general-purpose language score for the elapsed time t. λ represents a constant. Topic n,t represents the topic occurrence probability for the elapsed time t and topic n. Adapt n,t represents the adaptive language score for the elapsed time t and topic n.
なお、認識部20Bは、話題データ31にある、各話題に対して、上記式(1)により、スコアScoren,tを算出する。または、計算量削減のために、話題データ31における経過時間tに対応する話題出現確率が閾値以上である複数の話題のみスコアを算出する構成にしてもよい。例えば、この閾値は、0.5であるが、この値に限定されない。 The recognition unit 20B calculates a score Score n,t for each topic in the topic data 31 using the above formula (1). Alternatively, to reduce the amount of calculation, the recognition unit 20B may be configured to calculate scores only for multiple topics whose topic appearance probability corresponding to the elapsed time t in the topic data 31 is equal to or greater than a threshold. For example, this threshold is 0.5, but is not limited to this value.
具体的には、話題データ31における、ある経過時間tに対応する閾値以上の話題出現確率の話題として「スポーツ」および「オリンピック」が特定された場面を想定する。また、話題「スポーツ」の話題出現確率が最も高く、話題「オリンピック」の話題出現確率が次に高い場合を想定する。この場合、認識部20Bは、該経過時間tに対応する話題の話題出現確率Topicn,tとして、話題「スポーツ」の話題出現確率および話題「オリンピック」の話題出現確率を決定すればよい。 Specifically, assume a situation in which "sports" and "Olympics" are identified as topics with topic appearance probabilities equal to or greater than a threshold corresponding to a certain elapsed time t in the topic data 31. Also assume a situation in which the topic appearance probability of the topic "sports" is the highest, and the topic appearance probability of the topic "Olympics" is the next highest. In this case, the recognition unit 20B determines the topic appearance probabilities of the topic "sports" and the topic appearance probabilities of the topic "Olympics" as the topic appearance probabilities TOPIC n,t of the topics corresponding to the elapsed time t.
認識部20Bは、経過時間および話題ごとに導出した複数の候補単語列の内、経過時間ごとに候補単語列スコアの最も高い候補単語列を、各経過時間の各々に対応する音声認識結果として採用する。 Of the multiple candidate word strings derived for each elapsed time and topic, the recognition unit 20B adopts the candidate word string with the highest candidate word string score for each elapsed time as the speech recognition result corresponding to each elapsed time.
これらの処理により、認識部20Bは、音声データの経過時間ごとに、経過時間に対応する話題出現確率が最も高い話題に紐づけられた適応言語モデル32Cを用いた音声認識結果を、該音声データの該経過時間に対応する音声認識結果として生成する。 Through these processes, the recognition unit 20B generates, for each elapsed time in the speech data, a speech recognition result using the adapted language model 32C associated with the topic with the highest probability of occurrence corresponding to that elapsed time, as the speech recognition result corresponding to that elapsed time in the speech data.
次に、訂正部20Cについて説明する。 Next, we will explain the correction unit 20C.
訂正部20Cは、音声認識結果を訂正するための訂正モデル33を用いて、音声認識結果を訂正した訂正音声認識結果を生成する。訂正音声認識結果は、音声認識結果を構成する少なくとも一部の単語を正しい認識結果に訂正したものである。 The correction unit 20C uses a correction model 33 for correcting the speech recognition result to generate a corrected speech recognition result by correcting the speech recognition result. The corrected speech recognition result is one in which at least some of the words that make up the speech recognition result have been corrected to a correct recognition result.
訂正モデル33とは、音声認識結果の訂正に用いる機械学習モデルである。訂正モデル33は、訂正ベースモデル33Aと、訂正変換器33Bと、を含む。 The correction model 33 is a machine learning model used to correct speech recognition results. The correction model 33 includes a correction base model 33A and a correction converter 33B.
訂正ベースモデル33Aは、音声認識結果から該音声認識結果の第1特徴量を取得するための機械学習モデルである。訂正ベースモデル33Aは、音声認識結果と正解テキストとのペアによって予め学習されている。正解テキストとは、正しい音声認識結果を表す。第1特徴量は、訂正ベースモデル33Aの中間層から出力されるテンソルである。第1特徴量は、中間表現、または、潜在表現と称される場合もある。 The correction base model 33A is a machine learning model for acquiring the first feature of the speech recognition result from the speech recognition result. The correction base model 33A is trained in advance using pairs of speech recognition results and correct text. The correct text represents the correct speech recognition result. The first feature is a tensor output from the intermediate layer of the correction base model 33A. The first feature is sometimes referred to as an intermediate representation or a latent representation.
訂正変換器33Bは、第1特徴量から訂正音声認識結果を出力するための機械学習モデルである。 The correction converter 33B is a machine learning model for outputting corrected speech recognition results from the first feature.
図3Aは、訂正部20Cによる訂正処理の一例の説明図である。 Figure 3A is an explanatory diagram of an example of correction processing by the correction unit 20C.
訂正部20Cは、認識部20Bから受け付けた音声認識結果と、訂正ベースモデル33Aと、を用いて、音声認識結果の第1特徴量を取得する。訂正部20Cは、音声認識結果を訂正ベースモデル33Aへ入力することで、訂正ベースモデル33Aの中間層からの出力として第1特徴量を取得する。 The correction unit 20C acquires a first feature of the speech recognition result using the speech recognition result received from the recognition unit 20B and the correction base model 33A. The correction unit 20C inputs the speech recognition result to the correction base model 33A, thereby acquiring the first feature as an output from the intermediate layer of the correction base model 33A.
訂正部20Cは、取得した第1特徴量を訂正変換器33Bへ入力することで、訂正音声認識結果を生成する。 The correction unit 20C generates a corrected speech recognition result by inputting the acquired first feature amount to the correction converter 33B.
図3Bは、訂正変換器33Bの構成の一例を示す模式図である。例えば、訂正変換器33Bは、複数の単語の各々を表すノードと、複数の単語間の連結関係を表す経路であるアークと、によって構成される。図3B中、ノードである単語を丸印で表し、アークである経路を矢印で表す。 Figure 3B is a schematic diagram showing an example of the configuration of the correction converter 33B. For example, the correction converter 33B is composed of nodes representing multiple words and arcs, which are paths representing the connections between the multiple words. In Figure 3B, the words that are nodes are represented by circles, and the paths that are arcs are represented by arrows.
訂正部20Cは、入力された第1特徴量と、訂正変換器33Bに規定された複数の単語の各々の潜在表現である第2特徴量と、の類似度を用いて、訂正変換器33Bによって規定される複数の単語の連結関係を表した経路を探索する。この類似度には、コサイン類似度を用いればよい。このとき、訂正部20Cは、類似度が閾値以下の単語は、経路探索候補から除いて探索する。そして、訂正部20Cは、最短経路を探索し、最短経路を構成する単語からなる単語列を、訂正音声認識結果として出力する。 The correction unit 20C searches for a path representing the connection relationship between the multiple words defined by the correction converter 33B, using the similarity between the input first feature and the second feature, which is a latent expression of each of the multiple words defined by the correction converter 33B. Cosine similarity may be used as this similarity. During this search, the correction unit 20C excludes words with a similarity below a threshold from the path search candidates. The correction unit 20C then searches for the shortest path and outputs a word string consisting of the words that make up the shortest path as the corrected speech recognition result.
図1に戻り説明を続ける。なお、訂正部20Cは、探索に用いる類似度である類似度スコアの算出に、経過時間を利用することが好ましい。 Returning to Figure 1, we will continue the explanation. It is preferable that the correction unit 20C use the elapsed time to calculate the similarity score, which is the similarity used in the search.
すなわち、訂正部20Cは、修正履歴データ34における、類似度算出対象の単語の経過時間に対してより近い修正時刻に紐づけられた修正音声認識結果に含まれる修正文字列に一致する単語の第2特徴量であるほど、第1特徴量との類似度を高くした、訂正音声認識結果を生成する。修正文字列とは、修正音声認識結果を構成する文字列の内、対応する音声認識結果とは異なる文字列を意味する。言い換えると、修正文字列は、修正音声認識結果と音声認識結果との差異の文字列である。なお、文字列は、1文字であってもよく、複数文字であってもよい。 In other words, the correction unit 20C generates a corrected speech recognition result in which the similarity to the first feature value increases the closer the second feature value of a word matches a corrected string included in a corrected speech recognition result linked to a correction time in the correction history data 34 that is closer to the elapsed time of the word for which similarity is to be calculated. A corrected string refers to a string of characters that makes up the corrected speech recognition result and that differs from the corresponding speech recognition result. In other words, a corrected string is a string that is different between the corrected speech recognition result and the speech recognition result. Note that the string may consist of one character or multiple characters.
修正履歴データ34とは、音声認識結果に対するユーザによる修正履歴を管理するためのデータである。修正履歴データ34は、後述する記憶制御部20Eによって更新される。 Correction history data 34 is data for managing the history of user corrections made to speech recognition results. The correction history data 34 is updated by the storage control unit 20E, which will be described later.
修正履歴データ34は、音声認識結果と、修正音声認識結果と、音声認識結果の音声認識に用いた話題と、経過時間である修正時刻と、を紐づけたデータである。 The revision history data 34 is data that links together the speech recognition result, the revised speech recognition result, the topic used in the speech recognition of the speech recognition result, and the revision time, which is the elapsed time.
修正音声認識結果は、認識部20Bから出力された音声認識結果、または該音声認識結果の訂正部20Cによる訂正音声認識結果に対して、ユーザによって修正された修正後の音声認識結果を表す。本実施形態では、修正音声認識結果は、訂正音声認識結果に対して、ユーザによって修正された修正後の音声認識結果を表す場合を一例として説明する。修正時刻は、ユーザにより修正された修正音声認識結果に対応する経過時間を表す。 The corrected speech recognition result represents a speech recognition result corrected by the user with respect to the speech recognition result output from the recognition unit 20B or the corrected speech recognition result corrected by the correction unit 20C for the speech recognition result. In this embodiment, the corrected speech recognition result represents a speech recognition result corrected by the user with respect to the corrected speech recognition result, as an example. The correction time represents the elapsed time corresponding to the corrected speech recognition result corrected by the user.
図4Aは、修正履歴データ34Aのデータ構成の一例を示す模式図である。修正履歴データ34Aは、音声データが日本語の音声のデータである場合の、修正履歴データ34の一例である。図4に示すように、修正履歴データ34Aには、修正時刻と、話題と、音声認識結果と、修正音声認識結果と、が紐づけて登録される。 Figure 4A is a schematic diagram showing an example of the data structure of correction history data 34A. Correction history data 34A is an example of correction history data 34 when the speech data is Japanese speech data. As shown in Figure 4, correction history data 34A registers the correction time, topic, speech recognition result, and corrected speech recognition result in association with each other.
図4Bは、修正履歴データ34Bのデータ構成の一例を示す模式図である。修正履歴データ34Bは、音声データが英語の音声のデータである場合の、修正履歴データ34の一例である。図4Bに示すように、修正履歴データ34Bには、修正時刻である時刻と、話題と、音声認識結果と、修正音声認識結果と、が紐づけて登録される。 Figure 4B is a schematic diagram showing an example of the data structure of correction history data 34B. Correction history data 34B is an example of correction history data 34 when the audio data is English audio data. As shown in Figure 4B, correction history data 34B registers the time of correction, the topic, the speech recognition result, and the corrected speech recognition result in association with each other.
図1に戻り説明を続ける。訂正部20Cは、類似度スコアの算出に経過時間を利用する場合、以下の式(3)を用いて、類似度スコアを算出する。 Returning to Figure 1, we will continue the explanation. When using elapsed time to calculate the similarity score, the correction unit 20C calculates the similarity score using the following equation (3).
式(3)中、nは、話題のID(識別情報)を表す。tは、経過時間を表す。FixScoren,tは、経過時間tおよび話題nの音声認識結果の第1特徴量と、訂正変換器33Bに規定された複数の単語の各々の潜在表現である第2特徴量と、の類似度スコアを表す。Wfixは、修正音声認識結果に含まれる修正文字列を表す。Wasrは、音声認識結果または訂正音声認識結果を表す。本実施形態では、Wasrは、訂正音声認識結果を表す場合を一例として説明する。 In formula (3), n represents the ID (identification information) of the topic. t represents the elapsed time. FixScore n,t represents the similarity score between the first feature of the speech recognition result of the elapsed time t and topic n and the second feature, which is a latent expression of each of the multiple words defined in the correction converter 33B. W fix represents the corrected character string included in the corrected speech recognition result. W asr represents the speech recognition result or the corrected speech recognition result. In this embodiment, a case where W asr represents the corrected speech recognition result will be described as an example.
logP(Wfix|Wasr)は、補正前の類似度スコアを表す。fn(t,Wfix)は、修正時刻を利用した重み付け値を表す。fn(t,Wfix)は、訂正変換器33Bに規定された複数の単語の内の、修正音声認識結果に含まれる修正文字列を構成する単語であって、該単語の修正時刻(経過時間)が音声認識結果に含まれる比較対象の単語の経過時間tに対してより近い時間であるほど、高い値を表す。 logP(W fix |W asr ) represents the similarity score before correction. f n (t, W fix ) represents a weighting value using the correction time. f n (t, W fix ) represents a word that constitutes the corrected character string included in the corrected speech recognition result, among the multiple words defined in the correction converter 33B, and the closer the correction time (elapsed time) of the word is to the elapsed time t of the comparison word included in the speech recognition result, the higher the value represents.
このように、訂正部20Cは、探索に用いる類似度である類似度スコアの算出に経過時間を利用することで、前回の修正時刻に近いほど高い類似度スコアを算出してもよい。 In this way, the correction unit 20C may use elapsed time to calculate the similarity score, which is the similarity used in the search, and calculate a higher similarity score the closer it is to the time of the last modification.
訂正部20Cが前回の修正時刻に近いほど高い類似度スコアを算出することで、訂正部20Cは、現在発話中の音声データの音声認識による誤認識を、よりリアルタイムで且つ高精度で訂正した訂正音声認識結果を生成することができる。 By calculating a higher similarity score the closer the correction unit 20C is to the time of the previous correction, the correction unit 20C can generate a corrected speech recognition result that corrects misrecognitions caused by speech recognition of currently spoken speech data in more real time and with higher accuracy.
また、訂正部20Cは、探索に用いる類似度である類似度スコアに、音声認識結果の導出に用いた話題に対応する重み値を付加した修正類似度を用いて訂正変換器33Bの経路を探索してもよい。 The correction unit 20C may also search for a path for the correction converter 33B using a modified similarity obtained by adding a weighting value corresponding to the topic used to derive the speech recognition result to the similarity score, which is the similarity used for the search.
例えば、修正履歴データ34を、各話題に対応する重み値を更に紐づけた構成とする。話題に対応する重み値は、例えば、ユーザによる操作指示等に登録されればよい。そして、訂正部20Cは、上記式(3)におけるfn(t,Wfix)として、経過時間tである修正時刻に対応する話題に紐づけられた重み値を用いればよい。また、訂正部20Cは、上記式(3)における、fn(t,Wfix)として、修正時刻を利用した重み付け値と、該話題に紐づけられた重み値と、の乗算値または加算値を用いてもよい。 For example, the revision history data 34 may be configured to further be linked with a weight value corresponding to each topic. The weight value corresponding to a topic may be registered, for example, in an operation instruction by a user. The correction unit 20C may then use, as fn(t, W fix ) in the above formula (3), the weight value linked with the topic corresponding to the revision time, which is the elapsed time t. The correction unit 20C may also use, as fn(t, W fix ) in the above formula (3), the multiplication or addition value of the weight value using the revision time and the weight value linked with the topic.
このように、訂正部20Cが音声認識結果の導出に用いた話題に対応する重み値を付加した修正類似度を用いることで、修正された単語を含む音声認識結果や、より近い修正時刻に修正された単語を含む音声認識結果を、よりリアルタイムで且つ高精度で訂正した訂正音声認識結果を生成することができる。 In this way, by using a correction similarity to which a weight value corresponding to the topic used by the correction unit 20C to derive the speech recognition result is added, it is possible to generate corrected speech recognition results that are corrected in real time and with high accuracy, for speech recognition results that include corrected words or speech recognition results that include words that were corrected more recently.
例えば、台本とは異なる内容のニュースが、緊急で挿入され、発話される場合がある。このような場合、緊急で挿入されたニュース内容に含まれる特有の単語が何度も発話されることが多い。例えば、緊急で挿入されたニュースが地震速報である場合、地震の発生場所が繰り返し発話されることが想定される。そこで、訂正部20Cが、訂正部20Cが音声認識結果の導出に用いた話題に対応する重み値を付加した修正類似度を用いることで、よりリアルタイムで且つ高精度で訂正した訂正音声認識結果を生成することができる。 For example, news that differs from the script may be urgently inserted and spoken. In such cases, specific words contained in the urgently inserted news content are often spoken multiple times. For example, if the urgently inserted news is an earthquake alert, it is expected that the location of the earthquake will be spoken repeatedly. Therefore, by having the correction unit 20C use a modified similarity to which a weight value corresponding to the topic used by the correction unit 20C to derive the speech recognition result is added, it is possible to generate a corrected speech recognition result that is corrected in more real time and with higher accuracy.
出力制御部20Dは、認識部20Bによる音声認識結果を出力する。制御部20が訂正部20Cを備えた構成である場合、出力制御部20Dは、訂正部20Cによる訂正音声認識結果を音声認識結果として出力する。 The output control unit 20D outputs the speech recognition result obtained by the recognition unit 20B. If the control unit 20 is configured to include a correction unit 20C, the output control unit 20D outputs the corrected speech recognition result obtained by the correction unit 20C as the speech recognition result.
出力制御部20Dは、音声認識結果を表示部40Aへ出力する。また、出力制御部20Dは、音声認識結果を、通信部50を介して外部の情報処理装置へ出力してもよい。また、出力制御部20Dは、制御部20に通信可能に接続されたスピーカ、投影装置、等の各種の出力装置へ音声認識結果を出力してもよい。 The output control unit 20D outputs the voice recognition results to the display unit 40A. The output control unit 20D may also output the voice recognition results to an external information processing device via the communication unit 50. The output control unit 20D may also output the voice recognition results to various output devices, such as speakers and projection devices, that are communicatively connected to the control unit 20.
本実施形態では、出力制御部20Dは、音声認識結果を表示部40Aへ出力する。出力制御部20Dは、音声認識結果と、音声認識結果の音声認識に用いた話題と、を表示部40Aに出力する。出力制御部20Dは、話題出現確率が閾値以上の話題を、話題出現確率が閾値未満の話題とは異なる表示形態で表示部40Aに出力してもよい。閾値は予め定めればよい。また、閾値は、ユーザによる入力部40Bの操作指示等に応じて適宜変更可能としてもよい。異なる表示形態とは、文字色、文字サイズ、文字書式、等が異なることを意味する。 In this embodiment, the output control unit 20D outputs the speech recognition result to the display unit 40A. The output control unit 20D outputs the speech recognition result and the topic used for the speech recognition of the speech recognition result to the display unit 40A. The output control unit 20D may output topics with a topic appearance probability equal to or greater than a threshold to the display unit 40A in a display format different from that of topics with a topic appearance probability below the threshold. The threshold may be set in advance. Furthermore, the threshold may be changeable as appropriate in response to user instructions on the input unit 40B. A different display format means different character color, character size, character format, etc.
図5は、表示画面60Aの一例の模式図である。表示画面60Aは、音声データが日本語であった場合の表示画面60の一例である。表示画面60は、出力制御部20Dによる音声認識結果の表示画面の一例である。 Figure 5 is a schematic diagram of an example of a display screen 60A. Display screen 60A is an example of a display screen 60 when the voice data is in Japanese. Display screen 60 is an example of a display screen for the voice recognition results by output control unit 20D.
例えば、表示画面60Aは、認識結果表示欄62Aと、話題表示欄62Bと、を含む。認識結果表示欄62Aは、経過時間ごとに、話題データ31における経過時間に対応する話題出現確率の最も高い話題と、音声認識結果と、を対応付けて示した表示欄である。話題表示欄62Bは、経過時間ごとに、各経過時間に対応する話題出現確率の最も高い話題を示す表示欄である。 For example, display screen 60A includes a recognition result display field 62A and a topic display field 62B. Recognition result display field 62A is a display field that shows, for each elapsed time, the topic with the highest topic appearance probability corresponding to that elapsed time in topic data 31, in association with the speech recognition result. Topic display field 62B is a display field that shows, for each elapsed time, the topic with the highest topic appearance probability corresponding to that elapsed time.
図1に戻り説明を続ける。 Let's return to Figure 1 and continue the explanation.
記憶制御部20Eは、音声認識結果に対するユーザによる修正音声認識結果を取得し、修正履歴データ34に記憶する。 The storage control unit 20E acquires the user's corrections to the speech recognition results and stores them in the correction history data 34.
ユーザは、表示部40Aに表示された表示画面60を視認しながら入力部40Bを操作することで、表示された音声認識結果に対して修正文字列の入力を行うことで、修正音声認識結果を入力する。記憶制御部20Eは、ユーザによる入力部40Bの操作指示によって入力された修正音声認識結果と、該修正音声認識結果の修正元の音声認識結果と、該音声認識結果の音声認識に用いた話題と、経過時間である修正時刻と、を紐づけて修正履歴データ34に記憶する。 The user operates the input unit 40B while viewing the display screen 60 displayed on the display unit 40A, thereby inputting a correction string for the displayed speech recognition result, thereby inputting a corrected speech recognition result. The storage control unit 20E associates the corrected speech recognition result input by the user's operation instruction of the input unit 40B with the speech recognition result from which the corrected speech recognition result was made, the topic used in the speech recognition of the speech recognition result, and the correction time, which is the elapsed time, and stores them in the correction history data 34.
このため、記憶部30には、例えば、図4Aに示す修正履歴データ34Aが記憶された状態となる。図4Aに示す日本語によって表される修正履歴データ34Aの場合、音声認識結果に含まれる文字列「えー」が修正文字列「A」に修正された修正音声認識結果が登録される。また、修正履歴データ34Aの場合、音声認識結果に含まれる文字列「えー沖」が修正文字「隠岐」に修正された修正音声認識結果が登録される。 For this reason, the storage unit 30 stores, for example, correction history data 34A shown in FIG. 4A. In the case of correction history data 34A expressed in Japanese shown in FIG. 4A, a corrected speech recognition result in which the character string "eh" included in the speech recognition result has been corrected to the corrected character string "A" is registered. Also, in the case of correction history data 34A, a corrected speech recognition result in which the character string "eh-oki" included in the speech recognition result has been corrected to the corrected character "oki" is registered.
また、記憶部30には、例えば、図4Bに示す修正履歴データ34Bが記憶された状態となる。図4Bに示す英語によって表される修正履歴データ34Bの場合、音声認識結果に含まれる文字列「blockade」が修正文字列「Block A」に修正された修正音声認識結果が登録される。また、修正履歴データ34Bの場合、音声認識結果に含まれる文字列「loke」が修正文字「Oki」に修正された修正音声認識結果が登録される。 In addition, the storage unit 30 stores, for example, correction history data 34B shown in Figure 4B. In the case of correction history data 34B expressed in English shown in Figure 4B, a corrected speech recognition result in which the character string "blockade" included in the speech recognition result has been corrected to the corrected character string "Block A" is registered. In the case of correction history data 34B, a corrected speech recognition result in which the character string "loke" included in the speech recognition result has been corrected to the corrected character string "Oki" is registered.
図1に戻り説明を続ける。 Let's return to Figure 1 and continue the explanation.
更新部20Fは、修正履歴データ34を用いて訂正モデル33を更新する。 The update unit 20F updates the correction model 33 using the correction history data 34.
図6は、更新部20Fによる更新処理の一例の説明図である。 Figure 6 is an explanatory diagram of an example of update processing by the update unit 20F.
更新部20Fは、訂正ベースモデル33Aに、出力制御部20Dが出力した音声認識結果を入力することによって第1特徴量を得る。そして、更新部20Fは、得られた第1特徴量と、修正履歴データ34に含まれる該音声認識結果に対応する修正音声認識結果と、のペアを学習データとして用いて、訂正モデル33の訂正変換器33Bを学習することによって、訂正モデル33の訂正変換器33Bを更新する。 The update unit 20F obtains a first feature by inputting the speech recognition result output by the output control unit 20D into the correction base model 33A. The update unit 20F then updates the correction converter 33B of the correction model 33 by training the correction converter 33B of the correction model 33 using pairs of the obtained first feature and the corrected speech recognition result corresponding to the obtained speech recognition result included in the correction history data 34 as training data.
上述したように、訂正ベースモデル33Aは、音声認識結果と正解テキストとのペアによって予め学習された機械学習モデルである。例えば、訂正ベースモデル33Aは、公知の技術であるBART(Bidirectional Auto-Regressive Transformer)を利用し、大量のコーパスを用いて事前学習したモデルを、音声認識結果と正解テキストのペアでファインチューニングすることによって作成することができる。 As described above, the correction base model 33A is a machine learning model that has been trained in advance using pairs of speech recognition results and correct text. For example, the correction base model 33A can be created by using the well-known technology BART (Bidirectional Auto-Regressive Transformer) to fine-tune a model that has been pre-trained using a large corpus using pairs of speech recognition results and correct text.
そして、更新部20Fは、予め作成された訂正ベースモデル33Aに、出力制御部20Dが出力した音声認識結果を入力することによって潜在表現である第1特徴量を得る。 The update unit 20F then obtains the first feature, which is a latent expression, by inputting the speech recognition result output by the output control unit 20D into the corrected base model 33A created in advance.
そして、更新部20Fは、得られた第1特徴量と、修正履歴データ34に含まれる該音声認識結果に対応する修正音声認識結果と該音声認識結果との差分である修正文字列を抽出する。そして、更新部20Fは、第1特徴量と、修正文字列および該修正文字列の修正音声認識結果における位置である修正箇所と、を用いて、訂正変換器33Bを更新する。 The update unit 20F then extracts the obtained first feature amount and a corrected character string, which is the difference between the corrected speech recognition result and the speech recognition result included in the correction history data 34. The update unit 20F then updates the correction converter 33B using the first feature amount, the corrected character string, and the correction location, which is the position of the corrected character string in the corrected speech recognition result.
まず、更新部20Fは、訂正変換器33Bを初期化する。初期化された訂正変換器33Bは、図3Bに示すようにループ構造を示す。また、初期化された訂正変換器33Bの先頭ノードには、何れの単語の入力にもマッチし、入力された単語をそのまま出力するアークが追加されている。 First, the update unit 20F initializes the correction converter 33B. The initialized correction converter 33B exhibits a loop structure as shown in Figure 3B. In addition, an arc that matches any input word and outputs the input word as is is added to the top node of the initialized correction converter 33B.
更新部20Fは、予め作成された訂正ベースモデル33Aに、出力制御部20Dが出力した音声認識結果を入力することによって潜在表現である第1特徴量を得る。また、更新部20Fは、音声認識結果と、該音声認識結果に対応する修正音声認識結果と、のペアを取得する。そして、更新部20Fは、音声認識結果と修正音声認識結果との差分である修正文字列を抽出する。 The update unit 20F obtains a first feature, which is a latent expression, by inputting the speech recognition result output by the output control unit 20D into a previously created correction base model 33A. The update unit 20F also obtains a pair of the speech recognition result and the corrected speech recognition result corresponding to the speech recognition result. The update unit 20F then extracts a corrected character string, which is the difference between the speech recognition result and the corrected speech recognition result.
そして、更新部20Fは、音声認識結果の潜在表現である第1特徴量を入力とし、修正音声認識結果を出力とするように、訂正変換器33Bにアークおよびノードを追加する。詳細には、更新部20Fは、訂正変換器33Bに含まれる複数のノードである単語ごとに、先頭ノードと終了ノードとの間に、ノードおよびアークを追加する。 Then, the update unit 20F adds arcs and nodes to the correction converter 33B so that the first feature, which is a latent representation of the speech recognition result, is input and the corrected speech recognition result is output. In detail, the update unit 20F adds nodes and arcs between the start node and end node for each word, which is a plurality of nodes included in the correction converter 33B.
これらの処理によって、更新部20Fは、第1特徴量から、該第1特徴量の音声認識結果に対する最新の修正音声認識結果が訂正音声認識結果として出力されるように、訂正変換器33Bを更新する。これらの更新処理によって、更新部20Fは、訂正モデル33を更新する。 Through these processes, the update unit 20F updates the correction converter 33B from the first feature so that the latest corrected speech recognition result for the speech recognition result of the first feature is output as the corrected speech recognition result. Through these update processes, the update unit 20F updates the correction model 33.
このため、訂正モデル33は、よりリアルタイムの発話に対応した正しい音声認識結果である訂正音声認識結果を出力するように、更新される。 For this reason, the correction model 33 is updated to output corrected speech recognition results that are more accurate and correspond to real-time speech.
図1に戻り説明を続ける。 Let's return to Figure 1 and continue the explanation.
話題データ更新部20Gは、修正履歴データ34を用いて話題データ31を更新する。 The topic data update unit 20G updates the topic data 31 using the revision history data 34.
例えば、話題データ更新部20Gは、修正履歴データ34に基づいて、単位時間あたり修正回数が閾値以上の話題の話題出現確率を低下させるように、話題データ31を更新する。修正回数の閾値および単位時間は、予め定めればよい。単位時間は、例えば、10分であるが、この時間に限定されない。修正回数の閾値および単位時間は、ユーザによる入力部40Bの操作指示等によって適宜変更可能としてもよい。 For example, the topic data update unit 20G updates the topic data 31 based on the revision history data 34 so as to reduce the topic appearance probability of topics whose number of revisions per unit time is equal to or exceeds a threshold. The threshold number of revisions and the unit time may be determined in advance. The unit time is, for example, 10 minutes, but is not limited to this time. The threshold number of revisions and the unit time may be changeable as appropriate by the user's operation instructions on the input unit 40B, etc.
詳細には、話題データ更新部20Gは、修正履歴データ34に基づいて、話題ごとに単位時間あたりの修正回数をカウントする。そして、話題データ更新部20Gは、単位時間当たりの修正回数が閾値以上、または、単位時間当たりの修正の割合が閾値以上の話題を修正履歴データ34から特定する。 In detail, the topic data update unit 20G counts the number of revisions per unit time for each topic based on the revision history data 34. Then, the topic data update unit 20G identifies from the revision history data 34 topics whose number of revisions per unit time is equal to or greater than a threshold value, or whose revision rate per unit time is equal to or greater than a threshold value.
そして、話題データ更新部20Gは、話題データ31における、修正履歴データ34に基づいて特定した話題に紐づけられている話題出現確率が低くなるように該話題出現確率を変更する。このとき、話題データ更新部20Gは、修正履歴データ34から特定した話題および該話題に対応する修正時間である経過時間に紐づけられた、話題データ31における話題出現確率を変更する。そして、話題データ更新部20Gは、減らした確率分、他の話題の話題出現確率が高くなるように確率を均等に割り振る。 The topic data update unit 20G then changes the topic appearance probability in the topic data 31 linked to the topic identified based on the revision history data 34 so that the topic appearance probability is lowered. At this time, the topic data update unit 20G changes the topic appearance probability in the topic data 31 linked to the topic identified from the revision history data 34 and the elapsed time, which is the revision time corresponding to that topic. The topic data update unit 20G then allocates the probabilities evenly so that the topic appearance probabilities of other topics are increased by the amount of the reduced probability.
これらの処理により、話題データ更新部20Gは、話題データ31を更新する。 Through these processes, the topic data update unit 20G updates the topic data 31.
また、話題データ更新部20Gは、以下の処理により話題データ31を更新してもよい。 The topic data update unit 20G may also update the topic data 31 by the following process.
例えば、話題データ更新部20Gは、修正履歴データ34に基づいて、話題ごとに単位時間あたりの修正回数をカウントする。そして、話題データ更新部20Gは、単位時間当たりの修正回数が閾値以上、または、単位時間当たりの修正の割合が閾値以上の話題を修正履歴データ34から特定する。さらに、話題データ更新部20Gは、修正履歴データ34における、特定した話題に対応する修正音声認識結果に一致または類似する音声認識結果に対応付けられた、他の話題を類似話題として特定する。 For example, the topic data update unit 20G counts the number of revisions per unit time for each topic based on the revision history data 34. Then, the topic data update unit 20G identifies topics from the revision history data 34 for which the number of revisions per unit time is equal to or greater than a threshold, or the rate of revisions per unit time is equal to or greater than a threshold. Furthermore, the topic data update unit 20G identifies other topics associated with speech recognition results in the revision history data 34 that match or are similar to the revised speech recognition results corresponding to the identified topic as similar topics.
修正履歴データ34から類似話題を特定できた場合、話題データ更新部20Gは、修正履歴データ34における該類似話題に対応する修正時刻である経過時刻を特定する。そして、話題データ更新部20Gは、話題データ31における、特定した該経過時刻を含む期間内の経過時刻に対応付けられた話題の内、特定した経過時間に対応する話題に紐づけられた話題出現確率を削減し、類似話題に一致する話題に紐づけられた話題出現確率を増加させる。 If a similar topic can be identified from the revision history data 34, the topic data update unit 20G identifies the elapsed time, which is the revision time corresponding to the similar topic in the revision history data 34. The topic data update unit 20G then reduces the topic appearance probability associated with the topic corresponding to the identified elapsed time among the topics associated with elapsed times within a period including the identified elapsed time in the topic data 31, and increases the topic appearance probability associated with topics that match the similar topic.
これらの処理により、話題データ更新部20Gは、単位時間あたり修正回数が閾値以上の話題の話題出現確率を低下させるように、話題データ31を更新する。 Through these processes, the topic data update unit 20G updates the topic data 31 so as to reduce the topic appearance probability of topics whose number of revisions per unit time is equal to or exceeds a threshold value.
このため、話題データ更新部20Gは、リアルタイムに発話される音声の音声認識結果を出力する音声認識装置10において、話題が順次切り替わる場合であっても、音声認識性能が向上するように、話題データ31を更新することができる。 For this reason, the topic data update unit 20G can update the topic data 31 in a voice recognition device 10 that outputs voice recognition results for voices spoken in real time, so that voice recognition performance is improved even when the topic changes sequentially.
次に、本実施形態の音声認識装置10が実行する情報処理の流れの一例を説明する。 Next, we will explain an example of the flow of information processing performed by the speech recognition device 10 of this embodiment.
図7は、本実施形態の音声認識装置10が実行する情報処理の流れの一例を示すフローチャートである。 Figure 7 is a flowchart showing an example of the flow of information processing performed by the speech recognition device 10 of this embodiment.
取得部20Aは、音声データを取得する(ステップS100)。 The acquisition unit 20A acquires audio data (step S100).
認識部20Bは、ステップS100で取得した音声データの経過時間ごとに、経過時間に対応する話題出現確率を話題データ31から特定する(ステップS102)。そして、認識部20Bは、経過時間ごとに、ステップS102で特定した話題出現確率が最も高い話題に紐づけられた適応言語モデル32Cを特定する(ステップS104)。そして、認識部20Bは、経過時間ごとに、特定した適応言語モデル32Cを用いて、ステップS100で取得した音声データの音声認識結果を生成する(ステップS106)。 For each elapsed time of the speech data acquired in step S100, the recognition unit 20B identifies the topic appearance probability corresponding to the elapsed time from the topic data 31 (step S102). Then, for each elapsed time, the recognition unit 20B identifies an adapted language model 32C associated with the topic with the highest topic appearance probability identified in step S102 (step S104). Then, for each elapsed time, the recognition unit 20B uses the identified adapted language model 32C to generate a speech recognition result for the speech data acquired in step S100 (step S106).
訂正部20Cは、訂正モデル33を用いて、ステップS106で生成された音声認識結果を訂正した訂正音声認識結果を生成する(ステップS108)。 The correction unit 20C uses the correction model 33 to generate a corrected speech recognition result by correcting the speech recognition result generated in step S106 (step S108).
出力制御部20Dは、ステップS108で生成された訂正音声認識結果を音声認識結果として表示部40Aに表示する(ステップS110)。例えば、出力制御部20Dは、図5に示す表示画面60Aを表示部40Aに表示する。 The output control unit 20D displays the corrected speech recognition result generated in step S108 as the speech recognition result on the display unit 40A (step S110). For example, the output control unit 20D displays the display screen 60A shown in FIG. 5 on the display unit 40A.
記憶制御部20Eは、ステップS110で表示した音声認識結果に対するユーザによる修正音声認識結果を取得する(ステップS112)。そして、記憶制御部20Eは、ステップS112で取得した修正音声認識結果を、修正履歴データ34に記憶する(ステップS114)。 The storage control unit 20E acquires the user's revised speech recognition result for the speech recognition result displayed in step S110 (step S112). The storage control unit 20E then stores the revised speech recognition result acquired in step S112 in the correction history data 34 (step S114).
更新部20Fは、ステップS114で記憶された修正履歴データ34を用いて、訂正モデル33を更新する(ステップS116)。 The update unit 20F updates the correction model 33 using the correction history data 34 stored in step S114 (step S116).
話題データ更新部20Gは、ステップS114で記憶された修正履歴データ34を用いて、話題データ31を更新する(ステップS118)。そして、本ルーチンを終了する。 The topic data update unit 20G updates the topic data 31 using the revision history data 34 stored in step S114 (step S118). This routine then ends.
以上説明したように、本実施形態の音声認識装置10は、認識部20Bと、出力制御部20Dと、を備える。認識部20Bは、経過時間により変化する複数の話題の各々の経過時間ごとの話題出現確率が予め登録された話題データ31と、複数の話題の各々に紐づけられ、音声データから音声認識結果を出力するための適応言語モデル32Cを含む認識モデル32と、経過時間と、を用いて、音声データから音声認識結果を生成する。出力制御部20Dは、音声認識結果を出力する。 As described above, the speech recognition device 10 of this embodiment includes a recognition unit 20B and an output control unit 20D. The recognition unit 20B generates speech recognition results from speech data using topic data 31 in which the topic appearance probability for each elapsed time for each of a plurality of topics that changes over time is registered in advance, a recognition model 32 linked to each of the plurality of topics and including an adapted language model 32C for outputting speech recognition results from speech data, and the elapsed time. The output control unit 20D outputs the speech recognition results.
ここで、従来技術では、テレビ番組の台本や進行表などの話題情報から音声認識結果に対応するテキストを抽出し、抽出したテキストに関連するテキストをウェブサイト上の外部データから取得する技術が開示されている。そして、従来技術では、外部データから取得したテキストを用いて、音声認識に利用する言語スコアを調整する技術が開示されている。しかしながら、従来技術では、音声認識結果に関連するテキストをウェブサイト上の外部データから取得することで言語スコアを調整する構成のため、ニュース番組などのリアルタイムの字幕制作に応用することは難しく、音声認識性能の向上が図れない場合があった。 Here, conventional technology discloses a technique for extracting text corresponding to speech recognition results from topic information such as television program scripts and progress schedules, and then obtaining text related to the extracted text from external data on a website. Furthermore, conventional technology discloses a technique for adjusting the language score used for speech recognition using text obtained from external data. However, because conventional technology adjusts the language score by obtaining text related to speech recognition results from external data on a website, it is difficult to apply this to real-time subtitling of programs such as news programs, and there are cases where it is not possible to improve speech recognition performance.
一方、本実施形態の音声認識装置10は、認識部20Bは、経過時間により変化する複数の話題の各々の経過時間ごとの話題出現確率と、複数の話題の各々に紐づけられた適応言語モデル32Cを含む認識モデル32と、経過時間と、を用いて、音声データから音声認識結果を生成する。 On the other hand, in the speech recognition device 10 of this embodiment, the recognition unit 20B generates speech recognition results from speech data using the topic appearance probability for each elapsed time for each of multiple topics that changes over time, a recognition model 32 including an adapted language model 32C linked to each of the multiple topics, and the elapsed time.
このように、本実施形態の音声認識装置10は、音声データの経過時間に応じた話題の話題出現確率および経過時間に応じた話題の適応言語モデル32Cを用いて、音声データから音声認識結果を生成する。 In this way, the speech recognition device 10 of this embodiment generates speech recognition results from speech data using the topic appearance probability of the topic according to the elapsed time of the speech data and the adapted language model 32C of the topic according to the elapsed time.
このため、本実施形態の音声認識装置10は、音声データの経過時間に応じて話題が切り替わる場合であっても、話題の切り替わりに追随した音声認識結果を生成することができる。 For this reason, the speech recognition device 10 of this embodiment can generate speech recognition results that follow topic changes, even when the topic changes depending on the elapsed time of the speech data.
従って、本実施形態の音声認識装置10は、音声認識性能の向上を図ることができる。 Therefore, the voice recognition device 10 of this embodiment can improve voice recognition performance.
また、本実施形態の音声認識装置10は、音声データの経過時間に応じて話題が切り替わる場合であっても、話題の切り替わりに追随した音声認識結果を生成することができるため、リアルタイムの字幕生成を行うシステムに好適に適用することができる。 Furthermore, the speech recognition device 10 of this embodiment can generate speech recognition results that follow topic changes, even when the topic changes depending on the elapsed time of the speech data, making it suitable for use in systems that generate subtitles in real time.
例えば、本実施形態の音声認識装置10は、テレビのニュース番組等の生放送をリアルタイムで放映する場面において、リアルタイムで字幕等の音声認識結果を提供するシステムに好適に適用することができる。 For example, the speech recognition device 10 of this embodiment can be suitably applied to a system that provides speech recognition results such as subtitles in real time when live broadcasts such as television news programs are aired in real time.
また、本実施形態の音声認識装置10では、訂正部20Cが音声認識結果を訂正するための訂正モデル33を用いて音声認識結果を訂正した訂正音声認識結果を生成する。 In addition, in the speech recognition device 10 of this embodiment, the correction unit 20C generates a corrected speech recognition result by correcting the speech recognition result using a correction model 33 for correcting the speech recognition result.
このため、本実施形態の音声認識装置10は、上記効果に加えて、音声認識結果に誤りが含まれる場合、即時に訂正した訂正音声認識結果を出力することができる。 Therefore, in addition to the above-mentioned effects, the speech recognition device 10 of this embodiment can immediately output corrected speech recognition results if the speech recognition results contain errors.
また、本実施形態の音声認識装置10では、更新部20Fが、音声認識結果と、ユーザによって修正された修正音声認識結果と、修正時刻と、を紐づけた修正履歴データ34により、訂正モデル33を更新する。 In addition, in the speech recognition device 10 of this embodiment, the update unit 20F updates the correction model 33 using correction history data 34 that links the speech recognition result, the corrected speech recognition result corrected by the user, and the correction time.
このため、本実施形態の音声認識装置10は、音声認識結果のユーザによる修正を即時に反映した音声認識結果を出力することができる。よって、本実施形態の音声認識装置10は、上記効果に加えて、字幕制作等の音声認識に要する開発コスト、修正コスト、およびユーザによる修正負荷、等の負荷軽減を図ることができる。 As a result, the speech recognition device 10 of this embodiment can output speech recognition results that instantly reflect user corrections to the speech recognition results. Therefore, in addition to the above-mentioned effects, the speech recognition device 10 of this embodiment can also reduce the development costs, correction costs, and user correction burden required for speech recognition such as subtitling.
(ハードウェア構成)
次に、上記実施形態の音声認識装置10のハードウェア構成について説明する。
(Hardware configuration)
Next, the hardware configuration of the speech recognition device 10 of the above embodiment will be described.
図8は、上記実施形態の音声認識装置10のハードウェア構成例を示す図である。 Figure 8 is a diagram showing an example of the hardware configuration of the speech recognition device 10 of the above embodiment.
上記実施形態の音声認識装置10は、CPU80、ROM(Read Only Memory)82、RAM(Random Access Memory)84、HDD86、およびI/F部88等が、バス90により相互に接続されており、通常のコンピュータを利用したハードウェア構成となっている。 The speech recognition device 10 of the above embodiment has a hardware configuration that utilizes a conventional computer, with a CPU 80, ROM (Read Only Memory) 82, RAM (Random Access Memory) 84, HDD 86, and I/F unit 88, etc., interconnected via a bus 90.
CPU80は、上記実施形態の音声認識装置10で実行する情報処理を制御する演算装置である。RAM84は、CPU80による各種処理に必要なデータを記憶する。ROM82は、CPU80による各種処理を実現するプログラム等を記憶する。HDD86は、データを記憶する。I/F部88は、他の装置との間でデータを送受信するためのインターフェースである。 The CPU 80 is a computing device that controls the information processing executed by the speech recognition device 10 of the above embodiment. The RAM 84 stores data necessary for various processes performed by the CPU 80. The ROM 82 stores programs and the like that realize various processes performed by the CPU 80. The HDD 86 stores data. The I/F unit 88 is an interface for sending and receiving data to and from other devices.
上記実施形態の音声認識装置10で実行される上記各種処理を実行するためのプログラムは、ROM82等に予め組み込んで提供される。 The programs for executing the various processes described above executed by the speech recognition device 10 of the above embodiment are provided pre-installed in the ROM 82, etc.
なお、上記実施形態の音声認識装置10で実行されるプログラムは、これらの装置にインストール可能な形式又は実行可能な形式のファイルでCD-ROM、フレキシブルディスク(FD)、CD-R、DVD(Digital Versatile Disk)等のコンピュータで読み取り可能な記録媒体に記録されて提供するように構成してもよい。 The programs executed by the speech recognition device 10 of the above embodiment may be provided by being recorded on a computer-readable recording medium such as a CD-ROM, flexible disk (FD), CD-R, or DVD (Digital Versatile Disk) in a format that can be installed or executed by these devices.
また、上記実施形態の音声認識装置10で実行されるプログラムを、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成してもよい。また、上記実施形態の音声認識装置10における上記各処理を実行するためのプログラムを、インターネット等のネットワーク経由で提供または配布するように構成してもよい。 The program executed by the speech recognition device 10 of the above embodiment may be stored on a computer connected to a network such as the Internet and provided by being downloaded via the network. The program for executing each of the above processes in the speech recognition device 10 of the above embodiment may also be provided or distributed via a network such as the Internet.
上記実施形態の音声認識装置10で実行される上記各種処理を実行するためのプログラムは、上述した各部が主記憶装置上に生成されるようになっている。 The programs for executing the various processes executed by the speech recognition device 10 of the above embodiment are generated on the main memory device by the above-mentioned components.
なお、上記HDD86に格納されている各種情報は、外部装置に格納してもよい。この場合には、該外部装置とCPU80と、を、ネットワーク等を介して接続した構成とすればよい。 The various information stored in the HDD 86 may also be stored in an external device. In this case, the external device and the CPU 80 may be connected via a network or the like.
なお、上記には、本開示の実施形態を説明したが、上記実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これらの新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これらの実施形態やその変形例は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。 Although the above describes embodiments of the present disclosure, these embodiments are presented as examples and are not intended to limit the scope of the invention. These novel embodiments may be embodied in a variety of other forms, and various omissions, substitutions, and modifications may be made without departing from the spirit of the invention. These embodiments and their variations are within the scope and spirit of the invention, and are also included in the inventions and their equivalents set forth in the claims.
10 音声認識装置
20B 認識部
20C 訂正部
20D 出力制御部
20E 記憶制御部
20F 更新部
20G 話題データ更新部
31 話題データ
32 認識モデル
32C 適応言語モデル
33 訂正モデル
33A 訂正ベースモデル
33B 訂正変換器
34 修正履歴データ
40A 表示部
10 Speech recognition device 20B Recognition unit 20C Correction unit 20D Output control unit 20E Storage control unit 20F Update unit 20G Topic data update unit 31 Topic data 32 Recognition model 32C Adapted language model 33 Correction model 33A Correction base model 33B Correction converter 34 Correction history data 40A Display unit
Claims (13)
前記音声認識結果を出力する出力制御部と、
を備え、
前記出力制御部は、
前記音声認識結果と、前記音声認識結果の音声認識に用いた前記話題と、を表示部に出力し、
前記話題出現確率が閾値以上の前記話題を、前記話題出現確率が前記閾値未満の前記話題とは異なる表示形態で前記表示部に出力する、
音声認識装置。 a recognition unit that generates a speech recognition result from the speech data using topic data in which a topic appearance probability for each elapsed time of a plurality of topics that changes with the elapsed time is registered in advance, a recognition model that is linked to each of the plurality of topics and includes an adaptive language model for outputting a speech recognition result from the speech data, and the elapsed time;
an output control unit that outputs the speech recognition result;
Equipped with
The output control unit
outputting the speech recognition result and the topic used for the speech recognition of the speech recognition result to a display unit;
outputting the topic having the topic appearance probability equal to or greater than a threshold value to the display unit in a display format different from that of the topic having the topic appearance probability less than the threshold value;
Voice recognition device.
前記音声データの前記経過時間ごとに、前記経過時間に対応する前記話題出現確率が最も高い前記話題に紐づけられた前記適応言語モデルを用いた前記音声認識結果を生成する、
請求項1に記載の音声認識装置。 The recognition unit
generating the speech recognition result using the adapted language model associated with the topic having the highest topic appearance probability corresponding to the elapsed time for each elapsed time of the speech data;
2. The speech recognition device according to claim 1.
を備え、
前記出力制御部は、
前記訂正音声認識結果を前記音声認識結果として出力する、
請求項1に記載の音声認識装置。 a correction unit that generates a corrected speech recognition result by correcting the speech recognition result using a correction model for correcting the speech recognition result;
Equipped with
The output control unit
outputting the corrected speech recognition result as the speech recognition result;
2. The speech recognition device according to claim 1.
前記音声認識結果から前記音声認識結果の第1特徴量を取得するための訂正ベースモデルと、
前記第1特徴量から前記訂正音声認識結果を出力する訂正変換器と、
を含み、
前記第1特徴量は、前記訂正ベースモデルの中間層から出力される潜在表現であり、
前記訂正部は、
前記音声認識結果と前記訂正ベースモデルを用いて、前記音声認識結果の前記第1特徴量を取得し、取得した前記第1特徴量を前記訂正変換器へ入力することで、前記訂正音声認識結果を生成する、
請求項3に記載の音声認識装置。 The correction model is
a correction base model for acquiring a first feature of the speech recognition result from the speech recognition result;
a correction converter that outputs the corrected speech recognition result from the first feature;
Including,
the first feature is a latent representation output from an intermediate layer of the correction base model;
The correction unit
using the speech recognition result and the correction base model to acquire the first feature of the speech recognition result, and inputting the acquired first feature to the correction converter to generate the corrected speech recognition result;
4. The speech recognition device according to claim 3 .
入力された前記第1特徴量と、前記訂正変換器に規定された複数の単語の各々の潜在表現である第2特徴量と、の類似度を用いて、前記訂正変換器によって規定される複数の前記単語の連結関係を表した経路を探索し、前記類似度が最大の前記経路に対する出力を、前記訂正音声認識結果として出力する、
請求項4に記載の音声認識装置。 The correction unit
a path representing a concatenation relationship between the plurality of words defined by the correction converter is searched for using a similarity between the input first feature and a second feature which is a latent expression of each of the plurality of words defined by the correction converter, and an output for the path with the greatest similarity is output as the corrected speech recognition result;
5. The speech recognition device according to claim 4 .
より近い修正時刻に紐づけられた修正音声認識結果に含まれる修正文字列に一致する前記単語の前記第2特徴量であるほど前記第1特徴量との前記類似度を高くした、前記訂正音声認識結果を生成する、
請求項5に記載の音声認識装置。 The correction unit
generating the corrected speech recognition result such that the similarity between the second feature of the word and the first feature is higher as the second feature of the word matches the corrected character string included in the corrected speech recognition result associated with the closer modification time;
6. The speech recognition device according to claim 5 .
前記類似度に、前記音声認識結果の導出に用いた前記話題に対応する重み値を付加した修正類似度を用いて、前記経路を探索する、
請求項5に記載の音声認識装置。 The correction unit
searching for the path using a modified similarity obtained by adding a weight value corresponding to the topic used in deriving the speech recognition result to the similarity;
6. The speech recognition device according to claim 5 .
前記修正履歴データを用いて前記訂正モデルを更新する更新部と、
備える、請求項3に記載の音声認識装置。 a storage control unit that acquires a speech recognition result corrected by a user for the speech recognition result, and stores the speech recognition result, the corrected speech recognition result, and the correction time, which is the elapsed time, in correction history data that are linked together;
an update unit that updates the correction model using the correction history data;
The speech recognition device according to claim 3 .
前記音声認識結果と正解テキストとのペアによって予め学習された訂正ベースモデルに、前記音声認識結果を入力することによって得られる第1特徴量と、
前記修正履歴データに含まれる前記音声認識結果に対応する前記修正音声認識結果と、
のペアを学習データとして用いて、前記訂正モデルを学習することによって前記訂正モデルを更新する
請求項8に記載の音声認識装置。 The update unit
a first feature obtained by inputting the speech recognition result into a correction base model that has been trained in advance using a pair of the speech recognition result and a correct text;
the corrected speech recognition result corresponding to the speech recognition result included in the correction history data; and
The speech recognition device according to claim 8 , wherein the correction model is updated by training the correction model using pairs of the following as training data:
を備える請求項8に記載の音声認識装置。 a topic data updating unit that updates the topic data using the revision history data;
The speech recognition device according to claim 8, comprising:
前記修正履歴データに基づいて、単位時間あたり修正回数が閾値以上の前記話題の前記話題出現確率を低下させるように、前記話題データを更新する、
請求項10に記載の音声認識装置。 The topic data update unit
updating the topic data based on the revision history data so as to reduce the topic appearance probability of the topic whose number of revisions per unit time is equal to or exceeds a threshold value;
The speech recognition device according to claim 10.
前記音声認識結果を出力する出力制御ステップと、
を含み、
前記出力制御ステップは、
前記音声認識結果と、前記音声認識結果の音声認識に用いた前記話題と、を表示部に出力し、
前記話題出現確率が閾値以上の前記話題を、前記話題出現確率が前記閾値未満の前記話題とは異なる表示形態で前記表示部に出力する、
音声認識方法。 a recognition step of generating a speech recognition result from the speech data using topic data in which a topic appearance probability for each elapsed time of a plurality of topics that changes with the elapsed time is registered in advance, a recognition model that is linked to each of the plurality of topics and includes an adaptive language model for outputting a speech recognition result from the speech data, and the elapsed time;
an output control step of outputting the speech recognition result;
Including,
The output control step includes:
outputting the speech recognition result and the topic used for the speech recognition of the speech recognition result to a display unit;
outputting the topic having the topic appearance probability equal to or greater than a threshold value to the display unit in a display format different from that of the topic having the topic appearance probability less than the threshold value;
Speech recognition methods.
経過時間により変化する複数の話題の各々の前記経過時間ごとの話題出現確率が予め登録された話題データと、複数の前記話題の各々に紐づけられ、音声データから音声認識結果を出力するための適応言語モデルを含む認識モデルと、前記経過時間と、を用いて、前記音声データから音声認識結果を生成する認識ステップと、
前記音声認識結果を出力する出力制御ステップと、
を含み、
前記出力制御ステップは、
前記音声認識結果と、前記音声認識結果の音声認識に用いた前記話題と、を表示部に出力し、
前記話題出現確率が閾値以上の前記話題を、前記話題出現確率が前記閾値未満の前記話題とは異なる表示形態で前記表示部に出力する、
音声認識プログラム。 A speech recognition program to be executed by a computer,
a recognition step of generating a speech recognition result from the speech data using topic data in which a topic appearance probability for each elapsed time of a plurality of topics that changes with the elapsed time is registered in advance, a recognition model that is linked to each of the plurality of topics and includes an adaptive language model for outputting a speech recognition result from the speech data, and the elapsed time;
an output control step of outputting the speech recognition result;
Including,
The output control step includes:
outputting the speech recognition result and the topic used for the speech recognition of the speech recognition result to a display unit;
outputting the topic having the topic appearance probability equal to or greater than a threshold value to the display unit in a display format different from that of the topic having the topic appearance probability less than the threshold value;
Speech recognition program.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2022118135A JP7771015B2 (en) | 2022-07-25 | 2022-07-25 | Speech recognition device, speech recognition method, and speech recognition program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2022118135A JP7771015B2 (en) | 2022-07-25 | 2022-07-25 | Speech recognition device, speech recognition method, and speech recognition program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2024015818A JP2024015818A (en) | 2024-02-06 |
| JP7771015B2 true JP7771015B2 (en) | 2025-11-17 |
Family
ID=89772609
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2022118135A Active JP7771015B2 (en) | 2022-07-25 | 2022-07-25 | Speech recognition device, speech recognition method, and speech recognition program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7771015B2 (en) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2012022053A (en) | 2010-07-12 | 2012-02-02 | Fujitsu Toshiba Mobile Communications Ltd | Voice recognition device |
| JP2013029652A (en) | 2011-07-28 | 2013-02-07 | Nippon Hoso Kyokai <Nhk> | Voice recognition apparatus and voice recognition program |
| JP2013050605A (en) | 2011-08-31 | 2013-03-14 | Nippon Hoso Kyokai <Nhk> | Language model switching device and program for the same |
| JP2021139994A (en) | 2020-03-04 | 2021-09-16 | 株式会社東芝 | Voice recognition error correction device, voice recognition error correction method, and voice recognition error correction program |
| JP2021150774A (en) | 2020-03-18 | 2021-09-27 | シャープ株式会社 | Information processing device and information processing method |
-
2022
- 2022-07-25 JP JP2022118135A patent/JP7771015B2/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2012022053A (en) | 2010-07-12 | 2012-02-02 | Fujitsu Toshiba Mobile Communications Ltd | Voice recognition device |
| JP2013029652A (en) | 2011-07-28 | 2013-02-07 | Nippon Hoso Kyokai <Nhk> | Voice recognition apparatus and voice recognition program |
| JP2013050605A (en) | 2011-08-31 | 2013-03-14 | Nippon Hoso Kyokai <Nhk> | Language model switching device and program for the same |
| JP2021139994A (en) | 2020-03-04 | 2021-09-16 | 株式会社東芝 | Voice recognition error correction device, voice recognition error correction method, and voice recognition error correction program |
| JP2021150774A (en) | 2020-03-18 | 2021-09-27 | シャープ株式会社 | Information processing device and information processing method |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2024015818A (en) | 2024-02-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP7170920B2 (en) | Systems and Methods for End-to-End Speech Recognition Using Trigger Door Tension | |
| US11011184B2 (en) | Automatic determination of timing windows for speech captions in an audio stream | |
| US10410627B2 (en) | Automatic language model update | |
| US8311832B2 (en) | Hybrid-captioning system | |
| US10448115B1 (en) | Speech recognition for localized content | |
| US8682661B1 (en) | Robust speech recognition | |
| JP2021144759A5 (en) | ||
| CN109791761B (en) | Acoustic model training using corrected terms | |
| JP2017058674A (en) | Apparatus and method for speech recognition, apparatus and method for training transformation parameter, computer program and electronic apparatus | |
| CN114143479B (en) | Video abstract generation method, device, equipment and storage medium | |
| CN112992146A (en) | Speech recognition system | |
| JP2015187684A (en) | Unsupervised training method, training apparatus, and training program for n-gram language model | |
| JP6585112B2 (en) | Voice keyword detection apparatus and voice keyword detection method | |
| JP2017045027A (en) | Spoken language corpus generation device and program thereof | |
| WO2018043137A1 (en) | Information processing device and information processing method | |
| CN112750445B (en) | Voice conversion method, device and system and storage medium | |
| CN110099332A (en) | A kind of audio environment methods of exhibiting and device | |
| US8983847B2 (en) | Voice recognition apparatus, method, and computer program product | |
| JP6786065B2 (en) | Voice rating device, voice rating method, teacher change information production method, and program | |
| JP2015141253A (en) | Speech recognition apparatus and program | |
| US11935533B1 (en) | Content-related actions based on context | |
| JP7771015B2 (en) | Speech recognition device, speech recognition method, and speech recognition program | |
| JP6322125B2 (en) | Speech recognition apparatus, speech recognition method, and speech recognition program | |
| Saz et al. | Lightly supervised alignment of subtitles on multi-genre broadcasts | |
| JP6637333B2 (en) | Acoustic model generation device and its program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20240904 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20250624 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20250701 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20250814 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20251007 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20251105 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7771015 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |