mahito1594 / docker-aspell

Run GNU Aspell on Docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Run aspell on Docker

Docker Build Status Docker Automated build

This builds an image which contains GNU Aspell; install GNU Aspell v.0.60.7(released July, 2019) on Alpin Linux v3.10. The image include English, French and German dictionaries.

Requirements

Install

You can pull Docker Hub:

$ docker pull mahito1594/aspell

Usage

Interactive spellcheck

I want to use this image in CI as a proofreading helper(I will do it later). Anyway, you can use this by giving --entrypoint option: if you are in the directory in which document you want to spellcheck is, for example

$ docker run --rm -it -v $PWD:/work --entrypoint=/bin/sh mahito1594/aspell
/work #  aspell check --lang en --mode tex your-document.tex (in docker container)

or

$ docker run --rm -it -v $PWD:/work mahito1594/aspell check --lang en --mode tex your-document.tex

Of course, you can combinate with sort, uniq and so on.

Get a list of miss-spelled words

When you want to get a list of miss-spelled words, run, for example

$ docker run --rm -i -v $PWD:/work mahito1594/aspell list --lang en --mode tex < your-document.tex

Acknowledgement

  • Docker
  • GNU Aspell

LICENSE

Apache 2.0 Licensed

About

Run GNU Aspell on Docker

License:Apache License 2.0


Languages

Language:Dockerfile 100.0%