双语对照
设置 output_mode: "bilingual"(当前默认值)可生成源语言与译文并排的双语文档。
{ "document_id": "4q8mx2q9z1k7p6ra", "target_lang": "en", "output_mode": "bilingual"}| 格式 | 双语支持 |
|---|---|
| DOCX | ✅ 段落级对照 |
| XLSX | ✅ 列级对照 |
| HTML | ✅ 块级对照 |
| EPUB | ✅ 章节对照 |
| MD | ✅ 段落对照 |
| SRT/ASS | ✅ 行级对照 |
| ✅ 页面对照 | |
| PPTX | ❌ 自动降级 single |
DOCX 双语效果
Section titled “DOCX 双语效果”源文和译文交替排列,译文段落带有轻灰底色便于区分:
[原文] 人工智能正在改变世界。[译文] Artificial intelligence is changing the world.
[原文] 自然语言处理是其核心技术之一。[译文] Natural language processing is one of its core technologies.