-
Notifications
You must be signed in to change notification settings - Fork 1
/
my-portuguese.tdl
1055 lines (786 loc) · 43.2 KB
/
my-portuguese.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
; TODO 01.11.21: present tense in infintive forms?
;infl-inf-lex-rule := infl-lex-rule & tmp-lex-rule-super &
; [ SYNSEM.LOCAL [ CAT.HEAD.FORM infl_infinitive,
; CONT.HOOK.INDEX.E.TENSE present ] ].
; additional form features
; allowing for verbs that are compatible with both the inflected and the non-inflected infinitive
; as well as verbs governing any non-past non-finite form
nonpast-nonfinite := nonfinite.
infl-or-not-infinitive := nonpast-nonfinite.
infinitive := infl-or-not-infinitive.
; TODO 28.10.21: infl-infinitive or infl-inf
infl_infinitive := infl-or-not-infinitive.
;pres-part-or-infl-inf := nonfinite.
; TODO 28.10.21: pres-part
present_participle := nonpast-nonfinite.
; form features for manually encoded complementizers
a_que := form.
; additional cases
rec := case. ; recipient
dat := rec. ; dative
goa := rec. ; goal
gen := case. ; genitive
obl := case. ; oblique
ine := case. ; inessive ("em")
sup := case. ; superessive ("sobre")
com := case. ; commitative ("com")
per := case. ; perlative ("por")
; disjunctive type for prepositions and nouns (Drellishak 2009)
+np :+ [ CASE case ].
; The following types were manually created, they are not encoded in the choices file.
; oblique (prepositional) forms of personal pronouns
; o cachorro obedece a mim
prep-pers-pron-noun-lex := pers-pron-noun-lex &
[ SYNSEM.LOCAL.CAT.HEAD.CASE obl].
prep-pers-pron-1s-noun-lex := pers-pron-1-noun-lex & pers-pron-sg-noun-lex & prep-pers-pron-noun-lex.
prep-pers-pron-2s-noun-lex := pers-pron-2-noun-lex & pers-pron-sg-noun-lex & prep-pers-pron-noun-lex.
; TODO 06.10.21: replace COMP-FORM by FORM
; Assigning COMP-FORM (complementizer form) to complementizers to handle complementizer selection by verbs subcategorizing for an infinitival complement:
comp :+ [
COMP-FORM comp-form ].
comp-form := *top*.
a_comp := comp-form.
de_comp := que+de_comp.
que_comp := que+de_comp.
que+de_comp := comp-form.
em_comp := comp-form.
para_comp := comp-form.
; Lexical rule types for handling the conjugation of copulative verbs:
cop-pres-subj-2sg-lex-rule := cop-2sg-lex-rule & cop-pres-subj-lex-rule.
cop-pres-subj-3sg-lex-rule := cop-3sg-lex-rule & cop-pres-subj-lex-rule.
cop-pres-subj-1pl-lex-rule := cop-1pl-lex-rule & cop-pres-subj-lex-rule.
cop-pres-subj-3pl-lex-rule := cop-3pl-lex-rule & cop-pres-subj-lex-rule.
cop-pres-subj-2pl-lex-rule := cop-2pl-lex-rule & cop-pres-subj-lex-rule.
cop-pres-subj-3pl-lex-rule := cop-3pl-lex-rule & cop-pres-subj-lex-rule.
cop-imperf-ind-2sg-lex-rule := cop-2sg-lex-rule & cop-imperf-lex-rule.
cop-imperf-ind-3sg-lex-rule := cop-3sg-lex-rule & cop-imperf-lex-rule.
cop-imperf-ind-1pl-lex-rule := cop-1pl-lex-rule & cop-imperf-lex-rule.
cop-imperf-ind-2pl-lex-rule := cop-2pl-lex-rule & cop-imperf-lex-rule.
cop-imperf-ind-3pl-lex-rule := cop-3pl-lex-rule & cop-imperf-lex-rule.
cop-imperf-subj-2sg-lex-rule := cop-2sg-lex-rule & cop-imperf-subj-lex-rule.
cop-imperf-subj-3sg-lex-rule := cop-3sg-lex-rule & cop-imperf-subj-lex-rule.
cop-imperf-subj-1pl-lex-rule := cop-1pl-lex-rule & cop-imperf-subj-lex-rule.
cop-imperf-subj-2pl-lex-rule := cop-2pl-lex-rule & cop-imperf-subj-lex-rule.
cop-imperf-subj-3pl-lex-rule := cop-3pl-lex-rule & cop-imperf-subj-lex-rule.
cop-perf-2sg-lex-rule := cop-2sg-lex-rule & cop-perf-lex-rule.
cop-perf-3sg-lex-rule := cop-3sg-lex-rule & cop-perf-lex-rule.
cop-perf-1pl-lex-rule := cop-1pl-lex-rule & cop-perf-lex-rule.
cop-perf-2pl-lex-rule := cop-2pl-lex-rule & cop-perf-lex-rule.
cop-perf-3pl-lex-rule := cop-3pl-lex-rule & cop-perf-lex-rule.
cop-fut-ind-2sg-lex-rule := cop-2sg-lex-rule & cop-fut-ind-lex-rule.
cop-fut-ind-3sg-lex-rule := cop-3sg-lex-rule & cop-fut-ind-lex-rule.
cop-fut-ind-1pl-lex-rule := cop-1pl-lex-rule & cop-fut-ind-lex-rule.
cop-fut-ind-2pl-lex-rule := cop-2pl-lex-rule & cop-fut-ind-lex-rule.
cop-fut-ind-3pl-lex-rule := cop-3pl-lex-rule & cop-fut-ind-lex-rule.
cop-fut-subj-2sg-lex-rule := cop-2sg-lex-rule & cop-fut-subj-lex-rule.
cop-fut-subj-3sg-lex-rule := cop-3sg-lex-rule & cop-fut-subj-lex-rule.
cop-fut-subj-1pl-lex-rule := cop-1pl-lex-rule & cop-fut-subj-lex-rule.
cop-fut-subj-2pl-lex-rule := cop-2pl-lex-rule & cop-fut-subj-lex-rule.
cop-fut-subj-3pl-lex-rule := cop-3pl-lex-rule & cop-fut-subj-lex-rule.
cop-pqp-2sg-lex-rule := cop-2sg-lex-rule & cop-pqp-lex-rule.
cop-pqp-3sg-lex-rule := cop-3sg-lex-rule & cop-pqp-lex-rule.
cop-pqp-1pl-lex-rule := cop-1pl-lex-rule & cop-pqp-lex-rule.
cop-pqp-2pl-lex-rule := cop-2pl-lex-rule & cop-pqp-lex-rule.
cop-pqp-3pl-lex-rule := cop-3pl-lex-rule & cop-pqp-lex-rule.
cop-fut-pret-2sg-lex-rule := cop-2sg-lex-rule & cop-fut-pret-lex-rule.
cop-fut-pret-3sg-lex-rule := cop-3sg-lex-rule & cop-fut-pret-lex-rule.
cop-fut-pret-1pl-lex-rule := cop-1pl-lex-rule & cop-fut-pret-lex-rule.
cop-fut-pret-2pl-lex-rule := cop-2pl-lex-rule & cop-fut-pret-lex-rule.
cop-fut-pret-3pl-lex-rule := cop-3pl-lex-rule & cop-fut-pret-lex-rule.
cop-infl-inf-1sg-lex-rule := cop-1sg-lex-rule & cop-infl-inf-lex-rule.
cop-infl-inf-3sg-lex-rule := cop-3sg-lex-rule & cop-infl-inf-lex-rule.
cop-infl-inf-1pl-lex-rule := cop-1pl-lex-rule & cop-infl-inf-lex-rule.
cop-infl-inf-2pl-lex-rule := cop-2pl-lex-rule & cop-infl-inf-lex-rule.
cop-infl-inf-3pl-lex-rule := cop-3pl-lex-rule & cop-infl-inf-lex-rule.
; These types definitions overwrite the definitions in the choices file.
; alternative notation
;subj-cl-verb-lex := fin-cl-verb-lex & [ SYNSEM.LOCAL.CAT.VAL.COMPS < [ LOCAL.CONT.HOOK.INDEX.E.MOOD subjunctive ] >].
;ind-cl-verb-lex := que-cl-verb-lex & [ SYNSEM.LOCAL.CAT.VAL.COMPS < [ LOCAL.CONT.HOOK.INDEX.E.MOOD indicative ] >].
ind-cl-verb-lex := que-cl-verb-lex & [ SYNSEM.LOCAL.CAT.VAL.COMPS.FIRST.LOCAL.CONT.HOOK.INDEX.E.MOOD indicative].
subj-cl-verb-lex := fin-cl-verb-lex & [ SYNSEM.LOCAL.CAT.VAL.COMPS.FIRST.LOCAL.CONT.HOOK.INDEX.E.MOOD subjunctive].
; Types for encoding the full forms of determiners not handled in the morphology:
non-infl-form-determiner-lex := det-num-rule-dtr &
[ SYNSEM.L-QUE -,
INFLECTED [ DET-GEND-FLAG -,
DET-NUM-FLAG - ] ].
def-art-determiner-lex := non-infl-form-determiner-lex & determiner-lex & no-icons-lex-item &
[ SYNSEM [ L-QUE -,
LOCAL.CAT.VAL.SPEC.FIRST.LOCAL.CONT.HOOK.INDEX.PNG.PER 3rd ] ].
todo-determiner-lex := non-infl-form-determiner-lex & determiner-lex & no-icons-lex-item &
[ SYNSEM [ L-QUE -,
LOCAL.CAT.VAL.SPEC.FIRST.LOCAL.CONT.HOOK.INDEX.PNG.PER 3rd ] ].
indef-art-determiner-lex := non-infl-form-determiner-lex & determiner-lex & no-icons-lex-item &
[ SYNSEM [ L-QUE -,
LOCAL.CAT.VAL.SPEC.FIRST.LOCAL.CONT.HOOK.INDEX.PNG.PER 3rd ] ].
algum-determiner-lex := non-infl-form-determiner-lex & determiner-lex & no-icons-lex-item &
[ SYNSEM.L-QUE - ].
dem-prox-determiner-lex := non-infl-form-determiner-lex & determiner-lex & no-icons-lex-item &
[ SYNSEM [ L-QUE -,
LOCAL.CAT.VAL.SPEC.FIRST.LOCAL.CONT.HOOK.INDEX.PNG.PER 3rd ] ].
dem-med-determiner-lex := non-infl-form-determiner-lex & determiner-lex & no-icons-lex-item &
[ SYNSEM [ L-QUE -,
LOCAL.CAT.VAL.SPEC.FIRST.LOCAL.CONT.HOOK.INDEX.PNG.PER 3rd ] ].
dem-dist-determiner-lex := non-infl-form-determiner-lex & determiner-lex & no-icons-lex-item &
[ SYNSEM [ L-QUE -,
LOCAL.CAT.VAL.SPEC.FIRST.LOCAL.CONT.HOOK.INDEX.PNG.PER 3rd ] ].
outro-determiner-lex := non-infl-form-determiner-lex & determiner-lex & no-icons-lex-item &
[ SYNSEM [ L-QUE -,
LOCAL.CAT.VAL.SPEC.FIRST.LOCAL.CONT.HOOK.INDEX.PNG.PER 3rd ] ].
pouco-determiner-lex := non-infl-form-determiner-lex & determiner-lex & no-icons-lex-item &
[ SYNSEM [ L-QUE -,
LOCAL.CAT.VAL.SPEC.FIRST.LOCAL.CONT.HOOK.INDEX.PNG.PER 3rd ] ].
qualquer-determiner-lex := non-infl-form-determiner-lex & determiner-lex & no-icons-lex-item &
[ SYNSEM.L-QUE - ].
certo-determiner-lex := non-infl-form-determiner-lex & determiner-lex & no-icons-lex-item &
[ SYNSEM.L-QUE - ].
muito-determiner-lex := non-infl-form-determiner-lex & determiner-lex & no-icons-lex-item &
[ SYNSEM.L-QUE - ].
tal-determiner-lex := non-infl-form-determiner-lex & determiner-lex & no-icons-lex-item &
[ SYNSEM.L-QUE - ].
nenhum-determiner-lex := non-infl-form-determiner-lex & determiner-lex & no-icons-lex-item &
[ SYNSEM [ L-QUE -,
LOCAL.CAT.VAL.SPEC.FIRST.LOCAL.CONT.HOOK.INDEX.PNG.PER 3rd ] ].
; pl-det-lex := [SYNSEM.LOCAL.CAT.VAL.SPEC.FIRST.LOCAL.CONT.HOOK.INDEX.PNG.NUM plural].
; sg-det-lex := [SYNSEM.LOCAL.CAT.VAL.SPEC.FIRST.LOCAL.CONT.HOOK.INDEX.PNG.NUM singular].
; pers3-det-lex := [SYNSEM.LOCAL.CAT.VAL.SPEC.FIRST.LOCAL.CONT.HOOK.INDEX.PNG.PER 3rd].
; masc-det-lex := [SYNSEM.LOCAL.CAT.VAL.SPEC.FIRST.LOCAL.CONT.HOOK.INDEX.PNG.GEND masculine].
; fem-det-lex := [SYNSEM.LOCAL.CAT.VAL.SPEC.FIRST.LOCAL.CONT.HOOK.INDEX.PNG.GEND feminine].
det-lex := determiner-lex & no-icons-lex-item & [ SYNSEM [ L-QUE -] ].
3pl-det-lex := det-lex & [SYNSEM.LOCAL.CAT.VAL.SPEC.FIRST.LOCAL.CONT.HOOK.INDEX.PNG [PER 3rd, NUM plural]].
qu-det-lex := wh-determiner-lex & one-icons-lex-item & [SYNSEM.LOCAL.CAT.VAL.SPEC.FIRST.LOCAL.CONT.HOOK.INDEX.PNG.PER 3rd].
qu-sg-det-lex := qu-det-lex & [SYNSEM.LOCAL.CAT.VAL.SPEC.FIRST.LOCAL.CONT.HOOK.INDEX.PNG.NUM singular].
qu-pl-det-lex := qu-det-lex & [SYNSEM.LOCAL.CAT.VAL.SPEC.FIRST.LOCAL.CONT.HOOK.INDEX.PNG.NUM plural].
qu-msg-det-lex := qu-sg-det-lex & [SYNSEM.LOCAL.CAT.VAL.SPEC.FIRST.LOCAL.CONT.HOOK.INDEX.PNG.GEND masculine].
qu-fsg-det-lex := qu-sg-det-lex & [SYNSEM.LOCAL.CAT.VAL.SPEC.FIRST.LOCAL.CONT.HOOK.INDEX.PNG.GEND feminine].
qu-mpl-det-lex := qu-pl-det-lex & [SYNSEM.LOCAL.CAT.VAL.SPEC.FIRST.LOCAL.CONT.HOOK.INDEX.PNG.GEND masculine].
qu-fpl-det-lex := qu-pl-det-lex & [SYNSEM.LOCAL.CAT.VAL.SPEC.FIRST.LOCAL.CONT.HOOK.INDEX.PNG.GEND feminine].
3mpl-det-lex := 3pl-det-lex & [SYNSEM.LOCAL.CAT.VAL.SPEC.FIRST.LOCAL.CONT.HOOK.INDEX.PNG.GEND masculine].
3fpl-det-lex := 3pl-det-lex & [SYNSEM.LOCAL.CAT.VAL.SPEC.FIRST.LOCAL.CONT.HOOK.INDEX.PNG.GEND feminine].
; card-det-lex := 3pl-det-lex.
; ambos-det-lex := 3pl-det-lex.
; varios-det-lex := 3pl-det-lex.
; diversos-det-lex := 3pl-det-lex.
; Verb valency types:
; main verb type variant for object control verbs
; TODO 07.10.21: not used anymore
main-verb-lex-2 := verb-lex & basic-verb-lex & basic-non-wh-word-lex &
[ SYNSEM [ L-QUE -,
LOCAL [ CAT [ HEAD.AUX -,
VAL [ SPEC < >,
COMPS.FIRST #obj ] ],
CONT.HOOK.XARG #xarg ] ],
ARG-ST.REST.FIRST #obj &
[ LOCAL [ CAT cat-sat &
[ VAL [ SPR < >,
COMPS < > ] ],
CONT.HOOK.INDEX #xarg ] ] ].
transitive-verb-lex := main-verb-lex & transitive-lex-item &
[ SYNSEM.LOCAL.CAT.VAL.COMPS < #comps >,
ARG-ST < [ LOCAL.CAT.HEAD noun ],
#comps &
[ LOCAL.CAT cat-sat &
[ VAL [ SPR < >,
COMPS < > ],
HEAD +np ] ] > ].
ditransitive-verb-lex := main-verb-lex & noninh-refl-verb-lex & ditransitive-lex-item &
[ SYNSEM.LOCAL.CAT.VAL.COMPS < #comp1, #comp2 >,
ARG-ST < [ LOCAL.CAT.HEAD noun ],
#comp1 &
[ LOCAL.CAT cat-sat &
[ VAL [ SPR < >,
COMPS < > ],
HEAD +np ] ],
#comp2 &
[ LOCAL.CAT cat-sat &
[ VAL [ SPR < >,
COMPS < > ],
HEAD +np ] ]
> ].
; ele doou a bicicleta a o artista
; ele doou a bicicleta para o artista
nom-acc-adp-ditransitive-verb-lex := ditransitive-verb-lex &
[ ARG-ST < [ LOCAL.CAT.HEAD noun &
[ CASE nom ] ],
[ LOCAL.CAT.HEAD noun &
[ CASE acc ] ],
[ LOCAL.CAT.HEAD adp ] > ].
nom-gen-adp-ditransitive-verb-lex := ditransitive-verb-lex &
[ ARG-ST < [ LOCAL.CAT.HEAD noun &
[ CASE nom ] ],
[ LOCAL.CAT.HEAD adp &
[ CASE gen ] ],
[ LOCAL.CAT.HEAD adp ] > ].
nom-acc-dat-ditransitive-verb-lex := nom-acc-adp-ditransitive-verb-lex & [ ARG-ST.REST.REST.FIRST.LOCAL.CAT.HEAD.CASE dat ].
nom-acc-goa-ditransitive-verb-lex := nom-acc-adp-ditransitive-verb-lex & [ ARG-ST.REST.REST.FIRST.LOCAL.CAT.HEAD.CASE goa ].
nom-acc-rec-ditransitive-verb-lex := nom-acc-adp-ditransitive-verb-lex & [ ARG-ST.REST.REST.FIRST.LOCAL.CAT.HEAD.CASE rec ].
nom-acc-com-ditransitive-verb-lex := nom-acc-adp-ditransitive-verb-lex & [ ARG-ST.REST.REST.FIRST.LOCAL.CAT.HEAD.CASE com ].
nom-acc-gen-ditransitive-verb-lex := nom-acc-adp-ditransitive-verb-lex & [ ARG-ST.REST.REST.FIRST.LOCAL.CAT.HEAD.CASE gen ].
nom-acc-ine-ditransitive-verb-lex := nom-acc-adp-ditransitive-verb-lex & [ ARG-ST.REST.REST.FIRST.LOCAL.CAT.HEAD.CASE ine ].
nom-acc-per-ditransitive-verb-lex := nom-acc-adp-ditransitive-verb-lex & [ ARG-ST.REST.REST.FIRST.LOCAL.CAT.HEAD.CASE per ].
nom-acc-sup-ditransitive-verb-lex := nom-acc-adp-ditransitive-verb-lex & [ ARG-ST.REST.REST.FIRST.LOCAL.CAT.HEAD.CASE sup ].
nom-gen-goa-ditransitive-verb-lex := nom-gen-adp-ditransitive-verb-lex & [ ARG-ST.REST.REST.FIRST.LOCAL.CAT.HEAD.CASE goa ].
; a estudante forçou o artista a matar a ratazana
; embedded verb is a CP complement
; TODO: 21.11.2021 Why not use ditrans-second-arg-control-lex-item from matrix.tdl?
; Because clause is headed by a C (main verb does not govern a VP, but a S)
; see clausal-third-arg-ditrans-lex-item
cl-3rd-arg-ditrans-2nd-arg-control-lex-item := non-local-none-lex-item & one-icons-lex-item &
[ ARG-ST < [ LOCAL [ CAT cat-sat,
CONT.HOOK [ INDEX ref-ind & #ind1,
ICONS-KEY.IARG1 #clause ] ] ],
[ LOCAL [ CAT cat-sat,
CONT.HOOK [ INDEX ref-ind & #ind2,
ICONS-KEY.IARG1 #clause ] ] ],
[ LOCAL.CONT.HOOK [ XARG #ind2,
LTOP #larg,
INDEX #target ] ] >,
SYNSEM [ LOCAL.CONT [ HOOK.CLAUSE-KEY #clause,
HCONS.LIST < qeq & [ HARG #harg,
LARG #larg ] >,
ICONS.LIST < [ IARG1 #clause, IARG2 #target ] > ],
LKEYS.KEYREL [ ARG1 #ind1,
ARG2 #ind2,
ARG3 #harg ] ] ].
clausal-ditrans-verb-lex := main-verb-lex &
[ SYNSEM.LOCAL.CAT.VAL.COMPS < #comp1,#comp2 >,
ARG-ST < [ LOCAL.CAT.HEAD +np ],
#comp1 &
[ LOCAL.CAT cat-sat &
[ VAL [ SPR < >,
COMPS < > ],
HEAD +np ] ],
#comp2 &
[ LOCAL.CAT [ MC na-or--,
VAL [ SPR < >,
COMPS < >,
SUBJ < > ] ] ] > ].
clausal-nom-rec-verb-lex := clausal-ditrans-verb-lex &
[ ARG-ST.FIRST.LOCAL.CAT.HEAD noun & [ CASE nom ],
SYNSEM.LOCAL.CAT.VAL.COMPS.FIRST.LOCAL.CAT.HEAD adp & [ CASE rec ] ].
;TODO: 27.10.21 create common supertype for the following two types
ind-cl-rec-verb-lex := fin-cl-verb-lex & clausal-nom-rec-verb-lex & clausal-third-arg-ditrans-lex-item &
[ SYNSEM [ LOCAL.CAT.VAL.COMPS.REST.FIRST [ LOCAL [ CAT [ HEAD comp &
[ FORM que ],
WH.BOOL - ],
CONT.HOOK.INDEX [ E.MOOD indicative,
SF prop ] ] ] ,
NON-LOCAL.QUE.LIST < > ] ].
quest-cl-rec-verb-lex := fin-cl-verb-lex & clausal-nom-rec-verb-lex & clausal-third-arg-ditrans-lex-item &
[ SYNSEM [ LOCAL.CAT.VAL.COMPS.REST.FIRST [ LOCAL [ CONT.HOOK.INDEX [ E.MOOD indicative,
SF ques ],
CAT [ HEAD +vc &
[ FORM finite ],
WH.BOOL + ] ] ] ,
NON-LOCAL.QUE.LIST < > ] ].
; TODO 21.12.21: create common supertype for the following two types:
; subj-cl-rec-verb-lex (supertype)
; que-subj-cl-rec-verb-lex
; eu exigi aos alunos que eles fizessem um trabalho
; para-que-subj-cl-rec-verb-lex
; eu pedi aos alunos para que eles fizessem um trabalho
subj-cl-rec-verb-lex := fin-cl-verb-lex & clausal-nom-rec-verb-lex & clausal-third-arg-ditrans-lex-item &
[ SYNSEM [ LOCAL.CAT.VAL.COMPS.REST.FIRST [ LOCAL [ CAT [ HEAD comp &
[ FORM que ],
WH.BOOL - ],
CONT.HOOK.INDEX [ E.MOOD subjunctive,
SF prop ] ] ] ,
NON-LOCAL.QUE.LIST < > ] ].
para-que-subj-cl-rec-verb-lex := fin-cl-verb-lex & clausal-nom-rec-verb-lex & clausal-third-arg-ditrans-lex-item &
[ SYNSEM [ LOCAL.CAT.VAL.COMPS.REST.FIRST [ LOCAL [ CAT [ HEAD comp &
[ FORM para_que ],
WH.BOOL - ],
CONT.HOOK.INDEX [ E.MOOD subjunctive,
SF prop ] ] ] ,
NON-LOCAL.QUE.LIST < > ] ].
prep-obj-verb-lex := transitive-verb-lex &
[ SYNSEM.LOCAL.CAT.VAL.COMPS.FIRST.LOCAL.CAT.HEAD adp ].
dat-obj-verb-lex := prep-obj-verb-lex &
[ SYNSEM.LOCAL.CAT.VAL.COMPS.FIRST.LOCAL.CAT.HEAD.CASE dat ].
gen-obj-verb-lex := prep-obj-verb-lex &
[ SYNSEM.LOCAL.CAT.VAL.COMPS.FIRST.LOCAL.CAT.HEAD.CASE gen ].
nonrefl-gen-obj-verb-lex := noninh-refl-verb-lex & gen-obj-verb-lex.
refl-gen-obj-verb-lex := inh-refl-verb-lex & gen-obj-verb-lex.
nonrefl-dat-obj-verb-lex := noninh-refl-verb-lex & dat-obj-verb-lex.
refl-dat-obj-verb-lex := inh-refl-verb-lex & dat-obj-verb-lex.
goa-obj-verb-lex := prep-obj-verb-lex &
[ SYNSEM.LOCAL.CAT.VAL.COMPS.FIRST.LOCAL.CAT.HEAD.CASE goa ].
ine-obj-verb-lex := prep-obj-verb-lex &
[ SYNSEM.LOCAL.CAT.VAL.COMPS.FIRST.LOCAL.CAT.HEAD.CASE ine ].
sup-obj-verb-lex := prep-obj-verb-lex &
[ SYNSEM.LOCAL.CAT.VAL.COMPS.FIRST.LOCAL.CAT.HEAD.CASE sup ].
com-obj-verb-lex := prep-obj-verb-lex &
[ SYNSEM.LOCAL.CAT.VAL.COMPS.FIRST.LOCAL.CAT.HEAD.CASE com ].
per-obj-verb-lex := prep-obj-verb-lex &
[ SYNSEM.LOCAL.CAT.VAL.COMPS.FIRST.LOCAL.CAT.HEAD.CASE per ].
refl-goa-obj-verb-lex := inh-refl-verb-lex & goa-obj-verb-lex.
refl-ine-obj-verb-lex := inh-refl-verb-lex & ine-obj-verb-lex.
refl-sup-obj-verb-lex := inh-refl-verb-lex & sup-obj-verb-lex.
refl-per-obj-verb-lex := inh-refl-verb-lex & per-obj-verb-lex.
refl-com-obj-verb-lex := inh-refl-verb-lex & com-obj-verb-lex.
nonrefl-ine-obj-verb-lex := noninh-refl-verb-lex & ine-obj-verb-lex.
nonrefl-sup-obj-verb-lex := noninh-refl-verb-lex & sup-obj-verb-lex.
nonrefl-per-obj-verb-lex := noninh-refl-verb-lex & per-obj-verb-lex.
nonrefl-com-obj-verb-lex := noninh-refl-verb-lex & com-obj-verb-lex.
nonrefl-goa-obj-verb-lex := noninh-refl-verb-lex & goa-obj-verb-lex.
case-marking-adp-lex := non-local-none-lex-item & raise-sem-lex-item &
[ SYNSEM.LOCAL.CAT [ HEAD adp &
[ CASE case,
MOD < > ],
VAL [ SPR < >,
SUBJ < >,
COMPS < #comps >,
SPEC < > ] ],
ARG-ST < #comps &
[ LOCAL.CAT [ VAL.SPR < >,
HEAD noun &
[ CASE case ] ] ] > ].
obl-case-marking-adp-lex := case-marking-adp-lex & [ ARG-ST.FIRST.LOCAL.CAT.HEAD.CASE obl ].
; auxiliaries (subject raising verbs) subcategorizing for an infinitival complement headed by a complementizer
compl-subj-raise-aux := aux-lex & trans-first-arg-raising-lex-item &
[ SYNSEM.LOCAL [ CAT.VAL [ SPEC < >,
COMPS < #comps >,
SUBJ < #subj > ],
CONT.HOOK.XARG #xarg ],
ARG-ST < #subj &
[ LOCAL [ CAT [ HEAD noun &
[ CASE nom ],
VAL [ SUBJ < >,
SPR < >,
SPEC < >,
COMPS < > ] ],
CONT.HOOK.INDEX #xarg ] ],
#comps &
[ LOCAL.CAT.HEAD comp ] > ].
compl-subj-raise-aux-with-pred := compl-subj-raise-aux & norm-sem-lex-item & trans-first-arg-raising-lex-item-1 & [ ARG-ST.REST.FIRST.LOCAL.CAT.HEAD.FORM infinitive].
; o cachorro começou a latir
a-compl-subj-raise-aux-with-pred := compl-subj-raise-aux-with-pred & [ ARG-ST.REST.FIRST.LOCAL.CAT.HEAD.COMP-FORM a_comp ].
; o cachorro parou de latir
de-compl-subj-raise-aux-with-pred := compl-subj-raise-aux-with-pred & [ ARG-ST.REST.FIRST.LOCAL.CAT.HEAD.COMP-FORM de_comp ].
; o cachorro tem que dormir
; o cachorro tem de dormir
que-de-compl-subj-raise-aux-with-pred := compl-subj-raise-aux-with-pred & [ ARG-ST.REST.FIRST.LOCAL.CAT.HEAD.COMP-FORM que+de_comp ].
; o artista insistiu em perseguir o cachorro
; TODO 06.10.21 "insistir" 'insist' is a subject control verb
em-compl-subj-raise-aux-with-pred := compl-subj-raise-aux-with-pred & [ ARG-ST.REST.FIRST.LOCAL.CAT.HEAD.COMP-FORM em_comp ].
; redefinition of types generated by the grammar matrix
; TODO 05.10.21: use the types generated by the grammar matrix from choices file 178
;comps1-complementizer-lex-item := complementizer-lex-item & basic-non-wh-word-lex &
; [ SYNSEM.LOCAL [ CAT [ MC na-or--,
; HEAD.FORM finite,
; VAL.COMPS.FIRST.LOCAL.CAT [ MC -,
; HEAD.FORM finite ] ],
; CONT.HOOK.INDEX.SF prop ] ].
;comps8-complementizer-lex-item := complementizer-lex-item & basic-non-wh-word-lex &
; [ SYNSEM.LOCAL [ CAT [ MC na-or--,
; HEAD.FORM finite,
; VAL.COMPS.FIRST.LOCAL [ CONT.HOOK.INDEX.E.MOOD indicative,
; CAT [ MC -,
; HEAD.FORM finite ] ] ],
; CONT.HOOK.INDEX.SF prop ] ].
; complementizers heading an infinitival complement of a subject raising verb (auxiliary) or an object control verb
; TODO: include SPR < > in VAL of of complement? See subj-raise-aux type.
a-que-complementizer-lex-item := complementizer-lex-item & basic-non-wh-word-lex &
[ SYNSEM.LOCAL [ CAT [ MC na-or--,
VAL.COMPS.FIRST.LOCAL [ CAT [ MC -,
HEAD.FORM finite ],
CONT.HOOK.INDEX.E.MOOD subjunctive ],
HEAD.FORM a_que ],
CONT.HOOK.INDEX.SF prop ] ].
complementizer-lex-item-1 := raise-sem-lex-item & non-local-none-lex-item & basic-icons-lex-item &
[ SYNSEM.LOCAL.CAT [ HEAD comp &
[ FORM #form, MOD < > ],
VAL [ SPR < >,
SPEC < >,
SUBJ < >,
COMPS < #comp > ] ],
ARG-ST < #comp &
[ LOCAL.CAT [ HEAD verb & [FORM #form],
VAL [ SUBJ < unexpressed >,
COMPS < > ] ] ] > ].
; inf-complementizer-lex-item := complementizer-lex-item-1 & [SYNSEM.LOCAL.CAT [ HEAD.FORM infinitive] & [VAL.COMPS.FIRST.LOCAL.CAT.HEAD.FORM infl-or-not-infinitive]].
inf-complementizer-lex-item := complementizer-lex-item-1 & [SYNSEM.LOCAL.CAT.VAL.COMPS.FIRST.LOCAL.CAT.HEAD.FORM infl-or-not-infinitive].
a-inf-complementizer-lex-item := inf-complementizer-lex-item & [SYNSEM.LOCAL.CAT.HEAD comp & [COMP-FORM a_comp]].
de-inf-complementizer-lex-item := inf-complementizer-lex-item & [SYNSEM.LOCAL.CAT.HEAD comp & [COMP-FORM de_comp]].
em-inf-complementizer-lex-item := inf-complementizer-lex-item & [SYNSEM.LOCAL.CAT.HEAD comp & [COMP-FORM em_comp]].
que-inf-complementizer-lex-item := inf-complementizer-lex-item & [SYNSEM.LOCAL.CAT.HEAD comp & [COMP-FORM que_comp ]].
para-inf-complementizer-lex-item := inf-complementizer-lex-item & [SYNSEM.LOCAL.CAT.HEAD comp & [COMP-FORM para_comp]].
; subject control verbs
; o gato prefere dormir
; o artista insistiu em perseguir o cachorro
trans-first-arg-control-verb-lex := main-verb-lex & noninh-refl-verb-lex & trans-first-arg-control-lex-item &
[ SYNSEM.LOCAL [ CAT.VAL [ SPEC < >,
COMPS < #comp >,
SUBJ < #subj > ],
CONT.HOOK.XARG #xarg ],
ARG-ST < #subj &
[ LOCAL [ CAT [ HEAD noun &
[ CASE nom ],
VAL [ SUBJ < >,
SPR < >,
SPEC < >,
COMPS < > ] ],
CONT.HOOK.INDEX #xarg ] ],
#comp &
[ LOCAL.CAT [ VAL [ SUBJ < unexpressed >,
COMPS < >,
SPR < >,
SPEC < > ],
HEAD verb ] ] > ].
; subject control verb governing a bare infinitive
; o gato prefere dormir
inf-trans-first-arg-control-verb-lex := trans-first-arg-control-verb-lex & [ ARG-ST.REST.FIRST.LOCAL.CAT.HEAD.FORM infinitive].
; subject control verb governing a facultatively inflected bare infinitive
;os artistas disseram ter ganho o festival
;os artistas disseram terem ganho o festival
fac-infl-inf-trans-first-arg-control-verb-lex := trans-first-arg-control-verb-lex & [ ARG-ST.REST.FIRST.LOCAL.CAT.HEAD.FORM infl-or-not-infinitive].
infl-inf-trans-first-arg-control-verb-lex := trans-first-arg-control-verb-lex & [ ARG-ST.REST.FIRST.LOCAL.CAT.HEAD.FORM infl_infinitive].
; subject control verbs governing an infinitival CP headed by a prepositional complementizer
; o artista insistiu em perseguir o cachorro
; TODO 15.10.21: create a more general supertype for trans-first-arg-control-verb-lex and comp-trans-first-arg-control-verb-lex
; with the common properties of both
comp-trans-first-arg-control-verb-lex := main-verb-lex & noninh-refl-verb-lex & trans-first-arg-control-lex-item &
[ SYNSEM.LOCAL [ CAT.VAL [ SPEC < >,
COMPS < #comp >,
SUBJ < #subj > ],
CONT.HOOK.XARG #xarg ],
ARG-ST < #subj &
[ LOCAL [ CAT [ HEAD noun &
[ CASE nom ],
VAL [ SUBJ < >,
SPR < >,
SPEC < >,
COMPS < > ] ],
CONT.HOOK.INDEX #xarg ] ],
#comp &
[ LOCAL.CAT.HEAD comp ] > ].
inf-comp-trans-first-arg-control-verb-lex := comp-trans-first-arg-control-verb-lex & [ARG-ST.REST.FIRST.LOCAL.CAT.HEAD.FORM infinitive].
; SYNSEM.LOCAL.CAT.VAL.COMPS.FIRST.LOCAL.CAT.HEAD.FORM infinitive
em-inf-comp-trans-first-arg-control-verb-lex := inf-comp-trans-first-arg-control-verb-lex &
[ARG-ST.REST.FIRST.LOCAL.CAT.HEAD.COMP-FORM em_comp].
de-inf-comp-trans-first-arg-control-verb-lex := inf-comp-trans-first-arg-control-verb-lex &
[ARG-ST.REST.FIRST.LOCAL.CAT.HEAD.COMP-FORM de_comp].
; ditransitives with subject control
; a estudante prometeu a o artista matar a ratazana
ditrans-first-arg-control-verb-lex := main-verb-lex & noninh-refl-verb-lex & ditrans-first-arg-control-lex-item &
[ SYNSEM.LOCAL [ CAT.VAL [ SPEC < >,
COMPS < #comp1, #comp2 >,
SUBJ < #subj > ],
CONT.HOOK.XARG #xarg ],
ARG-ST < #subj &
[ LOCAL [ CAT [ HEAD noun &
[ CASE nom ],
VAL [ SUBJ < >,
SPR < >,
SPEC < >,
COMPS < > ] ],
CONT.HOOK.INDEX #xarg ] ],
#comp1 &
[ LOCAL.CAT [ VAL [ SPR < >,
COMPS < > ],
HEAD adp & [ CASE dat ] ] ],
#comp2 &
[ LOCAL.CAT [ VAL [ SUBJ < unexpressed >,
COMPS < >,
SPR < >,
SPEC < > ],
HEAD verb ] ] > ].
inf-ditrans-first-arg-control-verb-lex := ditrans-first-arg-control-verb-lex & [ ARG-ST.REST.REST.FIRST.LOCAL.CAT.HEAD.FORM infinitive].
; TODO 19.10.21: create common supertype for some of the folllowing types in order to simplify encoding of individual related types
ditrans-second-arg-control-verb-lex := main-verb-lex & noninh-refl-verb-lex & cl-3rd-arg-ditrans-2nd-arg-control-lex-item &
[ SYNSEM.LOCAL [ CAT.VAL [ SPEC < >,
COMPS < #comp1, #comp2 >,
SUBJ < #subj > ] ],
ARG-ST < #subj &
[ LOCAL.CAT [ HEAD noun &
[ CASE nom ],
VAL [ SUBJ < >,
SPR < >,
SPEC < >,
COMPS < > ] ] ],
#comp1 &
[ LOCAL.CAT [ VAL [ SPR < >,
COMPS < > ],
HEAD noun & [ CASE acc ] ] ],
#comp2 &
[ LOCAL.CAT.HEAD comp ] > ].
; a Maria viu as amigas chorando
; embedded verb is a VP complement
nonpast-nonfin-ditrans-second-arg-control-verb-lex := main-verb-lex & noninh-refl-verb-lex & ;cl-3rd-arg-ditrans-2nd-arg-control-lex-item &
ditrans-second-arg-control-lex-item &
[ SYNSEM.LOCAL [ CAT.VAL [ SPEC < >,
COMPS < #comp1, #comp2 >,
SUBJ < #subj > ] ],
ARG-ST < #subj &
[ LOCAL.CAT [ HEAD noun &
[ CASE nom ],
VAL [ SUBJ < >,
SPR < >,
SPEC < >,
COMPS < > ] ] ],
#comp1 &
[ LOCAL.CAT [ VAL [ SPR < >,
COMPS < > ],
HEAD noun & [ CASE acc ] ] ],
#comp2 &
[ LOCAL.CAT [ VAL [ SUBJ < unexpressed >,
COMPS < >,
SPR < >,
SPEC < > ],
HEAD verb & [FORM nonpast-nonfinite ] ] ] > ].
ditrans-second-arg-rec-control-verb-lex := main-verb-lex & noninh-refl-verb-lex & cl-3rd-arg-ditrans-2nd-arg-control-lex-item &
[ SYNSEM.LOCAL [ CAT.VAL [ SPEC < >,
COMPS < #comp1, #comp2 >,
SUBJ < #subj > ] ],
ARG-ST < #subj &
[ LOCAL.CAT [ HEAD noun &
[ CASE nom ],
VAL [ SUBJ < >,
SPR < >,
SPEC < >,
COMPS < > ] ] ],
#comp1 &
[ LOCAL.CAT [ VAL [ SPR < >,
COMPS < > ],
HEAD adp & [ CASE rec ] ] ],
#comp2 &
[ LOCAL.CAT.HEAD comp ] > ].
; a mãe disse ao filho que dormisse
que-ditrans-second-arg-rec-control-verb-lex := ditrans-second-arg-rec-control-verb-lex & [ ARG-ST.REST.REST.FIRST.LOCAL.CAT.HEAD.FORM que].
; eu autorizei os alunos a que escrevessem a carta
a-que-ditrans-second-arg-control-verb-lex := ditrans-second-arg-control-verb-lex & [ ARG-ST.REST.REST.FIRST.LOCAL.CAT.HEAD.FORM a_que].
; eu autorizei os alunos a escreverem a carta
; eu autorizei os alunos a escrever a carta
inf-ditrans-second-arg-control-verb-lex := ditrans-second-arg-control-verb-lex & [ ARG-ST.REST.REST.FIRST.LOCAL.CAT.HEAD.FORM infl-or-not-infinitive].
; a estudante obrigou o artista a matar a ratazana
a-inf-ditrans-second-arg-control-verb-lex := inf-ditrans-second-arg-control-verb-lex & [ ARG-ST.REST.REST.FIRST.LOCAL.CAT.HEAD.COMP-FORM a_comp ].
; a estudante impediu o artista de matar a ratazana
de-inf-ditrans-second-arg-control-verb-lex := inf-ditrans-second-arg-control-verb-lex & [ ARG-ST.REST.REST.FIRST.LOCAL.CAT.HEAD.COMP-FORM de_comp ].
; TODO 15.10.21: this specification seems redundant, because the COMP-FORM specification below seems to enforce verb form
inf-ditrans-second-arg-rec-control-verb-lex := ditrans-second-arg-rec-control-verb-lex & [ ARG-ST.REST.REST.FIRST.LOCAL.CAT.HEAD.FORM infl-or-not-infinitive].
; a estudante disse a o artista para trazer uma bola
para-inf-ditrans-second-arg-rec-control-verb-lex := inf-ditrans-second-arg-rec-control-verb-lex & [ ARG-ST.REST.REST.FIRST.LOCAL.CAT.HEAD.COMP-FORM para_comp ].
;que-cl-verb-lex := fin-cl-verb-lex & clausal-nom-verb-lex & clausal-second-arg-trans-lex-item &
; [ SYNSEM [ LOCAL.CAT.VAL.COMPS < [ LOCAL [ CAT [ HEAD comp ,
; WH.BOOL - ],
; CONT.HOOK.INDEX.SF prop ] ] >,
; NON-LOCAL.QUE.LIST < > ] ].
; TODO 05.10.21: use the types generated by the grammar matrix from choices file 178
;que-cl-verb-lex := fin-cl-verb-lex & clausal-nom-verb-lex & clausal-second-arg-trans-lex-item &
; [ SYNSEM [ LOCAL.CAT.VAL.COMPS < [ LOCAL [ CAT [ HEAD comp &
; [ FORM finite ],
; WH.BOOL - ],
; CONT.HOOK.INDEX.SF prop ] ] >,
; NON-LOCAL.QUE.LIST < > ] ].
; This conflicts with the specifications of the verb types, where the CP complement form is the form of the complementizer
; fin-cl-verb-lex := noninh-refl-verb-lex & [ SYNSEM.LOCAL.CAT.VAL.COMPS.FIRST.LOCAL.CAT.HEAD.FORM finite].
inf-cl-rec-verb-lex := noninh-refl-verb-lex & clausal-nom-rec-verb-lex & clausal-third-arg-ditrans-lex-item &
[ SYNSEM [ LOCAL.CAT.VAL.COMPS.REST.FIRST [ LOCAL [ CAT [ HEAD verb &
[ FORM infl_infinitive ],
WH.BOOL - ],
CONT.HOOK.INDEX.SF prop ] ] ,
NON-LOCAL.QUE.LIST < > ] ].
;ditrans-second-arg-raising-verb-lex := main-verb-lex & noninh-refl-verb-lex & ditrans-second-arg-raising-lex-item &
; [ SYNSEM.LOCAL [ CAT.VAL [ SPEC < >,
; COMPS < #comp1, #comp2 >,
; SUBJ < #subj > ] ],
; ARG-ST < #subj &
; [ LOCAL.CAT [ HEAD noun &
; [ CASE nom ],
; VAL [ SUBJ < >,
; SPR < >,
; SPEC < >,
; COMPS < > ] ] ],
; #comp1 &
; [ LOCAL.CAT [ VAL [ SPR < >,
; COMPS < > ],
; HEAD noun & [ CASE acc ] ] ],
;
; #comp2 &
; [ LOCAL.CAT [ VAL [ SUBJ < unexpressed >,
; COMPS < >,
; SPR < >,
; SPEC < > ],
; HEAD verb ] ] > ].
; TODO 23.11.21: create more mnemonic names for second argument control verbs governing a CP and a VP
; the present terminology is confusing
; verbs like "forçar alguém a fazer algo" and corresponding supertypes should be cl-ditrans...
; verbs like "mandar alguém fazer algo" and corresponding supertypes should be ditrans...
; see solution adopted for object raising verbs (09.12.21)
; a professora mandou os alunos terminarem a tarefa
; a professora mandou os alunos terminar a tarefa
bare-inf-ditrans-second-arg-control-verb-lex := nonpast-nonfin-ditrans-second-arg-control-verb-lex & [ ARG-ST.REST.REST.FIRST.LOCAL.CAT.HEAD.FORM infl-or-not-infinitive].
;comp-ditrans-second-arg-raising-verb-lex := main-verb-lex & noninh-refl-verb-lex & ditrans-second-arg-raising-lex-item &
; [ SYNSEM.LOCAL [ CAT.VAL [ SPEC < >,
; COMPS < #comp1, #comp2 >,
; SUBJ < #subj > ] ],
; ARG-ST < #subj &
; [ LOCAL.CAT [ HEAD noun &
; [ CASE nom ],
; VAL [ SUBJ < >,
; SPR < >,
; SPEC < >,
; COMPS < > ] ] ],
; #comp1 &
; [ LOCAL.CAT [ VAL [ SPR < >,
; COMPS < > ],
; HEAD noun & [ CASE acc ] ] ],
;
; #comp2 &
; [ LOCAL.CAT.HEAD comp & [FORM infl-or-not-infinitive ] ] > ].
; a estudante impediu o artista de matar a ratazana
ditrans-second-arg-raising-verb-lex := main-verb-lex & noninh-refl-verb-lex & ditrans-second-arg-raising-lex-item &
[ SYNSEM.LOCAL [ CAT.VAL [ SPEC < >,
COMPS < #comp1, #comp2 >,
SUBJ < #subj > ] ],
ARG-ST < #subj &
[ LOCAL.CAT [ HEAD noun &
[ CASE nom ],
VAL [ SUBJ < >,
SPR < >,
SPEC < >,
COMPS < > ] ] ],
#comp1 &
[ LOCAL.CAT [ VAL [ SPR < >,
COMPS < > ],
HEAD noun & [ CASE acc ] ] ],
#comp2 > ].
vp-third-arg-ditrans-second-arg-raising-verb-lex := ditrans-second-arg-raising-verb-lex &
[ ARG-ST.REST.REST.FIRST [ LOCAL.CAT [ VAL [ SUBJ < unexpressed >,
COMPS < >,
SPR < >,
SPEC < > ],
HEAD verb ] ] ].
clause-third-arg-ditrans-second-arg-raising-verb-lex := ditrans-second-arg-raising-verb-lex &
[ ARG-ST.REST.REST.FIRST.LOCAL.CAT.HEAD comp & [FORM infl-or-not-infinitive ] ].
; a estudante fez o gato dormir
inf-ditrans-second-arg-raising-verb-lex := vp-third-arg-ditrans-second-arg-raising-verb-lex & [ ARG-ST.REST.REST.FIRST.LOCAL.CAT.HEAD.FORM infl-or-not-infinitive].
; a estudante impediu o gato dormir
de-ditrans-second-arg-raising-verb-lex := clause-third-arg-ditrans-second-arg-raising-verb-lex & [ ARG-ST.REST.REST.FIRST.LOCAL.CAT.HEAD.COMP-FORM de_comp ].
; TODO 21.12.21: create common supertype for this type or analogous types (see above)
a-que-cl-verb-lex := subj-cl-verb-lex & clausal-nom-verb-lex & clausal-second-arg-trans-lex-item &
[ SYNSEM [ LOCAL.CAT.VAL.COMPS < [ LOCAL [ CAT [ HEAD comp &
[ FORM a_que ],
WH.BOOL - ],
CONT.HOOK.INDEX.SF prop ] ] >,
NON-LOCAL.QUE.LIST < > ] ].
; correcting a missing constraint from matrix. For 'cachorro amarelo'
; we don't want wh question reading.
; head-adj-phrase :+
; [ SYNSEM.NON-LOCAL.QUE.LIST #que,
; NH-DTR.SYNSEM.NON-LOCAL.QUE.LIST #que ].
basic-adjective-lex :+
[ SYNSEM.NON-LOCAL [ SLASH.LIST < >,
QUE.LIST < >,
REL.LIST < > ] ].
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Additions for punctuation
;;
synsem-min :+
[ PUNCT punctuation-min ].
punct-hd := head & [ MOD < > ].
valence-punct := valence &
[ PCOMPS list ].
punct-word := word &
[ INFLECTED infl-satisfied,
SYNSEM [ LOCAL [ CAT [ HEAD punct-hd,
VAL [ SUBJ < >, SPR < >, SPEC < >, COMPS < >,
PCOMPS < expressed-synsem &
[ OPT - ] > ] ],
CONT [ HOOK.INDEX event-or-ref-index,
RELS.LIST < >,
HCONS.LIST < >,
ICONS.LIST < > ] ],
NON-LOCAL non-local-none ] ].
punct-mark := avm &
[ PSF iforce ].
punctuation-min := avm.
punctuation := punctuation-min &
[ LPUNCT punct-mark,
RPUNCT punct-mark ].
comma-or-clause := punct-mark.
comma-or-no-punct := punct-mark.
comma-punct := comma-or-clause & comma-or-no-punct.
clause-or-no-punct := punct-mark.
clause-punct := comma-or-clause & clause-or-no-punct.
no-punct := comma-or-no-punct & clause-or-no-punct.
lparen-punct := punct-mark.
rparen-punct := punct-mark.
punct-right-word := punct-word &
[ SYNSEM [ LOCAL.CAT.POSTHEAD +,
PUNCT [ LPUNCT no-punct,
RPUNCT punct-mark ] ] ].
punct-left-word := punct-word &
[ SYNSEM [ LOCAL.CAT.POSTHEAD -,
PUNCT [ LPUNCT punct-mark,
RPUNCT no-punct ] ] ].
punct-right-clause-word := punct-right-word &
[ SYNSEM [ LOCAL.CAT.VAL.PCOMPS < [ PUNCT.RPUNCT clause-or-no-punct ] >,
PUNCT.RPUNCT clause-punct ] ].
pt-comma-le := punct-right-word &
[ SYNSEM [ LOCAL.CAT.VAL.PCOMPS < [ PUNCT.RPUNCT no-punct ] >,
PUNCT.RPUNCT comma-punct ] ].
pt-rparen-le := punct-right-word &
[ SYNSEM [ LOCAL.CAT.VAL.PCOMPS < [ PUNCT.RPUNCT no-punct ] >,
PUNCT.RPUNCT rparen-punct ] ].
pt-lparen-le := punct-left-word &
[ SYNSEM [ LOCAL.CAT.VAL.PCOMPS < [ PUNCT.RPUNCT no-punct ] >,
PUNCT.LPUNCT lparen-punct ] ].
prop-or-comm := iforce.
prop := prop-or-ques & prop-or-comm.
comm := prop-or-comm.
pt-period-le := punct-right-clause-word &
[ SYNSEM.PUNCT.RPUNCT.PSF prop-or-comm ].
pt-qmark-le := punct-right-clause-word &
[ SYNSEM.PUNCT.RPUNCT.PSF ques ].
pt-bang-le := punct-right-clause-word &
[ SYNSEM.PUNCT.RPUNCT.PSF prop-or-comm ].
punct-phrase := word-or-lexrule &
[ SYNSEM lex-synsem &
[ LOCAL #local,