20.07.2013 Views

Notes on computational linguistics.pdf - UCLA Department of ...

Notes on computational linguistics.pdf - UCLA Department of ...

Notes on computational linguistics.pdf - UCLA Department of ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Stabler - Lx 185/209 2003<br />

is the following language:<br />

Jan säit das mer (d’chind) ∗ (em Hans) ∗ hænd wele (laa) ∗ (hälfe) ∗ aastriiche<br />

Jan says that we the children Hans have wanted let help paint<br />

Jan säit das mer (d’chind) i (em Hans) j hænd wele (laa) i (hälfe) j aastriiche.<br />

Some dialects <strong>of</strong> English have c<strong>on</strong>structi<strong>on</strong>s that str<strong>on</strong>gly favor perfect copying (Manaster-Ramer, 1986), which<br />

also involves crossing dependencies.<br />

Big vicious dog or no big vicous dog, I’ll deliver the mail.<br />

The formal language {xx| x ∈{a, b} ∗ } is a particularly simple formal example <strong>of</strong> crossing dependencies like<br />

this. It is easily defined with a unificati<strong>on</strong> grammar like this <strong>on</strong>e:<br />

% xx.pl<br />

’S’ :˜ [’A’(X),’A’(X)].<br />

’A’([a|X]) :˜ [a,’A’(X)].<br />

’A’([b|X]) :˜ [b,’A’(X)].<br />

’A’([]) :˜ [].<br />

We can use this grammar in sessi<strong>on</strong>s like this:<br />

˜/tex/185 1%pl<br />

Welcome to SWI-Prolog (Versi<strong>on</strong> 5.0.8)<br />

Copyright (c) 1990-2002 University <strong>of</strong> Amsterdam.<br />

1 ?- [tdp,xx].<br />

\% tdp compiled 0.00 sec, 1,968 bytes<br />

\% xx compiled 0.00 sec, 820 bytes<br />

Yes<br />

2 ?- ([a,b,a,b]?˜[’S’]@[T]).<br />

T = ’S’/[’A’([a, b])/[a/[], ’A’([b])/[b/[], ’A’(...)/[]]], ’A’([a, b])/[a/[], ’A’([b])/[b/[], ...<br />

No<br />

3 ?- ([a,b,a]?˜[’S’]@[T]).<br />

No<br />

5 ?-<br />

Developing an observati<strong>on</strong> <strong>of</strong> Kenesei, Koopman and Szabolcsi observe the following pattern in negated or<br />

focused sentences <strong>of</strong> Hungarian, schematized <strong>on</strong> the right where “M” is used to represent the special category<br />

<strong>of</strong> “verbal modifiers” like haza-:<br />

(48) Nem<br />

not<br />

(49) Nem<br />

not<br />

fogok akarni kezdeni haza-menni<br />

will-1s want-inf begin-inf home-go-inf<br />

fogok akarni haza-menni kezdeni<br />

will-1s want-inf home-go-inf begin-inf<br />

V1 V2 V3 M V4<br />

V1 V2 M V4 V3<br />

59

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!