forked from ciaran/inflector
-
Notifications
You must be signed in to change notification settings - Fork 2
/
inflections.plist
64 lines (64 loc) · 1.43 KB
/
inflections.plist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
irregulars = (
( person, people ),
( man, men ),
( child, children ),
( sex, sexes ),
( move, moves )
);
plurals = (
( "$", s ),
( "s$", s ),
( "(ax|test)is$", "$1es" ),
( "(octop|vir)us$", "$1i" ),
( "(alias|status)$", "$1es" ),
( "(bu)s$", "$1ses" ),
( "(buffal|tomat)o$", "$1oes" ),
( "([ti])um$", "$1a" ),
( "sis$", ses ),
( "(?:([^f])fe|([lr])f)$", "$1$2ves" ),
( "(hive)$", "$1s" ),
( "([^aeiouy]|qu)y$", "$1ies" ),
( "(x|ch|ss|sh)$", "$1es" ),
( "(matr|vert|ind)ix|ex$", "$1ices" ),
( "([m|l])ouse$", "$1ice" ),
( "^(ox)$", "$1en" ),
( "(quiz)$", "$1zes" )
);
singulars = (
( "s$", "" ),
( "(n)ews$", "$1ews" ),
( "([ti])a$", "$1um" ),
( "((a)naly|(b)a|(d)iagno|(p)arenthe|(p)rogno|(s)ynop|(t)he)ses$", "$1$2sis" ),
( "(^analy)ses$", "$1sis" ),
( "([^f])ves$", "$1fe" ),
( "(hive)s$", "$1" ),
( "(tive)s$", "$1" ),
( "([lr])ves$", "$1f" ),
( "([^aeiouy]|qu)ies$", "$1y" ),
( "(s)eries$", "$1eries" ),
( "(m)ovies$", "$1ovie" ),
( "(x|ch|ss|sh)es$", "$1" ),
( "([m|l])ice$", "$1ouse" ),
( "(bus)es$", "$1" ),
( "(o)es$", "$1" ),
( "(shoe)s$", "$1" ),
( "(cris|ax|test)es$", "$1is" ),
( "(octop|vir)i$", "$1us" ),
( "(alias|status)es$", "$1" ),
( "^(ox)en", "$1" ),
( "(vert|ind)ices$", "$1ex" ),
( "(matr)ices$", "$1ix" ),
( "(quiz)zes$", "$1" )
);
uncountables = (
equipment,
information,
rice,
money,
species,
series,
fish,
sheep
);
}