-
Notifications
You must be signed in to change notification settings - Fork 3
/
auxverbs.tdl
2910 lines (2557 loc) · 79.3 KB
/
auxverbs.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
;;; -*- Mode: tdl; Coding: utf-8; -*-
;;;
;;; Copyright (c) 1994-2018
;;; Dan Flickinger, Rob Malouf, Emily M. Bender
;;; see LICENSE for conditions
;;;
;;; auxverbs.tdl
;;;
;;; The auxiliary verb system for English
;;;
;;; Created: Rob Malouf, 17-Nov-1994
;;;
;;; $Id$
;; DPF 2020-05-07 - Moved VFORM fin to will_aux_word, so we can use this
;; type for non-finite (robust) verb types. Same for TAM indic_tam.
;; DPF 2021-06-09 - Push supertype basic_two_arg down to subtypes, to enable
;; robust copula taking base VP with or without gap, to get as robust both
;; "they were arrive" and "they were devour"
;; DPF 2021-06-24 - Removed recently added COMPS..SLASH *arglist* since it
;; blocks "tomorrow we will arise".
;;
will_aux_synsem := basic_aux_verb & ssr_subst &
[ LOCAL [ CAT [ HEAD [ AUX +,
PRD -,
MINORS [ MIN #min,
ALTMIN #altmin ] ],
POSTHD +,
VAL [ SUBJ < synsem &
[ LOCAL [ CAT nomp_cat_nom_min,
CONT.HOOK.LTOP #ltop,
CONJ cnil ],
OPT - ] >,
COMPS < synsem &
[ LOCAL [ CAT vp_cat &
[ HEAD verb &
[ VFORM fin_or_bse,
PRD -,
MINORS.ALTMIN #altmin ]],
CONT.HOOK.LTOP #ltop,
CONJ cnil ],
OPT - ] > ] ] ],
LKEYS.KEYREL [ LBL #ltop,
PRED #min ] ].
will_aux_word := aux_verb_word_super &
[ SYNSEM.LOCAL.CAT.HEAD [ VFORM fin,
TAM indic_tam ] ].
;; DPF 2016-12-02 - Generalized COMPS.FIRST from canonical_synsem to
;; canonical_or_unexpressed, so ellipsis rule can require unexpressed
;;
basic_will_aux_pos_synsem := will_aux_synsem & basic_two_arg &
[ LOCAL [ CAT.VAL.COMPS < canonical_or_unexpressed &
[ LOCAL.CONT.HOOK [ LTOP #hand,
INDEX #event ] ] >,
CONT [ HOOK [ LTOP #hand,
INDEX #event ],
RELS <! !>,
HCONS <! !>,
ICONS <! !> ] ],
LKEYS.KEYREL.LBL #hand ].
will_aux_pos_synsem := basic_will_aux_pos_synsem &
[ LOCAL [ CAT [ HEAD.TAM.TENSE #tense,
VAL.COMPS.FIRST.LOCAL.CAT vp_bse_unspec_cat ],
CONT.HOOK.INDEX.E.TENSE #tense ] ].
will_aux_pos_lex_e := will_aux_word &
[ SYNSEM will_aux_pos_synsem ].
;; DPF 2016-12-02 - Generalized COMPS.FIRST from canonical_synsem to
;; canonical_or_unexpressed, so ellipsis rule can require unexpressed
;;
will_aux_inv_synsem := basic_two_arg & basic_verb_synsem &
[ LOCAL [ CAT [ HEAD [ AUX -,
VFORM fin,
TAM #tam,
MINORS.MIN v_event_rel ],
VAL [ SUBJ < canonical_synsem &
[ --MIN independent_rel,
LOCAL [ CAT basic_prd_cat &
[ HEAD v_or_a_or_p &
[ MOD < anti_synsem &
[ --SIND #sind ] >,
AUX - ],
VAL.SUBJ *olist* ],
CONT.HOOK
[ INDEX event & #event,
XARG #sind & individual_min ] ],
OPT - ] >,
SPR < anti_synsem_min >,
COMPS < canonical_or_unexpressed &
[ LOCAL [ CAT vp_bse_unspec_cat &
[ VAL.SUBJ
< [ LOCAL.CAT basic_prd_cat &
[ HEAD.AUX - ]]>],
CONJ cnil,
CONT.HOOK [ LTOP #hand,
XARG #sind ] ],
OPT -,
--SIND #xarg ] > ] ],
CONT [ HOOK [ LTOP #hand,
INDEX #event & [ E #tam ],
XARG #xarg ],
RELS <! !>,
HCONS <! !>,
ICONS <! !> ] ] ].
; inverted `will': "also included will be cats"
v_vp_will-inv_le := aux_verb_word_super &
"""
Only aux `will', inverted
<ex>Also included will be C.
"""
[ INFLECTD +,
SYNSEM will_aux_inv_synsem ].
will_aux_pos_norm_synsem := will_aux_pos_synsem &
[ LOCAL.CAT [ HEAD.TAM [ TENSE future,
MOOD indicative ],
VAL.COMPS < [ LOCAL.CAT vp_bse_unspec_cat &
[ HEAD.TAM.MOOD indicative ] ] > ] ].
v_vp_will-p_le := will_aux_pos_lex_e &
"""
Cmps VP(bse), aux, pos
<ex>B will sing.
"""
[ INFLECTD +,
SYNSEM will_aux_pos_norm_synsem ].
v_vp_will-p-cx_le := will_aux_pos_lex_e & contracted_aux_word &
"""
Cmps VP(bse), aux, pos contract
<ex>B'll sing.
"""
[ SYNSEM will_aux_pos_norm_synsem ].
basic_will_aux_neg_synsem := will_aux_synsem &
[ LOCAL [ CAT [ HEAD.TAM [ MOOD indicative ],
VAL.COMPS.FIRST.LOCAL [ CAT.HEAD.TAM.MOOD indicative,
CONT.HOOK.LTOP #chand ] ],
CONT [ HOOK [ LTOP #ltop,
INDEX #nevent ],
RELS <! #alt2keyrel & arg01_relation &
[ LBL #ltop,
PRED neg_rel,
ARG0 #nevent,
ARG1 #arghand ] !>,
HCONS <! qeq & [ HARG #arghand,
LARG #chand ] !>,
ICONS <! !> ] ],
LKEYS.ALT2KEYREL #alt2keyrel ].
will_aux_neg_synsem := basic_will_aux_neg_synsem & basic_two_arg &
[ LOCAL [ CAT [ HEAD.TAM.TENSE #tense & future,
VAL.COMPS.FIRST.LOCAL.CAT vp_bse_unspec_cat &
[ HEAD.TAM.TENSE #tense ] ],
CONT.HOOK.INDEX.E.TENSE #tense ] ].
va_will_neg_lexent := will_aux_word &
[ INFLECTD +,
SYNSEM will_aux_neg_synsem ].
;; DPF 2016-12-02 - Generalized COMPS.FIRST from canonical_synsem to
;; canonical_or_unexpressed, so ellipsis rule can require unexpressed
;;
v_vp_will-n_le := va_will_neg_lexent &
"""
Cmps VP(bse), aux, neg contract
<ex>B won't sing.
"""
[ SYNSEM.LOCAL.CAT.VAL.COMPS.FIRST canonical_or_unexpressed ].
v_vp_will-n-niv_le := va_will_neg_lexent & aux_not_contr
"""
Cmps VP(bse), aux, neg c, no inv, no overt complement
<ex>B'll not.
"""
.
;;; Modal verbs
v_vp_mdl-p_lexent := modal_pos_indic_lexent &
[ INFLECTD +,
SYNSEM.LOCAL.CAT.HEAD.TAM.TENSE present ].
v_vp_mdl-p_le := v_vp_mdl-p_lexent
"""
Cmps VP(bse), modal, pos
<ex>B can sing.
"""
.
v_vp_must-p_le := modal_pos_indic_lexent &
"""
Cmps VP(bse), must, pos
<ex>B must sing.
"""
[ INFLECTD +,
SYNSEM.LOCAL.CAT.HEAD.TAM.TENSE present,
ALTS.ADVADD - ].
v_vp_mdl-p-cx_le := modal_pos_indic_lexent & contracted_aux_word
"""
Cmps VP(bse), aux, pos contract
<ex>B'd sing.
"""
.
; could
v_vp_mdl-p-pst_le := modal_pos_lex_ent &
"""
Cmps VP(bse), modal, pos, past
<ex>B could sing yesterday.
"""
[ INFLECTD +,
SYNSEM.LOCAL.CAT.HEAD.TAM.TENSE past,
ALTS.CSAI - ].
; would - unsp for MOOD
;; DPF 2017-09-27 - Also underspecify for tense.
;;
v_vp_mdl-p-unsp_le := modal_pos_lex_ent &
"""
Cmps VP(bse), modal, pos,unsp md
<ex>B would sing tomorrow.
"""
[ INFLECTD +,
ALTS.CSAI - ].
v_vp_mdl-p-niv_lexent := modal_pos_indic_lexent &
[ INFLECTD +,
SYNSEM.LOCAL.CAT.HEAD [ TAM.TENSE present,
INV - ] ].
v_vp_mdl-p-niv_le := v_vp_mdl-p-niv_lexent
"""
Cmps VP(bse), modal, pos, no inv
<ex>B better go.
"""
.
v_vp_mdl-p-sv_le := modal_pos_lex_ent &
"""
Cmps VP(bse), modal, pos, sbjctv
<ex>B might sing.
"""
[ INFLECTD +,
SYNSEM.LOCAL.CAT.HEAD.TAM.TENSE present ].
v_vp_oght-p_le := pos_ought_verb_word & add_cont &
"""
Cmps VP(inf), modal, pos
<ex>B ought to sing.
"""
[ SYNSEM.LOCAL.CAT.HEAD.TAM.TENSE present ].
v_vp_oght-p-pst_le := past_ought_verb_word & add_cont &
"""
Cmps VP(inf), modal, pos, past
<ex>B used to sing.
"""
[ INFLECTD +,
ALTS [ SAI -, CSAI - ],
SYNSEM.LOCAL.CAT.HEAD.TAM.TENSE past ].
v_vp_qsmd_le := quasimodal_word &
"""
Cmps VP(inf), quasi-modal
<ex>B is going to sing.
"""
[ SYNSEM.LOCAL.CAT.HEAD [ VFORM prp,
PRD + ] ].
v_vp_qsmd-psp_le := quasimodal_psp_word
"""
Cmps VP(inf), quasi-modal, psp
<ex>B has got to sing.
"""
.
v_vp_qsmd-psp-bse_le := quasimodal_psp_bse_word
"""
Cmps VP(bse), quasi-modal, psp
<ex>B has gotta sing.
"""
.
;; Block from nom-gerund rule
;;
v_vp_qsmd-bse_le := quasimodal_bse_word &
"""
Cmps VP(bse), quasi-modal
<ex>B is gonna sing.
"""
[ SYNSEM.LOCAL.CAT.HEAD [ VFORM prp,
PRD + ],
ALTS.NGER - ].
; 'didn't he used to sing?'
v_vp_nfin-mod_lexent := nonfin_modal_word.
v_vp_nfin-mod_le := v_vp_nfin-mod_lexent
"""
Cmps VP(inf), s-s-rais, nonfin
<ex>Didn't C used to sing?
"""
.
generic_modal_neg_basic_synsem := aux_verb_ssr &
[ LOCAL [ CONT [ RELS <! #alt2keyrel & adv_relation &
[ PRED neg_rel,
ARG1 #narghand ],
#keyrel !>,
HCONS <! qeq &
[ HARG #arghand ],
qeq &
[ HARG #narghand ] !> ] ],
LKEYS [ KEYREL #keyrel &
[ PRED modal_rel,
ARG0 non_conj_event,
ARG1 #arghand ],
ALT2KEYREL #alt2keyrel ] ].
generic_modal_neg_basic := aux_verb_word_super &
[ INFLECTD +,
SYNSEM generic_modal_neg_basic_synsem,
ALTS.CSAI - ].
generic_modal_neg_super_synsem := generic_modal_neg_basic_synsem &
[ LOCAL [ CAT.VAL.KCMP.LOCAL.CONT.HOOK.LTOP #chand,
CONT [ HOOK.LTOP #ltop,
RELS <! [ LBL #ltop ], relation !>,
HCONS <! [ LARG #chand ],
[ LARG #khand ] !> ] ],
LKEYS.KEYREL.LBL #khand ].
generic_modal_neg_super := generic_modal_neg_basic &
[ SYNSEM generic_modal_neg_super_synsem ].
must_modal_neg_synsem := generic_modal_neg_basic_synsem &
[ LOCAL [ CAT.VAL.KCMP.LOCAL.CONT.HOOK.LTOP #chand,
CONT [ HOOK.LTOP #khand,
RELS <! [ LBL #neghand ], relation !>,
HCONS <! [ LARG #neghand ],
[ LARG #chand ] !> ] ],
LKEYS.KEYREL.LBL #khand ].
must_modal_neg := generic_modal_neg_basic &
[ SYNSEM must_modal_neg_synsem ].
generic_modal_neg := generic_modal_neg_super & aux_verb_word &
[ SYNSEM.LOCAL.CAT.POSTHD + ].
modal_neg_synsem := modal_verb_synsem & generic_modal_neg_super_synsem.
va_modal_neg_lexent := modal_verb_word & generic_modal_neg &
[ SYNSEM modal_neg_synsem &
[ LKEYS.KEYREL.PRED modal_rel ] ].
must_neg_synsem := generic_modal_verb_super_synsem & must_modal_neg_synsem &
bse_aux_verb_ssr &
[ LOCAL [ CAT [ HEAD [ PRD -,
VFORM fin ],
POSTHD +,
VAL [ SUBJ < synsem & [ LOCAL [ CAT nomp_cat_nom_min,
CONJ cnil ],
--SIND basic_non_event,
OPT - ] >,
COMPS.FIRST [ LOCAL.CAT vp_bse_cat,
--SIND.SF basic-prop ] ] ],
CONT psoa ],
LKEYS.KEYREL.PRED modal_rel ].
va_must_neg_lexent := generic_modal_verb_word_super & must_modal_neg &
bse_aux_verb_word &
[ SYNSEM must_neg_synsem ].
;; DPF 2016-12-02 - Generalized COMPS.FIRST from canonical_synsem to
;; canonical_or_unexpressed, so ellipsis rule can require unexpressed
;;
v_vp_mdl-n_le := va_modal_neg_lexent &
"""
Cmps VP(bse), modal, neg-cntrct
<ex>B can't sing.
"""
[ SYNSEM.LOCAL.CAT [ HEAD.TAM.TENSE present,
VAL.COMPS.FIRST canonical_or_unexpressed ] ].
;; DPF 2016-12-02 - Generalized COMPS.FIRST from canonical_synsem to
;; canonical_or_unexpressed, so ellipsis rule can require unexpressed
;;
v_vp_must-n_le := va_must_neg_lexent &
"""
Cmps VP(bse), modal must, neg-cntrct (idiosyncratic scope)
<ex>B mustn't sing.
"""
[ SYNSEM.LOCAL.CAT [ HEAD.TAM.TENSE present,
VAL.COMPS.FIRST canonical_or_unexpressed ] ].
;; DPF 2016-12-02 - Generalized COMPS.FIRST from canonical_synsem to
;; canonical_or_unexpressed, so ellipsis rule can require unexpressed
;;
; couldn't
v_vp_mdl-n-pst_le := va_modal_neg_lexent &
"""
Cmps VP(bse), modal, neg-c, past
<ex>B couldn't sing.
"""
[ SYNSEM.LOCAL.CAT [ HEAD.TAM.TENSE past,
VAL.COMPS.FIRST canonical_or_unexpressed ] ].
; "'d better not"
v_vp_mdl-n-niv_le := va_modal_neg_lexent & aux_not_contr &
"""
Cmps VP(bse), modal,neg-c,no inv, no overt comp
<ex>B'd better not.
"""
[ SYNSEM.LOCAL.CAT.HEAD.TAM.TENSE present ].
modal_neg_verb_synsem := modal_verb_synsem & generic_modal_neg_super_synsem.
;; DPF 2016-12-02 - Generalized COMPS.FIRST from canonical_synsem to
;; canonical_or_unexpressed, so ellipsis rule can require unexpressed
;;
v_vp_mdl-n-sv_le := modal_verb_word & generic_modal_neg &
"""
Cmps VP(bse), modal, neg-c
<ex>B shouldn't sing.
"""
[ SYNSEM.LOCAL.CAT [ HEAD [ TAM.TENSE present ],
VAL.COMPS.FIRST canonical_or_unexpressed ] ].
ought_verb_neg_synsem := ought_verb_synsem & generic_modal_neg_super_synsem.
v_vp_oght-n_le := ought_verb_word & generic_modal_neg_super &
"""
Cmps VP(inf), modal, neg-c
<ex>B oughtn't to sing.
"""
[ SYNSEM.LOCAL.CAT.HEAD [ TAM.TENSE present ] ].
; *** Auxiliary DO ***
; For tag questions we need the MIN of auxiliary _do_ to match all main verbs.
; The supertype for this is v_event_rel. Originally, it had been no_rel, to
; block _do_'s being a complement of other auxiliaries. On the hypothesis
; that auxiliary _do_ in fact lacks a non-finite form all together, the
; do_aux_word type is constrained to VFORM fin.
;; DPF 2016-12-02 - Generalized COMPS.FIRST from canonical_synsem to
;; canonical_or_unexpressed, so ellipsis rule can require unexpressed
;;
; 2020-12-10
#|
basic_do_aux_synsem := ssr_two_arg_verb &
[ LOCAL [ CAT [ HEAD [ AUX +,
TAM [ TENSE #tense,
ASPECT #aspect,
MOOD indicative ],
MINORS.MIN nonaux_event_rel ],
VAL [ SUBJ < synsem &
[ OPT -,
LOCAL [ CAT nomp_cat_nom_min &
[ HEAD.MINORS #minors ],
CONJ cnil ] ] >,
COMPS < canonical_or_unexpressed &
[ LOCAL [ CAT vp_cat &
[ VAL.SUBJ.FIRST.LOCAL.CAT.HEAD
[ MINORS #minors ] ],
CONT.HOOK [ LTOP #cltop,
INDEX #index &
[ E [ TENSE #tense,
ASPECT #aspect ]]],
CONJ cnil ],
--SIND #index,
OPT - ] > ],
POSTHD + ],
CONT psoa & [ HOOK.INDEX #index & [ E.MOOD indicative ] ] ],
LKEYS.KEYREL [ LBL #cltop,
PRED mod_role_rel,
ARG0 #index ] ].
|#
basic_do_aux_synsem := ssr_two_arg_verb &
[ LOCAL [ CAT [ HEAD [ AUX +,
TAM [ TENSE #tense,
ASPECT #aspect,
MOOD indicative ],
MINORS.MIN nonaux_event_rel ],
VAL [ SUBJ < synsem &
[ OPT -,
LOCAL [ CAT nomp_cat_nom_min &
[ HEAD.MINORS #minors ],
CONJ cnil ] ] >,
COMPS < canonical_or_unexpressed &
[ LOCAL [ CAT vp_cat &
[ VAL.SUBJ.FIRST.LOCAL.CAT.HEAD
[ MINORS #minors ] ],
CONT.HOOK [ LTOP #cltop,
INDEX #index &
[ E [ TENSE #tense,
ASPECT #aspect ]]],
CONJ cnil ],
--SIND #index,
OPT - ] > ],
POSTHD + ],
CONT psoa & [ HOOK.INDEX [ E.MOOD indicative ] ] ],
LKEYS.KEYREL [ LBL #cltop,
PRED mod_role_rel ] ].
do_aux_synsem := basic_do_aux_synsem &
[ LOCAL.CAT.VAL.COMPS.FIRST [ --MIN nonaux_event_rel,
LOCAL.CAT vp_bse_unspec_cat &
[ HEAD.AUX - ] ] ].
do_aux_word := noncqr-hm &
[ INFLECTD +,
SYNSEM do_aux_synsem,
ALTS.CSAI - ].
; Removed raise-cont from parents, to allow ARG0 to not be identified with the
; comp-dtr's ARG0 - is in conflict with collapsing of base and fin-non3rdsg
; forms, given that we encode VIT attributes in the event feature structure.
; Sample problem: "Kim does sleep"
; DPF 6-Feb-02 - Changed MOOD indicative to indicative* in order to support
; coordination of e.g. yes-no questions and modal_subj declaratives. Same in
; type do_aux_neg_pres.
; DPF 13-Mar-02 - But this allowed "want" version of "like" to be complement.
; So instead make do_aux_word stamp indicative* for its own MOOD, and not
; copy it up from complement dtr. Then require complement dtr to be simply
; MOOD indicative. And by the way broke link from "do" to bse_aux_verb_word
; which insists on making the aux verb's TAM identical to its INDEX, which we
; can't have for "do".
; 2020-12-10
#|
basic_do_fin_synsem := basic_do_aux_synsem &
[ LOCAL local &
[ CAT [ HEAD [ VFORM fin,
PRD - ],
VAL [ SUBJ < [ OPT -,
LOCAL.CONT.HOOK.LTOP #hand ] >,
COMPS.FIRST.LOCAL.CONT.HOOK.LTOP #hand ] ],
CONT [ HOOK.LTOP #hand,
RELS <! !>,
HCONS <! !>,
ICONS <! !> ] ] ].
|#
basic_do_fin_synsem := basic_do_aux_synsem &
[ LOCAL local &
[ CAT [ HEAD [ VFORM fin,
PRD - ],
VAL [ SUBJ < [ OPT -,
LOCAL.CONT.HOOK.LTOP #hand ] >,
COMPS.FIRST.LOCAL.CONT.HOOK [ LTOP #hand,
INDEX #event ] ] ],
CONT [ HOOK [ LTOP #hand,
INDEX #event ],
RELS <! !>,
HCONS <! !>,
ICONS <! !> ] ] ].
do_fin_synsem := basic_do_fin_synsem & do_aux_synsem.
do_fin := do_aux_word & raise_cont &
[ SYNSEM do_fin_synsem ].
; 2020-12-10
#|
basic_do_aux_neg_synsem := basic_do_aux_synsem &
[ LOCAL [ CAT [ HEAD [ PRD -,
VFORM fin ],
VAL [ SUBJ.FIRST.LOCAL.CONT.HOOK.LTOP #chand,
COMPS.FIRST.LOCAL.CONT.HOOK.LTOP #chand ] ],
CONT [ HOOK.LTOP #ltop,
RELS <! #alt2keyrel & adv_relation &
[ LBL #ltop,
PRED neg_rel,
ARG1 #arghand ] !>,
HCONS <! qeq &
[ HARG #arghand,
LARG #chand ] !>,
ICONS <! !> ] ],
LKEYS.ALT2KEYREL #alt2keyrel ].
|#
basic_do_aux_neg_synsem := basic_do_aux_synsem &
[ LOCAL [ CAT [ HEAD [ PRD -,
VFORM fin ],
VAL [ SUBJ.FIRST.LOCAL.CONT.HOOK.LTOP #chand,
COMPS.FIRST.LOCAL.CONT.HOOK.LTOP #chand ] ],
CONT [ HOOK [ LTOP #ltop,
INDEX #nevent ],
RELS <! #alt2keyrel & arg01_relation &
[ LBL #ltop,
PRED neg_rel,
ARG0 #nevent,
ARG1 #arghand ] !>,
HCONS <! qeq &
[ HARG #arghand,
LARG #chand ] !>,
ICONS <! !> ] ],
LKEYS.ALT2KEYREL #alt2keyrel ].
do_aux_neg_synsem := basic_do_aux_neg_synsem & do_aux_synsem.
do_aux_neg_word := do_aux_word &
[ SYNSEM do_aux_neg_synsem ].
;; DPF 2018-12-04 - Changed identity of concord and agreement, moving
;; SUBJ..--SIND.PNG to SUBJ..AGR.PNG, to allow *the majority of cats sleep*.
;;
basic_do_pres_synsem := basic_do_fin_synsem &
[ LOCAL [ CAT [ HEAD.TAM indic_tam &
[ TENSE present,
ASPECT no_aspect ],
VAL.SUBJ < [ LOCAL.AGR.PNG #png ] > ],
AGR.PNG #png ] ].
do_pres_synsem := basic_do_pres_synsem & do_fin_synsem.
do_pres := do_fin &
[ SYNSEM do_pres_synsem ].
;; DPF 2018-12-04 - Moved SUBJ..PN -3s to AGR since sem.agreement was blocking
;; *the majority of cats sleep*, where AGR does the job of ensuring agreement.
;;
v_vp_does_le := do_pres &
"""
Cmps VP(bse), do, pres 3sg
<ex>B does not sing.
"""
[ SYNSEM.LOCAL.AGR.PNG png & [ PN 3s ] ].
v_vp_do-f_le := do_pres &
"""
Cmps VP(bse), do, pres non3sg
<ex>We do not sing.
"""
[ SYNSEM.LOCAL.AGR.PNG png & [ PN -3s ] ].
v_vp_did_le := do_fin &
"""
Cmps VP(bse), do, past
<ex>B did not sing.
"""
[ SYNSEM.LOCAL.CAT.HEAD [ TAM past_or_subj_tam ] ].
do_aux_neg_pres := do_aux_neg_word &
[ SYNSEM.LOCAL.CAT.HEAD.TAM indic_tam &
[ TENSE present,
ASPECT no_aspect ] ].
v_vp_did-n_le := do_aux_neg_word &
"""
Cmps VP(bse), do, neg-c, past
<ex>B didn't sing.
"""
[ SYNSEM.LOCAL.CAT.HEAD.TAM past_or_subj_tam ].
; ERB (31-03-97) The agreement on do, but not have and be, was previously
; taken care of in lexicon.tdl. I am making these types to move that
; information here for symmetry. The rest of the do paradigm seems
; to be generated by lexical rules, so these two are the only types.
v_vp_does-n_le := do_aux_neg_pres &
"""
Cmps VP(bse), do, neg-c, pres3sg
<ex>B doesn't sing.
"""
[ SYNSEM.LOCAL.AGR.PNG png & [ PN 3s ] ].
v_vp_do-f-n_le := do_aux_neg_pres &
"""
Cmps VP(bse), do, neg-c,pr n3sg
<ex>We don't sing.
"""
[ SYNSEM.LOCAL.AGR.PNG png & [ PN -3s ] ].
; *** Perfect HAVE ***
; 2020-12-10
#|
basic_have_aux_verb_synsem := aux_verb_ssr &
[ LOCAL [ CAT.VAL.COMPS.FIRST.LOCAL.CONT.HOOK.INDEX #index,
CONT.HOOK [ LTOP #lbl,
INDEX #index ] ],
LKEYS.KEYREL [ PRED have_aux_rel,
LBL #lbl ] ].
|#
basic_have_aux_verb_synsem := aux_verb_ssr &
[ LOCAL [ CONT.HOOK [ LTOP #lbl ] ],
LKEYS.KEYREL [ PRED have_aux_rel,
LBL #lbl ] ].
have_aux_verb_synsem := basic_have_aux_verb_synsem & psp_aux_verb_ssr &
[ LOCAL.CAT.HEAD.TAM.ASPECT.PRF + ].
have_aux_word := psp_aux_verb_word &
[ SYNSEM have_aux_verb_synsem ].
;; DPF 2016-12-02 - Generalized COMPS.FIRST from canonical_synsem to
;; canonical_or_unexpressed, so ellipsis rule can require unexpressed
;;
; 2020-12-10
#|
have_aux_pos_synsem := have_aux_verb_synsem &
[ LOCAL [ CAT.VAL.COMPS < canonical_or_unexpressed &
[ LOCAL.CONT.HOOK.LTOP #hand ] >,
CONT [ HOOK.LTOP #hand,
RELS <! !>,
HCONS <! !>,
ICONS <! !> ] ] ].
|#
have_aux_pos_synsem := have_aux_verb_synsem &
[ LOCAL [ CAT.VAL.COMPS < canonical_or_unexpressed &
[ LOCAL.CONT.HOOK [ LTOP #hand,
INDEX #event ] ] >,
CONT [ HOOK [ LTOP #hand,
INDEX #event ],
RELS <! !>,
HCONS <! !>,
ICONS <! !> ] ] ].
have_aux_pos_lex_entry := have_aux_word &
[ SYNSEM have_aux_pos_synsem ].
;; DPF 2022-05-16 - Constrain COMPS.FIRST to non_canonical to allow
;; contracted negated auxiliaries to appear either with no complement (elided)
;; or with gapped complement, to get both "We'll not." and "A genius, he's not."
;; while avoiding redundant analysis of "He's not a cat."
;;
aux_not_contr := sign &
[ SYNSEM.LOCAL.CAT [ HEAD.INV -,
VAL.COMPS.FIRST non_canonical & [ OPT - ] ] ].
; 2020-12-10
#|
have_aux_neg_synsem := have_aux_verb_synsem &
[ LOCAL [ CAT [ HEAD [ VFORM fin,
PRD - ],
POSTHD +,
VAL [ SUBJ < [ OPT - ] >,
COMPS.FIRST.LOCAL.CONT.HOOK.LTOP #chand ] ],
CONT [ HOOK.LTOP #ltop,
RELS <! #alt2keyrel & adv_relation &
[ LBL #ltop,
PRED neg_rel,
ARG1 #arghand ] !>,
HCONS <! qeq &
[ HARG #arghand,
LARG #chand ] !>,
ICONS <! !> ] ],
LKEYS.ALT2KEYREL #alt2keyrel ].
|#
have_aux_neg_synsem := have_aux_verb_synsem &
[ LOCAL [ CAT [ HEAD [ VFORM fin,
PRD - ],
POSTHD +,
VAL [ SUBJ < [ OPT - ] >,
COMPS.FIRST.LOCAL.CONT.HOOK.LTOP #chand ] ],
CONT [ HOOK [ LTOP #ltop,
INDEX #nevent ],
RELS <! #alt2keyrel & arg01_relation &
[ LBL #ltop,
PRED neg_rel,
ARG0 #nevent,
ARG1 #arghand ] !>,
HCONS <! qeq &
[ HARG #arghand,
LARG #chand ] !>,
ICONS <! !> ] ],
LKEYS.ALT2KEYREL #alt2keyrel ].
have_aux_neg_lex_entry := have_aux_word &
[ INFLECTD +,
SYNSEM have_aux_neg_synsem,
ALTS.CSAI - ].
have_fin_synsem := have_aux_verb_synsem &
[ LOCAL local &
[ CAT [ HEAD [ VFORM fin,
PRD - ],
POSTHD +,
VAL.SUBJ < synsem &
[ LOCAL [ CAT nomp_cat_nom_min,
CONJ cnil ],
OPT - ] > ],
CONT psoa ]].
have_fin := have_aux_word &
[ SYNSEM have_fin_synsem ].
have_pres := have_fin &
[ SYNSEM.LOCAL.CAT.HEAD.TAM indic_tam &
[ TENSE present,
ASPECT.PRF + ],
ALTS.CSAI - ].
have_past := have_fin &
[ SYNSEM.LOCAL.CAT.HEAD.TAM [ TENSE past,
ASPECT.PRF +,
MOOD indicative ],
ALTS.CSAI - ].
;; DPF 2016-12-02 - Generalized COMPS.FIRST from canonical_synsem to
;; canonical_or_unexpressed, so ellipsis rule can require unexpressed
;;
have_subj := have_fin &
[ SYNSEM.LOCAL.CAT [ HEAD.TAM subjnct_tam &
[ ASPECT.PRF +,
MOOD subjunctive ],
VAL.COMPS.FIRST canonical_or_unexpressed ] ].
;; We make "having" be [PRD -] to block "Kim is having fallen" and (the
;; restrictive reading of) "The book having fallen is red". We will also
;; exclude possibly grammatical examples like "anyone having seen that movie"
;; but there are no attested instances of these in the full BNC.
;; DPF 29-oct-06 - Remove this PRD - constraint, since it also blocks
;; depictives as in "We left, having finished." Instead, block "is having"
;; by adding NORM no_rel. Maybe FIX?
v_vp_have-prp_le := have_aux_pos_lex_entry &
"""
Cmps VP(psp), have, prp
<ex>Having sung, B left.
"""
[ INFLECTD +,
SYNSEM.LOCAL.CAT.HEAD [ VFORM prp,
TAM.ASPECT.PROGR +,
MINORS.NORM no_rel ] ].
va_have_bse_lexent := have_aux_pos_lex_entry &
[ SYNSEM.LOCAL [ CAT [ HEAD [ PRD -,
VFORM bse_only,
TAM.ASPECT.PRF + ],
VAL.SUBJ < unexpressed >,
POSTHD + ],
CONT psoa ] ].
v_vp_have-bse_le := va_have_bse_lexent &
"""
Cmps VP(psp), have, bse
<ex>B will have sung.
"""
[ INFLECTD + ].
v_vp_have-bse-cx_le := va_have_bse_lexent & contracted_aux_word
"""
Cmps VP(psp), have, bse, contr
<ex>We would've sung.
"""
.
has_aux_lex_ent := have_aux_pos_lex_entry & have_pres &
[ SYNSEM.LOCAL.CAT.VAL.SUBJ < synsem &
[ LOCAL.AGR.PNG png & [ PN 3s ] ] > ].
v_vp_has_le := has_aux_lex_ent &
"""
Cmps VP(psp), have, 3sg
<ex>B has sung.
"""
[ INFLECTD + ].
v_vp_has-cx_le := has_aux_lex_ent & contracted_aux_word
"""
Cmps VP(psp), have, 3sg, contr
<ex>B's sung.
"""
.
have_fin_aux_lex_ent := have_aux_pos_lex_entry & have_pres &
[ SYNSEM.LOCAL.AGR.PNG png & [ PN -3s ] ].
v_vp_have-f_le := have_fin_aux_lex_ent &
"""
Cmps VP(psp), have, n3sg
<ex>We have sung.
"""
[ INFLECTD + ].
v_vp_have-f-cx_le := have_fin_aux_lex_ent & contracted_aux_word
"""
Cmps VP(psp), have, n3sg, contr
<ex>We've sung.
"""
.
have_pos_fin_synsem := have_aux_pos_synsem & have_fin_synsem.
had_aux_lex_ent := have_aux_pos_lex_entry & have_past &
[ SYNSEM have_pos_fin_synsem ].
v_vp_had-sv_le := have_aux_pos_lex_entry & have_subj &
"""
Cmps VP(psp), have, subjtv
<ex>If we had sung, B would've
"""
[ INFLECTD +,
SYNSEM have_pos_fin_synsem ].
v_vp_had_le := had_aux_lex_ent &
"""
Cmps VP(psp), have, past
<ex>B had sung.
"""
[ INFLECTD + ].
v_vp_had-cx_le := had_aux_lex_ent & contracted_aux_word
"""
Cmps VP(psp), have, past, contr
<ex>B'd sung already.
"""
.
;; DPF 2016-12-02 - Generalized COMPS.FIRST from canonical_synsem to
;; canonical_or_unexpressed, so ellipsis rule can require unexpressed
;;
v_vp_has-n_le := have_aux_neg_lex_entry & have_pres &
"""
Cmps VP(psp), have, 3sg, neg-c
<ex>B hasn't sung.
"""
[ SYNSEM.LOCAL [ AGR.PNG png & [ PN 3s ],
CAT.VAL.COMPS.FIRST canonical_or_unexpressed ] ].
v_vp_has-n-niv_le := have_aux_neg_lex_entry & have_pres & aux_not_contr &
"""
Cmps VP(psp), have,3sg,ng-c,ninv, no overt comp
<ex>B's not.
"""
[ SYNSEM.LOCAL.AGR.PNG png & [ PN 3s ] ].
have_aux_neg_fin_synsem := have_aux_neg_synsem & have_fin_synsem.
;; DPF 2016-12-02 - Generalized COMPS.FIRST from canonical_synsem to
;; canonical_or_unexpressed, so ellipsis rule can require unexpressed
;;
v_vp_have-f-n_le := have_aux_neg_lex_entry & have_pres &
"""
Cmps VP(psp), have, n3sg, neg-c
<ex>We haven't sung.
"""
[ SYNSEM have_aux_neg_fin_synsem &
[ LOCAL [ AGR.PNG png & [ PN -3s ],
CAT.VAL.COMPS.FIRST canonical_or_unexpressed ] ] ].
v_vp_have-n-niv_le := have_aux_neg_lex_entry & have_pres &
aux_not_contr &
"""
Cmps VP(psp), have,n3sg,ngc,ninv, no overt comp
<ex>We've not.
"""
[ SYNSEM have_aux_neg_fin_synsem &
[ LOCAL.AGR.PNG png & [ PN -3s ] ] ].
;; DPF 2016-12-02 - Generalized COMPS.FIRST from canonical_synsem to
;; canonical_or_unexpressed, so ellipsis rule can require unexpressed
;;
v_vp_had-n_le := have_aux_neg_lex_entry & have_past &
"""
Cmps VP(psp), have, past, neg-c
<ex>B hadn't sung.
"""
[ SYNSEM have_aux_neg_fin_synsem &
[ LOCAL.CAT.VAL.COMPS.FIRST canonical_or_unexpressed ] ].
v_vp_had-n-niv_le := have_aux_neg_lex_entry & have_past & aux_not_contr &
"""
Cmps VP(psp), have,past,ngc,ninv, no overt complement
<ex>B'd not.
"""
[ SYNSEM have_aux_neg_fin_synsem ].
v_vp_had-n-sv_le := have_aux_neg_lex_entry & have_subj &
"""
Cmps VP(psp), have, subjtv,neg-c
<ex>If we hadn't sung, B'd've
"""
[ SYNSEM have_aux_neg_fin_synsem ].
;; British possessive `have'
;;
; 2020-12-10
#|
have_poss_aux_verb_lex := nonc-hm &
[ INFLECTD +,
SYNSEM aux_np_verb &
[ LOCAL [ CAT [ HEAD [ PRD -,
VFORM fin ],
VAL [ SUBJ < [ LOCAL [ CAT nomp_cat_min &
[ HEAD.CASE nom ],
CONT.HOOK.LTOP #ltop,
CONJ cnil ],
OPT - ] >,