Skip to content

TimKras/dictionaries

 
 

Repository files navigation

dictionaries

Accessible and easily installable hunspell dictionaries. Useful with nodehun, nspell, and others.

Installation

See each of the below packages for installation guidelines.

Table of Dictionaries

In total 68 dictionaries are provided.

Name Description License
dictionary-bg Bulgarian (GPL-2.0 OR LGPL-2.1 OR MPL-1.1)
dictionary-br Breton (GPL-2.0 OR LGPL-2.1 OR MPL-1.1)
dictionary-ca Catalan (GPL-2.0 OR LGPL-2.1)
dictionary-ca-valencia Catalan (Valencian) (GPL-2.0 OR LGPL-2.1)
dictionary-cs Czech GPL-2.0
dictionary-da Danish (GPL-2.0 OR LGPL-2.1 OR MPL-1.1)
dictionary-de German (GPL-2.0 OR GPL-3.0)
dictionary-de-at German (Austria) (GPL-2.0 OR GPL-3.0)
dictionary-de-ch German (Switzerland) (GPL-2.0 OR GPL-3.0)
dictionary-el Modern Greek (GPL-2.0 OR LGPL-2.1 OR MPL-1.1)
dictionary-el-polyton Modern Greek (Polytonic Greek) GPL-3.0
dictionary-en-au English (Australia) (MIT AND BSD)
dictionary-en-ca English (Canada) (MIT AND BSD)
dictionary-en-gb English (United Kingdom) (MIT AND BSD)
dictionary-en-us English (United States) (MIT AND BSD)
dictionary-en-za English (South Africa) LGPL-2.1
dictionary-eo Esperanto GPL-2.0
dictionary-es Spanish (or Castilian) (GPL-3.0 OR LGPL-3.0 OR MPL-1.1)
dictionary-et Estonian LGPL-2.1
dictionary-eu Basque GPL-2.0
dictionary-fa Persian Apache-2.0
dictionary-fo Faroese (GPL-2.0 OR LGPL-2.1 OR MPL-1.1)
dictionary-fr French MPL-2.0
dictionary-fur Friulian GPL-2.0
dictionary-fy Western Frisian GPL-3.0
dictionary-ga Irish GPL-2.0
dictionary-gd Scottish Gaelic (or Gaelic) GPL-3.0
dictionary-gl Galician GPL-3.0
dictionary-he Hebrew AGPL-3.0
dictionary-hr Croatian (LGPL-2.1 OR SISSL)
dictionary-hu Hungarian (GPL-2.0 OR LGPL-2.1 OR MPL-1.1)
dictionary-hy-arevela Armenian (Eastern Armenian) (GPL-2.0 OR LGPL-2.1 OR MPL-1.1)
dictionary-hy-arevmda Armenian (Western Armenian) (GPL-2.0 OR LGPL-2.1 OR MPL-1.1)
dictionary-ia Interlingua GPL-3.0
dictionary-ie Interlingue (or Occidental) Apache-2.0
dictionary-is Icelandic CC-BY-SA-3.0
dictionary-it Italian GPL-3.0
dictionary-ka Georgian MIT
dictionary-ko Korean (GPL-2.0 OR LGPL-2.1 OR MPL-1.1)
dictionary-la Latin GPL-2.0
dictionary-lb Luxembourgish (or Letzeburgesch) EUPL-1.1
dictionary-lt Lithuanian BSD-3-Clause
dictionary-ltg Latgalian LGPL-2.1
dictionary-lv Latvian LGPL-2.1
dictionary-mk Macedonian GPL-3.0
dictionary-mn Mongolian GPL-2.0
dictionary-nb Norwegian Bokmål GPL-2.0
dictionary-nds Low German (or Low Saxon) GPL-3.0
dictionary-ne Nepali LGPL-2.1
dictionary-nl Dutch (or Flemish) (BSD-3-Clause OR CC-BY-3.0)
dictionary-nn Norwegian Nynorsk GPL-2.0
dictionary-pl Polish (GPL-3.0 OR LGPL-3.0 OR MPL-2.0)
dictionary-pt Portuguese (GPL-2.0 OR LGPL-2.1 OR MPL-1.1)
dictionary-pt-br Portuguese (Brazil) LGPL-2.1
dictionary-ro Romanian (or Moldavian, or Moldovan) (GPL-2.0 OR LGPL-2.1 OR MPL-1.1)
dictionary-ru Russian BSD-2-Clause
dictionary-rw Kinyarwanda GPL-3.0
dictionary-sk Slovak GPL-2.0
dictionary-sl Slovenian (GPL-3.0 OR LGPL-2.1)
dictionary-sr Serbian LGPL-3.0
dictionary-sr-latn Serbian (Latin) LGPL-3.0
dictionary-sv Swedish LGPL-3.0
dictionary-tk Turkmen Apache-2.0
dictionary-tlh Klingon (or tlhIngan-Hol) Apache-2.0
dictionary-tlh-latn Klingon (or tlhIngan-Hol, Latin) Apache-2.0
dictionary-tr Turkish MIT
dictionary-uk Ukrainian GPL-3.0
dictionary-vi Vietnamese GPL-2.0

macOS

Each dictionary can be installed on OS X by following this StackExchange answer.

Building

I’ve only tested this on macOS, but there you at least need to install:

  • hunspell: brew install hunspell (many things)
  • coreutils: brew install coreutils (many things)
  • sed: brew install gnu-sed (Hungarian)
  • awk: brew install gawk (Hungarian)
  • m4: brew install m4 (Hungarian)
  • ispell: brew install ispell (German)

Note that the GNU replacements should be setup in PATH to overwrite macOS defaults.

Contributing

New dictionaries can be added quite easily. Most importantly, they must be licensed with a free license, and they should be convertible by iconv(1) to UTF-8.

License

MIT © Titus Wormer

See license files in each dictionary for the licensing of index.dic and index.aff files.

About

Hunspell dictionaries in UTF-8

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 60.9%
  • Shell 39.1%