From 1f6d8c7ae909989b6a68bdb350cac5e31cd9a447 Mon Sep 17 00:00:00 2001 From: Jason Date: Mon, 14 Feb 2022 16:44:44 -0500 Subject: [PATCH] =?UTF-8?q?=20=F0=9F=A6=88=F0=9F=8F=A0=F0=9F=90=9C?= =?UTF-8?q?=E2=9D=97=20Initial=20Commit=20=E2=9D=97=F0=9F=90=9C?= =?UTF-8?q?=F0=9F=A6=88=F0=9F=8F=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 19 + Dockerfile | 42 + LICENSE.md | 13 + README.md | 10 + etc/default/dictd | 22 + etc/dictd/colorit.conf | 32 + etc/dictd/dict.conf | 21 + etc/dictd/dictd.conf | 30 + etc/dictd/dictd.order | 8 + etc/dictd/dictdconfig.alias | 16 + etc/dictd/site.txt | 0 usr/bin/entrypoint.sh | 22 + var/lib/dictd/db.list | 920 ++++++++++++++++++ var/lib/dictionaries-common/aspell/aspell-en | 19 + .../hunspell/hunspell-en-us | 4 + .../dictionaries-common/wordlist/wamerican | 2 + 16 files changed, 1180 insertions(+) create mode 100644 .gitignore create mode 100644 Dockerfile create mode 100644 LICENSE.md create mode 100644 README.md create mode 100644 etc/default/dictd create mode 100644 etc/dictd/colorit.conf create mode 100644 etc/dictd/dict.conf create mode 100644 etc/dictd/dictd.conf create mode 100644 etc/dictd/dictd.order create mode 100755 etc/dictd/dictdconfig.alias create mode 100644 etc/dictd/site.txt create mode 100755 usr/bin/entrypoint.sh create mode 100644 var/lib/dictd/db.list create mode 100644 var/lib/dictionaries-common/aspell/aspell-en create mode 100644 var/lib/dictionaries-common/hunspell/hunspell-en-us create mode 100644 var/lib/dictionaries-common/wordlist/wamerican diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f2ef0a2 --- /dev/null +++ b/.gitignore @@ -0,0 +1,19 @@ +# gitignore created on 02/03/22 at 03:07 +# Disable reminder in prompt +ignoredirmessage + +# OS generated files +.DS_Store +.DS_Store? +._* +.Spotlight-V100 +.Trashes +ehthumbs.db +Thumbs.db + +# Other +.installed + + +# ignore commit message +.gitcommit diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..b7b5731 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,42 @@ +FROM casjaysdev/debian:latest as dictbuild + +ENV LANG C.UTF-8 +ENV LC_ALL C.UTF-8 +ENV DEBIAN_FRONTEND noninteractive + +RUN apt-get update && apt-get install -yy apt-utils locales dialog +RUN localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 +RUN apt-get update && apt-get install -yy net-tools procps dictd* dict-* && apt-get clean && rm -rf /var/lib/apt/lists/* + +COPY ./etc/dictd/. /etc/dictd/ +COPY ./etc/default/dictd /etc/default/dictd +COPY ./usr/bin/entrypoint.sh /usr/bin/entrypoint.sh + +RUN mkdir -p /var/log/dictd && touch /var/log/dictd/server.log && chmod -Rfv 777 /etc/dictd /var/log/dictd + +FROM dictbuild +ARG BUILD_DATE="$(date +'%Y-%m-%d %H:%M')" + +LABEL \ + org.label-schema.name="dictd" \ + org.label-schema.description="Dictionary server" \ + org.label-schema.url="https://github.com/casjaysdev/dictd" \ + org.label-schema.vcs-url="https://github.com/casjaysdev/dictd" \ + org.label-schema.build-date=$BUILD_DATE \ + org.label-schema.version=$BUILD_DATE \ + org.label-schema.vcs-ref=$BUILD_DATE \ + org.label-schema.license="MIT" \ + org.label-schema.vcs-type="Git" \ + org.label-schema.schema-version="1.0" \ + org.label-schema.vendor="CasjaysDev" \ + maintainer="CasjaysDev " + +ENV HOSTNAME dictd + +EXPOSE 2628 + +VOLUME [ "/config" ] + +HEALTHCHECK CMD ["/usr/bin/entrypoint.sh", "healthcheck"] + +ENTRYPOINT ["/usr/bin/entrypoint.sh"] diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..86d4345 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,13 @@ + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + Version 2, December 2004 + + Copyright (C) 2022 Jason Hempstead + + Everyone is permitted to copy and distribute verbatim or modified + copies of this license document, and changing it is allowed as long + as the name is changed. + + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 1. You just DO WHAT THE FUCK YOU WANT TO. diff --git a/README.md b/README.md new file mode 100644 index 0000000..a4d419d --- /dev/null +++ b/README.md @@ -0,0 +1,10 @@ +

+👋 Welcome to dictd 👋 +

+

+StartDocumentationHere +

+ +## Author + +👤 **Jason Hempstead** diff --git a/etc/default/dictd b/etc/default/dictd new file mode 100644 index 0000000..1a13ce1 --- /dev/null +++ b/etc/default/dictd @@ -0,0 +1,22 @@ +# This file is sourced by /etc/init.d/dictd to obtain the values of +# config variables to be passed to dictd on startup. + +# How should the dictd server run? +# Possible values are "daemon" (default), "inetd" or "disabled". +# Please note that any other value will be automatically +# overwritten by the debconf script when the package +# is upgraded or when you run `dpkg-reconfigure dictd' + +RUN_MODE="daemon" + + +# Options passed to dictd. +# Uncomment appropriate lines, change the text if desired, and/or add +# new lines using the format of the sample lines. (They must be legal +# options, as shown in dictd(8).) If dictd is running in the inetd mode, +# please run `dpkg-reconfigure dictd' after changing the options. + +DICTD_ARGS="" +#DICTD_ARGS="$DICTD_ARGS --locale=en_US.utf-8" +#DICTD_ARGS="$DICTD_ARGS --facility=user" +#DICTD_ARGS="$DICTD_ARGS --log=min" diff --git a/etc/dictd/colorit.conf b/etc/dictd/colorit.conf new file mode 100644 index 0000000..22b00e9 --- /dev/null +++ b/etc/dictd/colorit.conf @@ -0,0 +1,32 @@ +dnl /etc/dictd/colorit.conf vim:ft=m4 +dnl +dnl Sample configuration file for colorit(1) program +dnl +divert(-1) +dnl +dnl Define some useful color variables +dnl +define(`black', `0') +define(`red', `1') +define(`green', `2') +define(`brown', `3') +define(`blue', `4') +define(`magenta', `5') +define(`cyan', `6') +define(`white', `7') +dnl +dnl Mark macro arguments: regexp foreground-color [background-color] +dnl +define(`mark', ``mark "$1"'' `ifelse(`$#', `3', ``"\033[3$2;4$3m"'', ``"\033[3$2m"'')' `"\033[m"') +dnl +divert +mark(`^From.*$',red,cyan) +mark(`^ [^ ]+',green) +mark(`^ *Note:',red) +mark(`{[^{]+}',green) +mark(`^ *\[[^\[]+\]', cyan) +mark(`^[ ]*(adj|n|v|adv)? *[0-9]+[\.:]',cyan) +mark(`^ *\([a-z]+\)',cyan) +mark(`(Syn|Ant|syn|ant):', blue, white) +mark(` (t|i|a|adj|adv|n|v)\. ',cyan) +mark(` (t|i|a|adj|adv|n|v)\.$',cyan) diff --git a/etc/dictd/dict.conf b/etc/dictd/dict.conf new file mode 100644 index 0000000..2adafbd --- /dev/null +++ b/etc/dictd/dict.conf @@ -0,0 +1,21 @@ +# /etc/dictd/dict.conf + +# Written by Bob Hilliard +# 1998/03/20. Last revised Sun, 22 Nov 1998 18:10:04 -0500 This is +# the configuration file for /usr/bin/dict. In most cases only the +# server keyword need be specified. + +# This default configuration will try to access a dictd server on the +# local host, failing that, it will try the public server. In many +# cases this will be slow, so you should comment out the line for the +# server that you don't want to use. To use any other server, enter +# its IP address in place of "dict.org". + +# Refer to the dict manpage (man dict) for other options that could +# be inserted in here. + +server localhost +server dict.casjaysdev.com +server dict.org +server dict0.us.dict.org +server alt0.dict.org diff --git a/etc/dictd/dictd.conf b/etc/dictd/dictd.conf new file mode 100644 index 0000000..f18d2f8 --- /dev/null +++ b/etc/dictd/dictd.conf @@ -0,0 +1,30 @@ +# /etc/dictd/dictd.conf + +# Site section here: +global { + site /etc/dictd/site.txt + port 2628 + delay 600 + depth 10 + limit 100 + timestamp 10 + log_option "found" + log_option "notfound" + log_option "stats" + log_option "client" + debug_option "init" + add_strategy "phonetic" "Phonetic search" + add_strategy "reverse" "Full text search in definitions" + log_file "/var/log/dictd/server.log" + #listen_to 127.0.0.1 +} + +# Access section here: +access { + allow * +} + +# Database section here: +include /var/lib/dictd/db.list + +# User section here: diff --git a/etc/dictd/dictd.order b/etc/dictd/dictd.order new file mode 100644 index 0000000..53e3ca3 --- /dev/null +++ b/etc/dictd/dictd.order @@ -0,0 +1,8 @@ +# This file defines the order in which dictdconfig lists dictionaries +# in /var/lib/dictd/db.list. The entry "/usr/share/dictd/" brings in +# any dictionaries in that directory that aren't specifically listed +# in this file. You should enter the names of the dictionaries you +# have installed, in the order you would prefer to have them searched. + +web1913 gcide wn foldoc jargon vera devil elements easton hitchcock gazetteer +/usr/share/dictd/ diff --git a/etc/dictd/dictdconfig.alias b/etc/dictd/dictdconfig.alias new file mode 100755 index 0000000..d96b9e9 --- /dev/null +++ b/etc/dictd/dictdconfig.alias @@ -0,0 +1,16 @@ +#!/usr/bin/perl -lp + +# By default, dictdconfig uses the basename of the file in +# /usr/share/dictd as the name of the database. This file is an +# executable filter that substitutes a preferred name for a dictionary +# in /var/lib/dictd/db.list. This name is displayed by the dict -D +# command and is used with the -d option of dict to request +# definitions from a specific dictionary instead of the default of all +# installed dictionaries. + +# The format of each line is: +# s/^//; +# Lines preceded by a hash character (#) are ignored. + +s/^freedict/fd/; +s/^gazetteer/gaz/; diff --git a/etc/dictd/site.txt b/etc/dictd/site.txt new file mode 100644 index 0000000..e69de29 diff --git a/usr/bin/entrypoint.sh b/usr/bin/entrypoint.sh new file mode 100755 index 0000000..34c127a --- /dev/null +++ b/usr/bin/entrypoint.sh @@ -0,0 +1,22 @@ +#!/usr/bin/env bash + +case "$1" in +healthcheck) + DICT_PD="$(ps aux | grep -v grep | grep -q "[d]ict" && echo "OK" || false)" + DICT_SRV="$(netstat -taupln | grep "2628" | grep -q 'dict' && echo "OK" || false)" + if [[ -n "$DICT_PD" ]] && [[ -n "$DICT_SRV" ]]; then + exit 0 + else + exit 1 + fi + ;; +esac + +[[ -f "/config/dict.conf" ]] && + cp -Rf "/config/dict.conf" "/etc/dictd/dict.conf" || + cp -Rf "/etc/dictd/dict.conf" "/config/dict.conf" +[[ -f "/config/dictd.conf" ]] && + cp -Rf "/config/dictd.conf" "/etc/dictd/dictd.conf" || + cp -Rf "/etc/dictd/dictd.conf" "/config/dictd.conf" + +dictd -dnodetach diff --git a/var/lib/dictd/db.list b/var/lib/dictd/db.list new file mode 100644 index 0000000..ed86e24 --- /dev/null +++ b/var/lib/dictd/db.list @@ -0,0 +1,920 @@ +# Automatically generated file -- do not edit. +# +# This file was automatically generated by dictdconfig. Any changes +# made directly to this file will be lost when dictdconfig is run upon +# installation, removal, or upgrade of a dictionary database package. +# +# This file provides a complete database section which may be +# included from the dictd configuration file /etc/dictd/dictd.conf +# with an ``include /var/lib/dictd/db.list'' line. The order and +# presence of the dictionary database entries here may be modified +# via the optional dictdconfig order override file /etc/dictd/dictd.order. +# See dictdconfig(8) for details. +# +# Older dictionary database packages did not automatically invoke +# /usr/sbin/dictdconfig upon installation and removal, so you may +# need to do so manually (after which, you should restart dictd). + +# Optional order override file /etc/dictd/dictd.order found. +# Ignoring default order. + +database gcide + { + data /usr/share/dictd/gcide.dict.dz + index /usr/share/dictd/gcide.index +} +database wn + { + data /usr/share/dictd/wn.dict.dz + index /usr/share/dictd/wn.index +} +database foldoc + { + data /usr/share/dictd/foldoc.dict.dz + index /usr/share/dictd/foldoc.index +} +database jargon + { + data /usr/share/dictd/jargon.dict.dz + index /usr/share/dictd/jargon.index +} +database vera + { + data /usr/share/dictd/vera.dict.dz + index /usr/share/dictd/vera.index +} +database devil + { + data /usr/share/dictd/devil.dict.dz + index /usr/share/dictd/devil.index +} +database elements + { + data /usr/share/dictd/elements.dict.dz + index /usr/share/dictd/elements.index +} +database english-german + { + data /usr/share/dictd/english-german.dict.dz + index /usr/share/dictd/english-german.index +} +database german-english + { + data /usr/share/dictd/german-english.dict.dz + index /usr/share/dictd/german-english.index +} +database fd-afr-deu + { + data /usr/share/dictd/freedict-afr-deu.dict.dz + index /usr/share/dictd/freedict-afr-deu.index +} +database fd-afr-eng + { + data /usr/share/dictd/freedict-afr-eng.dict.dz + index /usr/share/dictd/freedict-afr-eng.index +} +database fd-ara-eng + { + data /usr/share/dictd/freedict-ara-eng.dict.dz + index /usr/share/dictd/freedict-ara-eng.index +} +database fd-bre-fra + { + data /usr/share/dictd/freedict-bre-fra.dict.dz + index /usr/share/dictd/freedict-bre-fra.index +} +database fd-ces-eng + { + data /usr/share/dictd/freedict-ces-eng.dict.dz + index /usr/share/dictd/freedict-ces-eng.index +} +database fd-ckb-kmr + { + data /usr/share/dictd/freedict-ckb-kmr.dict.dz + index /usr/share/dictd/freedict-ckb-kmr.index +} +database fd-cym-eng + { + data /usr/share/dictd/freedict-cym-eng.dict.dz + index /usr/share/dictd/freedict-cym-eng.index +} +database fd-dan-eng + { + data /usr/share/dictd/freedict-dan-eng.dict.dz + index /usr/share/dictd/freedict-dan-eng.index +} +database fd-deu-bul + { + data /usr/share/dictd/freedict-deu-bul.dict.dz + index /usr/share/dictd/freedict-deu-bul.index +} +database fd-deu-eng + { + data /usr/share/dictd/freedict-deu-eng.dict.dz + index /usr/share/dictd/freedict-deu-eng.index +} +database fd-deu-fin + { + data /usr/share/dictd/freedict-deu-fin.dict.dz + index /usr/share/dictd/freedict-deu-fin.index +} +database fd-deu-fra + { + data /usr/share/dictd/freedict-deu-fra.dict.dz + index /usr/share/dictd/freedict-deu-fra.index +} +database fd-deu-ind + { + data /usr/share/dictd/freedict-deu-ind.dict.dz + index /usr/share/dictd/freedict-deu-ind.index +} +database fd-deu-ita + { + data /usr/share/dictd/freedict-deu-ita.dict.dz + index /usr/share/dictd/freedict-deu-ita.index +} +database fd-deu-kur + { + data /usr/share/dictd/freedict-deu-kur.dict.dz + index /usr/share/dictd/freedict-deu-kur.index +} +database fd-deu-nld + { + data /usr/share/dictd/freedict-deu-nld.dict.dz + index /usr/share/dictd/freedict-deu-nld.index +} +database fd-deu-pol + { + data /usr/share/dictd/freedict-deu-pol.dict.dz + index /usr/share/dictd/freedict-deu-pol.index +} +database fd-deu-por + { + data /usr/share/dictd/freedict-deu-por.dict.dz + index /usr/share/dictd/freedict-deu-por.index +} +database fd-deu-rus + { + data /usr/share/dictd/freedict-deu-rus.dict.dz + index /usr/share/dictd/freedict-deu-rus.index +} +database fd-deu-spa + { + data /usr/share/dictd/freedict-deu-spa.dict.dz + index /usr/share/dictd/freedict-deu-spa.index +} +database fd-deu-swe + { + data /usr/share/dictd/freedict-deu-swe.dict.dz + index /usr/share/dictd/freedict-deu-swe.index +} +database fd-deu-tur + { + data /usr/share/dictd/freedict-deu-tur.dict.dz + index /usr/share/dictd/freedict-deu-tur.index +} +database fd-eng-afr + { + data /usr/share/dictd/freedict-eng-afr.dict.dz + index /usr/share/dictd/freedict-eng-afr.index +} +database fd-eng-ara + { + data /usr/share/dictd/freedict-eng-ara.dict.dz + index /usr/share/dictd/freedict-eng-ara.index +} +database fd-eng-bul + { + data /usr/share/dictd/freedict-eng-bul.dict.dz + index /usr/share/dictd/freedict-eng-bul.index +} +database fd-eng-ces + { + data /usr/share/dictd/freedict-eng-ces.dict.dz + index /usr/share/dictd/freedict-eng-ces.index +} +database fd-eng-cym + { + data /usr/share/dictd/freedict-eng-cym.dict.dz + index /usr/share/dictd/freedict-eng-cym.index +} +database fd-eng-dan + { + data /usr/share/dictd/freedict-eng-dan.dict.dz + index /usr/share/dictd/freedict-eng-dan.index +} +database fd-eng-deu + { + data /usr/share/dictd/freedict-eng-deu.dict.dz + index /usr/share/dictd/freedict-eng-deu.index +} +database fd-eng-ell + { + data /usr/share/dictd/freedict-eng-ell.dict.dz + index /usr/share/dictd/freedict-eng-ell.index +} +database fd-eng-fin + { + data /usr/share/dictd/freedict-eng-fin.dict.dz + index /usr/share/dictd/freedict-eng-fin.index +} +database fd-eng-fra + { + data /usr/share/dictd/freedict-eng-fra.dict.dz + index /usr/share/dictd/freedict-eng-fra.index +} +database fd-eng-gle + { + data /usr/share/dictd/freedict-eng-gle.dict.dz + index /usr/share/dictd/freedict-eng-gle.index +} +database fd-eng-hin + { + data /usr/share/dictd/freedict-eng-hin.dict.dz + index /usr/share/dictd/freedict-eng-hin.index +} +database fd-eng-hrv + { + data /usr/share/dictd/freedict-eng-hrv.dict.dz + index /usr/share/dictd/freedict-eng-hrv.index +} +database fd-eng-hun + { + data /usr/share/dictd/freedict-eng-hun.dict.dz + index /usr/share/dictd/freedict-eng-hun.index +} +database fd-eng-ita + { + data /usr/share/dictd/freedict-eng-ita.dict.dz + index /usr/share/dictd/freedict-eng-ita.index +} +database fd-eng-jpn + { + data /usr/share/dictd/freedict-eng-jpn.dict.dz + index /usr/share/dictd/freedict-eng-jpn.index +} +database fd-eng-lat + { + data /usr/share/dictd/freedict-eng-lat.dict.dz + index /usr/share/dictd/freedict-eng-lat.index +} +database fd-eng-lit + { + data /usr/share/dictd/freedict-eng-lit.dict.dz + index /usr/share/dictd/freedict-eng-lit.index +} +database fd-eng-nld + { + data /usr/share/dictd/freedict-eng-nld.dict.dz + index /usr/share/dictd/freedict-eng-nld.index +} +database fd-eng-nor + { + data /usr/share/dictd/freedict-eng-nor.dict.dz + index /usr/share/dictd/freedict-eng-nor.index +} +database fd-eng-pol + { + data /usr/share/dictd/freedict-eng-pol.dict.dz + index /usr/share/dictd/freedict-eng-pol.index +} +database fd-eng-por + { + data /usr/share/dictd/freedict-eng-por.dict.dz + index /usr/share/dictd/freedict-eng-por.index +} +database fd-eng-rom + { + data /usr/share/dictd/freedict-eng-rom.dict.dz + index /usr/share/dictd/freedict-eng-rom.index +} +database fd-eng-rus + { + data /usr/share/dictd/freedict-eng-rus.dict.dz + index /usr/share/dictd/freedict-eng-rus.index +} +database fd-eng-spa + { + data /usr/share/dictd/freedict-eng-spa.dict.dz + index /usr/share/dictd/freedict-eng-spa.index +} +database fd-eng-srp + { + data /usr/share/dictd/freedict-eng-srp.dict.dz + index /usr/share/dictd/freedict-eng-srp.index +} +database fd-eng-swe + { + data /usr/share/dictd/freedict-eng-swe.dict.dz + index /usr/share/dictd/freedict-eng-swe.index +} +database fd-eng-swh + { + data /usr/share/dictd/freedict-eng-swh.dict.dz + index /usr/share/dictd/freedict-eng-swh.index +} +database fd-eng-tur + { + data /usr/share/dictd/freedict-eng-tur.dict.dz + index /usr/share/dictd/freedict-eng-tur.index +} +database fd-epo-eng + { + data /usr/share/dictd/freedict-epo-eng.dict.dz + index /usr/share/dictd/freedict-epo-eng.index +} +database fd-fin-bul + { + data /usr/share/dictd/freedict-fin-bul.dict.dz + index /usr/share/dictd/freedict-fin-bul.index +} +database fd-fin-deu + { + data /usr/share/dictd/freedict-fin-deu.dict.dz + index /usr/share/dictd/freedict-fin-deu.index +} +database fd-fin-ell + { + data /usr/share/dictd/freedict-fin-ell.dict.dz + index /usr/share/dictd/freedict-fin-ell.index +} +database fd-fin-eng + { + data /usr/share/dictd/freedict-fin-eng.dict.dz + index /usr/share/dictd/freedict-fin-eng.index +} +database fd-fin-fra + { + data /usr/share/dictd/freedict-fin-fra.dict.dz + index /usr/share/dictd/freedict-fin-fra.index +} +database fd-fin-ita + { + data /usr/share/dictd/freedict-fin-ita.dict.dz + index /usr/share/dictd/freedict-fin-ita.index +} +database fd-fin-jpn + { + data /usr/share/dictd/freedict-fin-jpn.dict.dz + index /usr/share/dictd/freedict-fin-jpn.index +} +database fd-fin-lat + { + data /usr/share/dictd/freedict-fin-lat.dict.dz + index /usr/share/dictd/freedict-fin-lat.index +} +database fd-fin-nld + { + data /usr/share/dictd/freedict-fin-nld.dict.dz + index /usr/share/dictd/freedict-fin-nld.index +} +database fd-fin-nor + { + data /usr/share/dictd/freedict-fin-nor.dict.dz + index /usr/share/dictd/freedict-fin-nor.index +} +database fd-fin-pol + { + data /usr/share/dictd/freedict-fin-pol.dict.dz + index /usr/share/dictd/freedict-fin-pol.index +} +database fd-fin-por + { + data /usr/share/dictd/freedict-fin-por.dict.dz + index /usr/share/dictd/freedict-fin-por.index +} +database fd-fin-swe + { + data /usr/share/dictd/freedict-fin-swe.dict.dz + index /usr/share/dictd/freedict-fin-swe.index +} +database fd-fra-bre + { + data /usr/share/dictd/freedict-fra-bre.dict.dz + index /usr/share/dictd/freedict-fra-bre.index +} +database fd-fra-bul + { + data /usr/share/dictd/freedict-fra-bul.dict.dz + index /usr/share/dictd/freedict-fra-bul.index +} +database fd-fra-deu + { + data /usr/share/dictd/freedict-fra-deu.dict.dz + index /usr/share/dictd/freedict-fra-deu.index +} +database fd-fra-ell + { + data /usr/share/dictd/freedict-fra-ell.dict.dz + index /usr/share/dictd/freedict-fra-ell.index +} +database fd-fra-eng + { + data /usr/share/dictd/freedict-fra-eng.dict.dz + index /usr/share/dictd/freedict-fra-eng.index +} +database fd-fra-fin + { + data /usr/share/dictd/freedict-fra-fin.dict.dz + index /usr/share/dictd/freedict-fra-fin.index +} +database fd-fra-ita + { + data /usr/share/dictd/freedict-fra-ita.dict.dz + index /usr/share/dictd/freedict-fra-ita.index +} +database fd-fra-jpn + { + data /usr/share/dictd/freedict-fra-jpn.dict.dz + index /usr/share/dictd/freedict-fra-jpn.index +} +database fd-fra-lat + { + data /usr/share/dictd/freedict-fra-lat.dict.dz + index /usr/share/dictd/freedict-fra-lat.index +} +database fd-fra-nld + { + data /usr/share/dictd/freedict-fra-nld.dict.dz + index /usr/share/dictd/freedict-fra-nld.index +} +database fd-fra-pol + { + data /usr/share/dictd/freedict-fra-pol.dict.dz + index /usr/share/dictd/freedict-fra-pol.index +} +database fd-fra-por + { + data /usr/share/dictd/freedict-fra-por.dict.dz + index /usr/share/dictd/freedict-fra-por.index +} +database fd-fra-rus + { + data /usr/share/dictd/freedict-fra-rus.dict.dz + index /usr/share/dictd/freedict-fra-rus.index +} +database fd-fra-spa + { + data /usr/share/dictd/freedict-fra-spa.dict.dz + index /usr/share/dictd/freedict-fra-spa.index +} +database fd-fra-swe + { + data /usr/share/dictd/freedict-fra-swe.dict.dz + index /usr/share/dictd/freedict-fra-swe.index +} +database fd-fra-tur + { + data /usr/share/dictd/freedict-fra-tur.dict.dz + index /usr/share/dictd/freedict-fra-tur.index +} +database fd-gla-deu + { + data /usr/share/dictd/freedict-gla-deu.dict.dz + index /usr/share/dictd/freedict-gla-deu.index +} +database fd-gle-eng + { + data /usr/share/dictd/freedict-gle-eng.dict.dz + index /usr/share/dictd/freedict-gle-eng.index +} +database fd-gle-pol + { + data /usr/share/dictd/freedict-gle-pol.dict.dz + index /usr/share/dictd/freedict-gle-pol.index +} +database fd-hrv-eng + { + data /usr/share/dictd/freedict-hrv-eng.dict.dz + index /usr/share/dictd/freedict-hrv-eng.index +} +database fd-hun-eng + { + data /usr/share/dictd/freedict-hun-eng.dict.dz + index /usr/share/dictd/freedict-hun-eng.index +} +database fd-isl-eng + { + data /usr/share/dictd/freedict-isl-eng.dict.dz + index /usr/share/dictd/freedict-isl-eng.index +} +database fd-ita-bul + { + data /usr/share/dictd/freedict-ita-bul.dict.dz + index /usr/share/dictd/freedict-ita-bul.index +} +database fd-ita-deu + { + data /usr/share/dictd/freedict-ita-deu.dict.dz + index /usr/share/dictd/freedict-ita-deu.index +} +database fd-ita-ell + { + data /usr/share/dictd/freedict-ita-ell.dict.dz + index /usr/share/dictd/freedict-ita-ell.index +} +database fd-ita-eng + { + data /usr/share/dictd/freedict-ita-eng.dict.dz + index /usr/share/dictd/freedict-ita-eng.index +} +database fd-ita-fin + { + data /usr/share/dictd/freedict-ita-fin.dict.dz + index /usr/share/dictd/freedict-ita-fin.index +} +database fd-ita-jpn + { + data /usr/share/dictd/freedict-ita-jpn.dict.dz + index /usr/share/dictd/freedict-ita-jpn.index +} +database fd-ita-pol + { + data /usr/share/dictd/freedict-ita-pol.dict.dz + index /usr/share/dictd/freedict-ita-pol.index +} +database fd-ita-por + { + data /usr/share/dictd/freedict-ita-por.dict.dz + index /usr/share/dictd/freedict-ita-por.index +} +database fd-ita-rus + { + data /usr/share/dictd/freedict-ita-rus.dict.dz + index /usr/share/dictd/freedict-ita-rus.index +} +database fd-ita-swe + { + data /usr/share/dictd/freedict-ita-swe.dict.dz + index /usr/share/dictd/freedict-ita-swe.index +} +database fd-ita-tur + { + data /usr/share/dictd/freedict-ita-tur.dict.dz + index /usr/share/dictd/freedict-ita-tur.index +} +database fd-jpn-deu + { + data /usr/share/dictd/freedict-jpn-deu.dict.dz + index /usr/share/dictd/freedict-jpn-deu.index +} +database fd-jpn-eng + { + data /usr/share/dictd/freedict-jpn-eng.dict.dz + index /usr/share/dictd/freedict-jpn-eng.index +} +database fd-jpn-fra + { + data /usr/share/dictd/freedict-jpn-fra.dict.dz + index /usr/share/dictd/freedict-jpn-fra.index +} +database fd-jpn-rus + { + data /usr/share/dictd/freedict-jpn-rus.dict.dz + index /usr/share/dictd/freedict-jpn-rus.index +} +database fd-kha-deu + { + data /usr/share/dictd/freedict-kha-deu.dict.dz + index /usr/share/dictd/freedict-kha-deu.index +} +database fd-kha-eng + { + data /usr/share/dictd/freedict-kha-eng.dict.dz + index /usr/share/dictd/freedict-kha-eng.index +} +database fd-kur-deu + { + data /usr/share/dictd/freedict-kur-deu.dict.dz + index /usr/share/dictd/freedict-kur-deu.index +} +database fd-kur-eng + { + data /usr/share/dictd/freedict-kur-eng.dict.dz + index /usr/share/dictd/freedict-kur-eng.index +} +database fd-kur-tur + { + data /usr/share/dictd/freedict-kur-tur.dict.dz + index /usr/share/dictd/freedict-kur-tur.index +} +database fd-lat-deu + { + data /usr/share/dictd/freedict-lat-deu.dict.dz + index /usr/share/dictd/freedict-lat-deu.index +} +database fd-lat-eng + { + data /usr/share/dictd/freedict-lat-eng.dict.dz + index /usr/share/dictd/freedict-lat-eng.index +} +database fd-lit-eng + { + data /usr/share/dictd/freedict-lit-eng.dict.dz + index /usr/share/dictd/freedict-lit-eng.index +} +database fd-mkd-bul + { + data /usr/share/dictd/freedict-mkd-bul.dict.dz + index /usr/share/dictd/freedict-mkd-bul.index +} +database fd-nld-deu + { + data /usr/share/dictd/freedict-nld-deu.dict.dz + index /usr/share/dictd/freedict-nld-deu.index +} +database fd-nld-eng + { + data /usr/share/dictd/freedict-nld-eng.dict.dz + index /usr/share/dictd/freedict-nld-eng.index +} +database fd-nld-fin + { + data /usr/share/dictd/freedict-nld-fin.dict.dz + index /usr/share/dictd/freedict-nld-fin.index +} +database fd-nld-fra + { + data /usr/share/dictd/freedict-nld-fra.dict.dz + index /usr/share/dictd/freedict-nld-fra.index +} +database fd-nld-ita + { + data /usr/share/dictd/freedict-nld-ita.dict.dz + index /usr/share/dictd/freedict-nld-ita.index +} +database fd-nld-lat + { + data /usr/share/dictd/freedict-nld-lat.dict.dz + index /usr/share/dictd/freedict-nld-lat.index +} +database fd-nld-lit + { + data /usr/share/dictd/freedict-nld-lit.dict.dz + index /usr/share/dictd/freedict-nld-lit.index +} +database fd-nld-por + { + data /usr/share/dictd/freedict-nld-por.dict.dz + index /usr/share/dictd/freedict-nld-por.index +} +database fd-nld-rus + { + data /usr/share/dictd/freedict-nld-rus.dict.dz + index /usr/share/dictd/freedict-nld-rus.index +} +database fd-nld-spa + { + data /usr/share/dictd/freedict-nld-spa.dict.dz + index /usr/share/dictd/freedict-nld-spa.index +} +database fd-nld-swe + { + data /usr/share/dictd/freedict-nld-swe.dict.dz + index /usr/share/dictd/freedict-nld-swe.index +} +database fd-nno-nob + { + data /usr/share/dictd/freedict-nno-nob.dict.dz + index /usr/share/dictd/freedict-nno-nob.index +} +database fd-oci-cat + { + data /usr/share/dictd/freedict-oci-cat.dict.dz + index /usr/share/dictd/freedict-oci-cat.index +} +database fd-pol-deu + { + data /usr/share/dictd/freedict-pol-deu.dict.dz + index /usr/share/dictd/freedict-pol-deu.index +} +database fd-pol-ell + { + data /usr/share/dictd/freedict-pol-ell.dict.dz + index /usr/share/dictd/freedict-pol-ell.index +} +database fd-pol-eng + { + data /usr/share/dictd/freedict-pol-eng.dict.dz + index /usr/share/dictd/freedict-pol-eng.index +} +database fd-pol-fin + { + data /usr/share/dictd/freedict-pol-fin.dict.dz + index /usr/share/dictd/freedict-pol-fin.index +} +database fd-pol-fra + { + data /usr/share/dictd/freedict-pol-fra.dict.dz + index /usr/share/dictd/freedict-pol-fra.index +} +database fd-pol-gle + { + data /usr/share/dictd/freedict-pol-gle.dict.dz + index /usr/share/dictd/freedict-pol-gle.index +} +database fd-pol-ind + { + data /usr/share/dictd/freedict-pol-ind.dict.dz + index /usr/share/dictd/freedict-pol-ind.index +} +database fd-pol-ita + { + data /usr/share/dictd/freedict-pol-ita.dict.dz + index /usr/share/dictd/freedict-pol-ita.index +} +database fd-pol-jpn + { + data /usr/share/dictd/freedict-pol-jpn.dict.dz + index /usr/share/dictd/freedict-pol-jpn.index +} +database fd-pol-nld + { + data /usr/share/dictd/freedict-pol-nld.dict.dz + index /usr/share/dictd/freedict-pol-nld.index +} +database fd-pol-nor + { + data /usr/share/dictd/freedict-pol-nor.dict.dz + index /usr/share/dictd/freedict-pol-nor.index +} +database fd-pol-por + { + data /usr/share/dictd/freedict-pol-por.dict.dz + index /usr/share/dictd/freedict-pol-por.index +} +database fd-pol-rus + { + data /usr/share/dictd/freedict-pol-rus.dict.dz + index /usr/share/dictd/freedict-pol-rus.index +} +database fd-pol-spa + { + data /usr/share/dictd/freedict-pol-spa.dict.dz + index /usr/share/dictd/freedict-pol-spa.index +} +database fd-pol-swe + { + data /usr/share/dictd/freedict-pol-swe.dict.dz + index /usr/share/dictd/freedict-pol-swe.index +} +database fd-por-deu + { + data /usr/share/dictd/freedict-por-deu.dict.dz + index /usr/share/dictd/freedict-por-deu.index +} +database fd-por-eng + { + data /usr/share/dictd/freedict-por-eng.dict.dz + index /usr/share/dictd/freedict-por-eng.index +} +database fd-por-fra + { + data /usr/share/dictd/freedict-por-fra.dict.dz + index /usr/share/dictd/freedict-por-fra.index +} +database fd-por-spa + { + data /usr/share/dictd/freedict-por-spa.dict.dz + index /usr/share/dictd/freedict-por-spa.index +} +database fd-san-deu + { + data /usr/share/dictd/freedict-san-deu.dict.dz + index /usr/share/dictd/freedict-san-deu.index +} +database fd-slk-eng + { + data /usr/share/dictd/freedict-slk-eng.dict.dz + index /usr/share/dictd/freedict-slk-eng.index +} +database fd-slv-eng + { + data /usr/share/dictd/freedict-slv-eng.dict.dz + index /usr/share/dictd/freedict-slv-eng.index +} +database fd-spa-ast + { + data /usr/share/dictd/freedict-spa-ast.dict.dz + index /usr/share/dictd/freedict-spa-ast.index +} +database fd-spa-deu + { + data /usr/share/dictd/freedict-spa-deu.dict.dz + index /usr/share/dictd/freedict-spa-deu.index +} +database fd-spa-eng + { + data /usr/share/dictd/freedict-spa-eng.dict.dz + index /usr/share/dictd/freedict-spa-eng.index +} +database fd-spa-por + { + data /usr/share/dictd/freedict-spa-por.dict.dz + index /usr/share/dictd/freedict-spa-por.index +} +database fd-srp-eng + { + data /usr/share/dictd/freedict-srp-eng.dict.dz + index /usr/share/dictd/freedict-srp-eng.index +} +database fd-swe-bul + { + data /usr/share/dictd/freedict-swe-bul.dict.dz + index /usr/share/dictd/freedict-swe-bul.index +} +database fd-swe-deu + { + data /usr/share/dictd/freedict-swe-deu.dict.dz + index /usr/share/dictd/freedict-swe-deu.index +} +database fd-swe-ell + { + data /usr/share/dictd/freedict-swe-ell.dict.dz + index /usr/share/dictd/freedict-swe-ell.index +} +database fd-swe-eng + { + data /usr/share/dictd/freedict-swe-eng.dict.dz + index /usr/share/dictd/freedict-swe-eng.index +} +database fd-swe-fin + { + data /usr/share/dictd/freedict-swe-fin.dict.dz + index /usr/share/dictd/freedict-swe-fin.index +} +database fd-swe-fra + { + data /usr/share/dictd/freedict-swe-fra.dict.dz + index /usr/share/dictd/freedict-swe-fra.index +} +database fd-swe-ita + { + data /usr/share/dictd/freedict-swe-ita.dict.dz + index /usr/share/dictd/freedict-swe-ita.index +} +database fd-swe-jpn + { + data /usr/share/dictd/freedict-swe-jpn.dict.dz + index /usr/share/dictd/freedict-swe-jpn.index +} +database fd-swe-lat + { + data /usr/share/dictd/freedict-swe-lat.dict.dz + index /usr/share/dictd/freedict-swe-lat.index +} +database fd-swe-nor + { + data /usr/share/dictd/freedict-swe-nor.dict.dz + index /usr/share/dictd/freedict-swe-nor.index +} +database fd-swe-pol + { + data /usr/share/dictd/freedict-swe-pol.dict.dz + index /usr/share/dictd/freedict-swe-pol.index +} +database fd-swe-por + { + data /usr/share/dictd/freedict-swe-por.dict.dz + index /usr/share/dictd/freedict-swe-por.index +} +database fd-swe-rus + { + data /usr/share/dictd/freedict-swe-rus.dict.dz + index /usr/share/dictd/freedict-swe-rus.index +} +database fd-swe-spa + { + data /usr/share/dictd/freedict-swe-spa.dict.dz + index /usr/share/dictd/freedict-swe-spa.index +} +database fd-swe-tur + { + data /usr/share/dictd/freedict-swe-tur.dict.dz + index /usr/share/dictd/freedict-swe-tur.index +} +database fd-swh-eng + { + data /usr/share/dictd/freedict-swh-eng.dict.dz + index /usr/share/dictd/freedict-swh-eng.index +} +database fd-swh-pol + { + data /usr/share/dictd/freedict-swh-pol.dict.dz + index /usr/share/dictd/freedict-swh-pol.index +} +database fd-tur-deu + { + data /usr/share/dictd/freedict-tur-deu.dict.dz + index /usr/share/dictd/freedict-tur-deu.index +} +database fd-tur-eng + { + data /usr/share/dictd/freedict-tur-eng.dict.dz + index /usr/share/dictd/freedict-tur-eng.index +} +database fd-wol-fra + { + data /usr/share/dictd/freedict-wol-fra.dict.dz + index /usr/share/dictd/freedict-wol-fra.index +} diff --git a/var/lib/dictionaries-common/aspell/aspell-en b/var/lib/dictionaries-common/aspell/aspell-en new file mode 100644 index 0000000..a32b1a7 --- /dev/null +++ b/var/lib/dictionaries-common/aspell/aspell-en @@ -0,0 +1,19 @@ +Language: english (English) +Hash-Name: en +Emacsen-Name: english +Coding-System: iso-8859-1 + +Language: american (American English) +Hash-Name: en_US +Emacsen-Name: american +Coding-System: iso-8859-1 + +Language: british (British English) +Hash-Name: en_GB +Emacsen-Name: british +Coding-System: iso-8859-1 + +Language: canadian (Canadian English) +Hash-Name: en_CA +Emacsen-Name: canadian +Coding-System: iso-8859-1 diff --git a/var/lib/dictionaries-common/hunspell/hunspell-en-us b/var/lib/dictionaries-common/hunspell/hunspell-en-us new file mode 100644 index 0000000..96ed446 --- /dev/null +++ b/var/lib/dictionaries-common/hunspell/hunspell-en-us @@ -0,0 +1,4 @@ +Language: English (American) +Hash-Name: en_US +Emacsen-Name: english_american +Coding-System: UTF-8 diff --git a/var/lib/dictionaries-common/wordlist/wamerican b/var/lib/dictionaries-common/wordlist/wamerican new file mode 100644 index 0000000..f358e52 --- /dev/null +++ b/var/lib/dictionaries-common/wordlist/wamerican @@ -0,0 +1,2 @@ +Language: american (American English) +Hash-Name: american-english