DatabaseKit  0.5
inflections.inc
Go to the documentation of this file.
1 @{
2  @"regex": [NSRegularExpression regularExpressionWithPattern:@"$" options:NSRegularExpressionCaseInsensitive error:NULL],
3  @"replacement": @"s"
4 },
5 
6 @{
7  @"regex": [NSRegularExpression regularExpressionWithPattern:@"s$" options:NSRegularExpressionCaseInsensitive error:NULL],
8  @"replacement": @"s"
9 },
10 
11 @{
12  @"regex": [NSRegularExpression regularExpressionWithPattern:@"(ax|test)is$" options:NSRegularExpressionCaseInsensitive error:NULL],
13  @"replacement": @"$1es"
14 },
15 
16 @{
17  @"regex": [NSRegularExpression regularExpressionWithPattern:@"(octop|vir)us$" options:NSRegularExpressionCaseInsensitive error:NULL],
18  @"replacement": @"$1i"
19 },
20 
21 @{
22  @"regex": [NSRegularExpression regularExpressionWithPattern:@"(alias|status)$" options:NSRegularExpressionCaseInsensitive error:NULL],
23  @"replacement": @"$1es"
24 },
25 
26 @{
27  @"regex": [NSRegularExpression regularExpressionWithPattern:@"(bu)s$" options:NSRegularExpressionCaseInsensitive error:NULL],
28  @"replacement": @"$1ses"
29 },
30 
31 @{
32  @"regex": [NSRegularExpression regularExpressionWithPattern:@"(buffal|tomat)o$" options:NSRegularExpressionCaseInsensitive error:NULL],
33  @"replacement": @"$1oes"
34 },
35 
36 @{
37  @"regex": [NSRegularExpression regularExpressionWithPattern:@"([ti])um$" options:NSRegularExpressionCaseInsensitive error:NULL],
38  @"replacement": @"$1a"
39 },
40 
41 @{
42  @"regex": [NSRegularExpression regularExpressionWithPattern:@"sis$" options:NSRegularExpressionCaseInsensitive error:NULL],
43  @"replacement": @"ses
44 },
45 
46 @{
47  @"regex": [NSRegularExpression regularExpressionWithPattern:@"(?:([^f])fe|([lr])f)$" options:NSRegularExpressionCaseInsensitive error:NULL],
48  @"replacement": @"$1$2ves"
49 },
50 
51 @{
52  @"regex": [NSRegularExpression regularExpressionWithPattern:@"(hive)$" options:NSRegularExpressionCaseInsensitive error:NULL],
53  @"replacement": @"$1s"
54 },
55 
56 @{
57  @"regex": [NSRegularExpression regularExpressionWithPattern:@"([^aeiouy]|qu)y$" options:NSRegularExpressionCaseInsensitive error:NULL],
58  @"replacement": @"$1ies"
59 },
60 
61 @{
62  @"regex": [NSRegularExpression regularExpressionWithPattern:@"(x|ch|ss|sh)$" options:NSRegularExpressionCaseInsensitive error:NULL],
63  @"replacement": @"$1es"
64 },
65 
66 @{
67  @"regex": [NSRegularExpression regularExpressionWithPattern:@"(matr|vert|ind)ix|ex$" options:NSRegularExpressionCaseInsensitive error:NULL],
68  @"replacement": @"$1ices"
69 },
70 
71 @{
72  @"regex": [NSRegularExpression regularExpressionWithPattern:@"([m|l])ouse$" options:NSRegularExpressionCaseInsensitive error:NULL],
73  @"replacement": @"$1ice"
74 },
75 
76 @{
77  @"regex": [NSRegularExpression regularExpressionWithPattern:@"^(ox)$" options:NSRegularExpressionCaseInsensitive error:NULL],
78  @"replacement": @"$1en"
79 },
80 
81 @{
82  @"regex": [NSRegularExpression regularExpressionWithPattern:@"(quiz)$" options:NSRegularExpressionCaseInsensitive error:NULL],
83  @"replacement": @"$1zes"
84 },
85 
86 
87 @{
88  @"type": @"singular",
89  @"regex": [NSRegularExpression regularExpressionWithPattern:@"s$" options:NSRegularExpressionCaseInsensitive error:NULL],
90  @"replacement":"
91 },
92 
93 @{
94  @"type": @"singular",
95  @"regex": [NSRegularExpression regularExpressionWithPattern:@"(n)ews$" options:NSRegularExpressionCaseInsensitive error:NULL],
96  @"replacement": @"$1ews"
97 },
98 
99 @{
100  @"type": @"singular",
101  @"regex": [NSRegularExpression regularExpressionWithPattern:@"([ti])a$" options:NSRegularExpressionCaseInsensitive error:NULL],
102  @"replacement": @"$1um"
103 },
104 
105 @{
106  @"type": @"singular",
107  @"regex": [NSRegularExpression regularExpressionWithPattern:@"((a)naly|(b)a|(d)iagno|(p)arenthe|(p)rogno|(s)ynop|(t)he)ses$" options:NSRegularExpressionCaseInsensitive error:NULL],
108  @"replacement": @"$1\2sis"
109 },
110 
111 @{
112  @"type": @"singular",
113  @"regex": [NSRegularExpression regularExpressionWithPattern:@"(^analy)ses$" options:NSRegularExpressionCaseInsensitive error:NULL],
114  @"replacement": @"$1sis"
115 },
116 
117 @{
118  @"type": @"singular",
119  @"regex": [NSRegularExpression regularExpressionWithPattern:@"([^f])ves$" options:NSRegularExpressionCaseInsensitive error:NULL],
120  @"replacement": @"$1fe"
121 },
122 
123 @{
124  @"type": @"singular",
125  @"regex": [NSRegularExpression regularExpressionWithPattern:@"(hive)s$" options:NSRegularExpressionCaseInsensitive error:NULL],
126  @"replacement": @"$1"
127 },
128 
129 @{
130  @"type": @"singular",
131  @"regex": [NSRegularExpression regularExpressionWithPattern:@"(tive)s$" options:NSRegularExpressionCaseInsensitive error:NULL],
132  @"replacement": @"$1"
133 },
134 
135 @{
136  @"type": @"singular",
137  @"regex": [NSRegularExpression regularExpressionWithPattern:@"([lr])ves$" options:NSRegularExpressionCaseInsensitive error:NULL],
138  @"replacement": @"$1f"
139 },
140 
141 @{
142  @"type": @"singular",
143  @"regex": [NSRegularExpression regularExpressionWithPattern:@"([^aeiouy]|qu)ies$" options:NSRegularExpressionCaseInsensitive error:NULL],
144  @"replacement": @"$1y"
145 },
146 
147 @{
148  @"type": @"singular",
149  @"regex": [NSRegularExpression regularExpressionWithPattern:@"(s)eries$" options:NSRegularExpressionCaseInsensitive error:NULL],
150  @"replacement": @"$1eries"
151 },
152 
153 @{
154  @"type": @"singular",
155  @"regex": [NSRegularExpression regularExpressionWithPattern:@"(m)ovies$" options:NSRegularExpressionCaseInsensitive error:NULL],
156  @"replacement": @"$1ovie"
157 },
158 
159 @{
160  @"type": @"singular",
161  @"regex": [NSRegularExpression regularExpressionWithPattern:@"(x|ch|ss|sh)es$" options:NSRegularExpressionCaseInsensitive error:NULL],
162  @"replacement": @"$1"
163 },
164 
165 @{
166  @"type": @"singular",
167  @"regex": [NSRegularExpression regularExpressionWithPattern:@"([m|l])ice$" options:NSRegularExpressionCaseInsensitive error:NULL],
168  @"replacement": @"$1ouse"
169 },
170 
171 @{
172  @"type": @"singular",
173  @"regex": [NSRegularExpression regularExpressionWithPattern:@"(bus)es$" options:NSRegularExpressionCaseInsensitive error:NULL],
174  @"replacement": @"$1"
175 },
176 
177 @{
178  @"type": @"singular",
179  @"regex": [NSRegularExpression regularExpressionWithPattern:@"(o)es$" options:NSRegularExpressionCaseInsensitive error:NULL],
180  @"replacement": @"$1"
181 },
182 
183 @{
184  @"type": @"singular",
185  @"regex": [NSRegularExpression regularExpressionWithPattern:@"(shoe)s$" options:NSRegularExpressionCaseInsensitive error:NULL],
186  @"replacement": @"$1"
187 },
188 
189 @{
190  @"type": @"singular",
191  @"regex": [NSRegularExpression regularExpressionWithPattern:@"(cris|ax|test)es$" options:NSRegularExpressionCaseInsensitive error:NULL],
192  @"replacement": @"$1is"
193 },
194 
195 @{
196  @"type": @"singular",
197  @"regex": [NSRegularExpression regularExpressionWithPattern:@"(octop|vir)i$" options:NSRegularExpressionCaseInsensitive error:NULL],
198  @"replacement": @"$1us"
199 },
200 
201 @{
202  @"type": @"singular",
203  @"regex": [NSRegularExpression regularExpressionWithPattern:@"(alias|status)es$" options:NSRegularExpressionCaseInsensitive error:NULL],
204  @"replacement": @"$1"
205 },
206 
207 @{
208  @"type": @"singular",
209  @"regex": [NSRegularExpression regularExpressionWithPattern:@"^(ox)en" options:NSRegularExpressionCaseInsensitive error:NULL],
210  @"replacement": @"$1"
211 },
212 
213 @{
214  @"type": @"singular",
215  @"regex": [NSRegularExpression regularExpressionWithPattern:@"(vert|ind)ices$" options:NSRegularExpressionCaseInsensitive error:NULL],
216  @"replacement": @"$1ex"
217 },
218 
219 @{
220  @"type": @"singular",
221  @"regex": [NSRegularExpression regularExpressionWithPattern:@"(matr)ices$" options:NSRegularExpressionCaseInsensitive error:NULL],
222  @"replacement": @"$1ix"
223 },
224 
225 @{
226  @"type": @"singular",
227  @"regex": [NSRegularExpression regularExpressionWithPattern:@"(quiz)zes$" options:NSRegularExpressionCaseInsensitive error:NULL],
228  @"replacement": @"$1"
229 },
230 
231 @{
232  @"type": @"irregular",
233  @"regex": [NSRegularExpression regularExpressionWithPattern:@"person" options:NSRegularExpressionCaseInsensitive error:NULL],
234  @"replacement": @"people"
235 },
236 
237 @{
238  @"type": @"irregular",
239  @"regex": [NSRegularExpression regularExpressionWithPattern:@"man" options:NSRegularExpressionCaseInsensitive error:NULL],
240  @"replacement": @"men"
241 },
242 
243 @{
244  @"type": @"irregular",
245  @"regex": [NSRegularExpression regularExpressionWithPattern:@"child" options:NSRegularExpressionCaseInsensitive error:NULL],
246  @"replacement": @"children"
247 },
248 
249 @{
250  @"type": @"irregular",
251  @"regex": [NSRegularExpression regularExpressionWithPattern:@"sex" options:NSRegularExpressionCaseInsensitive error:NULL],
252  @"replacement": @"sexes"
253 },
254 
255 @{
256  @"type": @"irregular",
257  @"regex": [NSRegularExpression regularExpressionWithPattern:@"move" options:NSRegularExpressionCaseInsensitive error:NULL],
258  @"replacement": @"moves"
259 },
260 
261 @{
262  @"type": @"uncountable",
263  @"regex": [NSRegularExpression regularExpressionWithPattern:@"equipment" options:NSRegularExpressionCaseInsensitive error:NULL]
264 },
265 @{
266  @"type": @"uncountable",
267  @"regex": [NSRegularExpression regularExpressionWithPattern:@"move" options:NSRegularExpressionCaseInsensitive error:NULL]
268 },
269 @{
270  @"type": @"uncountable",
271  @"regex": [NSRegularExpression regularExpressionWithPattern:@"move" options:NSRegularExpressionCaseInsensitive error:NULL]
272 },
273 @{
274  @"type": @"uncountable",
275  @"regex": [NSRegularExpression regularExpressionWithPattern:@"move" options:NSRegularExpressionCaseInsensitive error:NULL]
276 },
277 @{
278  @"type": @"uncountable",
279  @"regex": [NSRegularExpression regularExpressionWithPattern:@"move" options:NSRegularExpressionCaseInsensitive error:NULL]
280 },
281 @{
282  @"type": @"uncountable",
283  @"regex": [NSRegularExpression regularExpressionWithPattern:@"move" options:NSRegularExpressionCaseInsensitive error:NULL]
284 },
285 @{
286  @"type": @"uncountable",
287  @"regex": [NSRegularExpression regularExpressionWithPattern:@"move" options:NSRegularExpressionCaseInsensitive error:NULL]
288 },
289 @{
290  @"type": @"uncountable",
291  @"regex": [NSRegularExpression regularExpressionWithPattern:@"move" options:NSRegularExpressionCaseInsensitive error:NULL]
292 }