-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
議事録作成における音声データの文字起こしの話者特定について #419
Comments
添付していただいたコードのように修正することで、話者識別と合わせた音声認識をすることができます。 Amazon Transcribe の認識結果は以下の json ような形式になります。現在の {
"results": {
"transcripts": [
{
"transcript": "..."
}
],
"speaker_labels": {
"segments": [
{
"start_time": "0.0",
"end_time": "8.779",
"speaker_label": "spk_0",
"items": []
}
]
},
"items": [
{
"type": "pronunciation",
"alternatives": [
{
"confidence": "0.999",
"content": "After"
}
],
"start_time": "0.009",
"end_time": "0.389",
"speaker_label": "spk_0"
},
{
"type": "pronunciation",
"alternatives": [
{
"confidence": "0.999",
"content": "living"
}
],
"start_time": "0.4",
"end_time": "0.689",
"speaker_label": "spk_0"
},
]
}
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
お世話になっております
齋藤です
音声認識で利用しているtranscribeにおいて、startTranscription.tsをStartTranscriptionJobCommandを以下の通りに修正をしてみました
上記の結果、transcribeで音声認識をされたデータに関しては、json形式でS3バケットに話者特定をして保存されるのですが、getTranscription.tsで取得したデータは話者特定を行わず、音声認識をしたデータのみをweb画面上に表示しています
想定として、getTranscription.tsで取得したjsonを話者特定をしてパースしてweb上に表示できるようにしないと行けないとおもうのですが、どのようにすれば話者特定をした結果をwebに反映できるでしょうか
ご教授をよろしくおねがい申し上げます
The text was updated successfully, but these errors were encountered: