-
Notifications
You must be signed in to change notification settings - Fork 0
/
lec-02-fs.tex
984 lines (835 loc) · 25.9 KB
/
lec-02-fs.tex
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
\documentclass[a4paper,landscape,headrule,footrule]{foils}
%\usepackage{nttfoilhead}
%\newcommand{\myslide}[1]{\foilhead[-25mm]{\raisebox{12mm}[0mm]{\emp{#1}}}}
%\newcommand{\myslider}[1]{\rotatefoilhead[-25mm]{\raisebox{12mm}[0mm]{\emp{#1}}}}
%\newcommand{\myslider}[1]{\rotatefoilhead{\raisebox{-8mm}{\emp{#1}}}}
%%
%% FIXME: not all of the features are smallcaps :-(
%%
\input{headx.tex}
\usepackage{forest}
%\avmfont{\sc}
\begin{document}
%\avmfont{\it}
\header{Lecture 2}{Feature Structures}{Headed Rules, Trees}
\maketitle
\myslide{Overview}
\begin{itemize}
\item Review: problems with CFG
\item Modeling
\item Feature structures, unification (pizza)
\item Features for linguistic description
\item Reformulate grammar rules
\item Notion of head/headedness
\item Licensing of trees
\end{itemize}
\myslide{Our Goals}
\begin{itemize}
\item Descriptive, generative grammar
\begin{itemize}
\item Describing English (in this case)
\item Generating all possible well-formed
sentences (and no ill-formed ones)
\item Assigning appropriate structures
\end{itemize}
\item Design/discover an appropriate \txx{type} of
model (through incremental improvement)
\item Create a particular model (grammar
fragment) for English
\end{itemize}
\myslide{Problems with Context-Free Grammar}
\MyLogo{atomic node labels}
\begin{itemize}
\item Potentially arbitrary rules
\item Gets clunky quickly with cross-cutting properties
\item Not quite powerful enough for natural languages
\item \emp{Solution}: Replace atomic node labels with feature structures.
\end{itemize}
\myslide{Cross-cutting Grammatical Properties}
\MyLogo{}
\vfill
\begin{large}
\begin{tabular}[t]{l|l|l|}
\mc{1}{c}{} & \mc{1}{c}{3rd singular subject} & \mc{1}{c}{plural subject}\\ \cline{2-3}
direct object NP & {\it denies} & {\it deny} \\ \cline{2-3}
no direct object NP & {\it disappears} & {\it disappear} \\ \cline{2-3}
\end{tabular}
\end{large}
\myslide{Language Models}
\begin{itemize}
\item Two Kinds of Language Models
\begin{itemize}
\item Speakers’ internalized knowledge (their grammar)
\item Set of sentences in the language
\end{itemize}
\item Things Involved in Modeling Language
\begin{itemize}
\item Real world entities (utterance types)
\item Models (fully specified trees)
\item Descriptions of the models (rules, principles, lexical entries)
\end{itemize}
\end{itemize}
\myslide{Feature Structure Descriptions}
\vfill
\begin{Large}
\begin{avm}
\[ feature$_1$ &\ \ \ value$_1$\\
feature$_2$ &\ \ \ value$_2$\\[-1ex]
\hfil.\ .\ .\hfil\\
feature$_n$ &\ \ \ value$_n$\]
\end{avm}
\end{Large}
\myslide{A Pizza Type Hierarchy}
%\vspace*{-.5ex}
\begin{avmtree}%\avmfont{\sc}
\br{\val{pizza-thing}}{
\br{\[ \asort{pizza}
crust & \{ \normalfont thick, thin, stuffed \}
\\ toppings & topping-set \]}{ }
\br{ \[ \asort{topping-set} olives & \{ +, -\}
\\ onions & \{ +, -\} \\ mushrooms& \{ +, -\} \]}{
\br{\val{vegetarian} }{ }
\br{\[ \asort{non-vegetarian} sausage & \{ +, -\}
\\ pepperoni & \{ +, -\} \\ ham & \{ +, -\} \]}{}}}
\end{avmtree}
\vspace*{-2.5ex}
\myslide{Types}
\begin{tabular}{lll}
Type & Features/Values & IST \\ \hline
\smaller[2]\it pizza-thing & & NONE\\
\smaller[2]\it pizza & {\small \begin{avm}%\avmfont{\sc}
\[ crust & \{ \normalfont thick, thin, stuffed\}
\\ toppings & \it topping-set \]
\end{avm}} & \smaller[2]\it pizza-thing \\
\smaller[2]\it topping-set &{\small \begin{avm}%\avmfont{\sc}
\[ olives & \{ +, -\}
\\ onions & \{ +, -\} \\ mushrooms& \{ +, -\} \]
\end{avm}} & \smaller[2]\it pizza-thing \\
\smaller[2]\it vegetarian & & \smaller[2]\it topping-set \\
\smaller[2]\it non-vegetarian &{\small \begin{avm}%%%\avmfont{\sc}
\[ sausage & \{ +, -\} \\ pepperoni & \{ +, -\}
\\ ham & \{ +, -\} \]
\end{avm}} & \smaller[2]\it topping-set \\
\end{tabular}
\myslide{Type Hierarchies}
A type hierarchy \ldots
\begin{itemize}
\item[\ldots] states what kinds of objects we claim exist (the
types)
\item[\ldots] organizes the objects hierarchically into classes
with shared properties (the type hierarchy)
\item[\ldots] states what general properties each kind of object
has (the feature and feature value declarations).
\end{itemize}
\myslide{Pizza Descriptions and Pizza Models}
\begin{center}
\begin{avm}%\avmfont{\sc}
\[ \asort{pizza}
crust & thick \\
toppings &
\[ \asort{vegetarian} olives & + \\ onions & + \] \]
\end{avm}
\end{center}
How many pizza models (by definition, fully resolved) satisfy this description?
\myslide{Answer: 2}
\begin{center}
\begin{avm}%\avmfont{\sc}
\[ \asort{pizza}
crust & thick \\
toppings &
\[ \asort{vegetarian} olives & + \\ onions & + \\ mushrooms& - \] \]
\end{avm}
\begin{avm}%\avmfont{\sc}
\[ \asort{pizza}
crust & thick \\
toppings &
\[ \asort{vegetarian} olives & + \\ onions & + \\ mushrooms & + \] \]
\end{avm}
\end{center}
\myslide{Pizza Descriptions and Pizza Models}
\begin{center}
\begin{avm}%\avmfont{\sc}
\[ \asort{pizza}
crust & thick \\
toppings &
\[ \asort{vegetarian} olives & + \\ onions & + \] \]
\end{avm}
\end{center}
\begin{itemize}
\item How many pizzas-in-the-world do the pizza
models correspond to?
\item [A]: A large, constantly-changing number.
\item the ‘type’/‘token’ distinction applies to sentences as well
\end{itemize}
\myslide{Combining Constraints}
\begin{center}
\begin{avm}%\avmfont{\sc}
\[ \asort{pizza}
crust & thick \\
toppings &
\[ olives & + \\ ham & - \] \]
\&
\[ \asort{pizza}
toppings &
\[ olives & + \\ onions & + \] \]
\end{avm}
\end{center}
Unification is also written as: $\sqcap$.
\myslide{Combining Constraints}
\begin{center}
\begin{avm}%\avmfont{\sc}
\[ \asort{pizza}
crust & thick \\
toppings &
\[ olives & + \\ ham & - \\ onions & + \] \]
\end{avm}
\end{center}
\myslide{Combining Constraints}
\begin{center}
\begin{avm}%\avmfont{\sc}
\[ \asort{pizza}
crust & thick \\
toppings &
\[ olives & + \\ ham & - \] \]
\&
\[ \asort{pizza}
crust & thin \\
toppings &
\[ olives & + \\ onions & + \] \]
\end{avm}
\begin{huge}
\\[2ex] = $\varphi$
\end{huge}
\end{center}
NULL is also written as: $\perp, \emptyset, \phi$.
\myslide{Combining Constraints}
\myslide{Combining Constraints}
\begin{center}
\begin{avm}%\avmfont{\sc}
\[ \asort{pizza}
crust & thin \\
toppings &
\[ olives & + \\ ham & - \] \]
\&
\[ \asort{pizza}
crust & thin \\
toppings &
\[ \asort{vegetarian} \] \]
\end{avm}
\begin{huge}
\\[2ex] = $\varphi$
\end{huge}
\end{center}
\textit{vegetarian} has no feature \textsc{ham}.
\myslide{A New Theory of Pizzas}
\begin{center}
\begin{avm}%\avmfont{\sc}
\[ \asort{pizza}
crust & \{ \normalfont thick, thin, stuffed \} \\
one-half & \val{topping-set} \\
other-half & \val{topping-set} \]
\end{avm}
\end{center}
\myslide{Combining Constraints}
\begin{center}
\begin{avm}%\avmfont{\sc}
\[ \asort{pizza}
one-half &
\[ olives & + \\ ham & - \] \]
\&
\[ \asort{pizza}
other-half &
\[ olives & - \\
ham & + \] \]
\end{avm}
\\ =
\begin{avm}%\avmfont{\sc}
\[ \asort{pizza}
one-half &
\[ olives & + \\ ham & - \] \\
other-half &
\[ olives & - \\ ham & + \] \]
\end{avm}
\end{center}
\myslide{Identity Constraints (tags)}
\begin{center}
\begin{avm}%\avmfont{\sc}
\[ \asort{pizza}
one-half &
\[ olives & \@1 \\ ham & \@2 \] \\
other-half &
\[ olives & \@1 \\ ham & \@2 \] \]
\end{avm}
\end{center}
\myslide{Combining Constraints}
\begin{center}
\begin{avm}%\avmfont{\sc}
\[ \asort{pizza}
one-half &
\@1 \[ olives & + \\ ham & - \]
\\ other-half & \@1 \]
\&
\[ \asort{pizza}
other-half &
\[ olives & + \\ mushroom & + \] \]
\end{avm}
\\ =
\begin{avm}%\avmfont{\sc}
\[ \asort{pizza}
one-half &
\@1 \[ olives & + \\ ham & - \\ mushroom & + \] \\
other-half & \@1 \]
\end{avm}
\end{center}
\myslide{Note}
\begin{center}
\begin{avm}%\avmfont{\sc}
\[ \asort{pizza}
one-half &
\@1 \[ olives & + \\ ham & - \\ mushroom & + \] \\
other-half & \@1 \]
\end{avm}
\\ =
\begin{avm}%\avmfont{\sc}
\[ \asort{pizza}
one-half &
\@1 \\
other-half & \@1 \[ olives & + \\ ham & - \\ mushroom & + \] \]
\end{avm}
\end{center}
\myslide{Combining Constraints}
\begin{center}
\begin{avm}%\avmfont{\sc}
\[ \asort{pizza}
crust & thick \\
one-half &
\@1 \[ olives & + \\ onion & - \]
\\ other-half & \@1 \textit{vegetarian} \]
\&
\[ \asort{pizza}
crust & thin \\
one-half &
\[ olives & + \\ pepperoni & + \] \]
\end{avm}
\begin{huge}
\\[2ex] = $\varphi$
\end{huge}
\end{center}
\myslide{Why combine constraints?}
\begin{itemize}
\item The pizza example illustrates how
unification can be used to combine
information from different sources.
\item In our grammar, information will come
from lexical entries, grammar rules, and
general principles.
\end{itemize}
\myslide{Linguistic Application of Feature Structures:}
Making the Mnemonic Meaningful
\begin{itemize}
\item What do these CFG categories have in common?
\begin{itemize}
\item NP \& VP: are both phrases
\item N \& V: are both words
\item NP \& N: are both ‘nouny’
\item VP \& V: are both ‘verby’
\end{itemize}
\end{itemize}
\myslide{The Beginnings of Our Type Hierarchy}
\begin{center}
\begin{tree}\renewcommand{\lf}[1]{\br{#1}{}}
\it
\br{feat-struc}{ \br{expression}{\lf{word}
\lf{phrase}}
\br{pos}{\lf{noun}
\lf{verb}
\lf{det}
\lf{prep}
\lf{adj}
\lf{conj}}}
\end{tree}
\end{center}
\begin{tabular}{lclc}
NP & \begin{avm}%\avmfont{\sc}
\[ \asort{phrase}
head & {\it noun} \]
\end{avm}
& VP &
\begin{avm}%\avmfont{\sc}
\[ \asort{phrase}
head & {\it verb} \]
\end{avm} \\
N &
\label{bird-ex}
\begin{avm}%\avmfont{\sc}
\< fly , \ \[ \asort{word}
head & {\it noun} \]\>
\end{avm}
& V &
\label{bird-ex}
\begin{avm}%\avmfont{\sc}
\< fly , \ \[ \asort{word}
head & {\it verb} \]\>
\end{avm}
\end{tabular}
\myslide{Type Hierarchy for Parts of Speech II}
\begin{center}
\begin{avmtree}\renewcommand{\lf}[1]{\br{#1}{}}%%\avmfont{\sc}
\it
\br{feat-struc}{ \br{ expression \[ \textsc{head} \] }{\lf{word}
\lf{phrase}}
\br{pos}{\br{agr-pos \[ \textsc{agr} \] }{ \lf{noun}
\lf{verb \[ \textsc{aux} \]}
\lf{det}}
\lf{prep}
\lf{adj}
\lf{conj}}}
\end{avmtree}
\end{center}
\myslide{Agreement}
We need more information to make words agree.
\begin{avm}%\avmfont{\sc}
\< \textnormal{fly}, \ \[ \asort{word}
head & {\it noun} \[ \asort{agr-cat} agr
& \[ per & 3 \\ num & sg \] \] \]\>
\end{avm}
\begin{avm}%\avmfont{\sc}
\< \textnormal{flies}, \ \[ \asort{word}
head & {\it verb}
\[ \asort{agr-cat} agr & \[ per & 3 \\ num & sg \] \]
\]\>
\end{avm}
\myslide{Agreement}
\begin{avm} %\avmfont{\sc}
\[{\it phrase}\\
head & {\@1}{\it verb}\\
val & \[ comps & itr\\
spr & $+$\]\] \ $\rightarrow$\ \ \avml\hfil NP\\[-1ex]
\[ head \ \[agr & {\@2}\]\]\avmr \ \ \[{\it phrase}\\
head & {\@1}\[agr & {\@2}\]\\
val & \[ comps & itr\\
spr & $-$\]\]
\end{avm}
The values on \ft{agr} for the subject NP and verb phrase must be identical.
\myslide{A Simple Feature for Valence}
\begin{tabular}[t]{cc}
\begin{avm}%\avmfont{\sc}
iv = \[{\it word}\\
head & {\it verb}\\
val & \[ {\it val-cat}\\
comps & itr\]\]
\end{avm} &
\begin{avm}%\avmfont{\sc}
tv = \[{\it word}\\
head & {\it verb}\\
val & \[ {\it val-cat}\\
comps & str \]\]
\end{avm}\\
\begin{avm}%\avmfont{\sc}
dtv = \[{\it word}\\
head & {\it verb}\\
val & \[ {\it val-cat}\\
comps & dtr \]\]
\end{avm}
\end{tabular}
\ft{comps} controls how many \txx{complements} are possible.
\myslide {Head-Complement Rules}
\begin{small}
1 \begin{avm}%\avmfont{\sc}
\[{\it phrase}\\
head & {\@1} \\
val & \[ comps & itr\\
spr & $-$\]\] \ $\rightarrow$\ \ \[{\it word}\\
head & {\@1}\\
val & \[ comps & itr\\
spr & $-$\]\]
\end{avm}
2 \begin{avm}%\avmfont{\sc}
\[{\it phrase}\\
head & {\@1}\\
val & \[ comps & itr\\
spr & $-$ \]\] \ $\rightarrow$\ \ \[{\it word}\\
head & {\@1}\\
val & \[ comps & str\\
spr & $-$\]\]\ \ NP
\end{avm}
3 \begin{avm}%\avmfont{\sc}
\[{\it phrase}\\
head & {\@1}\\
val & \[ comps & itr\\
spr & $-$ \]\] \ $\rightarrow$\ \ \[{\it word}\\
head & {\@1}\\
val & \[ comps & dtr\\
spr & $-$\]\]\ \ NP\ \ NP
\end{avm}
\end{small}
\myslide{Underspecification}
\begin{avm}%\avmfont{\sc}
V \ = \ \[{\it word}\\
head & {\it verb}\]
\end{avm}
\begin{avm}%\avmfont{\sc}
VP \ = \ \[{\it phrase}\\
head & {\it verb}\]
\end{avm}
\begin{avm}%\avmfont{\sc}
\[ head & {\it verb}\]
\end{avm}
\myslide{Another Valence Feature}
\begin{tabular}[t]{cc}
\begin{avm} \ \ \ \ NP = \ \[{\it phrase}\\
head & {\it noun} \\
val & \[ {\it val-cat}\\
comps & itr\\
spr & $+$\]\]
\end{avm}&
\begin{avm} NOM = \ \[{\it phrase}\\
head & {\it noun} \\
val & \[ {\it val-cat}\\
comps & itr\\
spr & $-$\]\]
\end{avm}
\end{tabular}
\ft{spr} controls the \txx{specifier} (determiner and/or subject)
\myslide{spr and Verbs}
\begin{tabular}[t]{cc}
\begin{avm} \hskip 11pt\ \ \ S = \ \[{\it phrase}\\
head & {\it verb} \\
val & \[{\it val-cat}\\
comps & itr\\
spr & $+$\]\]
\end{avm}&
\begin{avm}\ \ VP = \ \[{\it phrase}\\
head & {\it verb} \\
val & \[ {\it val-cat}\\
comps & itr\\
spr & $-$\]\]
\end{avm}
\end{tabular}
\myslide{S and NP}
\begin{avm}
\[ val & \[ {\it val-cat}\\
comps & itr\\
spr & $+$ \]\]
\end{avm}
\begin{itemize}
\item both are fully saturated: specified and no more complements
\begin{exe}
\ex \eng{We created a monster}
\ex \eng{our creation of a monster}
\end{exe}
\end{itemize}
\myslide{Type Hierarchy So Far}
\begin{center}
\begin{avmtree}\renewcommand{\lf}[1]{\br{#1}{}}%\avmfont{\sc}
\it
\br{feat-struc}{ \br{ expression \[ \textsc{head, val} \] }{\lf{word}
\lf{phrase}}
\br{pos}{\br{agr-pos \[ \textsc{agr} \] }{ \lf{noun}
\lf{verb \[ \textsc{aux} \]}
\lf{det}}
\lf{prep}
\lf{adj}
\lf{conj}}
\br{val-cat \[ \textsc{spr, comps} \] }{ }
\br{agr-cat \[ \textsc{per, num} \] }{ }
}
\end{avmtree}
\end{center}
\myslide{Heads}
\begin{itemize}
\item Intuitive idea: A phrase typically contains a word that
determines its most essential properties, including
\begin{itemize}
\item where it occurs in larger phrases
\item what its internal structure is
\end{itemize}
\item This is called the head
\item The term \txx{head} is used both for the head word in a
phrase and for all the intermediate phrases containing
that word
\item NB: Not all phrases have heads
\\ can you think of a phrase that doesn't?
\end{itemize}
\myslide{Formalizing the Notion of Head}
\begin{itemize}
\item Expressions have a feature \ft{head}
\item \ft{head}’s values are of type \val{pos} (part-of-speech)
\item For \ft{head} values of type \val{agr-cat}, \ft{head}’s
value also includes the feature \ft{agr}
\item Well-formed trees are subject to the \txx{Head Feature Principle}
\end{itemize}
\myslide{The Head Feature Principle}
\begin{itemize}
\item Intuitive idea: Key properties of phrases are
shared with their heads
\item The \txx{HFP}:
\begin{quote} \large In any headed phrase, the \ft{head}
value of the mother and the head daughter
must be identical.
\end{quote}
\item Sometimes described in terms of properties
“percolating up” or “filtering down”, but this
is just metaphorical talk
\item the \index{head daughter (H)} head daughter in a headed-rule will be labeled with `{\bf H}'.
\begin{quote}
[ \typ{type} ] \ \ \into \ \ \ldots \ \ \HD [\ \ \ ] \ \ \ldots
\end{quote}
\end{itemize}
\myslide{A Tree is Well-Formed if \ldots }
\begin{itemize}
\item It and each subtree are licensed by a grammar rule
or lexical entry
\item All general principles (like the HFP) are satisfied.
\item NB: Trees are part of our model of the language,
so all their features have values (even though we
will often be lazy and leave out the values
irrelevant to our current point).
\end{itemize}
\myslide{Question:}
Do phrases that are not headed have
\ft{head} features?
\myslide{Reformulating the Grammar Rules I}
Which simple phrase structure rules (Ch 2) do these correspond to?
\begin{itemize}
\item Head-Complement Rule 1:
\begin{avm}
\[{\it phrase}\\
val & \[ comps & itr\\
spr & $-$\]\] \ $\rightarrow$\ \HD \ \[{\it word}\\
val & \[ comps & itr\\
spr & $-$\]\]
\end{avm}
\item Head-Complement Rule 2:
\begin{avm}
\[{\it phrase}\\
val & \[ comps & itr\\
spr & $-$ \]\] \ $\rightarrow$\ \HD \ \[{\it word}\\
val & \[ comps & str\\
spr & $-$\]\]\ \ NP
\end{avm}
\newpage
\item Head-Complement Rule 3:
\begin{avm}
\[{\it phrase}\\
val & \[ comps & itr\\
spr & $-$ \]\] \ $\rightarrow$\ \HD \ \[{\it word}\\
head & {\@1}\\
val & \[ comps & dtr\\
spr & $-$\]\]\ \ NP\ \ NP
\end{avm}
\end{itemize}
\myslide{Reformulating the Grammar Rules II}
\MyLogo{Head-Specifier Rule 2 updated in the problems}
\begin{itemize}
\item Head-Specifier Rule 1:
\begin{avm} \[{\it phrase}\\
val & \[ comps & itr\\
spr & $+$\]\] \ $\rightarrow$\ \ \avml\hfil NP\\
\[head \ \[agr \ {\@1}\]\]\avmr\ \ \ {\HD}\[{\it phrase}\\
head & \[{\it verb}\\
agr & {\@1}\]\\
val & \[ spr & $-$\]\]\end{avm}
\item Head-Specifier Rule 2:
\begin{avm} \[{\it phrase}\\
val & \[ comps & itr\\
spr & $+$\]\] \ $\rightarrow$\ \ D \ \ {\HD}\[{\it phrase}\\
head & {\it noun}\\
val & \[ spr & $-$\]\]
\end{avm}
\end{itemize}
\myslide{Reformulating the Grammar Rules III}
\begin{itemize}
\item Non-Branching NP Rule
\begin{avm} \[{\it phrase}\\
%head & {\it noun}\\
val & \[ comps & itr\\
spr & $+$\]\] \ $\rightarrow$\ \ {\HD}\[{\it word}\\
head & {\it noun}\\
val & \[ spr & $+$\]\]\end{avm}
\item Head-Modifier Rule
\begin{avm}\avml \[{\it phrase}\\
val & \[ comps & itr\\
spr & $-$ \]\]\avmr \
$\rightarrow$\ \ {\HD}\avml\[{\it phrase}\\
val & \[ spr & $-$\]\]\avmr \
PP
\end{avm}
\newpage
\item Coordination Rule
\begin{avm}\avml \[ head \@{1} \] $\rightarrow$\ \ \ %
\[ head \@{1} \]+\ \[ {\it word}\\
head & {\it conj} \]\ \[ head \@{1} \]\avmr
\end{avm}
\\ Only coordinate like things!
\end{itemize}
\myslide{Advantages of the New Formulation}
\begin{itemize}
\item Subject-verb agreement is stipulated only
once (where?)
\item Common properties of verbs with different
valences are expressed by common features
(for example?)
\item Parallelisms across phrase types are captured
(for example?)
\end{itemize}
\myslide{Disadvantages of the New Formulation}
\begin{itemize}
\item We still have three head complement rules
\item We still have two head specifier rules
\item We only deal with three verb valences
\\ (Which ones? What are some others?)
\item The non-branching rule doesn’t really do any
empirical work
\item Anything else?
\end{itemize}
\myslide{Which rule licenses each node?}
\scalebox{0.5}{\begin{avmtree}%\avmfont{\sc}
\br{\[{\it phrase}\\
head &\[{\it verb}\\
agr &\[{\it agr-cat}\\
per & 3rd\\
num & pl\]\]\\
val & \[{\it val-cat}\\
comps & itr\\
spr & $+$ \]\] }{
\br{ \[{\it phrase}\\
head & \[{\it noun}\\
agr & \[{\it agr-cat}\\
per & 3rd\\
num & pl\]\]\\
val & \[{\it val-cat}\\
comps & itr\\
spr & $+$ \]\]
} {
\br {\[{\it word}\\
head &\[{\it noun}\\
agr & \[{\it agr-cat}\\
per & 3rd\\
num & pl\]\]\\
val & \[{\it val-cat}\\
comps & itr\\
spr & $+$ \]\]
}{\br{they}{}}
}
\br{\[{\it phrase}\\
head &\[{\it verb}\\
agr &\[{\it agr-cat}\\
per & 3rd\\
num & pl\]\]\\
val & \[{\it val-cat}\\
comps & itr\\
spr & $-$ \]\]
}{
\br{\[{\it word}\\
head &\[{\it verb}\\
agr &\[{\it agr-cat}\\
per & 3rd\\
num & pl\]\]\\
val & \[{\it val-cat}\\
comps & itr\\
spr & $-$ \]\]
}{\br{swim}{}}}
}
\end{avmtree}}
\vspace*{-2ex}
\myslide{In abbreviated form}
\begin{avmtree}%\avmfont{\sc}
\br{S \newline \[ \ft{head} \@1 [ \ft{agr} \@4
\[ \ft{per} & 3 \\ \ft{num} & pl \] \]}{
\br{NP \[ \ft{head} \@2 \[ \ft{agr} \@4 \] \] }{
\br{ N \[ \ft{head} \@2 \]} { \br{\textnormal{they}}{} }}
\br{VP \[ \ft{head} \@1 \] } {
\br{ V \[ \ft{head} \@1 \]} { \br{\textnormal{swim}}{ } }}}
\end{avmtree}
\vspace*{-2ex}
\begin{flushleft}
% HFP $\Rightarrow$ head the same for mother and daughter; \\
S $\Rightarrow$ \val{phrase}, \ft{head} \val{verb}, \ft{val}
\val{itr}, \ft{spr} val{+}; \\
VP $\Rightarrow$ \val{phrase}, \ft{head}
\val{verb}, \ft{val} \val{itr}, \ft{spr} val{-}; \ldots
\end{flushleft}
\myslide{A Question:}
Since the lexical entry for swim below has only [NUM pl] as
the value of \ft{agr}, how did the tree on the previous slide get
[PER 3rd] in the \ft{agr} of swim?
\begin{avm}%\avmfont{\sc}
\< \textnormal{swim}, \
\[ \asort{word}
head & \[ \asort{verb} agr & \[ num & pl \] \] \\
val & \[ \asort{val-cat} comps & itr \\ spr & - \] \]
\>
\end{avm}
\myslide{Overview}
\begin{itemize}
\item Review: problems with CFG
\item Modeling
\item Feature structures, unification (pizza)
\item Features for linguistic description
\item Reformulate grammar rules
\item Notion of head/headedness
\item Licensing of trees
\item Next time: Valence and agreement: complex feature values
\end{itemize}
\myslide{3.1 Applying the grammar}
\begin{itemize}
\item[A.] Formulate \index{agreement|(} a \index{lexical entry} lexical entry for the word {\it defendants}.
\item[B.] Draw a tree for the sentence {\it The defendants walk}. Show
the values for all of the features on every node and use tags to indicate
the effects of any identities that the %rules require.
grammar requires.
\item[C.] Explain how your lexical entry for {\it defendants} interacts
with the Chapter 3 grammar to rule out {\it *The defendants walks}.
Your explanation should make reference to grammar rules, lexical
entries and the \index{Head Feature Principle (HFP)}HFP. \index{agreement|)}
\end{itemize}
\myslide{Determiner-Noun Agreement}
The Chapter 3 grammar declares AGR to be a feature
appropriate for the types {\it noun}, {\it verb}, and {\it det}, but
so far we haven't discussed agreement involving determiners. Unlike
the determiner {\it the}, most other English determiners do show
agreement with the nouns they combine with:
\begin{itemize}\addtolength{\itemsep}{-1ex}
\item[(i)] a bird/*a birds
\item[(ii)] this bird/*this birds
\item[(iii)] that bird/*that birds
\item[(iv)] these birds/*these bird
\item[(v)] those birds/*those bird
\item[(vi)] many birds/*many bird
\end{itemize}
\newpage
\begin{itemize}
\item[A.] Formulate lexical entries for {\it this} and {\it these}.
\item[B.] Modify Head-Specifier Rule 2 so that it enforces agreement
between the noun and the determiner just like Head-Specifier Rule 1
enforces agreement between the NP and the VP.
\item[C.] Draw a tree for the NP {\it these birds}. Show the
value for all features of every node and use tags to indicate the
effects of any identities that the %rules
grammar
(including your modified
HSR2 and the Head Feature Principle) requires.
\end{itemize}
\myslide{Types for English Agreement}
\begin{forest}
/tikz/every node/.append style={font=\it},
[agr-cat [sg,name=sg [3sg]] [, phantom] [, phantom] [, phantom] [non-3sg
[1sg, name=1sg] [non-1sg [2sg, name=2sg] [pl]]]]
\draw (sg.south) -- (1sg.north);
\draw (sg.south) -- (2sg.north);
\end{forest}
\myslide{Acknowledgments and References}
\begin{itemize}
\item Course design and slides borrow heavily from Emily Bender's course:
\textit{Linguistics 566: Introduction to Syntax for Computational Linguistics}
\\ \url{http://courses.washington.edu/ling566}
\item Problems from Sag, Wasow and Bender (2003)
\end{itemize}
\end{document}
%%% Local Variables:
%%% coding: utf-8
%%% mode: latex
%%% TeX-PDF-mode: t
%%% TeX-engine: xetex
%%% End: