注释处理方法、装置及设备
By matching comment separators in the code text and updating or creating new comment lines based on the number of characters, the problems of garbled characters and character obfuscation in code comment translation are solved, thus improving the reliability of the translation.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HENAN KUNLUN TECH CO LTD
- Filing Date
- 2022-09-05
- Publication Date
- 2026-07-17
AI Technical Summary
In existing technologies, the large differences in the number of characters in code comments when translating them into different languages can lead to problems such as garbled text and character confusion after translation, which reduces the reliability of code comment translation.
By matching comment separators in the code text, the system extracts and translates initial comments, updates target comments to comment lines based on character count, or creates new comment lines, thus avoiding character confusion and garbled text.
It improves the reliability of code comment translation, ensures the clarity and accuracy of the translated text, and avoids garbled text issues.
Smart Images

Figure CN115659928B_ABST