爱意满满的作品展示区。
wb14123

写了个 nvim 插件使用 LLM 修复拼写错误

  •  
  •   wb14123 ·
    wb14123 · Apr 5 · 1291 views
    This topic created in 44 days ago, the information mentioned may be changed or developed.

    写了个 nvim 插件,可以使用 LLM 来修复拼写错误: https://github.com/wb14123/nvim-llm-spell 。 可以使用任何兼容 OpenAI 的 API 。我只测试了使用本地 qwen3.5-4b 的模型,效果还不错。

    相比传统的拼写修复,LLM 通过分析上线文可以让修复更加之智能,甚至可以在拼写错误的单词后面加上中文意思来让 LLM 推荐。选择单词的界面也显示了 LLM 推荐修复单词的原因。

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3017 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 53ms · UTC 13:23 · PVG 21:23 · LAX 06:23 · JFK 09:23
    ♥ Do have faith in what you're doing.