做了一款小而美的本地校验器

发布于:2025-07-29 ⋅ 阅读:(20) ⋅ 点赞:(0)

需求说明

前阵子收到一则读者留言,指出:市面上AI核稿工具(ProWritingAid,WPS AI Spell Check,Writer,QuillBot,Grammarly)要么收费太高,要么让人担心文章泄露。

如下图所示,高水平期刊上发表的文章也经常出现拼写错误。

如果有一个本地文本校验软件,可以解决一些基本的语法纠错,还不用担心未发表的文章泄露。

于是我做了这款本地校验器(Localcheck)。

开源地址:https://github.com/zstar1003/Localcheck

软件效果展示

软件运行效果如下:

在这里插入图片描述

使用非常简单,可以直接将待分析文本粘贴进编辑框,也可以直接打开word/txt/md文件,点击分析文本按钮,就会分析全文内容,包含以下分析项。

📝 拼写检查

  • 英文拼写错误:检测常见的英文单词拼写错误
    • 示例:recievereceivedefinatelydefinitely
  • 拼写建议:提供正确的拼写建议
  • 专有名词识别:自动跳过首字母大写的专有名词

🔤 重复检测

  • 重复词语:检测连续出现的相同词语
    • 示例:这个 这个 问题这个 问题
  • 重复字符:检测中文重复字符(智能过滤正常用法)
    • 检测:我我觉得我觉得
    • 不误报:人人都知道事事如意等正常用法

🔣 标点符号

  • 空括号:检测多余的空括号
    • 示例:calculation () → 删除空括号或添加内容
  • 括号配对:检测不配对的括号
    • 示例:句子(缺少右括号 → 添加右括号
  • 连续标点:检测连续使用的相同标点符号
    • 示例:什么???什么?
  • 中英文标点混用:检测同一行中混用中英文标点

📏 语法检查

  • 被动语态:检测过度使用的被动语态
    • 中文:受到遭到 等标记
    • 英文:is/are/was/were + 过去分词 结构
  • 主谓一致:检测英文主谓不一致问题
  • 时态一致性:检测英文时态使用问题
  • 中文语法
    • 的得地 用法检测
    • 字句结构检查

📐 文本结构

  • 句子长度:检测过长的句子
  • 段落结构:分析文本的段落组织

🎨 写作风格

  • 冗余表达:检测常见的冗余词汇和表达
    • 示例:目前现在目前现在
  • 非正式用词:检测学术写作中的非正式表达
    • 示例:咱们我们俺们我们
  • 语序问题:检测中文语序不当的表达

下载方式

此软件采用 Tauri 进行开发,安装包仅3.8MB大小。

下载链接:https://zstar.lanzoul.com/ilWY53230gfa 密码:1ib6

测试用例

以下是读者提供的测试用例,可粘贴进编辑框测试:

1: To assess the economic aspects of PBs, the current literature employed various methods such as LCC, cost-benefit method, and total cost calculation (). LCC has been utilized to evaluate the costs related to every phase of a building life cycle and clarify the distribution of the costs within all phases (Samani et al., 2018).
Error: ().2: In the poresent study, the out-degree centrality of a node indicated the extent to which this stakeholder pointed out problematic interfaces for others, and in-degree centrality of a node means the extent to which other stakeholders pointed out that they experienced problematic interfaces with this stakeholder.
Error: Poresent

例3: Geographic Endowment, Business Enronment and Corporate Financal Asset Alocation——Empincal Eydence from a share listed Corporate
Error: a lot of typos

网站公告

今日签到

点亮在社区的每一天
去签到