Skip to content

[Docs] Fix English punctuation in Chinese API docs (Accuracy, Auc, triangular_solve)#24

Closed
cutetocute wants to merge 1 commit intodevelopfrom
fix/chinese-punctuation-in-api-docs-9d7ba0c31eed5537
Closed

[Docs] Fix English punctuation in Chinese API docs (Accuracy, Auc, triangular_solve)#24
cutetocute wants to merge 1 commit intodevelopfrom
fix/chinese-punctuation-in-api-docs-9d7ba0c31eed5537

Conversation

@cutetocute
Copy link

Summary

Fix English punctuation used in Chinese API documentation, replacing them with the appropriate Chinese punctuation as required by the documentation standards.

Changes

docs/api/paddle/metric/Accuracy__upper_cn.rst

  • 计算准确率(accuracy)。计算准确率(accuracy)。 (English parentheses → Chinese parentheses)
  • Fixed trailing English periods . to Chinese periods in parameter descriptions

docs/api/paddle/metric/Auc_cn.rst

  • 在二分类(binary classification)中广泛使用。在二分类(binary classification)中广泛使用。 (English parentheses → Chinese parentheses)

docs/api/paddle/linalg/triangular_solve_cn.rst

  • 上(下)三角系数矩阵上(下)三角系数矩阵 (English parentheses → Chinese parentheses)

Standard Reference

Per the documentation standards in .github/copilot-instructions.md:

中文文档中尽量避免使用英文标点符号,如逗号、句号、引号等,均应使用中文标点符号

These changes ensure Chinese API documentation uses Chinese punctuation consistently.

Generated by API Docs Checker

…r_solve)

Replace English parentheses with Chinese parentheses and fix English periods
in Chinese text to comply with documentation standards.

- docs/api/paddle/metric/Accuracy__upper_cn.rst: Replace (accuracy) with
  (accuracy), fix trailing English periods to Chinese periods
- docs/api/paddle/metric/Auc_cn.rst: Replace (binary classification) with
  (binary classification)
- docs/api/paddle/linalg/triangular_solve_cn.rst: Replace 上(下)三角 with
  上(下)三角

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions
Copy link

📚 本次 PR 文档预览链接(点击展开)
ℹ️ 预览提醒
请等待 Docs-NEW 流水线运行完成后再点击预览链接,否则可能会看到旧版本内容或遇到链接无法访问的情况。

Copy link

🚀 成功同步至官方仓库! 对应的上游 PR 链接:PaddlePaddle#7815

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants