Skip to content

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

Closed
ooooo-create wants to merge 1 commit intoPaddlePaddle:developfrom
StatefulDust:fix/chinese-punctuation-in-api-docs-9d7ba0c31eed5537
Closed

[Docs] Fix English punctuation in Chinese API docs (Accuracy, Auc, triangular_solve)#7815
ooooo-create wants to merge 1 commit intoPaddlePaddle:developfrom
StatefulDust:fix/chinese-punctuation-in-api-docs-9d7ba0c31eed5537

Conversation

@ooooo-create
Copy link
Collaborator

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


🔄 Synced from StatefulDust#24

…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>
@paddle-bot
Copy link

paddle-bot bot commented Mar 1, 2026

感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-7815.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html
预览工具的更多说明,请参考:飞桨文档预览工具

@github-actions
Copy link

github-actions bot commented Mar 1, 2026

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


计算准确率(accuracy)
计算准确率accuracy

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

英文括号

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

该 PR 按照仓库中文文档规范,将中文 API 文档中出现的英文标点(主要是英文括号与英文句号)替换为对应的中文标点,以提升中文文档的一致性与规范性。

Changes:

  • 将中文描述中的英文括号 () 替换为中文括号 ()
  • 将参数/返回值描述中的英文句号 . 替换为中文句号
  • 统一少量逗号/句号等中文段落收尾标点表现

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
docs/api/paddle/metric/Auc_cn.rst 将二分类英文说明的括号改为中文括号
docs/api/paddle/metric/Accuracy__upper_cn.rst 将简介中的括号改为中文括号,并将部分说明句尾标点改为中文句号
docs/api/paddle/linalg/triangular_solve_cn.rst 将“上(下)”括号改为中文括号

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.

3 participants