/nuspell-docker

Primary LanguageDockerfileMIT LicenseMIT

nuspell:5.1.4 semenovp/tiny-nuspell:latest docker pulls

Usage

Just add the following alias to your .bashrc (or .bash_profile for OSX):

alias nuspell='docker run --rm -v <path/to/hunspell/dictionaries>:/usr/share/hunspell -v `pwd`:/workdir -w /workdir semenovp/tiny-nuspell:latest'

Now your shell is ready to go. For example, do like this:

nuspell -d <path/to/en_US.aff> /path/to/file 

How to build on your own?

First, your machine should be provisioned with tools from list below:

Then, just cd to repo root directory and type make. That's it!