1 %***************************************************************************%
2 %                                                                           %
3 % Experimental prototype Hebrew dictionary                                  %
4 %       Copyright (C) 2014  Amir Plivatsky                                  %
5 %                                                                           %
6 % Based on en/tiny.dict,                                                    %
7 %       Copyright (C) 1991-1998  Daniel Sleator and Davy Temperley          %
8 %
9 % and on en/4.0.dict.m4,
10 %       Copyright (C) 1991-1998  Daniel Sleator and Davy Temperley          %
11 %       Copyright (c) 2003  Peter Szolovits and MIT.                        %
12 %       Copyright (c) 2008-2014  Linas Vepstas                              %
13 %       Copyright (c) 2013  Lian Ruiting                                    %
14 %                                                                           %
15 %  See file "LICENSE" for information about commercial use of this system   %
16 %                                                                           %
17 %***************************************************************************%
18
19% Demo Hebrew dictionary, for initial checks. [ap]
20%
21% Its origin is the English tiny.dict, in which I translated some words
22% and added a few more, for the purpose of checking:
23% - tokenizing, including multi-prefix split
24% - the resolver behavior with multi-prefix linkages
25% - result printing
26% The old English definitions are commented out by %#.
27%
28% Some of the definitions have been replaced by the corresponding ones from
29% the full English dictionary (en/4.0.dict.m4). They were partially
30% converted to handle Hebrew.
31%
32% Much of the grammar here is still the English one,
33% so it is incorrect for Hebrew.
34%
35% By now several changes have been done to handle Hebrew more correctly.
36% Subject/verb/adjective, gender, and single/plural etc. agreements are only
37% partially done.  Most of the Hebrew grammatical constructs are not supported
38% here.
39%
40% Among numerous other things, changes to handle count/uncountable changes
41% have not been done yet. The created infrastructure for that may still need changes.
42
43% Dictionary version number is 5.3.15 (formatted as V5v3v15+)
44<dictionary-version-number>: V5v3v15+;
45<dictionary-locale>: HE4il+;
46
47% For now.
48LEFT-WALL: {Wa+} or {Wd+} or ();
49
50% The costly-null is introduced here for now, so expressions can be copied from
51% the English dictionary as they are.
52<costly-null>: [[[[()]]]];
53
54% NOUNS
55% Initially copied from the English dictionary, most probably along with unneeded
56% and inappropriate links for Hebrew (to be changed later).
57
58% Hebrew S links:
59% S1234
60% 1: s, p - for singular, plural
61% 2: c, u - for count, uncountable
62% 3: m, f - gender: male, female
63% 4: 1, 2, 3 - for 1st, 2nd, 3rd person
64
65% The RJ links connect to "and"; the l,r prevent cross-linking
66<clause-conjoin>: RJrc- or RJlc+;
67
68% {@COd-} : "That is the man who, in Joe's opinion, we should hire"
69<CLAUSE>: {({@COd-} & (C- or <clause-conjoin>)) or ({@CO-} & (Wd- & {CC+})) or [Rn-]};
70<S-CLAUSE>: {({@COd-} & (C- or <clause-conjoin>)) or ({@CO-} & (Wd- & {CC+}))};
71<CLAUSE-E>: {({@COd-} & (C- or <clause-conjoin>)) or ({@CO-} & (Wd- or {CC+})) or Re-};
72
73% Post-nominal qualifiers, complete with commas, etc.
74<post-nominal-x>:
75  ({[B*j+]} & Xd- & (Xc+ or <costly-null>) & MX-);
76
77<post-nominal-s>:
78  ({[Bsj+]} & Xd- & (Xc+ or <costly-null>) & MX-);
79
80<post-nominal-p>:
81  ({[Bpj+]} & Xd- & (Xc+ or <costly-null>) & MX-);
82
83<post-nominal-u>:
84  ({[Buj+]} & Xd- & (Xc+ or <costly-null>) & MX-);
85
86
87
88<noun-main-s,c,m,3>:
89  (((Sscm3+ or P+) & <CLAUSE>) or SIs- or Js- or Os*m-
90  or <post-nominal-s>
91  or <costly-null>);
92<noun-main-s,u,m,3>:
93  (((Ssum3+ or P+) & <CLAUSE>) or SIs- or Js- or Os*m-
94  or <post-nominal-s>
95  or <costly-null>);
96<noun-main-s,c,f,3>:
97  (((Sscf3+ or P+) & <CLAUSE>) or SIs- or Js- or Os*f-
98  or <post-nominal-s>
99  or <costly-null>);
100<noun-main-s,u,f,3>:
101  (((Ssuf3+ or P+) & <CLAUSE>) or SIs- or Js- or Os*f-
102  or <post-nominal-s>
103  or <costly-null>);
104<noun-main-p,c,m,3>:
105  (((Spcm3+ or P+) & <CLAUSE>) or SIs- or Js- or Op*m-
106  or <post-nominal-s>
107  or <costly-null>);
108<noun-main-p,u,m,3>:
109  (((Spum3+ or P+) & <CLAUSE>) or SIs- or Js- or Op*m-
110  or <post-nominal-s>
111  or <costly-null>);
112<noun-main-p,c,f,3>:
113  (((Spcf3+ or P+) & <CLAUSE>) or SIs- or Js- or Op*f-
114  or <post-nominal-s>
115  or <costly-null>);
116<noun-main-p,u,f,3>:
117  (((Spuf3+ or P+) & <CLAUSE>) or SIs- or Js- or Op*f-
118  or <post-nominal-s>
119  or <costly-null>);
120
121% NOUN_MAIN_H() arguments:
122% 1: s, p - for singular, plural
123% 2: m, f - gender: male, female
124
125% Dmu -> D*u ??? for now
126
127
128<noun-sub-x>: {@M+} & {((R+ & B+) or (Ds- & Rb+)) & {[[@M+]]}} & {@MX+};
129<noun-sub-s>: {@M+} & {((R+ & Bs+) or (Ds- & Rb+)) & {[[@M+]]}} & {@MXs+};
130<noun-sub-p>: {@M+} & {((R+ & Bp+) or (Ds- & Rb+)) & {[[@M+]]}} & {@MXp+};
131
132% Ds- here disallows *הכלב שחור רץ
133<noun-modifiers>:
134  ((@A+ or Ds-) & {[[@AN-]]})
135  or [@AN-]0.1
136  or ([[@AN-].1 & @A+] & {[[@AN-]]})
137  or ();
138
139<rel-clause-x>: {Rw+} & B*m+;
140<rel-clause-s>: {Rw+} & Bsm+;
141<rel-clause-p>: {Rw+} & Bpm+;
142
143<noun-and-s>: ({@M+} & SJls+) or ({[@M+]} & SJrs-);
144<noun-and-p>: ({[@M+]} & SJlp+) or ({[[@M+]]} & SJrp-);
145<noun-and-u>: ({[@M+]} & SJlu+) or ({[[@M+]]} & SJru-);
146<noun-and-x>: ({[@M+]} & SJl+) or ({[[@M+]]} & SJr-);
147
148
149
150%#dog cat woman man park yard bone neighbor store street bird hammer nose
151%#party friend house movie brother sister diner student exam:
152%# {@A-} & Ds- & {@M+ or (R+ & Bs+)} &
153%# (J- or Os- or (Ss+ & (({@CO-} & {C-}) or R-)) or SIs-);
154כלב חתול איש פארק שכן רחוב פטיש אף
155חבר בית סרט אח סטודנט מבחן ניסוי לב ורד שולחן:
156%% ({@A+} or {Ds-}) & {@M+ or (R+ & Bs+) or (Ds- & Rb+)} &
157%% (J- or Os- or ((Ss+ or P+) & (({@CO-} & {C-}) or R-)) or SIs-);
158(<noun-modifiers> &
159    (({NMa+} & AN+)
160    or ((NM+ or ({[NM+]1.5}    )) % & Ds- moved to noun-modifiers
161      & ((<noun-sub-s> & (
162  (((Sscm3+ or P+) & <CLAUSE>) or SIs- or Js- or Os*m-
163  or <post-nominal-s>
164  or <costly-null>) or <rel-clause-s>))
165        or <noun-and-s>))
166    or SJrs-
167    or (YS+ & Ds-)
168    or (GN+ & (DD- or [()]))
169    or Us-
170    or ({Ds-} & Wa-)));
171
172כלבה חתולה אישה חצר עצם שכנה חנות ציפור
173מסיבה חברה אחות ארוחה סטודנטית:
174(<noun-modifiers> &
175    (({NMa+} & AN+)
176    or ((NM+ or ({[NM+]1.5}    )) % & Ds- moved to noun-modifiers
177      & ((<noun-sub-s> & (
178  (((Sscf3+ or P+) & <CLAUSE>) or SIs- or Js- or Os*f-
179  or <post-nominal-s>
180  or <costly-null>) or <rel-clause-s>))
181        or <noun-and-s>))
182    or SJrs-
183    or (YS+ & Ds-)
184    or (GN+ & (DD- or [()]))
185    or Us-
186    or ({Ds-} & Wa-)));
187
188%#dogs cats women men
189%#parks yards bones neighbors stores streets birds hammers noses
190%#parties friends houses movies brothers sisters diners students exams
191%#wars winters actions laws successes:
192%#{@A+} & {Dmc-} & {@M+ or (R+ & Bp+)} &
193%# (J- or Op- or (Sp+ & (({@CO-} & {C-}) or R-)) or SIp-);
194כלבים חתולים גברים פארקים שכנים רחובות פטישים אפים
195חברים בתים סרטים אחים סטודנטים מבחנים שולחנות:
196%%{@A+} & {Dmc-} & {@M+ or (R+ & Bp+)} &
197%% (J- or Op- or (Sp+ & (({@CO-} & Wd- & {C-}) or R-)) or SIp-);
198(<noun-modifiers> &
199    (({NMa+} & AN+)
200    or ((NM+ or ({[NM+]1.5}    )) % & Ds- moved to noun-modifiers
201      & ((<noun-sub-p> & (
202  (((Spcm3+ or P+) & <CLAUSE>) or SIs- or Js- or Op*m-
203  or <post-nominal-s>
204  or <costly-null>) or <rel-clause-p>))
205        or <noun-and-p>))
206    or SJrs-
207    or (YS+ & Ds-)
208    or (GN+ & (DD- or [()]))
209    or Us-
210    or ({Ds-} & Wa-)));
211
212כלבות חתולות נשים חצרות עצמות שכנות חנויות ציפורים
213מסיבות חברות אחיות ארוחות סטודנטיות:
214(<noun-modifiers> &
215    (({NMa+} & AN+)
216    or ((NM+ or ({[NM+]1.5}    )) % & Ds- moved to noun-modifiers
217      & ((<noun-sub-p> & (
218  (((Spcf3+ or P+) & <CLAUSE>) or SIs- or Js- or Op*f-
219  or <post-nominal-s>
220  or <costly-null>) or <rel-clause-p>))
221        or <noun-and-p>))
222    or SJrs-
223    or (YS+ & Ds-)
224    or (GN+ & (DD- or [()]))
225    or Us-
226    or ({Ds-} & Wa-)));
227
228%#water anger money politics trouble:
229%#{@A+} & {Dmu-} & {@M+ or (R+ & Bs+)} &
230%#(J- or Os- or (Ss+ & (({@CO-} & {C-}) or R-)) or SIs-);
231מים כעס כסף פוליטיקה:
232{@A+} & {Dmu-} & {@M+ or (R+ & Bs+)} &
233(J- or Os- or (Ss+ & (({@CO-} & {C-}) or R-)) or SIs-);
234
235%#law winter action war success:
236%#{@A+} & {D*u-} & {@M+ or (R+ & Bs+)} &
237%#(J- or Os- or (Ss+ & (({@CO-} & {C-}) or R-)) or SIs-);
238חוק חורף פעולה מלחמה הצלחה:
239{@A+} & {D*u-} & {@M+ or (R+ & Bs+)} &
240(J- or Os- or (Ss+ & (({@CO-} & {C-}) or R-)) or SIs-);
241
242%PRONOUNS
243
244% 1: s, p - for singular, plural
245% 2: m, f - gender: male, female
246% 3: 1, 2, 3 - for 1st, 2nd, 3rd person
247
248%#she he: (Ss+ & (({@CO-} & {C-}) or R-)) or SIs-;
249%#me him them us: J- or O-;
250אותי אותו אותה אותם אותנו: J- or O-;
251%#her: D+ or J- or O-;
252%#its my your their our: D+;
253%#his: D+;
254שלה שלו שלי שלך שלהם שלנו: Mp-;
255
256
257% May need a J- variant in order to invalidate "של הוא", etc.
258%#you they we I: J- or O- or (Sp+ & (({@CO-} & {C-}) or R-)) or SIp-;
259%% אתם אתן הם הן אנחנו אני: J- or O- or (Sp+ & (({@CO-} & Wd- & {C-}) or R-)) or SIp-;
260%% היא הוא: {J- or O- or ({Ss+} & (({@CO-} & {Wd-} & {C-}) or R-)) or SIs-}
261%%% היא הוא:  {{[[R+ & Bs+]]} & (({Ss+} & <CLAUSE>) or SIs- or SJls+)}
262% From "is" - need to update them from the English dict.
263%%% & {(({Ss-} or (RS- & Bs-) or ({Q-} & SIs+))
264%%%  & (((O+ or B-) & {@MV+}) or P+ or AF-))};
265
266אני: ({{[[R+ & Bs**1+]]} &
267  (J- or Os**1- or ({Ss**1+} & <CLAUSE>) or SIs**1- or SJls**1+)}
268% Need to update
269 & {(({Ss**1-} or (RS- & Bs**1-) or ({Q-} & SIs**1+))
270 & (((Os**1+ or B-) & {@MV+}) or P+ or AF-))})
271;
272אתה: ({{[[R+ & Bs*m2+]]} &
273  (J- or Os*m2- or ({Ss*m2+} & <CLAUSE>) or SIs*m2- or SJls*m2+)}
274% Need to update
275 & {(({Ss*m2-} or (RS- & Bs*m2-) or ({Q-} & SIs*m2+))
276 & (((Os*m2+ or B-) & {@MV+}) or P+ or AF-))})
277;
278את: ({{[[R+ & Bs*f2+]]} &
279  (J- or Os*f2- or ({Ss*f2+} & <CLAUSE>) or SIs*f2- or SJls*f2+)}
280% Need to update
281 & {(({Ss*f2-} or (RS- & Bs*f2-) or ({Q-} & SIs*f2+))
282 & (((Os*f2+ or B-) & {@MV+}) or P+ or AF-))})
283;
284הוא: ({{[[R+ & Bs*m3+]]} &
285  (J- or Os*m3- or ({Ss*m3+} & <CLAUSE>) or SIs*m3- or SJls*m3+)}
286% Need to update
287 & {(({Ss*m3-} or (RS- & Bs*m3-) or ({Q-} & SIs*m3+))
288 & (((Os*m3+ or B-) & {@MV+}) or P+ or AF-))})
289;
290היא: ({{[[R+ & Bs*f3+]]} &
291  (J- or Os*f3- or ({Ss*f3+} & <CLAUSE>) or SIs*f3- or SJls*f3+)}
292% Need to update
293 & {(({Ss*f3-} or (RS- & Bs*f3-) or ({Q-} & SIs*f3+))
294 & (((Os*f3+ or B-) & {@MV+}) or P+ or AF-))})
295;
296אנחנו אנו: ({{[[R+ & Bp**3+]]} &
297  (J- or Op**3- or ({Sp**3+} & <CLAUSE>) or SIp**3- or SJlp**3+)}
298% Need to update
299 & {(({Sp**3-} or (RS- & Bp**3-) or ({Q-} & SIp**3+))
300 & (((Op**3+ or B-) & {@MV+}) or P+ or AF-))})
301;
302אתם: ({{[[R+ & Bp*m2+]]} &
303  (J- or Op*m2- or ({Sp*m2+} & <CLAUSE>) or SIp*m2- or SJlp*m2+)}
304% Need to update
305 & {(({Sp*m2-} or (RS- & Bp*m2-) or ({Q-} & SIp*m2+))
306 & (((Op*m2+ or B-) & {@MV+}) or P+ or AF-))})
307;
308אתן: ({{[[R+ & Bp*f2+]]} &
309  (J- or Op*f2- or ({Sp*f2+} & <CLAUSE>) or SIp*f2- or SJlp*f2+)}
310% Need to update
311 & {(({Sp*f2-} or (RS- & Bp*f2-) or ({Q-} & SIp*f2+))
312 & (((Op*f2+ or B-) & {@MV+}) or P+ or AF-))})
313;
314הם: ({{[[R+ & Bp*m3+]]} &
315  (J- or Op*m3- or ({Sp*m3+} & <CLAUSE>) or SIp*m3- or SJlp*m3+)}
316% Need to update
317 & {(({Sp*m3-} or (RS- & Bp*m3-) or ({Q-} & SIp*m3+))
318 & (((Op*m3+ or B-) & {@MV+}) or P+ or AF-))})
319;
320הן: ({{[[R+ & Bp*f3+]]} &
321  (J- or Op*f3- or ({Sp*f3+} & <CLAUSE>) or SIp*f3- or SJlp*f3+)}
322% Need to update
323 & {(({Sp*f3-} or (RS- & Bp*f3-) or ({Q-} & SIp*f3+))
324 & (((Op*f3+ or B-) & {@MV+}) or P+ or AF-))})
325;
326
327%#this: (J- or O- or (Ss+ & (({@CO-} & {C-}) or R-)) or SIs-) or D*u+;
328%%זה: (J- or O- or ((Ss+ or Os+) & (({@CO-} & Wd- & {C-}) or R-)) or SIs-) or D*u+;
329זה:
330  ((Jd- & D*u- & Os-)
331  or (Jd- & D*u- & {Wd-} & Ss*m*b+)
332  or ((Ss*m*b+ or Os*m+) & <CLAUSE>) or SIs*m*b- or [[Js*m-]] or [Os*m-]
333  or <post-nominal-x>
334  or <costly-null>)
335  or EA-
336  or <noun-and-s>;
337
338זו:
339  ((Jd- & D*u- & Os-)
340  or (Jd- & D*u- & {Wd-} & Ss*f*b+)
341  or ((Ss*f*b+ or Os*f+) & <CLAUSE>) or SIs*f*b- or [[Js*f-]] or [Os*f-]
342  or <post-nominal-x>
343  or <costly-null>)
344  or EA-
345  or <noun-and-s>;
346
347%#these: (J- or O- or (Sp+ & (({@CO-} & {C-}) or R-)) or SIp-) or Dmc+;
348%#those: (Dmc+) or (({P+} or {{C+} & Bp+}) &
349%#(J- or O- or (Sp+ & (({@CO-} & {C-}) or R-)) or SIp- or Xb-));
350%%אלו: (J- or O- or (Sp+ & (({@CO-} & Wd- & {C-}) or R-)) or SIp-) or Dmc+;
351אלו אלה:
352  ((Jd- & D*u- & Op-)
353  or (Jd- & D*u- & {Wd-} & Sp***b+)
354  or ((Sp***b+ or Op**+) & <CLAUSE>) or SIp***b- or [[Jp**-]] or [Op**-]
355  or <post-nominal-x>
356  or <costly-null>)
357  or EA-
358  or <noun-and-p>;
359
360% Demonstrative determiner only - needs a total fix
361%%הללו: (Dmc+) or (({P+} or {{C+} & Bp+}) &
362%%(J- or O- or (Sp+ & (({@CO-} & {C-}) or R-)) or SIp- or Xb-));
363
364%---
365
366%#the: D+;
367% Need both R and B to nouns (to allow the second ה=: הכלב השחור רץ)
368% hence invented here Rb
369ה=: D+ or (Rb- & P+);
370%#a: Ds+;
371
372%#did: ({Q-} & SI+ & I+) or ({@E-} & (S- or
373%#(RS- & B-)) & (((B- or O+) & {@MV+}) or I+));
374%#do: (SIp+ & I+) or ({@E-} & (Sp- or
375%#(RS- & Bp-) or I-) &
376%#(((B- or O+) & {@MV+}) or I+));
377%#does: ({Q-} & SIs+ & I+) or ({@E-} & (Ss- or (RS- & Bs-)) &
378%#(((B- or O+) & {@MV+}) or I+));
379%#done: {@E-} & (Pv- or M- or (PP- & (B- or O+) & {@MV+}));
380%#doing: {@E-} & (Pg- or Mg-) & (O+ or B-) & {@MV+};
381
382%#has: ({Q-} & SIs+ & PP+) or ({@E-} & (Ss- or (RS- & B-)) &
383%#(TO+ or ((B- or O+) & {@MV+}) or PP+));
384%#have: ({Q-} & SIp+ & PP+) or ({@E-} & (Sp- or
385%#(RS- & Bp-) or I-) &
386%#(TO+ or ((B- or O+) & {@MV+})));
387%#had: ({Q-} & SI+ & PP+) or ({@E-} & (S- or (RS- & B-) or PP-) &
388%#(TO+ or ((B- or O+) & {@MV+}) or PP+));
389%#having: {@E-} & (M- or Pg-) & (TO+ or ((B- or O+) & {@MV+}) or PP+);
390
391%#is was: ((Ss- or (RS- & Bs-) or ({Q-} & SIs+))
392%# & (((O+ or B-) & {@MV+}) or P+ or AF-));
393הנו היה: ((Ss- or (RS- & Bs-) or ({Q-} & SIs+))
394 & (((O+ or B-) & {@MV+}) or P+ or AF-));
395%#are were am: ((Sp- or (RS- & Bp-) or ({Q-} &
396%#SIp+)) & (((O+ or B-) & {@MV+}) or P+ or AF-));
397הנם היו הנני: ((Sp- or (RS- & Bp-) or ({Q-} &
398SIp+)) & (((O+ or B-) & {@MV+}) or P+ or AF-));
399%#be: I- & (((O+ or B-) & {@MV+}) or P+ or AF-);
400%#been: PP- & (((O+ or B-) & {@MV+}) or P+ or AF-);
401%#being: {@E-} & (M- or Pg-) & (((O+ or B-) & {@MV+}) or P+ or AF-);
402
403%#will can.v may must could should would might: (({Q-} &
404%#SI+) or S- or (RS- & B-)) & I+;
405
406%VERBS
407
408<MX-PHRASE>: Xd- & (Xc+ or <costly-null>) & (MX*p- or MVg-);
409<OPENER>: {Xd-} & Xc+ & COp+;
410
411% These are the verb-form expressions for ordinary verbs.
412
413% <verb-wall>: these connect to the head verb:
414% WV connects the wall to the head-verb,
415% CV connects the dominating clause to the head verb of the dependent clause.
416% IV connects infinitives to the head-verb
417%<verb-wall>: dWV- or dCV- or dIV- or [[()]];
418<verb-wall>: (); % Not implemented for now for Hebrew
419
420% VERB() arguments:
421% 1: s, p - for singular, plural
422% 2: m, f - gender: male, female
423% 3: 1, 2, 3 - for 1st, 2nd, 3rd person
424
425
426
427%#run come: {@E-} & (Sp- or (RS- & Bp-) or I- or W- or PP-) & {@MV+};
428%%רצים באים הולכים: {@E-} & (Sp- or (RS- & Bp-) or I- or W- or PP-) & {@MV+};
429רצים באים הולכים זזים: ({@E-} & (((Sp*m3- & <verb-wall>) or (RS- & Bp*m3-)) & {@MV+}));
430רצות באות הולכות זזות: ({@E-} & (((Sp*f3- & <verb-wall>) or (RS- & Bp*f3-)) & {@MV+}));
431%#runs comes goes: {@E-} & (Ss- or (RS- & Bs-)) & {@MV+};
432%%רץ רצה בא באה הולך: {@E-} & (Ss- or (RS- & Bs-)) & {@MV+};
433רץ בא הולך זז: ({@E-} & (((Ss*m3- & <verb-wall>) or (RS- & Bs*m3-)) & {@MV+}));
434רצה באה הולכת זזה: ({@E-} & (((Ss*f3- & <verb-wall>) or (RS- & Bs*f3-)) & {@MV+}));
435%%זז: {@E-} & (Ss*m3- or (RS- & Bs*m3-)) & {@MV+};
436%#ran came went: {@E-} & (S- or (RS- & B-)) & {@MV+};
437%#go: {@E-} & (Sp- or (RS- & Bp-) or I-) & {@MV+};
438%#gone: {@E-} & PP- & {@MV+};
439%#going: {@E-} & (Pg- or M-) & {TO+} & {@MV+};
440%#running coming: {@E-} & (Pg- or M-) & {@MV+};
441
442%#talk arrive die:
443%#   {@E-} & (Sp- or (RS- & Bp-) or I-) & {@MV+};
444מדבר מגיע מת:
445   {@E-} & (Sp- or (RS- & Bp-) or I-) & {@MV+};
446%#talks.v arrives dies:
447%#   {@E-} & (Ss- or (RS- & Bs-)) & {@MV+};
448%#talked arrived died:
449%#   {@E-} & (S- or (RS- & B-) or PP-) & {@MV+};
450%#talking arriving dying:
451%#   {@E-} & (Pg- or M-) & {@MV+};
452
453%#see meet chase invite arrest:
454%#   {@E-} & (Sp- or (RS- & Bp-) or I-) & (O+ or B-) & {@MV+};
455%#sees meets chases invites arrests:
456%#   {@E-} & (Ss- or (RS- & Bs-)) & (O+ or B-) & {@MV+};
457%#met chased invited arrested:
458%#{@E-} & (M- or Pv- or ((S- or (RS- & B-) or PP-) & (B- or O+))) & {@MV+};
459פגש רדף הזמין אסר:
460{@E-} & (M- or Pv- or ((S- or (RS- & B-) or PP-) & (B- or O+))) & {@MV+};
461%#saw: {@E-} & (S- or (RS- & B-)) & (B- or O+) & {@MV+};
462%#seen: {@E-} & (Pv- or M- or (PP- & (B- or O+))) & {@MV+};
463%#seeing meeting chasing inviting arresting:
464%#{@E-} & (Pg- or M-) & (O+ or B-) & {@MV+};
465
466%#tell: {@E-} & (Sp- or (RS- & Bp-) or I-) & ((O+ or B-) &
467%#{TH+ or C+ or QI+ or @MV+});
468מספרים: {@E-} & (Sp- or (RS- & Bp-) or I-) & ((O+ or B-) &
469{TH+ or C+ or QI+ or @MV+});
470%#tells: {@E-} & (Ss- or (RS- & Bs-)) & ((O+ or B-) & {TH+ or C+
471%#or QI+ or @MV+});
472מספר: {@E-} & (Ss- or (RS- & Bs-)) & ((O+ or B-) & {TH+ or C+
473or QI+ or @MV+});
474%#told: {@E-} & (M- or Pv- or ((S- or (RS- & B-) or PP-) & (O+ or B-))) &
475%#{TH+ or C+ or QI+ or @MV+};
476%#telling: {@E-} & (Pg- or M-) & ((O+ or B-) & {TH+ or C+ or QI+ or
477%#@MV+});
478
479% END OF VERBS
480
481%#recently sometimes soon gradually specifically generally initially
482%#ultimately already now sadly broadly:
483%#E+ or MV-;
484לאחרונה לפעמים בקרוב בהדרגה במיוחד באופן_כללי בתחילה
485לבסוף כבר עכשיו בעצבות בהרחבה:
486E+ or MV-;
487
488%#from with at against behind between below above
489%#without under for in across through
490%#by out up down along like.p on over into about:
491%#J+ & (Mp- or MV- or Pp-);
492% This doesn't consider the difference between "ב=" with or without a
493% definite article included in it. Trying to do so leads to extremely
494% complex expression (the same for ל= elsewhere here).
495מ= עם ב= מול מאחור בין מלמטה מעל
496בלי מתחת בשביל בתוך עבור מעבר דרך ליד חוץ למעלה למטה לאורך כ= כמו על לתוך בערך:
497J+ & (Mp- or MV- or Pp-);
498
499%#of: J+ & Mp-;
500של: J+ & Mp-;
501
502%#here there: MV- or Mp- or Pp-;
503כאן שם: J- or (MV- or Mp- or Pp-);
504
505%#that: (C+ & TH-)
506%#or Ds+ or (R- & (C+ or RS+)) or SIs- or (Ss+ &
507%#{{@CO-} & {C-}}) or J- or O-;
508ש=: (C+ & TH-)
509or Ds+ or (R- & (C+ or RS+)) or SIs- or (Ss+ &
510{{@CO-} & {C-}}) or J- or O-;
511
512%#to: (I+ & TO-) or ((MV- or Mp- or Pp-) & J+);
513ל=: (I+ & TO-) or ((MV- or Mp- or Pp-) & J+);
514
515%#who: (R- & (C+ or RS+)) or S+ or B+;
516מי: (R- & (C+ or RS+)) or S+ or B+;
517%#what: S+ or B+;
518מה: S+ or B+;
519%#which: (R- & (C+ or RS+)) or S+ or B-;
520איזה: (R- & (C+ or RS+)) or S+ or B-;
521
522%#because unless though although: (C+ & (({Xc+} & CO+) or MV-));
523מפני בגלל מפאת
524אילולי למרות_ש= למרות: (C+ & (({Xc+} & CO+) or MV-));
525%#after before since until: (C+ or J+) & (({Xc+} & CO+) or MV- or Mp-);
526אחרי לפני מאז עד: (C+ or J+) & (({Xc+} & CO+) or MV- or Mp-);
527%#if: C+ & (({Xc+} & CO+) or MV-);
528אם: C+ & (({Xc+} & CO+) or MV-);
529
530%#when: (QI- & C+) or Q+ or (C+ & (({Xc+} & CO+) or MV-));
531כאשר כש=: (QI- & C+) or Q+ or (C+ & (({Xc+} & CO+) or MV-));
532%#where:(QI- & C+) or Q+;
533איפה:(QI- & C+) or Q+;
534%#how:  (QI- & (C+ or EA+)) or Q+ or EA+;
535איך:  (QI- & (C+ or EA+)) or Q+ or EA+;
536
537%#fast slow short long black white big small beautiful ugly tired angry:
538%#  {EA-} & (A- or ((Pa- or AF+) & {@MV+}));
539מהיר אטי קצר ארוך שחור לבן גדול קטן יפה מכוער עייף כועס:
540   {EA-} & (A- or ((Pa- or AF+) & {@MV+}));
541
542%#glad afraid scared.a fortunate unfortunate lucky unlucky certain sure:
543%#{EA-} & (A- or ((Pa- or AF+) & {@MV+} & {C+ or TO+ or TH+}));
544שמח שמחה מפחד מפחדת מפוחד מפוחדת בר_מזל בת_מזל ביש_מזל בטוח בטוחה:
545 {EA-} & (A- or ((Pa- or AF+) & {@MV+} & {C+ or TO+ or TH+}));
546
547%#very: EA+;
548מאד: EA+;
549
550%#but and: MV- & C+;
551אבל ו=: MV- & C+;
552
553",": Xc-;
554
555% No actual definition yet - defined here because they appear as possible
556% prefixes in 4.0.affix.
557לכש= ככ= מב= מל= מש=: ();
558
559% prefix stripping tests
560שכבה כבה בה: ();
561
562% With the following line in the dictionary, the parser will simply
563% skip over (null-link) unknown words. If you remove it, the parser
564% will output an error for any unknown words.
565<UNKNOWN-WORD>: XXX+;
566