{"repo":"huacnlee/autocorrect","free":true,"listed":false,"github":"https://github.com/huacnlee/autocorrect","clone":"git clone https://github.com/huacnlee/autocorrect.git","description":"A linter and formatter to help you to improve copywriting, correct spaces, words, and punctuations between CJK (Chinese, Japanese, Korean).","language":"Rust","stars":1623,"topics":["rust","formatter","linter","copywriting","autocorrect","spellcheck","webassembly","lsp"],"license":"MIT","category":"dev-tools","readme_excerpt":"AutoCorrect 🎯 AutoCorrect 的愿景是提供一套标准化的文案校正方案。以便于在各类场景（例如：撰写书籍、文档、内容发布、项目源代码...）里面应用，让使用者轻松实现标准化、专业化的文案输出 / 校正。 AutoCorrect is a linter and formatter to help you to improve copywriting, correct spaces, words, and punctuations between CJK (Chinese, Japanese, Korean). Like Eslint, Rubocop and Gofmt ..., AutoCorrect allows us to check source code, and output as colorized diff with corrected suggestions. You can integrate to CI (GitLab CI, GitHub Action, Travis CI....) for use to check the contents in source code. Recognize the file name, and find out the strings and the comment part. AutoCorrect 是一个基于 Rust 编写的工具，用于「自动纠正」或「检查并建议」文案，给 CJK（中文、日语、韩语）与英文混写的场景，补充正确的空格，纠正单词，同时尝试以安全的方式自动纠正标点符号等等。 类似 ESlint、Rubocop、Gofmt 等工具，AutoCorrect 可以用于 CI 环境，它提供 Lint 功能，能便捷的检测出项目中有问题的文案，起到统一规范的作用。 支持各种类型源代码文件，能自动识别文件名，并准确找到字符串、注释做自动纠正。 此方案最早于 2013 年 出现于 Ruby China 的项目，并逐步完善规则细节，当前准确率较高（极少数异常情况），你可以放心用来辅助你完成自动纠正动作。 Features - Add spacing between CJK (Chinese, Japanese, Korean) and English words. - Correct punctuations into full-width near the CJK. - Correct punctuations into half-width in English content. - (Experimental) Spellcheck and correct words with your dictionary. - Lint checking and output diff or JSON result, so you can integrate everywhere (GitLab CI, GitHub Action, VS Code, Vim, Emacs...) - Allows using .gitignore or .autocorrectignore to ignore files that you want to ignore. - Support more than 28 file types (Markdown, JSON, YAML, JavaScript, HTML ...), use AST parser to only check for ","default_branch":null,"files":null,"tree":[],"storefront":"/r/huacnlee","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/huacnlee/autocorrect/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}