跳到正文

文章翻译与语言审校

根据用途选择翻译流程,保留原文结构与信息,并检查术语、语气和译文表达。

开源精选内容生产15 个文件26,681 Stars浏览次数 0JimLiu/baoyu-skills MIT版本 1567581
开始使用

下载前阅读 SKILL.md 中的使用条件,并确认所用工具支持对应能力。

输入资料
原文与目标语言 读者、术语及翻译要求 阅读本节完整说明
交付内容
翻译后的文章 术语和语言检查结果 阅读本节完整说明
  1. 获取完整包,保留配套文件的目录结构。
  2. 按照原文准备所需工具、依赖与输入资料。
  3. 阅读对应使用步骤与输入输出说明,在自己的环境中验证结果。

使用提示摘自原文,配套文件保留来源版本;实际运行条件以各包说明为准。

正文

获取原文件

references/config/extend-schema.md

Format

EXTEND.md uses YAML format:

# Default target language (ISO code or common name)
target_language: zh-CN

# Default translation mode
default_mode: normal  # quick | normal | refined

# Target audience (affects annotation depth and register)
audience: general  # general | technical | academic | business | or custom string

# Translation style preference
style: storytelling  # storytelling | formal | technical | literal | academic | business | humorous | conversational | elegant | or custom string

# Word count threshold to trigger chunked translation
chunk_threshold: 4000

# Max words per chunk
chunk_max_words: 5000

# Custom glossary (merged with built-in glossary)
# CLI --glossary flag overrides these
# Supports inline entries and/or file paths
glossary:
  - from: "Reinforcement Learning"
    to: "强化学习"
  - from: "Transformer"
    to: "Transformer"
    note: "Keep English"

# Load glossary from external file(s)
# Supports absolute path or relative to EXTEND.md location
# File format: markdown table with | from | to | note | columns,
# or YAML list of {from, to, note} entries
glossary_files:
  - ./my-glossary.md
  - /path/to/shared-glossary.yaml

# Language-pair specific glossaries
glossaries:
  en-zh:
    - from: "AI Agent"
      to: "AI 智能体"
  ja-zh:
    - from: "人工知能"
      to: "人工智能"

Fields

Field Type Default Description
target_language string zh-CN Default target language code
default_mode string normal Default translation mode (quick / normal / refined)
audience string general Target reader profile (general / technical / academic / business / custom)
style string storytelling Translation style (storytelling / formal / technical / literal / academic / business / humorous / conversational / elegant / custom)
chunk_threshold number 4000 Word count threshold to trigger chunked translation
chunk_max_words number 5000 Max words per chunk
glossary array [] Universal glossary entries (inline)
glossary_files array [] External glossary file paths (absolute or relative to EXTEND.md)
glossaries object {} Language-pair specific glossary entries

Glossary Entry

Field Required Description
from yes Source term
to yes Target translation
note no Usage note (e.g., "Keep English", "Only in tech context")

Glossary File Format

External glossary files (glossary_files) support two formats:

Markdown table (.md):

| from | to | note |
|------|----|------|
| Reinforcement Learning | 强化学习 | |
| Transformer | Transformer | Keep English |

YAML list (.yaml / .yml):

- from: "Reinforcement Learning"
  to: "强化学习"
- from: "Transformer"
  to: "Transformer"
  note: "Keep English"

Paths can be absolute or relative to the EXTEND.md file location.

Priority

  1. CLI --glossary file entries
  2. EXTEND.md glossaries[pair] entries
  3. EXTEND.md glossary entries (inline)
  4. EXTEND.md glossary_files entries (in listed order, later files override earlier)
  5. Built-in glossary (e.g., references/glossary-en-zh.md)

Later entries override earlier ones for the same source term.

CONTACT HAONAN

联系haonan

医疗 AI · 产品与独立开发

刘浩南

关注医疗 AI 从 demo 到真实落地,聚焦产品化、商业化与院内工作流效率提升。

12年医疗产研经验,大湾区头部医疗AI公司前产品总监,独立开发者

医疗 AI 产品化医疗 AI 商业化院内工作流效率
刘浩南的微信联系二维码
微信扫一扫,联系 haonan