带有建议的 Jupyter 笔记本拼写检查器

Jupyter notebook spell checker with suggestions

我在 windows 上的 Web 浏览器中通过 anaconda 使用 jupyter 运行。在 nbextensions 中:我试过了,

  1. 印花布拼写检查,
  2. 印花布拼写检查,
  3. spellchecker/main.

所有拼写错误的单词都可以突出显示,但 none 建议正确的单词。

我是不是错过了一个设置步骤,我的 google fu 让我失望了。是否有另一个按预期工作的扩展。我很难相信围绕数据呈现设计的系统没有真正的拼写检查器/校正器扩展,我一定是缺少设置步骤或对系统的基本理解。

据我所见,例如 this you just get highlighting in the classic Jupyter notebook interface. The limitations of what can be done with that interface is one of the reasons the current path forward for Jupyter development is JupyterLab and efforts based on similar underlying modern machinery,即笔记本版本 7 旨在看起来像经典的笔记本界面,同时基于更现代的组件。

JupyterLab 已添加拼写检查和可用建议用于编辑降价单元格编辑降价文档,参见here. You can try it out in your browser now by going here和单击 launch binder 以打开已安装并运行扩展的会话。

对于代码,JupyterLab 已经有一个很好的自动完成实现,当您开始输入单词并按 Tab 键查看建议时,您将获得该实现。此外,还提供了一些想法来扩展 JupyterLab 的当前拼写检查扩展以处理代码单元,请参阅 tracking for this issue