TTMLToAmllOptions
Defined in: types/amll.ts:90
解析器生成的原始 TTML 数据结构转换为 AMLL 的数据结构时的配置选项
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
romanizationLanguage? | string | 提取音译时的首选目标语言 (如 "ja-Latn") 未提供或找不到指定的目标语言代码时提取第一个音译 | types/amll.ts:102 |
translationLanguage? | string | 提取翻译时的首选目标语言 (如 "zh-Hans") 未提供或找不到指定的目标语言代码时提取第一个翻译 | types/amll.ts:96 |