Polish dictionary, with everyday automated build, as .txt
plain file.
NOTE: This project is under active development. Do not use it yet.
Dictionary status:
- permalink to dictionary (always newest version),
- generation date: Fri, 16 Nov 2018 20:15:21 +0000,
- number of words: 0.
If there's no updates for a few days - it's normal. Just dictionary doesn't have any updates at this moment.
- Download dictionary release.
- Clone repository.
- Install via
npm
oryarn
.
Use it for whatever you need:
- prepare dictionary for applications you're using,
- prepare passwords list 😎 (just for educational purpose only, of course),
- use it in your words-game,
- waste ton of paper sheets by printing whole dictionary.
Some time ago I've created Polish dictionary for JetBrains IDEs. I'd like to update it automatically. Unfortunately I didn't found any automated Polish dictionary sources.
So... I just created it.
This repository doesn't have any connections with JetBrains or any other applications. It is just .txt
dictionary.
Group of good people from https://sjp.pl/ created and maintaining probably most up-to-date and valuable Polish dictionary in the world. However, they only provide their work as aspell, ispell and myspell dictionary packages.
tl;dr: Every day, this library, pull newest available aspell dictionary, dump it and push back to repository.
- Every day CI trigger build based on .travis.yml config.
- Build docker image (scripts/docker_build.sh).
- Run docker container on built image (scripts/docker_run.sh).
- Push back dictionary to repository if there's update (scripts/dictionary_deploy.sh).
You can manual generate the dictionary on the system with any shell (e.g. sh
) and docker
. With below example, dictionary on your computer will be dumped to dist/pl.txt
.
It is important to run scripts from root of the repository. Executing commands from other directory will return error (sorry, it is just shell scripts 🙃).
export DOCKER_IMAGE="polish-dictionary"
export DICTIONARY="dist/pl.txt"
./scripts/docker_build.sh
./scripts/docker_run.sh
docker rmi "${DOCKER_IMAGE}"
After executing above commands, image and container will be deleted.
- SJP team, for best Polish dictionary.
- All code, scripts etc. in this repository is licensed with MIT license.
- One exception is dictionary itself. It is licensed with: GPL 2, LGPL 2.1, MPL 1.1, CC BY 4.0 and Apache 2.0 (details).