Giter Club home page Giter Club logo

polish-dictionary's Introduction

Build Status

polish-dictionary

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.

Usage

  1. Download dictionary release.
  2. Clone repository.
  3. Install via npm or yarn.

For what?

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.

Why?

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.

How it works?

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.

  1. Every day CI trigger build based on .travis.yml config.
    1. Build docker image (scripts/docker_build.sh).
    2. Run docker container on built image (scripts/docker_run.sh).
    3. Push back dictionary to repository if there's update (scripts/dictionary_deploy.sh).

Manual generation of dictionary

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.

Credits

Licenses

  • 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).

polish-dictionary's People

Contributors

sigo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.