Skip to content

cbernet/nbspellcheck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npspellcheck

spell checking jupyter notebooks

Writing correctly should be a priority, even for programmers and scientists.

But this is not easy in jupyter notebooks.

In english, a good solution is to make use of the spellchecker notebook extension, which highlights incorrect text:

pip install jupyter_contrib_nbextensions
jupyter contrib nbextension install --user
jupyter nbextension enable spellchecker/main

However, this extension is currently not able to suggest corrections, and is only available for English.

Since I write blog posts based on jupyter notebooks in French, I came up with a small script for spell checking.

Installation:

pip install nbspellcheck

Example of use:

nbspellcheck.py my_jupyter_notebook.ipynb -l fr

A big thank you to the developers of

that are doing all the heavy lifting.

I made this real fast, and the user interface can be improved. Please don't hesitate to send a PR.

About

Spell checking of jupyter notebooks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages