[CodeStyle][Typos][D-[11-15],P-[11-12]] Fix typo("desgin","desigin","desginated","determinated","diffcult","porcess","processer") by Ricardo-shuo-liu · Pull Request #7614 · PaddlePaddle/docs (original) (raw)
PR Category
User Experience
Description
Fix:
修复如下 typo 问题:
"desgin",
"desigin",
"desginated",
"determinated",
"diffcult",
"porcess",
"processer"
porcess修改涉及照片文件,修改后对文档其他引用部分无影响,虽然引用部分url为单词错误typos无法检测到,但是我强制查询到了位于“docs/guides/model_convert/convert_from_pytorch/nlp_migration_experiences_cn.md”
虽然其中还是porcess但是修改会导致错误,没有修改,typos无法检测,我开始以为是会引用修改的文件,最后没有,所以没有作过多修复。
对于processer的修改主要问题在于这个是处于item_processer的部分检测,typos检测到的processer均是位于item_processer的一部分,而且这个逻辑多次使用,如果是写错,我强制检测了item_processor 在docs文件中并没有存在,所以我初步选择不大范围修改,选择加入到special words中。
如果对于processer的判断有误,我可以在后续修改成正确的processor情况。

Related links
[CodeStyle][Typos] ✏️ Typos 工具引入 #7543