Debian Codegraph @

test/dummy.affixes

raw
1 #
2 # $Id: dummy.affixes,v 1.1 2003/12/14 01:53:13 lha Exp $
3 #
4 # Copyright 1992, 1993, Geoff Kuenning, Granada Hills, CA
5 # All rights reserved.
6 #
7 # Redistribution and use in source and binary forms, with or without
8 # modification, are permitted provided that the following conditions
9 # are met:
10 #
11 # 1. Redistributions of source code must retain the above copyright
12 # notice, this list of conditions and the following disclaimer.
13 # 2. Redistributions in binary form must reproduce the above copyright
14 # notice, this list of conditions and the following disclaimer in the
15 # documentation and/or other materials provided with the distribution.
16 # 3. All modifications to the source code must be clearly marked as
17 # such. Binary redistributions based on modified source code
18 # must be clearly marked as modified versions in the documentation
19 # and/or other materials provided with the distribution.
20 # 4. All advertising materials mentioning features or use of this software
21 # must display the following acknowledgment:
22 # This product includes software developed by Geoff Kuenning and
23 # other unpaid contributors.
24 # 5. The name of Geoff Kuenning may not be used to endorse or promote
25 # products derived from this software without specific prior
26 # written permission.
27 #
28 # THIS SOFTWARE IS PROVIDED BY GEOFF KUENNING AND CONTRIBUTORS ``AS IS'' AND
29 # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
30 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
31 # ARE DISCLAIMED. IN NO EVENT SHALL GEOFF KUENNING OR CONTRIBUTORS BE LIABLE
32 # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
33 # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
34 # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
35 # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
36 # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
37 # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
38 # SUCH DAMAGE.
39 #
40 # Affix table for English
41 #
42 # $Log: dummy.affixes,v $
43 # Revision 1.1 2003/12/14 01:53:13 lha
44 # Add t_fuzzy t_templates t_validwords and t_factors to test suite
45 #
46 # Revision 1.1.1.1 1997/02/03 17:11:11 turtle
47 # Initial CVS
48 #
49 # Revision 1.16 1995/01/08 23:23:59 geoff
50 # Add a NeXT to the defstringtype statement so that nextispell can
51 # select it.
52 #
53 # Revision 1.15 1994/01/25 07:12:40 geoff
54 # Get rid of all old RCS log lines in preparation for the 3.1 release.
55 #
56 #
57
58 nroffchars ().\\*
59 texchars ()\[]{}<\>\\$*.%
60
61 # First we declare the character set. Since it's English, it's easy.
62 # The only special character is the apostrophe, so that possessives can
63 # be handled. We declare it as a boundary character, so that quoting with
64 # single quotes doesn't confuse things. The apostrophe is the only
65 # character that gets such treatment.
66 #
67 # We declare the apostrophe first so that "Jon's" collates before "Jonas".
68 # (This is the way ASCII does it).
69 #
70
71 defstringtype "nroff" "nroff" ".mm" ".ms" ".me" ".man" ".NeXT"
72
73 boundarychars '
74 wordchars [a-z] [A-Z]
75
76 altstringtype "tex" "tex" ".tex" ".bib"
77
78 # Here's a record of flags used, in case you want to add new ones.
79 # Right now, we fit within the minimal MASKBITS definition.
80 #
81 # ABCDEFGHIJKLMNOPQRSTUVWXYZ
82 # Used: * * **** ** * ***** ***
83 # A D GHIJ MN P RSTUV XYZ
84 # Available: -- -- -- - - -
85 # BC EF KL O Q W
86
87 # Now the prefix table. There are only three prefixes that are truly
88 # frequent in English, and none of them seem to need conditional variations.
89 #
90 prefixes
91
92 flag *A:
93 . > RE # As in enter > reenter
94
95 flag *I:
96 . > IN # As in disposed > indisposed
97
98 flag *U:
99 . > UN # As in natural > unnatural
100
101 # Finally, the suffixes. These are exactly the suffixes that came out
102 # with the original "ispell"; I haven't tried to improve them. The only
103 # thing I did besides translate them was to add selected cross-product flags.
104 #
105 suffixes
106 flag *R:
107 . > RIGHT # As in copy > copyright