Skip to content

Example: Expression And Translation

User request: Polish the abstract in main.typ, tighten the wording, and help translate one Chinese paragraph into academic English.

Recommended module sequence:

  1. expression
  2. translation

Commands:

bash
# Polish the whole document (covers the abstract whether it is a heading,
# #abstract[..], or a template abstract: argument). Add --section <name>
# only when the target is a real heading section.
uv run python $SKILL_DIR/scripts/improve_expression.py main.typ
uv run python $SKILL_DIR/scripts/translate_academic.py input_zh.txt --domain deep-learning

Expected output:

  • Typst-safe wording suggestions.
  • Translation guidance that keeps citations and Typst syntax intact.

Released under the MIT License.