Import Debian changes 2020.12.07-ok1

scowl (2020.12.07-ok1) nile; urgency=medium

  * Init release.
This commit is contained in:
Luoyaoming 2024-03-17 14:55:17 +08:00
parent 981c232ee8
commit ba3e0c00ca
43 changed files with 1066 additions and 0 deletions

16
debian/NEWS vendored Normal file
View File

@ -0,0 +1,16 @@
scowl (2020.12.07-2) unstable; urgency=medium
* Wordlists are now sorted with the -d option to sort, which only sorts
in dictionary order instead of sorting in LC_SORT=C order. (Closes:
#987857)
-- Don Armstrong <don@debian.org> Mon, 03 May 2021 16:20:26 -0700
scowl (2019.10.06-1) unstable; urgency=medium
* The scowl binary package now distributes all of its wordlists in UTF-8
rather than iso8859-1. This is different than the upstream default of
iso8859-1.
-- Don Armstrong <don@debian.org> Sun, 29 Mar 2020 16:12:29 -0700

20
debian/README.Debian vendored Normal file
View File

@ -0,0 +1,20 @@
$Id: README.Debian,v 1.2 2003/06/17 04:09:49 david Exp $
The Debian English word lists (wamerican*, wbritish*, wcanadian*) and
the Debian "scowl" package are all built from the upstream SCOWL
word lists. See this package's copyright file for more details
about SCOWL.
The Debian scowl package installs the raw SCOWL "final/" word lists
into /usr/share/dict/scowl/.
See /usr/share/doc/scowl/README for documentation about those
individual word list files.
For the Debian English word lists, we use an appropriate collection
of SCOWL word lists for each specific language/spelling and complexity.
The file /usr/share/doc/<package>/<package>.scowl-word-lists-used
lists the specific scowl files that were used to create the <package>
word list. (e.g.
/usr/share/doc/wbritish-large/wbritish-large.scowl-word-lists-used)
-- David Coe <davidc@debian.org>, Tue Jun 17 00:09:39 2003

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
scowl (2020.12.07-ok1) nile; urgency=medium
* Init release.
-- Luoyaoming <luoyaoming@kylinos.cn> Sun, 17 Mar 2024 14:55:17 +0800

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
12

349
debian/control vendored Normal file
View File

@ -0,0 +1,349 @@
Source: scowl
Maintainer: Don Armstrong <don@debian.org>
Section: text
Priority: standard
Standards-Version: 4.1.4
Build-Depends: debhelper (>= 12)
Build-Depends-Indep: dictionaries-common-dev, dos2unix, aspell
Homepage: http://wordlist.sourceforge.net/
Vcs-Browser: https://git.donarmstrong.com/deb_pkgs/scowl.git
Vcs-Git: https://git.donarmstrong.com/deb_pkgs/scowl.git
Package: scowl
Architecture: all
Multi-Arch: foreign
Priority: optional
Depends: ${misc:Depends}
Description: Spell-Checker Oriented Word Lists
The SCOWL is a collection of word lists organized by word popularity,
language, word class, and other factors. These lists can be
combined in various ways (or used individually) for spell checking
and similar purposes.
.
The Debian wamerican*, wbritish*, and wcanadian* wordlist packages
are built from (appropriate collections of) these same lists. Install
one (or more) of those packages if you want a comprehensive word list;
install scowl if you (also) want to pick and choose the pieces that
comprise those lists.
.
You can learn more about SCOWL (and other English word lists) at
http://wordlist.sourceforge.net/
Package: wamerican
Architecture: all
Multi-Arch: foreign
Priority: standard
Depends: ${misc:Depends}
Provides: wordlist
Description: American English dictionary words for /usr/share/dict
This package provides the file /usr/share/dict/american-english
containing a list of English words with American spellings.
This list can be used by spelling checkers, and by programs such
as look(1).
.
There are also -small, -large, and -huge versions of this word list,
and there are wbritish* and wcanadian* packages as well.
Package: wamerican-small
Architecture: all
Multi-Arch: foreign
Priority: optional
Depends: dictionaries-common (>=0.20), ${misc:Depends}
Provides: wordlist
Description: American English dictionary words for /usr/share/dict
This package provides the file /usr/share/dict/american-english-small
containing a list of English words with American spellings.
This list can be used by spelling checkers, and by programs such
as look(1).
.
This is a smaller list than the one installed by wamerican; nothing
prevents you installing both (and others) at the same time.
.
There are also -large and -huge version of this word list,
and there are wbritish* and wcanadian* packages as well.
Package: wamerican-large
Architecture: all
Multi-Arch: foreign
Priority: optional
Depends: dictionaries-common (>=0.20), ${misc:Depends}
Provides: wordlist
Description: American English dictionary words for /usr/share/dict
This package provides the file /usr/share/dict/american-english-large
containing a list of English words with American spellings.
This list can be used by spelling checkers, and by programs such
as look(1).
.
This is a larger list than the one installed by wamerican; nothing
prevents you installing both (and others) at the same time.
.
There are also -small and -huge version of this word list,
and there are wbritish* and wcanadian* packages as well.
Package: wamerican-huge
Architecture: all
Multi-Arch: foreign
Priority: optional
Depends: dictionaries-common (>=0.20), ${misc:Depends}
Provides: wordlist
Description: American English dictionary words for /usr/share/dict
This package provides the file /usr/share/dict/american-english-huge
containing a list of English words with American spellings.
This list can be used by spelling checkers, and by programs such
as look(1).
.
This is an even larger list than the one installed by wamerican-large;
nothing prevents you installing both (and others) at the same time.
.
There are also -small and standard versions of this word list,
and there are wbritish* and wcanadian* packages as well.
Package: wamerican-insane
Architecture: all
Multi-Arch: foreign
Priority: optional
Depends: dictionaries-common (>=0.20), ${misc:Depends}
Provides: wordlist
Description: American English dictionary words for /usr/share/dict
This package provides the file /usr/share/dict/american-english-insane
containing a list of English words with American spellings.
This list can be used by spelling checkers, and by programs such
as look(1).
.
This is an even larger list than the one installed by wamerican-huge,
and possibly contains invalid words (as well as words that are very
uncommon). Nothing prevents you installing both (and others) at the
same time.
.
There are also -small and standard versions of this word list,
and there are wbritish* and wcanadian* packages as well.
Package: wbritish
Architecture: all
Multi-Arch: foreign
Priority: optional
Depends: dictionaries-common (>=0.20), ${misc:Depends}
Provides: wordlist
Description: British English dictionary words for /usr/share/dict
This package provides the file /usr/share/dict/british-english
containing a list of English words with British spellings.
This list can be used by spelling checkers, and by programs such
as look(1).
.
There are also -small, -large, and -huge versions of this word list,
and there are wamerican* and wcanadian* packages as well.
Package: wbritish-small
Architecture: all
Multi-Arch: foreign
Priority: optional
Depends: dictionaries-common (>=0.20), ${misc:Depends}
Provides: wordlist
Description: British English dictionary words for /usr/share/dict
This package provides the file /usr/share/dict/british-english-small
containing a list of English words with British spellings.
This list can be used by spelling checkers, and by programs such
as look(1).
.
This is a smaller list than the one installed by wbritish; nothing
prevents you installing both (and others) at the same time.
.
There are also -large and -huge version of this word list,
and there are wamerican* and wcanadian* packages as well.
Package: wbritish-large
Architecture: all
Multi-Arch: foreign
Priority: optional
Depends: dictionaries-common (>=0.20), ${misc:Depends}
Provides: wordlist
Description: British English dictionary words for /usr/share/dict
This package provides the file /usr/share/dict/british-english-large
containing a list of English words with British spellings.
This list can be used by spelling checkers, and by programs such
as look(1).
.
This is a larger list than the one installed by wbritish; nothing
prevents you installing both (and others) at the same time.
.
There are also -small and -huge versions of this word list,
and there are wamerican* and wcanadian* packages as well.
Package: wbritish-huge
Architecture: all
Multi-Arch: foreign
Priority: optional
Depends: dictionaries-common (>=0.20), ${misc:Depends}
Provides: wordlist
Description: British English dictionary words for /usr/share/dict
This package provides the file /usr/share/dict/british-english-huge
containing a list of English words with British spellings.
This list can be used by spelling checkers, and by programs such
as look(1).
.
This is an even larger list than the one installed by wbritish-large;
nothing prevents you installing both (and others) at the same time.
.
There are also -small and standard versions of this word list,
and there are wamerican* and wcanadian* packages as well.
Package: wbritish-insane
Architecture: all
Multi-Arch: foreign
Priority: optional
Depends: dictionaries-common (>=0.20), ${misc:Depends}
Provides: wordlist
Description: British English dictionary words for /usr/share/dict
This package provides the file /usr/share/dict/british-english-insane
containing a list of English words with British spellings.
This list can be used by spelling checkers, and by programs such
as look(1).
.
This is an even larger list than the one installed by wbritish-huge,
and possibly contains invalid words (as well as words that are very
uncommon). Nothing prevents you installing both (and others) at the
same time.
.
There are also -small and standard versions of this word list,
and there are wamerican* and wcanadian* packages as well.
Package: wcanadian
Architecture: all
Multi-Arch: foreign
Priority: optional
Depends: dictionaries-common (>=0.20), ${misc:Depends}
Provides: wordlist
Description: Canadian English dictionary words for /usr/share/dict
This package provides the file /usr/share/dict/canadian-english
containing a list of English words with Canadian spellings.
This list can be used by spelling checkers, and by programs such
as look(1).
.
There are also -small, -large and -huge versions of this word list,
and there are wbritish* and wamerican* packages as well.
Package: wcanadian-small
Architecture: all
Multi-Arch: foreign
Priority: optional
Depends: dictionaries-common (>=0.20), ${misc:Depends}
Provides: wordlist
Description: Canadian English dictionary words for /usr/share/dict
This package provides the file /usr/share/dict/canadian-english-small
containing a list of English words with Canadian spellings.
This list can be used by spelling checkers, and by programs such
as look(1).
.
This is a smaller list than the one installed by wcanadian; nothing
prevents you installing both (and others) at the same time.
.
There are also -large and -huge versions of this word list,
and there are wbritish* and wamerican* packages as well.
Package: wcanadian-large
Architecture: all
Multi-Arch: foreign
Priority: optional
Depends: dictionaries-common (>=0.20), ${misc:Depends}
Provides: wordlist
Description: Canadian English dictionary words for /usr/share/dict
This package provides the file /usr/share/dict/canadian-english-large
containing a list of English words with Canadian spellings.
This list can be used by spelling checkers, and by programs such
as look(1).
.
This is a larger list than the one installed by wcanadian; nothing
prevents you installing both (and others) at the same time.
.
There are also -small and -huge versions of this word list,
and there are wbritish* and wamerican* packages as well.
Package: wcanadian-huge
Architecture: all
Multi-Arch: foreign
Priority: optional
Depends: dictionaries-common (>=0.20), ${misc:Depends}
Provides: wordlist
Description: Canadian English dictionary words for /usr/share/dict
This package provides the file /usr/share/dict/canadian-english-huge
containing a list of English words with Canadian spellings.
This list can be used by spelling checkers, and by programs such
as look(1).
.
This is an even larger list than the one installed by wcanadian-large;
nothing prevents you installing both (and others) at the same time.
.
There are also -small and standard versions of this word list,
and there are wbritish* and wamerican* packages as well.
Package: wcanadian-insane
Architecture: all
Multi-Arch: foreign
Section: text
Priority: optional
Depends: dictionaries-common (>=0.20), ${misc:Depends}
Provides: wordlist
Description: Canadian English dictionary words for /usr/share/dict
This package provides the file /usr/share/dict/canadian-english-insane
containing a list of English words with Canadian spellings.
This list can be used by spelling checkers, and by programs such
as look(1).
.
This is an even larger list than the one installed by wcanadian-huge,
and possibly contains invalid words (as well as words that are very
uncommon). Nothing prevents you installing both (and others) at the
same time.
.
There are also -small and standard versions of this word list,
and there are wbritish* and wamerican* packages as well.
Package: hunspell-en-us
Architecture: all
Multi-Arch: foreign
Replaces: openoffice.org-spellcheck-en-us, myspell-en-us
Provides: hunspell-dictionary, hunspell-dictionary-en, hunspell-dictionary-en-us
Depends: dictionaries-common (>= 0.10), ${misc:Depends}
Suggests: hunspell, openoffice.org-hunspell | openoffice.org-core (>= 2.0.2)
Conflicts: openoffice.org (<= 1.0.3-2), myspell-en-us, mozilla-browser (<< 1.8+1.1.1-2), iceape-browser (<< 1.1.1-2), firefox (<< 2.0.0.3-2), thunderbird (<< 2.0.0.1+dfsg-0), iceweasel (<< 2.0.0.3-2), icedove (<< 2.0.0.0-4), openoffice.org-core (<< 2.1~m190-1), libxul0d (= 1.8.0.11-3)
Description: English_american dictionary for hunspell
This is the English_american dictionary for use with the hunspell spellchecker
.
Hunspell is a spell checker and morphological analyzer library and program
designed for languages with rich morphology and complex word compounding or
character encoding. It is based on MySpell and features an Ispell-like
terminal interface using Curses library, an Ispell pipe interface and a
LibreOffice UNO module.
Package: hunspell-en-au
Architecture: all
Multi-Arch: foreign
Depends: dictionaries-common, ${misc:Depends}, ${hunspell:Depends}
Suggests: hunspell, libreoffice-writer
Provides: hunspell-dictionary, hunspell-dictionary-en-au
Conflicts: myspell-en-au
Description: English (Australia) dictionary for hunspell
This is the English (Australia) dictionary for use with the hunspell
spellchecker.
.
Hunspell is a spell checker and morphological analyzer library and program
designed for languages with rich morphology and complex word compounding or
character encoding. It is based on MySpell and features an Ispell-like
terminal interface using Curses library, an Ispell pipe interface and a
LibreOffice UNO module.
Package: hunspell-en-ca
Architecture: all
Multi-Arch: foreign
Depends: dictionaries-common, ${misc:Depends}, ${hunspell:Depends}
Suggests: hunspell, libreoffice-writer
Provides: hunspell-dictionary, hunspell-dictionary-en-ca
Description: English (Canada) dictionary for hunspell
This is the English (Canada) dictionary for use with the hunspell
spellchecker.
.
Hunspell is a spell checker and morphological analyzer library and program
designed for languages with rich morphology and complex word compounding or
character encoding. It is based on MySpell and features an Ispell-like
terminal interface using Curses library, an Ispell pipe interface and a
LibreOffice UNO module.

245
debian/copyright vendored Normal file
View File

@ -0,0 +1,245 @@
This package was debianized by David Coe <davidc@debian.org>
on Sun, 15 Jun 2003.
SCOWL (Spell Checker Oriented Word Lists) is a collection of
English word lists maintained by Kevin Atkinson
<kevina@users.sourceforge.net>
It was downloaded from:
http://prdownloads.sourceforge.net/wordlist/scowl-5.tar.gz
SF project page:
http://wordlist.sourceforge.net/
Copyright: (extracted from the SCOWL README file):
The collective work is Copyright 2000-2011 by Kevin Atkinson as well
as any of the copyrights mentioned below:
Copyright 2000-2011 by Kevin Atkinson
Permission to use, copy, modify, distribute and sell these word
lists, the associated scripts, the output created from the scripts,
and its documentation for any purpose is hereby granted without fee,
provided that the above copyright notice appears in all copies and
that both that copyright notice and this permission notice appear in
supporting documentation. Kevin Atkinson makes no representations
about the suitability of this array for any purpose. It is provided
"as is" without express or implied warranty.
Alan Beale <biljir@pobox.com> also deserves special credit as he has,
in addition to providing the 12Dicts package and being a major
contributor to the ENABLE word list, given me an incredible amount of
feedback and created a number of special lists (those found in the
Supplement) in order to help improve the overall quality of SCOWL.
The 10 level includes the 1000 most common English words (according to
the Moby (TM) Words II [MWords] package), a subset of the 1000 most
common words on the Internet (again, according to Moby Words II), and
frequently class 16 from Brian Kelk's "UK English Wordlist
with Frequency Classification".
The MWords package was explicitly placed in the public domain:
The Moby lexicon project is complete and has
been place into the public domain. Use, sell,
rework, excerpt and use in any way on any platform.
Placing this material on internal or public servers is
also encouraged. The compiler is not aware of any
export restrictions so freely distribute world-wide.
You can verify the public domain status by contacting
Grady Ward
3449 Martha Ct.
Arcata, CA 95521-4884
grady@netcom.com
grady@northcoast.com
The "UK English Wordlist With Frequency Classification" is also in the
Public Domain:
Date: Sat, 08 Jul 2000 20:27:21 +0100
From: Brian Kelk <Brian.Kelk@cl.cam.ac.uk>
> I was wondering what the copyright status of your "UK English
> Wordlist With Frequency Classification" word list as it seems to
> be lacking any copyright notice.
There were many many sources in total, but any text marked
"copyright" was avoided. Locally-written documentation was one
source. An earlier version of the list resided in a filespace called
PUBLIC on the University mainframe, because it was considered public
domain.
Date: Tue, 11 Jul 2000 19:31:34 +0100
> So are you saying your word list is also in the public domain?
That is the intention.
The 20 level includes frequency classes 7-15 from Brian's word list.
The 35 level includes frequency classes 2-6 and words appearing in at
least 11 of 12 dictionaries as indicated in the 12Dicts package. All
words from the 12Dicts package have had likely inflections added via
my inflection database.
The 12Dicts package and Supplement is in the Public Domain.
The WordNet database, which was used in the creation of the
Inflections database, is under the following copyright:
This software and database is being provided to you, the LICENSEE,
by Princeton University under the following license. By obtaining,
using and/or copying this software and database, you agree that you
have read, understood, and will comply with these terms and
conditions.:
Permission to use, copy, modify and distribute this software and
database and its documentation for any purpose and without fee or
royalty is hereby granted, provided that you agree to comply with
the following copyright notice and statements, including the
disclaimer, and that the same appear on ALL copies of the software,
database and documentation, including modifications that you make
for internal use or for distribution.
WordNet 1.6 Copyright 1997 by Princeton University. All rights
reserved.
THIS SOFTWARE AND DATABASE IS PROVIDED "AS IS" AND PRINCETON
UNIVERSITY MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PRINCETON
UNIVERSITY MAKES NO REPRESENTATIONS OR WARRANTIES OF MERCHANT-
ABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE
LICENSED SOFTWARE, DATABASE OR DOCUMENTATION WILL NOT INFRINGE ANY
THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
The name of Princeton University or Princeton may not be used in
advertising or publicity pertaining to distribution of the software
and/or database. Title to copyright in this software, database and
any associated documentation shall at all times remain with
Princeton University and LICENSEE agrees to preserve same.
The 40 level includes words from Alan's 3esl list found in version 4.0
of his 12dicts package. Like his other stuff the 3esl list is also in the
public domain.
The 50 level includes Brian's frequency class 1, words words appearing
in at least 5 of 12 of the dictionaries as indicated in the 12Dicts
package, and uppercase words in at least 4 of the previous 12
dictionaries. A decent number of proper names is also included: The
top 1000 male, female, and Last names from the 1990 Census report; a
list of names sent to me by Alan Beale; and a few names that I added
myself. Finally a small list of abbreviations not commonly found in
other word lists is included.
The name files form the Census report is a government document which I
don't think can be copyrighted.
The file special-jargon.50 uses common.lst and word.lst from the
"Unofficial Jargon File Word Lists" which is derived from "The Jargon
File". All of which is in the Public Domain. This file also contain
a few extra UNIX terms which are found in the file "unix-terms" in the
special/ directory.
The 55 level includes words from Alan's 2of4brif list found in version
4.0 of his 12dicts package. Like his other stuff the 2of4brif is also
in the public domain.
The 60 level includes all words appearing in at least 2 of the 12
dictionaries as indicated by the 12Dicts package.
The 70 level includes Brian's frequency class 0 and the 74,550 common
dictionary words from the MWords package. The common dictionary words,
like those from the 12Dicts package, have had all likely inflections
added. The 70 level also included the 5desk list from version 4.0 of
the 12Dics package which is the public domain.
The 80 level includes the ENABLE word list, all the lists in the
ENABLE supplement package (except for ABLE), the "UK Advanced Cryptics
Dictionary" (UKACD), the list of signature words in from YAWL package,
and the 10,196 places list from the MWords package.
The ENABLE package, mainted by M\Cooper <thegrendel@theriver.com>,
is in the Public Domain:
The ENABLE master word list, WORD.LST, is herewith formally released
into the Public Domain. Anyone is free to use it or distribute it in
any manner they see fit. No fee or registration is required for its
use nor are "contributions" solicited (if you feel you absolutely
must contribute something for your own peace of mind, the authors of
the ENABLE list ask that you make a donation on their behalf to your
favorite charity). This word list is our gift to the Scrabble
community, as an alternate to "official" word lists. Game designers
may feel free to incorporate the WORD.LST into their games. Please
mention the source and credit us as originators of the list. Note
that if you, as a game designer, use the WORD.LST in your product,
you may still copyright and protect your product, but you may *not*
legally copyright or in any way restrict redistribution of the
WORD.LST portion of your product. This *may* under law restrict your
rights to restrict your users' rights, but that is only fair.
UKACD, by J Ross Beresford <ross@bryson.demon.co.uk>, is under the
following copyright:
Copyright (c) J Ross Beresford 1993-1999. All Rights Reserved.
The following restriction is placed on the use of this publication:
if The UK Advanced Cryptics Dictionary is used in a software package
or redistributed in any form, the copyright notice must be
prominently displayed and the text of this document must be included
verbatim.
There are no other restrictions: I would like to see the list
distributed as widely as possible.
The 95 level includes the 354,984 single words, 256,772 compound
words, 4,946 female names and the 3,897 male names, and 21,986 names
from the MWords package, ABLE.LST from the ENABLE Supplement, and some
additional words found in my part-of-speech database that were not
found anywhere else.
Accent information was taken from UKACD.
My VARCON package was used to create the American, British, and
Canadian word list.
Since the original word lists used used in the VARCON package came
from the Ispell distribution they are under the Ispell copyright:
Copyright 1993, Geoff Kuenning, Granada Hills, CA
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. All modifications to the source code must be clearly marked as
such. Binary redistributions based on modified source code
must be clearly marked as modified versions in the documentation
and/or other materials provided with the distribution.
(clause 4 removed with permission from Geoff Kuenning)
5. The name of Geoff Kuenning may not be used to endorse or promote
products derived from this software without specific prior
written permission.
THIS SOFTWARE IS PROVIDED BY GEOFF KUENNING AND CONTRIBUTORS ``AS
IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GEOFF
KUENNING OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

4
debian/hunspell-en-au.info-hunspell vendored Normal file
View File

@ -0,0 +1,4 @@
Language: English (Australian)
Hash-Name: en_AU
Emacsen-Name: english_australian
Coding-System: UTF-8

3
debian/hunspell-en-au.install vendored Normal file
View File

@ -0,0 +1,3 @@
./speller/en_AU.aff usr/share/hunspell
./speller/en_AU.dic usr/share/hunspell

4
debian/hunspell-en-ca.info-hunspell vendored Normal file
View File

@ -0,0 +1,4 @@
Language: English (Canadian)
Hash-Name: en_CA
Emacsen-Name: english_canadian
Coding-System: UTF-8

3
debian/hunspell-en-ca.install vendored Normal file
View File

@ -0,0 +1,3 @@
./speller/en_CA.aff usr/share/hunspell
./speller/en_CA.dic usr/share/hunspell

4
debian/hunspell-en-us.info-hunspell vendored Normal file
View File

@ -0,0 +1,4 @@
Language: English (American)
Hash-Name: en_US
Emacsen-Name: english_american
Coding-System: UTF-8

3
debian/hunspell-en-us.install vendored Normal file
View File

@ -0,0 +1,3 @@
./speller/en_US.aff usr/share/hunspell
./speller/en_US.dic usr/share/hunspell

30
debian/patches/deprecate_reprized vendored Normal file
View File

@ -0,0 +1,30 @@
--- a/final/american-words.40
+++ b/final/american-words.40
@@ -191,7 +191,6 @@
recognizably
reorganization's
reorganizations
-reprized
revitalization
revitalization's
revitalize
--- a/final/canadian-words.40
+++ b/final/canadian-words.40
@@ -191,7 +191,6 @@
recognizably
reorganization's
reorganizations
-reprized
revitalization
revitalization's
revitalize
--- a/final/english-words.95
+++ b/final/english-words.95
@@ -156928,6 +156928,7 @@
reprivilege
repriving
reprize
+reprized
reprizes
reprizing
repro's

18
debian/patches/fix_hunspell_affix vendored Normal file
View File

@ -0,0 +1,18 @@
--- a/speller/en.aff
+++ b/speller/en.aff
@@ -1,5 +1,5 @@
SET UTF-8
-TRY esianrtolcdugmphbyfvkwzESIANRTOLCDUGMPHBYFVKWZ'
+TRY esiaénrtolcdugmfphbyvkw-'.zqjxSNRTLCGDMFPHBEAUYOIVKWóöâôZQJXÅçèîêàïüäñ
ICONV 1
ICONV '
NOSUGGEST !
@@ -14,7 +14,7 @@
COMPOUNDRULE 2
COMPOUNDRULE n*1t
COMPOUNDRULE n*mp
-WORDCHARS 0123456789
+WORDCHARS 0123456789
PFX A Y 1
PFX A 0 re .

11
debian/patches/hunspell_size_70 vendored Normal file
View File

@ -0,0 +1,11 @@
--- a/speller/make-hunspell-dict
+++ b/speller/make-hunspell-dict
@@ -13,7 +13,7 @@
export LC_CTYPE=C
export LC_COLLATE=C
-SIZE=60
+SIZE=70
mk-list() { $SCOWL/mk-list -d $SCOWL/final "$@"; }

23
debian/patches/move_sangs_to_insane vendored Normal file
View File

@ -0,0 +1,23 @@
From: Don Armstrong <don@debian.org>
Subject: Move sangs from -35 to -95; it's an obscure plural of a plant
See #861025 for details
--- a/final/english-words.35
+++ b/final/english-words.35
@@ -27622,7 +27622,6 @@
sandy
saner
sanest
-sangs
sanitarium
sanitarium's
sanitariums
--- a/final/english-words.95
+++ b/final/english-words.95
@@ -161832,6 +161832,7 @@
sangreal
sangreeroot
sangrel
+sangs
sangsue
sangu
sanguicolous

39
debian/patches/no-zips.diff vendored Normal file
View File

@ -0,0 +1,39 @@
Description: avoid worldlist*zip and hunspell*zip for hunspell
Let's not create worldlist*zip and hunspell*zip for hunspell. We are not going
to distribute them or use them in any way. Saves us a zip build-depdency
but more importantly it does not create "binary" files in speller/hunspell
we would need to manually remove it clean.
Author: Rene Engelhard <rene@debian.org>
---
Origin: vendor
Forwarded: no
Last-Update: 2017-10-20
--- a/speller/make-hunspell-dict
+++ b/speller/make-hunspell-dict
@@ -56,12 +56,8 @@
cat $3 >> README_$1.txt
fi
- rm -f hunspell-$fn.zip
- zip -9 hunspell-$fn.zip README_$1.txt $1.dic $1.aff
-
if [ -z "$3" ]; then
mkdir -p hunspell
- cp hunspell-$fn.zip hunspell/
#echo check
@@ -70,11 +66,6 @@
#hunspell -l -d ./$1 < $1.dic.tocheck > misspelled
cat $1.tocheck | iconv -f iso-8859-1 -t utf-8 | $UNIX2DOS > $1.txt
- cat <<EOF > README.txt
-This zip file contains the words found in the corresponding Hunspell
-dictionary. See the file README_$1.txt.
-EOF
- zip -9 hunspell/wordlist-$fn.zip README.txt README_$1.txt $1.txt
fi
}

12
debian/patches/remove_mys vendored Normal file
View File

@ -0,0 +1,12 @@
From: Don Armstrong <don@debian.org>
Subject: remove non-word mys from scowl word list
--- a/final/english-words.35
+++ b/final/english-words.35
@@ -20702,7 +20702,6 @@
myriad
myriad's
myriads
-mys
mystic's
mystical
mysticism

6
debian/patches/series vendored Normal file
View File

@ -0,0 +1,6 @@
remove_mys
no-zips.diff
move_sangs_to_insane
deprecate_reprized
hunspell_size_70
fix_hunspell_affix

113
debian/rules vendored Executable file
View File

@ -0,0 +1,113 @@
#!/usr/bin/make -f
# -*- Makefile -*- $Id: rules,v 1.18 2005/10/15 03:03:48 david Exp $
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.
# Customized 27 Oct 1999 by David Coe for wenglish, later moved to scowl
# This version is for packages that are architecture independent.
# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1
# This has to be exported to make some magic below work.
export DH_OPTIONS
# In addition to the scowl binary package, we create wamerican-small, wamerican, wamerican-large, wamerican-huge, and the
# corresponding packages for wbritish and wcanadian.
# The medium size packages have no -size part in their names
# These are the scowl extensions (complexity numbers?) that contribute to each word list (i.e. each size);
# the -size parts "-small", "", "-large", and "-huge" correspond to the end of the binary package name:
empty:=
SIZES=small "" large huge insane
SIZE_OPTIONS_small:=-v2 35
SIZE_OPTIONS:=-v2 50
SIZE_OPTIONS_large:=-v2 70
SIZE_OPTIONS_huge:=-v2 80
SIZE_OPTIONS_insane:=-v3 95
export SIZE_OPTIONS_small
export SIZE_OPTIONS
export SIZE_OPTIONS_large
export SIZE_OPTIONS_huge
export SIZE_OPTIONS_insane
SPELLINGS:= american british canadian
include /usr/share/dpkg/pkg-info.mk
%:
dh $@
override_dh_auto_build:
set -ex; \
mkdir -p final_utf8;\
for file in final/*.[0-9][0-9]; do\
iconv -f 'iso8859-1' -t 'utf-8' < $${file} > final_utf8/$$(basename $${file}); \
done;
set -ex;\
for SPELLING in $(SPELLINGS); do\
for SIZE in $(SIZES); do\
if [ -n "$$SIZE" ]; then SIZE_NAME="_$$SIZE"; SIZE="-$$SIZE"; else SIZE_NAME=""; SIZE=""; fi; \
echo "The following SCOWL word lists were concatenated and sorted (with duplicates" > w$$SPELLING$$SIZE.scowl-word-lists-used;\
echo "removed) to create this word list (see README.Debian for more details):" >> w$$SPELLING$$SIZE.scowl-word-lists-used;\
ARGS=`eval echo "\$$""SIZE_OPTIONS$$SIZE_NAME"`; \
for word_list in `./mk-list -f $${SPELLING} $${ARGS}`; do \
if [ -f final/"$${word_list}" ]; then\
cat final/$${word_list} >> $$SPELLING-english$$SIZE.unsorted; \
echo " $${word_list}" >> w$$SPELLING$$SIZE.scowl-word-lists-used;\
fi;\
done; \
cat $$SPELLING-english$$SIZE.unsorted | LC_ALL=C sort -d | uniq | iconv -f 'iso8859-1' -t 'utf-8' > $$SPELLING-english$$SIZE; rm $$SPELLING-english$$SIZE.unsorted;\
done;\
done
cd speller && $(MAKE) hunspell
override_dh_auto_clean:
rm -rf final_utf8;
set -e;\
for SIZE in $(SIZES); do\
if [ -n "$$SIZE" ]; then SIZE="-$$SIZE"; fi; \
for SPELLING in $(SPELLINGS); do\
rm -f $$SPELLING-english$$SIZE.unsorted $$SPELLING-english$$SIZE $$SPELLING-english$$SIZE.5 w$$SPELLING$$SIZE.scowl-word-lists-used;\
done;\
done
cd speller && $(MAKE) clean
INSTALL_WORDLISTS=$(patsubst %-"",%,$(foreach spelling,$(SPELLINGS),$(foreach size,$(SIZES),install-w$(spelling)-$(size))))
override_dh_auto_install: install-scowl install-hunspell $(INSTALL_WORDLISTS)
installdeb-wordlist -pwamerican --noscripts
installdeb-wordlist --no-package=wamerican --no-package=scowl --no-package=hunspell-en-us --no-package=hunspell-en-au --no-package=hunspell-en-ca
installdeb-hunspell -phunspell-en-ca -phunspell-en-au -phunspell-en-us
install-scowl:
dh_installdirs --package=scowl
dh_install --package=scowl final_utf8/*.[0-9][0-9] usr/share/dict/scowl
dh_installdocs --package=scowl README debian/README.Debian
install-hunspell:
dh_install --package=hunspell-en-us
dh_install --package=hunspell-en-au
dh_install --package=hunspell-en-ca
override_dh_auto_test:
echo "doing nothing";
override_dh_gencontrol:
dh_gencontrol -Nhunspell-en-us -Nhunspell-en-au -Nhunspell-en-ca
dh_gencontrol -phunspell-en-us -phunspell-en-au -phunspell-en-ca -- -v1:$(DEB_VERSION)
WORDLIST=$(shell echo $(*)|sed -re 's/^w([a-z]*)(-*[a-z]*)/\1-english\2/')
$(INSTALL_WORDLISTS): install-%: install-scowl
dh_testdir
dh_testroot
dh_installdirs --package=$(*) usr/share/dict
dh_install --package=$(*) $(shell echo $(*)|sed -re \
's/^w([a-z]*)(-*[a-z]*)/\1-english\2/') usr/share/dict
dh_installdocs --package=$(*) $(*).scowl-word-lists-used debian/README.Debian
sed "s/WORDLIST/$(WORDLIST)/g" < debian/wordlist_manpage_template > $(WORDLIST).5
dh_installman --package=$(*) $(WORDLIST).5
# this is the install-w$(SPELLING)-$(VARIANT) rule
.PHONY: $(foreach spelling,$(SPELLINGS),$(foreach size,$(SIZES),install-w$(spelling)-$(size)))

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (quilt)

2
debian/wamerican-huge.info-wordlist vendored Normal file
View File

@ -0,0 +1,2 @@
Language: american-huge (American English -- huge)
Hash-Name: american-english-huge

2
debian/wamerican-insane.info-wordlist vendored Normal file
View File

@ -0,0 +1,2 @@
Language: american-insane (American English -- insane)
Hash-Name: american-english-insane

2
debian/wamerican-large.info-wordlist vendored Normal file
View File

@ -0,0 +1,2 @@
Language: american-large (American English -- large)
Hash-Name: american-english-large

2
debian/wamerican-small.info-wordlist vendored Normal file
View File

@ -0,0 +1,2 @@
Language: american-small (American English -- small)
Hash-Name: american-english-small

23
debian/wamerican.config vendored Normal file
View File

@ -0,0 +1,23 @@
#!/usr/bin/perl -w
use Debconf::Client::ConfModule q(:all);
version ('2.0');
my $class = "wordlist";
my $script = "/usr/share/dictionaries-common/dc-debconf-select.pl";
my $has_elanguages = "/usr/share/dictionaries-common/elanguages";
# This is not a standard dictionaries-common.config. Since dictionaries-common
# will eventually become an optional package, we need to make sure that
# wamerican does not run common config code unless a recent (e.g., with
# elanguages support) dictionaries-common is installed.
#
# This is not a problem when the whole system is installed from scratch, but
# can be when dictionaries-common and wamerican are upgraded together from
# previous non elanguages dictionaries-common version. In such case $script
# is present, so we need an extra check on $has_elanguages.
if ( -e $script && -e $has_elanguages ){
require $script;
dc_debconf_select($class);
}

2
debian/wamerican.info-wordlist vendored Normal file
View File

@ -0,0 +1,2 @@
Language: american (American English)
Hash-Name: american-english

1
debian/wamerican.links vendored Normal file
View File

@ -0,0 +1 @@
usr/share/dict/american-english usr/share/dict/words

19
debian/wamerican.postinst vendored Normal file
View File

@ -0,0 +1,19 @@
#!/bin/sh
set -e
. /usr/share/debconf/confmodule
# wamerican can be installed standalone, with no dictionaries-common,
# so use update-default-wordlist if present and do not complain
# otherwise
SCRIPT="/usr/sbin/update-default-wordlist"
if [ "$1" = "configure" ] ; then
if [ -x "$SCRIPT" ]; then
$SCRIPT --rebuild
fi
fi
#DEBHELPER#

22
debian/wamerican.postrm vendored Normal file
View File

@ -0,0 +1,22 @@
#!/bin/sh
set -e
# wamerican can be installed standalone, with no dictionaries-common,
# so use remove-default-wordlist if present and do not complain
# otherwise
rmscript="/usr/sbin/remove-default-wordlist"
case "$1" in abort-install|remove)
if [ -x $rmscript ]; then
$rmscript wamerican
fi
# Remove shared question stuff on package removal, not only on purge
if [ -e /usr/share/debconf/confmodule ]; then
. /usr/share/debconf/confmodule
db_purge
fi
esac
#DEBHELPER#

8
debian/wamerican.templates vendored Normal file
View File

@ -0,0 +1,8 @@
Template: shared/packages-wordlist
Type: text
Description:
Template: wamerican/languages
Type: text
Default: american (American English)
Description:

2
debian/watch vendored Normal file
View File

@ -0,0 +1,2 @@
version=3
http://sf.net/wordlist/scowl-(.+)\.tar\.gz

2
debian/wbritish-huge.info-wordlist vendored Normal file
View File

@ -0,0 +1,2 @@
Language: british-huge (British English -- huge)
Hash-Name: british-english-huge

2
debian/wbritish-insane.info-wordlist vendored Normal file
View File

@ -0,0 +1,2 @@
Language: british-insane (British English -- insane)
Hash-Name: british-english-insane

2
debian/wbritish-large.info-wordlist vendored Normal file
View File

@ -0,0 +1,2 @@
Language: british-large (British English -- large)
Hash-Name: british-english-large

2
debian/wbritish-small.info-wordlist vendored Normal file
View File

@ -0,0 +1,2 @@
Language: british-small (British English -- small)
Hash-Name: british-english-small

2
debian/wbritish.info-wordlist vendored Normal file
View File

@ -0,0 +1,2 @@
Language: british (British English)
Hash-Name: british-english

2
debian/wcanadian-huge.info-wordlist vendored Normal file
View File

@ -0,0 +1,2 @@
Language: canadian-huge (Canadian English -- huge)
Hash-Name: canadian-english-huge

2
debian/wcanadian-insane.info-wordlist vendored Normal file
View File

@ -0,0 +1,2 @@
Language: canadian-insane (Canadian English -- insane)
Hash-Name: canadian-english-insane

2
debian/wcanadian-large.info-wordlist vendored Normal file
View File

@ -0,0 +1,2 @@
Language: canadian-large (Canadian English -- large)
Hash-Name: canadian-english-large

2
debian/wcanadian-small.info-wordlist vendored Normal file
View File

@ -0,0 +1,2 @@
Language: canadian-small (Canadian English -- small)
Hash-Name: canadian-english-small

2
debian/wcanadian.info-wordlist vendored Normal file
View File

@ -0,0 +1,2 @@
Language: canadian (Canadian English)
Hash-Name: canadian-english

51
debian/wordlist_manpage_template vendored Normal file
View File

@ -0,0 +1,51 @@
.TH WORDLIST 5 "16 June 2003" "Debian" "Users' Manual"
.SH NAME
WORDLIST \- a list of English words
.SH DESCRIPTION
.B /usr/share/dict/WORDLIST
is an ASCII file which contains an alphabetic list of words, one per
line.
.SH FILES
There may be any number of word lists in /usr/share/dict/.
.I /etc/dictionaries-common/words
is a symbolic link to the currently-chosen
.I /usr/share/dict/<language>
file.
.I /usr/share/dict/words
is a symbolic link to
.IR /etc/dictionaries-common/words ,
and is the name by which other software should refer to the
system word list.
See
.BR select-default-wordlist (8)
for more information, and/or to change the currently-chosen word list.
.PP
The directory
.I /usr/share/dict
can contain word lists for many languages, with name of the language
in English, e.g.,
.I /usr/share/dict/french
and
.I /usr/share/dict/danish
contain respectively lists of French and Danish words if they exist.
Such lists should be coded using the ISO 8859-1 character set encoding.
.SH "SEE ALSO"
.BR ispell (1),
.BR select-default-wordlist (8),
and the
.I Filesystem Hierarchy
.IR Standard .
.SH HISTORY
The words lists are not specific, and may be generated from any number
of sources.
.PP
The system word list used to be
.IR /usr/dict/words .
For compatibility, software should check that location if
.I /usr/share/dict/words
does not exist.
.SH AUTHOR
Word lists are collected and maintained by various authors.
The Debian English word lists are built from the SCOWL (Spell-
Checker Oriented Word Lists) package, whose upstream editor is
Kevin Atkinson <kevina@users.sourceforge.net>.