ASR 假设选择
在使用自动语音转录工具时,系统会提供多个转录假设版本。现在,您可以从转录假设列表中选择一个最合适的变体。
标注配置
<View>
<Audio name="audio" value="$audio"/>
<Choices name="transcriptions" toName="audio" value="$transcriptions" selection="highlight"/>
<Style>
.lsf-choice__item {
padding: var(--spacing-tighter) var(--spacing-tight);
box-shadow: 0 2px 4px rgba(var(--color-neutral-shadow-raw) / calc(16% * var(--shadow-intensity))) ;
background-color: var(--color-neutral-background);
border-radius: var(--corner-radius-small);
margin: 0 var(--spacing-tighter) var(--spacing-tighter) var(--spacing-tighter);
line-height: 1.6rem;
transition: all 150ms ease-out;
}
.lsf-choice__item:hover {
background-color: var(--color-primary-emphasis-subtle);
}
</Style>
</View>
示例数据
{
"data": {
"audio": "https://htx-pub.s3.amazonaws.com/datasets/audio/f2btrop6.0.wav",
"transcriptions": [{
"value": "potrostith points out that if school based clinics were established parental permission would be required for students to receive each service offered"
}, {
"value": "potrostith points out that if school-based clinics were established parental permission would be required for students to receive each service offered"
}, {
"value": "purporting points out that if school based clinics were established parental permission would be required for students to receive each service offered"
}, {
"value": "pork roasted points out that if school based clinics were establish parental permission would be required for students to receive each service offered"
}, {
"value": "purpose it points out that if school based clinics war establish parental permission would be required for students to receive each service offered"
}]
}
}