-
Notifications
You must be signed in to change notification settings - Fork 0
/
mtr.tdl
2560 lines (2178 loc) · 92 KB
/
mtr.tdl
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
;;; Hey, emacs(1), this is -*- Mode: TDL; Coding: utf-8; -*- got it?
monotonic_mtr := mrs_transfer_rule &
[ CONTEXT [ LTOP #h, INDEX #i ],
INPUT [ LTOP #h, INDEX #i ],
OUTPUT [ LTOP #h, INDEX #i ] ].
monotonic_omtr := monotonic_mtr & optional_mtr.
optional_mtr := mrs_transfer_rule &
[ FLAGS.OPTIONAL + ].
quantifier_mtr := monotonic_mtr &
[ INPUT.RELS < [ LBL #h1, ARG0 #x1, RSTR #h2, BODY #h3 ] >,
OUTPUT.RELS < [ LBL #h1, ARG0 #x1, RSTR #h2, BODY #h3 ] > ].
quantifier_omtr := quantifier_mtr & optional_mtr.
;;;
;;; @ 1 pluss 2 >> 1 plus 2
;;;
arit_mtr := monotonic_mtr &
[ INPUT.RELS < [ LBL #h1,
ARG0 #i1, ARG1 #x1, ARG2 #h2, ARG3 #h3 ] >,
OUTPUT.RELS < [ LBL #h1,
ARG0 #i1, ARG1 #x1, ARG2 #h2, ARG3 #h3 ] > ].
arit_omtr := arit_mtr & optional_mtr.
;;;
;;; @ skiltet >> the sign
;;;
noun_mtr := monotonic_mtr &
[ INPUT.RELS < [ LBL #h1, ARG0 #x1 ] >,
OUTPUT.RELS < [ LBL #h1, ARG0 #x1 ] > ].
noun_omtr := noun_mtr & optional_mtr.
;;;
;;; _fix_me_
;;; quite possibly there is no need for the relational vs. non-relational
;;; distinction for nouns and adjectives (see below). we could just always
;;; co-index an ARG1 (ARG2 for adjectives), since this will only take effect
;;; when the input actually supplies that role. however, we probably still
;;; want to classify relational nouns somewhere, possibly in the SEM-I, since
;;; that could be required information for, e.g. compounds. (17-apr-04; oe)
;;;
;;; @ bruken av naturen >> the use of the nature
;;;
relational_noun_mtr := noun_mtr &
[ INPUT.RELS < [ ARG1 #x1 ] >,
OUTPUT.RELS < [ ARG1 #x1 ] > ].
relational_noun_omtr := relational_noun_mtr & optional_mtr.
;;;
;;; in some cases, we need to transfer complete NPs, i.e. both the nominal EP
;;; and its quantifier.
;;;
np_mtr := monotonic_mtr &
[ CONTEXT.HCONS < qeq & [ HARG #h4, LARG #h1 ] >,
INPUT.RELS < [ LBL #h1, ARG0 #x2 ],
[ LBL #h3, ARG0 #x2, RSTR #h4, BODY #h5 ] >,
OUTPUT.RELS < [ LBL #h1, ARG0 #x2 ],
[ LBL #h3, ARG0 #x2, RSTR #h4, BODY #h5 ] > ].
;;;
;;; @ Det blåser. >> It is windy.
;;;
expl_v_mtr := monotonic_mtr &
[ INPUT.RELS < [ LBL #h1,
ARG0 #e1 ] >,
OUTPUT.RELS < [ LBL #h1,
ARG0 #e1 ] > ].
;;;
;;; @ Vi arbeider. >> We work.
;;;
arg1_v_mtr := monotonic_mtr &
[ INPUT.RELS < [ LBL #h1,
ARG0 #e1, ARG1 #x1 ] >,
OUTPUT.RELS < [ LBL #h1,
ARG0 #e1, ARG1 #x1 ] > ].
;;;
;;; @ Vi spiser isen. >> We eat the ice.
;;;
arg12_v_mtr := monotonic_mtr &
[ INPUT.RELS < [ LBL #h1,
ARG0 #e1, ARG1 #x1, ARG2 #x2 ] >,
OUTPUT.RELS < [ LBL #h1,
ARG0 #e1, ARG1 #x1, ARG2 #x2 ] > ].
;;;
;;; @ Vi brakte ham isen. >> We brought him the ice.
;;;
arg123_v_mtr := monotonic_mtr &
[ INPUT.RELS < [ LBL #h1,
ARG0 #e1, ARG1 #x1, ARG2 #x2, ARG3 #x3 ], ... >,
OUTPUT.RELS < [ LBL #h1,
ARG0 #e1, ARG1 #x1, ARG2 #x2, ARG3 #x3 ], ... > ].
;;;
;;; @ Vi veddet 50 kroner med Abrams på at han sover.
;;; >> We bet Abrams 50 crowns that he sleeps.
;;;
arg1234_v_mtr := monotonic_mtr &
[ INPUT.RELS < [ LBL #h1,
ARG0 #e1, ARG1 #x1, ARG2 #2, ARG3 #3, ARG4 #4 ] >,
OUTPUT.RELS < [ LBL #h1,
ARG0 #e1, ARG1 #x1, ARG2 #2, ARG3 #3, ARG4 #4 ] > ].
arg1_v_omtr := arg1_v_mtr & optional_mtr.
arg12_v_omtr := arg12_v_mtr & optional_mtr.
arg123_v_omtr := arg123_v_mtr & optional_mtr.
arg1234_v_omtr := arg1234_v_mtr & optional_mtr.
;;;
;;; @ Abrams kan sove. >> Abrams may sleep.
;;;
modal_mtr := arg1_v_mtr.
modal_omtr := modal_mtr & optional_mtr.
;;;
;;; @ Abrams kan synge. >> Abrams can sing.
;;;
arg12_modal_mtr := monotonic_mtr &
[ INPUT.RELS < [ LBL #h0, ARG0 #e0, ARG2 #h1 & h ] >,
OUTPUT.RELS < [ LBL #h0, ARG0 #e0, ARG1 #h1 ] >,
FLAGS.EQUAL < #h1 > ].
arg12_modal_omtr := arg12_modal_mtr & optional_mtr.
;;;
;;; and now for more interesting cases of argument dropping or switching
;;;
;;;
;;; @ Han begynner å synge. >> He begins to sing.
;;;
arg12_arg1_v_mtr := monotonic_mtr &
[ INPUT.RELS < [ LBL #h1, ARG0 #e1, ARG2 #2 ] >,
OUTPUT.RELS < [ LBL #h1, ARG0 #e1, ARG1 #2 ] > ].
arg12_arg1_v_omtr := arg12_arg1_v_mtr & optional_mtr.
;;;
;;; @ Abrams synes å sove. >> Abrams seems to sleep.
;;;
arg1_arg2_v_mtr := monotonic_mtr &
[ INPUT.RELS < [ LBL #h1,
ARG0 #e1, ARG1 #1 ] >,
OUTPUT.RELS < [ LBL #h1,
ARG0 #e1, ARG2 #1 ] > ].
arg1_arg2_v_omtr := arg1_arg2_v_mtr & optional_mtr.
;;;
;;; @ Vi grublet over treet. >> We thought about the tree.
;;;
arg12_arg13_v_mtr := monotonic_mtr &
[ INPUT.RELS < [ LBL #h1,
ARG0 #e1, ARG1 #1, ARG2 #2 ] >,
OUTPUT.RELS < [ LBL #h1,
ARG0 #e1, ARG1 #1, ARG3 #2 ] > ].
arg12_arg13_v_omtr := arg12_arg13_v_mtr & optional_mtr.
;;;
;;; @ Vi lønner Abrams. >> We pay for Abrams.
;;;
arg13_arg12_v_mtr := monotonic_mtr &
[ INPUT.RELS < [ LBL #h1,
ARG0 #e1, ARG1 #1, ARG3 #2 ] >,
OUTPUT.RELS < [ LBL #h1,
ARG0 #e1, ARG1 #1, ARG2 #2 ] > ].
arg13_arg12_v_omtr := arg13_arg12_v_mtr & optional_mtr.
;;;
;;; @ Du kan forlate deg på at Abrams sover. >> You can bet Abrams sleeps.
;;; (9-jan-08; ph)
arg12_arg14_v_mtr := monotonic_mtr &
[ INPUT.RELS < [ LBL #h1,
ARG0 #e1, ARG1 #1, ARG2 #2 ] >,
OUTPUT.RELS < [ LBL #h1,
ARG0 #e1, ARG1 #1, ARG4 #2 ] > ].
arg12_arg14_v_omtr := arg12_arg14_v_mtr & optional_mtr.
;;;
;;; PH 2007-11-12:
;;;
;;; @ Abrams anser bilen som en fare. >> Abrams considers the car a danger.
;;;
arg123_arg132_v_mtr := monotonic_mtr &
[ INPUT.RELS < [ LBL #h1,
ARG0 #e1, ARG1 #1, ARG2 #2, ARG3 #3 ] >,
OUTPUT.RELS < [ LBL #h1,
ARG0 #e1, ARG1 #1, ARG2 #3, ARG3 #2 ] > ].
arg123_arg132_v_omtr := arg123_arg132_v_mtr & optional_mtr.
;;; no instantiations (3-dec-07; ph)
arg2_arg1_v_mtr := monotonic_mtr &
[ INPUT.RELS < [ LBL #h1,
ARG0 #e1, ARG2 #1 ] >,
OUTPUT.RELS < [ LBL #h1,
ARG0 #e1, ARG1 #1 ] > ].
arg2_arg1_v_omtr := arg2_arg1_v_mtr & optional_mtr.
;;;
;;; @ Isen smaker meg. >> I enjoy the ice.
;;;
arg12_arg21_v_mtr := monotonic_mtr &
[ INPUT.RELS < [ LBL #h1,
ARG0 #e1, ARG1 #1, ARG2 #2 ] >,
OUTPUT.RELS < [ LBL #h1,
ARG0 #e1, ARG1 #2, ARG2 #1 ] > ].
arg12_arg21_v_omtr := arg12_arg21_v_mtr & optional_mtr.
;;; no functioning instantiations (3-dec-07; ph)
arg23_arg12_v_mtr := monotonic_mtr &
[ INPUT.RELS < [ LBL #h1,
ARG0 #e1, ARG2 #1, ARG3 #2 ] >,
OUTPUT.RELS < [ LBL #h1,
ARG0 #e1, ARG1 #1, ARG2 #2 ] > ].
arg23_arg12_v_omtr := arg23_arg12_v_mtr & optional_mtr.
;;;
;;; In some cases the ERG encapsulates the wh-clause inside a `nominalization'
;;; EP. (11-jan-08; ph)
;;;
;;; @ De krangler om hvem som sover. >> They argue over who sleeps.
;;;
arg12_arg12+nominalization_mtr := monotonic_mtr &
[ CONTEXT.RELS < [ LBL #h3 ] >,
INPUT [ RELS < [ LBL #h1,
ARG0 #e1, ARG1 #x1, ARG2 #h2 ] >,
HCONS < qeq & [ HARG #h2, LARG #h3 ] > ],
OUTPUT [ RELS < [ LBL #h1,
ARG0 #e1, ARG1 #x1, ARG2 #x2 ],
[ PRED udef_q_rel, ARG0 #x2, RSTR #h4 ],
[ PRED nominalization_rel, LBL #h5,
ARG0 #x2 & [ NUM sg, PERS 3, GRIND - ], ARG1 #h3 ] >,
HCONS < qeq & [ HARG #h4, LARG #h5 ] > ] ].
arg12_arg12+nominalization_omtr :=
arg12_arg12+nominalization_mtr & optional_mtr.
;;;
;;; @ Abrams tråkker på isen. >> Abrams treads on the ice.
;;;
arg12_arg1+pp_mtr := monotonic_mtr &
[ INPUT.RELS < [ LBL #h0, ARG0 #e1, ARG1 #x2, ARG2 #x3 ] >,
OUTPUT.RELS < [ LBL #h0, ARG0 #e1, ARG1 #x2 ],
[ LBL #h0, ARG0 e_untensed, ARG1 #e1, ARG2 #x3 ] > ].
arg12_arg1+pp_omtr := arg12_arg1+pp_mtr & optional_mtr.
;;;
;;; @ Gresset tar av for fallet. >> The grass cusions the fall.
;;;
arg1+pp_arg12_mtr := monotonic_mtr &
[ INPUT.RELS < [ LBL #h0, ARG0 #e1, ARG1 #x2 ],
[ LBL #h0, ARG0 e_untensed, ARG1 #e1, ARG2 #x3 ] >,
OUTPUT.RELS < [ LBL #h0, ARG0 #e1, ARG1 #x2, ARG2 #x3 ] > ].
arg1+pp_arg12_omtr := arg1+pp_arg12_mtr & optional_mtr.
;;;
;;; @ Abrams skiller seg fra Browne. >> Abrams separates from Browne.
;;;
arg1+pp_arg13_mtr := monotonic_mtr &
[ INPUT.RELS < [ LBL #h0, ARG0 #e1, ARG1 #x2 ],
[ LBL #h0, ARG0 e_untensed, ARG1 #e1, ARG2 #x3 ] >,
OUTPUT.RELS < [ LBL #h0, ARG0 #e1, ARG1 #x2, ARG3 #x3 ] > ].
arg1+pp_arg13_omtr := arg1+pp_arg13_mtr & optional_mtr.
;;;
;;; @ Abrams havnet i Norge. >> Abrams ended up in Norway.
;;; (16-dec-2007; ph)
arg1+pp_arg12pp3pp_mtr := monotonic_mtr &
[ INPUT.RELS < [ LBL #h0, ARG0 #e1, ARG1 #x2 ],
[ LBL #h0, ARG0 #e2 & e_untensed, ARG1 #e1, ARG2 #x3 ] >,
OUTPUT [ RELS < [ LBL #h0, ARG0 #e1, ARG1 #x2, ARG2 #e2, ARG3 #h1 ],
[ LBL #h2, ARG0 #e2, ARG1 #x2, ARG2 #x3 ] >,
HCONS < qeq & [ HARG #h1, LARG #h2 ] > ] ].
arg1+pp_arg12pp3pp_omtr := arg1+pp_arg12pp3pp_mtr & optional_mtr.
;;;
;;; @ Vi skriver kortet til Abrams. >> We write Abrams the card.
;;;
arg12+pp_arg123_mtr := monotonic_mtr &
[ INPUT.RELS < [ LBL #h0, ARG0 #e1, ARG1 #x2 , ARG2 #x3 ],
[ LBL #h0, ARG0 e_untensed, ARG1 #e1, ARG2 #x4 ] >,
OUTPUT.RELS < [ LBL #h0, ARG0 #e1, ARG1 #x2, ARG2 #x3, ARG3 #x4 ] > ].
arg12+pp_arg123_omtr := arg12+pp_arg123_mtr & optional_mtr.
;;;
;;; @ Vi inviterer Abrams til is. >> We invite Abrams for ice.
;;;
arg123_arg12+pp_mtr := monotonic_mtr &
[ INPUT.RELS < [ LBL #h0, ARG0 #e1, ARG1 #x2, ARG2 #x3, ARG3 #x4 ] >,
OUTPUT.RELS < [ LBL #h0, ARG0 #e1, ARG1 #x2 , ARG2 #x3 ],
[ LBL #h0, ARG0 e_untensed, ARG1 #e1, ARG2 #x4 ] > ].
arg123_arg12+pp_omtr := arg123_arg12+pp_mtr & optional_mtr.
;;;
;;; @ Abrams deler inn isen i deler. >> Abrams divided the ice into parts.
;;;
arg12+pp_arg12+pp_mtr := monotonic_mtr &
[ INPUT.RELS < [ LBL #h0, ARG0 #e1, ARG1 #x2 , ARG2 #x3 ],
[ LBL #h0, ARG0 e_untensed, ARG1 #e1, ARG2 #x4 ] >,
OUTPUT.RELS < [ LBL #h0, ARG0 #e1, ARG1 #x2, ARG2 #x3 ],
[ LBL #h0, ARG0 e_untensed, ARG1 #e1, ARG2 #x4 ] > ].
arg12+pp_arg12+pp_omtr := arg12+pp_arg12+pp_mtr & optional_mtr.
;;;
;;; these days, at least, the NorGram and ERG analyses for
;;;
;;; @ Abrams slår Browne som gammel. >> Abrams strikes Browne as old.
;;;
;;; differ in arity. the ERG analysis has Browne as the ARG1, essentially as
;;; the experiencer of the state of affairs of Abrams being old, i.e. the ARG2
;;; of a two-place `_strike_v_as'. i admit, i find the NorGram analysis more
;;; immediately accessible. (14-sep-07; oe)
;;;
arg123_arg12_predicative_mtr := monotonic_mtr &
[ INPUT.RELS < [ LBL #h0, ARG0 #e0, ARG2 #x0, ARG3 #h1 ] >,
OUTPUT.RELS < [ LBL #h0, ARG0 #e0, ARG1 #x0, ARG2 #h1 ] > ].
arg123_arg12_predicative_omtr := arg123_arg12_predicative_mtr & optional_mtr.
;;;
;;; PH 2007-09-25
;;;
;;; @ Vi baserer ideen på dette. >> We base the idea on this.
;;;
arg123_arg123_prop_mtr := monotonic_mtr &
[ INPUT.RELS < [ LBL #h0, ARG0 #e0, ARG1 #x0, ARG2 #x1, ARG3 #x2 ] >,
OUTPUT.RELS < [ LBL #h0, ARG0 #e0, ARG1 #x0, ARG2 #x1, ARG3 #h1 ],
[ LBL #h1, ARG0 e, ARG1 #x1, ARG2 #x2 ] > ].
arg123_arg123_prop_omtr := arg123_arg123_prop_mtr & optional_mtr.
;;;
;;; This is a sort of arg123_arg132 followed by arg123_arg12+pp. One can
;;; wonder when the arg123_arg132 switches are real or accidental the way the
;;; arguments 2 and 3 are numered. (9-sep-06; jtl)
;;;
;;;
;;; no instantiations (3-dec-07; ph)
;;;
arg123_arg13+pp_mtr := monotonic_mtr &
[ INPUT.RELS < [ LBL #h0, ARG0 #e1, ARG1 #x2, ARG2 #x3, ARG3 #x4 ] >,
OUTPUT.RELS < [ LBL #h0, ARG0 #e1, ARG1 #x2 , ARG2 #x4 ],
[ LBL #h0, ARG0 e_untensed, ARG1 #e1, ARG2 #x3 ] > ].
arg123_arg13+pp_omtr := arg123_arg13+pp_mtr & optional_mtr.
;;;
;;; @ Abrams druknet seg. >> Abrams drowned himself.
;;;
arg1refl_arg12pron_mtr := monotonic_mtr &
[ INPUT.RELS < [ LBL #h0, ARG0 #e1, ARG1 #x2 ] >,
OUTPUT [ RELS < [ LBL #h0, ARG0 #e1, ARG1 #x2, ARG2 #x4 ],
[ PRED pron_rel, LBL #h5, ARG0 #x4 ],
[ PRED pronoun_q_rel, ARG0 #x4, RSTR #h6 ],
[ PRED identity_rel, LBL #h5, ARG0 #x2, ARG1 #x4 ] >,
HCONS < qeq & [ HARG #h6, LARG #h5 ] > ] ].
arg1refl_arg12pron_omtr := arg1refl_arg12pron_mtr & optional_mtr.
;;;
;;; @ Abrams unner seg is. >> Abrams allows himself ice.
;;;
arg12refl_arg123pron_mtr := monotonic_mtr &
[ INPUT.RELS < [ LBL #h0, ARG0 #e1, ARG1 #x2, ARG2 #x3 ] >,
OUTPUT [ RELS < [ LBL #h0, ARG0 #e1, ARG1 #x2, ARG2 #x3, ARG3 #x4 ],
[ PRED pron_rel, LBL #h5, ARG0 #x4 ],
[ PRED pronoun_q_rel, ARG0 #x4, RSTR #h6 ],
[ PRED identity_rel, LBL #h5, ARG0 #x2, ARG1 #x4 ] >,
HCONS < qeq & [ HARG #h6, LARG #h5 ] > ] ].
arg12refl_arg123pron_omtr := arg12refl_arg123pron_mtr & optional_mtr.
;;;
;;; @ Abrams forsikrer seg om isen. >> Abrams assures himself of the ice.
;;;
arg12refl_arg12pron3_mtr := monotonic_mtr &
[ INPUT.RELS < [ LBL #h0, ARG0 #e1, ARG1 #x2, ARG2 #x3 ] >,
OUTPUT [ RELS < [ LBL #h0, ARG0 #e1, ARG1 #x2, ARG2 #x4, ARG3 #x3 ],
[ PRED pron_rel, LBL #h5, ARG0 #x4 ],
[ PRED pronoun_q_rel, ARG0 #x4, RSTR #h6 ],
[ PRED identity_rel, LBL #h5, ARG0 #x2, ARG1 #x4 ] >,
HCONS < qeq & [ HARG #h6, LARG #h5 ] > ] ].
arg12refl_arg12pron3_omtr := arg12refl_arg12pron3_mtr & optional_mtr.
;;;
;;; @ Abrams forsikrer seg om isen. >> Abrams assures himself of the ice.
;;;
arg12refl_arg12pron3inf_mtr := monotonic_mtr &
[ CONTEXT.HCONS < qeq & [ HARG #h3, LARG #h4 ] >,
INPUT.RELS < [ LBL #h0, ARG0 #e1, ARG1 #x2, ARG2 #h3 ],
[ LBL #h4, ARG1 #x2 ] >,
OUTPUT [ RELS < [ LBL #h0, ARG0 #e1, ARG1 #x2, ARG2 #x4, ARG3 #h3 ],
[ LBL #h4, ARG1 x & [ DITCH - ] ],
[ PRED pron_rel, LBL #h5, ARG0 #x4 ],
[ PRED pronoun_q_rel, ARG0 #x4, RSTR #h6 ],
[ PRED identity_rel, LBL #h5, ARG0 #x2, ARG1 #x4 ] >,
HCONS < qeq & [ HARG #h6, LARG #h5 ] > ] ].
arg12refl_arg12pron3inf_omtr := arg12refl_arg12pron3inf_mtr & optional_mtr.
;;;
;;; @ Abrams markerer seg som forsker.
;;; >> Abrams distinguishes himself as a researcher.
;;;
arg12refl_arg12pron+pp_mtr := monotonic_mtr &
[ INPUT.RELS < [ LBL #h0, ARG0 #e1, ARG1 #x2, ARG2 #x3 ] >,
OUTPUT [ RELS < [ LBL #h0, ARG0 #e1, ARG1 #x2, ARG2 #x4 ],
[ LBL #h0, ARG0 e_untensed, ARG1 #e1, ARG2 #x3 ],
[ PRED pron_rel, LBL #h5, ARG0 #x4 ],
[ PRED pronoun_q_rel, ARG0 #x4, RSTR #h6 ],
[ PRED identity_rel, LBL #h5, ARG0 #x2, ARG1 #x4 ] >,
HCONS < qeq & [ HARG #h6, LARG #h5 ] > ] ].
arg12refl_arg12pron+pp_omtr := arg12refl_arg12pron+pp_mtr & optional_mtr.
;;;
;;; a reflexive pronoun inside a PP modifier. (16-jan-08; ph)
;;;
;;; @ Abrams sikret seg isen. >> Abrams secured the ice for himself.
;;;
arg12refl_arg12+pp-pron_mtr := monotonic_mtr &
[ INPUT.RELS < [ LBL #h0, ARG0 #e1, ARG1 #x2, ARG2 #x3 ] >,
OUTPUT [ RELS < [ LBL #h0, ARG0 #e1, ARG1 #x2, ARG2 #x3 ],
[ LBL #h0, ARG0 e_untensed, ARG1 #e1, ARG2 #x4 ],
[ PRED pron_rel, LBL #h5, ARG0 #x4 ],
[ PRED pronoun_q_rel, ARG0 #x4, RSTR #h6 ],
[ PRED identity_rel, LBL #h5, ARG0 #x2, ARG1 #x4 ] >,
HCONS < qeq & [ HARG #h6, LARG #h5 ] > ] ].
arg12refl_arg12+pp-pron_omtr := arg12refl_arg12+pp-pron_mtr & optional_mtr.
;;;
;;; sometimes one has to add an adverb or PP in the output. (22-sep-05; jtl)
;;;
;;; @ Abrams reiser rundt. >> Abrams travels around.
;;;
arg1_arg1+pp_mtr := monotonic_mtr &
[ INPUT.RELS < [ LBL #h1,
ARG0 #e1, ARG1 #x1 ] >,
OUTPUT.RELS < [ LBL #h1,
ARG0 #e1, ARG1 #x1 ],
[ LBL #h1, ARG0 e_untensed, ARG1 #e1 ] > ].
arg1_arg1+pp_omtr := arg1_arg1+pp_mtr & optional_mtr.
;;;
;;; @ Abrams river seg løs. >> Abrams tears himself away.
;;;
arg1refl_arg12pron+pp_mtr := monotonic_mtr &
[ INPUT.RELS < [ LBL #h0, ARG0 #e1, ARG1 #x2 ] >,
OUTPUT [ RELS < [ LBL #h0, ARG0 #e1, ARG1 #x2, ARG2 #x4 ],
[ LBL #h0, ARG0 e_untensed, ARG1 #e1 ],
[ PRED pron_rel, LBL #h5, ARG0 #x4 ],
[ PRED pronoun_q_rel, ARG0 #x4, RSTR #h6 ],
[ PRED identity_rel, LBL #h5, ARG0 #x2, ARG1 #x4 ] >,
HCONS < qeq & [ HARG #h6, LARG #h5 ] > ] ].
arg1refl_arg12pron+pp_omtr := arg1refl_arg12pron+pp_mtr & optional_mtr.
;;;
;;; @ Abrams henger i. >> Abrams keeps it up.
;;; (16-dec-2007; ph)
arg1_arg12pron_mtr := monotonic_mtr &
[ INPUT.RELS < [ LBL #h0, ARG0 #e1, ARG1 #x2 ] >,
OUTPUT [ RELS < [ LBL #h0, ARG0 #e1, ARG1 #x2,
ARG2 #x4 & x &
[ NUM sg, PERS 3, GEND n, PRONTYPE std_pron ] ],
[ PRED pron_rel, LBL #h5, ARG0 #x4 ],
[ PRED pronoun_q_rel, ARG0 #x4, RSTR #h6 ] >,
HCONS < qeq & [ HARG #h6, LARG #h5 ] > ] ].
arg1_arg12pron_omtr := arg1_arg12pron_mtr & optional_mtr.
;;;
;;; PH 2007-09-27: Add a preposition and a noun in the output.
;;;
;;; @ Isen ble til. >> The ice came into existence.
;;;
arg1_arg1+p+n_mtr := monotonic_mtr &
[ INPUT.RELS < [ LBL #h0,
ARG0 #e0, ARG1 #x0 ] >,
OUTPUT [ RELS < [ LBL #h0,
ARG0 #e0, ARG1 #x0 ],
[ LBL #h0, ARG0 e_untensed, ARG1 #e0, ARG2 #x1 ],
[ LBL #h2, ARG0 #x1 & [ NUM sg, PERS 3, GRIND - ] ],
[ ARG0 #x1, RSTR #h1 ] >,
HCONS < qeq & [ HARG #h1, LARG #h2 ] > ] ].
arg1_arg1+p+n_omtr := arg1_arg1+p+n_mtr & optional_mtr.
;;;
;;; The object of the prepostion needs to be specified for number in the
;;; rule instances.
;;;
;;; @ Skogen begeistrer meg. >> The wood fills me with enthusiasm.
;;; (13-nov-07; ph)
;;;
arg12_arg12+p+n_mtr := monotonic_mtr &
[ INPUT.RELS < [ LBL #h1,
ARG0 #e1, ARG1 #x1, ARG2 #x2 ] >,
OUTPUT [ RELS < [ LBL #h1,
ARG0 #e1, ARG1 #x1, ARG2 #x2 ],
[ LBL #h1, ARG0 e_untensed, ARG1 #e1, ARG2 #x3 ],
[ LBL #h2, ARG0 #x3 & [ PERS 3, GRIND - ] ],
[ PRED udef_q_rel,
ARG0 #x3,
RSTR #h3 ] >,
HCONS < qeq & [ HARG #h3, LARG #h2 ] > ] ].
arg12_arg12+p+n_omtr := arg12_arg12+p+n_mtr & optional_mtr.
;;;
;;; The PRED value of the object quantifier must be set. (16-jan-08; ph)
;;;
;;; @ Abrams får fatt i isen. >> Abrams gets hold of the ice.
;;;
arg12_arg12+n*p+np_mtr := monotonic_mtr &
[ INPUT.RELS < [ LBL #h1,
ARG0 #e1, ARG1 #x1, ARG2 #x2 ] >,
OUTPUT [ RELS < [ LBL #h1,
ARG0 #e1, ARG1 #x1, ARG2 #x3 ],
[ ARG0 #x3,
RSTR #h3 ],
[ LBL #h2,
ARG0 #x3 & [ PERS 3, NUM sg, GRIND - ], ARG1 #x2 ] >,
HCONS < qeq & [ HARG #h3, LARG #h2 ] > ] ].
arg12_arg12+n*p+np_omtr := arg12_arg12+n*p+np_mtr & optional_mtr.
;;;
;;; @ Abrams sørger for isen. >> Abrams takes care of the ice.
;;; (7-jan-08; ph)
arg12_arg12+n+p+np_mtr := monotonic_mtr &
[ INPUT.RELS < [ LBL #h1,
ARG0 #e1, ARG1 #x1, ARG2 #x2 ] >,
OUTPUT [ RELS < [ LBL #h1,
ARG0 #e1, ARG1 #x1, ARG2 #x3 ],
[ LBL #h2,
ARG0 #x3 & [ PERS 3, NUM sg, GRIND - ] ],
[ LBL #h2, ARG0 e_untensed, ARG1 #x3, ARG2 #x2 ],
[ PRED udef_q_rel,
ARG0 #x3,
RSTR #h3 ] >,
HCONS < qeq & [ HARG #h3, LARG #h2 ] > ] ].
arg12_arg12+n+p+np_omtr := arg12_arg12+n+p+np_mtr & optional_mtr.
;;;
;;; @ Abrams skimter isen. >> Abrams barely sees the ice.
;;;
arg12_arg12+pp_mtr := monotonic_mtr & [ INPUT.RELS < [ LBL #h1,
ARG0 #e1, ARG1 #x1, ARG2 #x2 ] >,
OUTPUT.RELS < [ LBL #h1,
ARG0 #e1, ARG1 #x1, ARG2 #x2 ],
[ LBL #h1, ARG0 e_untensed, ARG1 #e1 ] > ].
arg12_arg12+pp_omtr := arg12_arg12+pp_mtr & optional_mtr.
;;;
;;; Or one has to remove an adverb or PP in the output. (26-may-06; jtl)
;;;
;;; @ Abrams klorer seg fast til isen. >> Abrams clings to the ice.
;;;
arg1+pp_arg1_mtr := monotonic_mtr &
[ INPUT.RELS < [ LBL #h1,
ARG0 #e1, ARG1 #x1 ],
[ LBL #h1, ARG0 e_untensed, ARG1 #e1 ] >,
OUTPUT.RELS < [ LBL #h1,
ARG0 #e1, ARG1 #x1 ] > ].
arg1+pp_arg1_omtr := arg1+pp_arg1_mtr & optional_mtr.
;;;
;;; for `drive jakt på', transfer the verb, its direct object NP, and a PP[på]
;;; adjunct (which should probably be the internal argument of a relational
;;; `jakt') into a simple transitive.
;;;
;;; _fix_me_
;;; interestingly, the PP will often be optional, and we are thus forced to use
;;; two distinct correspondence types; if there were a way of marking select
;;; input elements as optional, these could be collapsed. (23-feb-06; oe)
;;;
;;; --- `jakt på' is now relational, but nevertheless keep this type as is.
;;;
;;; @ Abrams gjør inntrykk. >> Abrams impresses.
;;;
arg12+np_arg1_v_mtr := monotonic_mtr &
[ INPUT [ RELS < [ LBL #h0, ARG0 #e1, ARG1 #x2, ARG2 #x3 & x ],
[ ARG0 #x3, RSTR #h4 ],
[ LBL #h5, ARG0 #x3 ] >,
HCONS < qeq & [ HARG #h4, LARG #h5 ] > ],
OUTPUT.RELS < [ LBL #h0, ARG0 #e1, ARG1 #x2 ] >,
FLAGS.EQUAL < #x3 > ].
arg12+np_arg1_v_omtr := arg12+np_arg1_v_mtr & optional_mtr.
;;;
;;; The instances of this type must constrain the index of the object to e.g.
;;; [ NUM pl, PERS 3, GRIND - ], and the PRED value of the quantifier.
;;;
;;; @ Vi grøfter. >> We dig ditches.
;;;
arg1_arg12+np_v_mtr := monotonic_mtr &
[ INPUT.RELS < [ LBL #h0, ARG0 #e1, ARG1 #x2 ] >,
OUTPUT [ RELS < [ LBL #h0, ARG0 #e1, ARG1 #x2, ARG2 #x3 & x ],
[ ARG0 #x3, RSTR #h4 ],
[ LBL #h5, ARG0 #x3 ] >,
HCONS < qeq & [ HARG #h4, LARG #h5 ] > ] ].
arg1_arg12+np_v_omtr := arg1_arg12+np_v_mtr & optional_mtr.
;;;
;;; Intrans to trans with a compound object. The number of the first noun
;;; and quantifier relation needs to be specified in the rule intances. (E.g.
;;; [ NUM sg ] and _a_q_rel) (10-jan-08; ph)
;;;
;;; @ Abrams huker av. >> Abrams makes a check mark.
;;;
arg1_arg12+compound-np_mtr := monotonic_mtr &
[ INPUT.RELS < [ LBL #h0, ARG0 #e1, ARG1 #x2 ] >,
OUTPUT [ RELS < [ LBL #h0, ARG0 #e1, ARG1 #x2, ARG2 #x3 & x ],
[ ARG0 #x3 & [ PERS 3, GRIND - ], RSTR #h4 ],
[ LBL #h7, ARG0 #x4 ],
[ LBL #h5, ARG0 #x3 ],
[ PRED compound_rel, LBL #h5, ARG1 #x3, ARG2 #x4 ],
[ PRED udef_q_rel,
ARG0 #x4 & [ NUM sg, PERS 3, GRIND - ], RSTR #h6 ] >,
HCONS < qeq & [ HARG #h4, LARG #h5 ],
qeq & [ HARG #h6, LARG #h7 ] > ] ].
arg1_arg12+compound-np_omtr := arg1_arg12+compound-np_mtr & optional_mtr.
;;;
;;; Adding an AP in the output. (13-dec-07; ph)
;;;
;;; @ Det flasket seg. >> It went fine.
;;;
arg1_arg12+ap_mtr := monotonic_mtr &
[ INPUT.RELS < [ LBL #h1,
ARG0 #e1, ARG1 #x1 ] >,
OUTPUT [ RELS < [ LBL #h1,
ARG0 #e1, ARG1 #x1, ARG2 #h2 ],
[ LBL #h3, ARG0 e_untensed & [ SF prop ], ARG1 #x1 ] >,
HCONS < [ HARG #h2,
LARG #h3 ] > ] ].
arg1_arg12+ap_omtr := arg1_arg12+ap_mtr & optional_mtr.
;;;
;;; PH 2007-09-27
;;;
;;; @ Han brente seg. >> He got burned.
;;;
arg1_arg12+vp_v_mtr := monotonic_mtr &
[ INPUT.RELS < [ LBL #h0, ARG0 #e0, ARG1 #x0 ] >,
OUTPUT [ RELS < [ LBL #h3, ARG0 #e1, ARG2 #x0 ],
[ PRED "_get_v_state_rel",
LBL #h0, ARG0 #e0, ARG1 #x0, ARG2 #h1 ],
[ PRED parg_d_rel, LBL #h3, ARG1 #e1, ARG2 #x0 ]>,
HCONS < qeq & [ HARG #h1, LARG #h3 ] > ] ].
arg1_arg12+vp_v_omtr := arg1_arg12+vp_v_mtr & optional_mtr.
;;;
;;; @ Dalen har formet seg etter isen.
;;; >> The valley has been shaped by the ice.
;;; (13-dec-07; ph)
arg12_arg21+pass_v_mtr := monotonic_mtr &
[ INPUT.RELS < [ LBL #h0, ARG0 #e0, ARG1 #x0, ARG2 #x1 ] >,
OUTPUT.RELS < [ LBL #h0, ARG0 #e0, ARG1 #x1, ARG2 #x0 ],
[ PRED parg_d_rel, LBL #h0, ARG1 #e0, ARG2 #x0 ] > ].
arg12_arg21+pass_v_omtr := arg12_arg21+pass_v_mtr & optional_mtr.
;;;
;;; @ Alt ligger til rette for at Abrams sover.
;;; >> All is set for Abrams to sleep.
;;; (12-jan-08; ph)
sup-arg12_arg2+pass+cond-pp_mtr := monotonic_mtr &
[ INPUT [ RELS < [ LBL #h1, ARG0 #e1, ARG1 #x1, ARG2 #h2 ],
[ LBL #h3 ], ... >,
HCONS < qeq & [ HARG #h2, LARG #h3 ], ... > ],
OUTPUT [ RELS < [ LBL #h1, ARG0 #e1, ARG1 p, ARG2 #x1 ],
relation,
[ ARG0 e_untensed, ARG1 #h4, ARG2 #h5 ],
[ PRED parg_d_rel,
LBL #h1, ARG1 #e1, ARG2 #x1 ] >,
HCONS < qeq & [ HARG #h4, LARG #h1 ],
qeq & [ HARG #h5, LARG #h3 ] > ] ].
;;;
;;; @ Alt ligger til rette for at Abrams sover.
;;; >> All is set for Abrams to sleep.
;;; (12-jan-08; ph)
arg12_arg2+pass+cond-pp_mtr := sup-arg12_arg2+pass+cond-pp_mtr &
[ INPUT [ RELS < relation, relation >,
HCONS < qeq > ] ].
arg12_arg2+pass+cond-pp_omtr := arg12_arg2+pass+cond-pp_mtr & optional_mtr.
;;;
;;; @ Alt ligger til rette for at Abrams kan sove.
;;; >> All is set for Abrams to sleep.
;;; (12-jan-08; ph)
arg12-aux_arg2+pass+cond-pp_mtr := sup-arg12_arg2+pass+cond-pp_mtr &
[ INPUT [ RELS < [ ARG2 #h2 ],
[ LBL #h3 ],
[ LBL #h6, ARG1 #h7 ] >,
HCONS < qeq & [ HARG #h2, LARG #h6 ],
qeq & [ HARG #h7, LARG #h3 ] > ] ].
arg12-aux_arg2+pass+cond-pp_omtr :=
arg12-aux_arg2+pass+cond-pp_mtr & optional_mtr.
;;;
;;; a light verb plus NP or relational NP complements, e.g. `drive jakt [på]'.
;;;
;;;
;;; @ Abrams gjør inntrykk på oss. >> Abrams makes an impression on us.
;;;
arg12+np+pp_arg12_v_mtr := monotonic_mtr &
[ INPUT [ RELS < [ LBL #h0, ARG0 #e1, ARG1 #x2, ARG2 #x3 & x ],
[ ARG0 #x3, RSTR #h4 ],
[ LBL #h5, ARG0 #x3 ],
[ LBL #h5, ARG1 #x3, ARG2 #x6 ] >,
HCONS < qeq & [ HARG #h4, LARG #h5 ] > ],
OUTPUT.RELS < [ LBL #h0, ARG0 #e1, ARG1 #x2, ARG2 #x6 ] >,
FLAGS.EQUAL < #x3 > ].
arg12+np+pp_arg12_v_omtr := arg12+np+pp_arg12_v_mtr & optional_mtr.
;;;
;;; @ Abrams driver jakt på elger. >> Abrams hunts moose.
;;;
arg12+rnp_arg12_v_mtr := monotonic_mtr &
[ INPUT [ RELS < [ LBL #h0, ARG0 #e1, ARG1 #x2, ARG2 #x3 & x ],
[ ARG0 #x3, RSTR #h4 ],
[ LBL #h5, ARG0 #x3, ARG1 #x6 & x ] >,
HCONS < qeq & [ HARG #h4, LARG #h5 ] > ],
OUTPUT.RELS < [ LBL #h0, ARG0 #e1, ARG1 #x2, ARG2 #x6 ] >,
FLAGS.EQUAL < #x3, #x6 > ].
arg12+rnp_arg12_v_omtr := arg12+rnp_arg12_v_mtr & optional_mtr.
;;;
;;; @ Abrams grunnet opp innsjøen. >> Abrams made the lake shallow.
;;;
arg12_arg12+ap_v_mtr := monotonic_mtr &
[ INPUT.RELS < [ LBL #h0, ARG0 #e0, ARG1 #x0, ARG2 #x1 & x ] >,
OUTPUT [ RELS < [ LBL #h0, ARG0 #e0, ARG1 #x0, ARG2 #h1 ],
[ LBL #h1, ARG1 #x1 ] > ] ].
arg12_arg12+ap_v_omtr := arg12_arg12+ap_v_mtr & optional_mtr.
;;;
;;; This rule works for both AP ('shiny') and PP ('down') complements.
;;; (15-jan-08; ph)
;;;
;;; @ Abrams blankskurte isen. >> Abrams scrubbed the ice shiny.
;;;
arg12_arg123_ap_v_mtr := monotonic_mtr &
[ INPUT.RELS < [ LBL #h0, ARG0 #e0, ARG1 #x0, ARG2 #x1 & x ] >,
OUTPUT [ RELS < [ LBL #h0, ARG0 #e0, ARG1 #x0, ARG2 #x1 & x, ARG3 #h2 ],
[ LBL #h1, ARG1 #x1 ] >,
HCONS < qeq & [ HARG #h2, LARG #h1 ] > ] ].
arg12_arg123_ap_v_omtr := arg12_arg123_ap_v_mtr & optional_mtr.
;;;
;;; This is a type for verb particles that translate into resultative PPs.
;;; 'kakke*i+stykker' is in the NorGram SEM-I but not in the lexicon.
;;; (18-dec-07; ph)
;;; @ Abrams kakker istykker isen. >> Abrams knocks the ice to pieces.
;;;
arg12_arg123_p+n_v_mtr := monotonic_mtr &
[ INPUT.RELS < [ LBL #h0, ARG0 #e0, ARG1 #x0, ARG2 #x1 & x ] >,
OUTPUT [ RELS < [ LBL #h0, ARG0 #e0, ARG1 #x0, ARG2 #x1 & x, ARG3 #h2 ],
[ LBL #h1, ARG0 e_untensed, ARG1 #x1, ARG2 #x2 ],
[ ARG0 #x2, RSTR #h3 ],
[ LBL #h4, ARG0 #x2 ] >,
HCONS < qeq & [ HARG #h2, LARG #h1 ],
qeq & [ HARG #h3, LARG #h4 ] > ] ].
arg12_arg123_p+n_v_omtr := arg12_arg123_p+n_v_mtr & optional_mtr.
;;;
;;; @ Abrams avstår fra å sove. >> Abrams refrains from sleeping.
;;;
arg12+inf_arg12+nominalization_mtr := monotonic_mtr &
[ CONTEXT.RELS < [ LBL #h2, ARG0 #e1, ARG1 p ] >,
INPUT [ RELS < [ LBL #h0, ARG0 #e0, ARG1 #x0, ARG2 #h1 ] >,
HCONS < qeq & [ HARG #h1, LARG #h2 ] > ],
OUTPUT [ RELS < [ LBL #h0, ARG0 #e0, ARG1 #x0, ARG2 #x2 ],
[ PRED implicit_q_rel, ARG0 #x2, RSTR #h4 ],
[ PRED nominalization_rel, LBL #h5,
ARG0 #x2 & [ NUM sg, PERS 3, GRIND - ], ARG1 #h2 ],
[ PRED prog_mark, LBL #h2, ARG0 #e1 ] >,
HCONS < qeq & [ HARG #h4, LARG #h5 ] > ] ].
arg12+inf_arg12+nominalization_omtr :=
arg12+inf_arg12+nominalization_mtr & optional_mtr.
;;;
;;; The progressive aspect of the nominalized verb must be set at each instance
;;; of this type. (13-dec-07; ph)
;;;
;;; @ Abrams forhindret Browne fra å sove.
;;; >> Abrams prevented Browne from sleeping.
;;;
arg123+inf_arg123+prog_mtr := monotonic_mtr &
[ CONTEXT [ RELS < [ LBL #h2, ARG0 #e1, ARG1 x ] >,
HCONS < qeq & [ HARG #h1, LARG #h2 ] > ],
INPUT.RELS < [ LBL #h0, ARG0 #e0, ARG1 #x0, ARG2 #x1, ARG3 #h1 ] >,
OUTPUT.RELS < [ LBL #h0, ARG0 #e0, ARG1 #x0, ARG2 #x1, ARG3 #h1 ],
[ PRED prog_mark, LBL #h2, ARG0 #e1 ] > ].
arg123+inf_arg123+prog_omtr := arg123+inf_arg123+prog_mtr & optional_mtr.
;;;
;;; @ Abrams lurte seg til å sove.
;;; >> Abrams tricked himself into sleeping.
;;;
arg1refl2+inf_arg123+nominalization_mtr := monotonic_mtr &
[ CONTEXT.RELS < [ LBL #h2, ARG0 #e1, ARG1 x ] >,
INPUT [ RELS < [ LBL #h0, ARG0 #e0, ARG1 #x0, ARG2 #h1 ] >,
HCONS < qeq & [ HARG #h1, LARG #h2 ] > ],
OUTPUT [ RELS < [ LBL #h0, ARG0 #e0, ARG1 #x0, ARG2 #x1, ARG3 #h3 ],
[ LBL #h4, ARG1 #x1, ARG2 #x2 ],
[ PRED pronoun_q_rel, ARG0 #x1, RSTR #h5 ],
[ PRED pron_rel, LBL #h6,
ARG0 #x1 & x_3sg & [ PRONTYPE refl ] ],
[ PRED gend_equate, ARG0 #x1, ARG1 #x0 ],
[ PRED implicit_q_rel, ARG0 #x2, RSTR #h7 ],
[ PRED nominalization_rel, LBL #h8,
ARG0 #x2 & x_3sg, ARG1 #h2 ],
[ PRED prog_mark, LBL #h2, ARG0 #e1 ] >,
HCONS < qeq & [ HARG #h3, LARG #h4 ],
qeq & [ HARG #h5, LARG #h6 ],
qeq & [ HARG #h7, LARG #h8 ] > ] ].
arg1refl2+inf_arg123+nominalization_omtr :=
arg1refl2+inf_arg123+nominalization_mtr & optional_mtr.
;;;
;;; @ Det kommer an på om han sover. >> It depends whether he sleeps.
;;;
arg12+subord_arg12+subord_mtr := monotonic_mtr &
[ CONTEXT.RELS < [ ARG0 #x0 ] >,
INPUT [ RELS < [ LBL #h0, ARG0 #e0, ARG1 #x0, ARG2 #h1 ],
[ LBL #h2, ARG0 e & [ DITCH - ] ] >,
HCONS < qeq & [ HARG #h1, LARG #h2 ] > ],
OUTPUT [ RELS < [ LBL #h3, ARG0 #e0, ARG1 #x0 ],
[ LBL #h2, ARG0 e ],
[ LBL #h0, ARG0 e, ARG1 #h4, ARG2 #h5 ] >,
HCONS < qeq & [ HARG #h4, LARG #h3 ],
qeq & [ HARG #h5, LARG #h2 ] > ] ].
arg12+subord_arg12+subord_omtr := arg12+subord_arg12+subord_mtr & optional_mtr.
;;;
;;; @ Abrams får henne til å le. >> Abrams makes her laugh.
;;;
arg123+inf_arg12+small-cl_mtr := monotonic_mtr &
[ CONTEXT.RELS < [ ARG0 #x1 ] >,
INPUT.RELS < [ LBL #h0, ARG0 #e0, ARG1 #x0, ARG2 #x1, ARG3 #h1 ]>,
OUTPUT.RELS < [ LBL #h0, ARG0 #e0, ARG1 #x0, ARG2 #h1 ] > ].
arg123+inf_arg12+small-cl_omtr := arg123+inf_arg12+small-cl_mtr &
optional_mtr.
;;;
;;; _fix_me_
;;; now that we have conflated the `j' vs. `r' distinction in predicate names
;;; on both ends, we could just have one `intersective_attribute_mtr' type,
;;; say, and not make the adjective vs. adverb distinction where both have the
;;; same translation(s). (21-jun-05; jtl & oe)
;;;
;;; @ Turen var utmerket. >> The trip was excellent.
;;; @ en utmerket tur >> an excellent trip
;;;
intersective_attribute_mtr := monotonic_mtr &
[ INPUT.RELS < [ LBL #h1, ARG0 #e2, ARG1 #i3 ] >,
OUTPUT.RELS < [ LBL #h1, ARG0 #e2, ARG1 #i3 ] > ].
intersective_attribute_omtr := intersective_attribute_mtr & optional_mtr.
;;;
;;; @ Turen var lang. >> The trip was long.
;;; @ en lang tur >> a long trip
;;;
adjective_mtr := intersective_attribute_mtr &
[ INPUT.RELS < [ LBL #h1, ARG0 #e2, ARG1 #p3 & p ] >,
OUTPUT.RELS < [ LBL #h1, ARG0 #e2, ARG1 #p3 ] >,
FLAGS.SUBSUME < #p3 > ].
adjective_omtr := adjective_mtr & optional_mtr.
;;;
;;; @ Abrams er klar over isen. >> Abrams is aware of the ice.
;;;
relational_adjective_mtr := adjective_mtr &
[ INPUT.RELS < [ ARG2 #i1 ] >,
OUTPUT.RELS < [ ARG2 #i1 ] > ].
relational_adjective_omtr := relational_adjective_mtr & optional_mtr.
;;;
;;; @ Mannen er fjellvant. >> The man is familiar with the mountains.
;;; @ den fjellvante mannen >> the man familiar with the mountains
;;;
adj_reladj+np_mtr := monotonic_mtr &
[ INPUT.RELS < [ LBL #h0, ARG0 #e1, ARG1 #x3 ] >,
OUTPUT [ RELS < [ LBL #h0, ARG0 #e1, ARG1 #x3, ARG2 #x4 ],
[ LBL #h5, ARG0 #x4, RSTR #h5],
[ LBL #h6, ARG0 #x4] >,
HCONS < qeq & [ HARG #h5, LARG #h6 ] > ] ].
adj_reladj+np_omtr := adj_reladj+np_mtr & optional_mtr.
;;;
;;; This type works adjectives that translates into adjectives modified by
;;; adverbs and degree specifiers (_x_deg_rel).
;;;
;;; @ Mannen er dødssyk. >> The man is mortally ill.
;;; @ den dødssyke mannen >> the mortally ill man
;;;
ad_deg+ad_mtr := monotonic_mtr &
[ INPUT.RELS < [ LBL #h1, ARG0 #e2, ARG1 #p3 & i ] >,
OUTPUT.RELS < [ LBL #h1, ARG1 #e2 ] ,
[ LBL #h1, ARG0 #e2, ARG1 #p3 ] > ].
ad_deg+ad_omtr := ad_deg+ad_mtr & optional_mtr.
;;;
;;; _fix_me_
;;; we cannot make the PROG and TENSE (overwriting) constraints part of the MTR
;;; definition, because then we fail to match the input. thus, we merely mark
;;; the event for later processing in the `snug' phase. once again, another
;;; kind of overwriting would be required here. (29-may-06; oe)
;;;
;;; @ Veien er svinget. >> The road is winding.
;;; @ den svingete veien >> the winding road
;;;
adjective_prp_participle_mtr := monotonic_mtr &
[ INPUT.RELS < [ LBL #h1, ARG0 #e2, ARG1 #p3 & p ] >,
OUTPUT.RELS < [ LBL #h1, ARG0 #e2, ARG1 #p3 ],
[ PRED prog_mark, LBL #h1, ARG0 #e2 ] >,
FLAGS.SUBSUME < #p3 > ].
adjective_prp_participle_omtr := adjective_prp_participle_mtr & optional_mtr.
;;;
;;; @ Stien er samfunnsnyttig. >> The path is serving the public.
;;; @ den samfunnsnyttige stien >> the path serving the public
;;;
adjective_prp_participle+arg2_mtr := monotonic_mtr &
[ INPUT.RELS < [ LBL #h0, ARG0 #e0, ARG1 #p0 & p ] >,
OUTPUT [ RELS < [ LBL #h0, ARG0 #e0, ARG1 #p0, ARG2 #x0 ],
[ LBL h, ARG0 #x0, RSTR #h2 ],
[ LBL #h3, ARG0 #x0 & [ NUM sg, PERS 3, GRIND - ] ],
[ PRED prog_mark, LBL #h0, ARG0 #e0 ] >,
HCONS < qeq & [ HARG #h2, LARG #h3 ] > ],
FLAGS.SUBSUME < #p0 > ].
adjective_prp_participle+arg2_omtr :=
adjective_prp_participle+arg2_mtr & optional_mtr.