• Keine Ergebnisse gefunden

— Cross-Serial Dependencies —

N/A
N/A
Protected

Academic year: 2022

Aktie "— Cross-Serial Dependencies —"

Copied!
32
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

An Introduction to

Mildly Context-Sensitive Grammar Formalisms

— Cross-Serial Dependencies —

Gerhard J¨ager & Jens Michaelis Universit¨at Potsdam

{jaeger,michael}@ling.uni-potsdam.de

(2)

example: ‘that Charles lets Mary help Peter to teach John to swim’

daß der Karl die Maria dem Peter mden Hans n schwimmen

that Charles Mary1 Peter2-DAT John3-ACC swim3-inf

lehren n helfen mläßt

teach2-inf help1-inf lets

¥¥¥ German fragment as string language: a mb nd nc m — CFL

dat Karel Marie Piet mJan n laat helpen mleren n zwemmen

that Charles Mary1 Peter2 John3 lets help1-inf teach2-inf swim3-inf

¥¥¥ Dutch fragment as string language: a mb nc md n — Non-CFL

(3)

example: ‘that Charles lets Mary help Peter to teach John to swim’

daß der Karl die Maria dem Peter

m

den Hans

n

schwimmen

that Charles Mary1 Peter2-DAT John3-ACC swim3-inf

lehren

n

helfen

m

läßt

teach2-inf help1-inf lets

¥¥¥ German fragment as string language: a mb nd nc m — CFL

dat Karel Marie Piet mJan n laat helpen mleren n zwemmen

that Charles Mary1 Peter2 John3 lets help1-inf teach2-inf swim3-inf

¥¥¥ Dutch fragment as string language: a mb nc md n — Non-CFL

(4)

example: ‘that Charles lets Mary help Peter to teach John to swim’

daß der Karl die Maria dem Peter

m

den Hans

n

schwimmen

that Charles Mary1 Peter2-DAT John3-ACC swim3-inf

lehren

n

helfen

m

läßt

teach2-inf help1-inf lets

¥¥¥ German fragment as string language: a mb nd nc m — CFL

dat Karel Marie Piet

m

Jan

n

laat helpen

m

leren

n

zwemmen

that Charles Mary1 Peter2 John3 lets help1-inf teach2-inf swim3-inf

¥¥¥ Dutch fragment as string language: a mb nc md n — Non-CFL

(5)

example: ‘that Charles lets Mary help Peter to teach John to swim’

daß der Karl die Maria dem Peter

m

den Hans

n

schwimmen

that Charles Mary1 Peter2-DAT John3-ACC swim3-inf

lehren

n

helfen

m

läßt

teach2-inf help1-inf lets

¥¥¥ German fragment as string language: a mb nd nc m — CFL

dat Karel Marie Piet

m

Jan

n

laat helpen

m

leren

n

zwemmen

that Charles Mary1 Peter2 John3 lets help1-inf teach2-inf swim3-inf

¥¥¥ Dutch fragment as string language: a mb nc md n — Non-CFL

(6)

example: ‘that Charles lets Mary help Peter to teach John to swim’

daß der Karl die Maria dem Peter

m

den Hans

n

schwimmen

that Charles Mary1 Peter2-DAT John3-ACC swim3-inf

lehren

n

helfen

m

läßt

teach2-inf help1-inf lets

¥¥¥ German fragment as string language: a mb nd nc m — CFL

dat Karel Marie Piet

m

Jan

n

laat helpen

m

leren

n

zwemmen

that Charles Mary1 Peter2 John3 lets help1-inf teach2-inf swim3-inf

¥¥¥ Dutch fragment as string language: a mb nc md n — Non-CFL

(7)

example: ‘that Charles lets Mary help Peter to teach John to swim’

daß der Karl die Maria dem Peter m den Hans

n

schwimmen

that Charles Mary1 Peter2-DAT John3-ACC swim3-inf

lehren

n

helfen m läßt

teach2-inf help1-inf lets

¥¥¥ German fragment as string language: a mb nd nc m — CFL

dat Karel Marie Piet m Jan

n

laat helpen m leren

n

zwemmen

that Charles Mary1 Peter2 John3 lets help1-inf teach2-inf swim3-inf

¥¥¥ Dutch fragment as string language: a mb nc md n — Non-CFL

(8)

example: ‘that Charles lets Mary help Peter to teach John to swim’

daß der Karl die Maria dem Peter m den Hans n schwimmen

that Charles Mary1 Peter2-DAT John3-ACC swim3-inf

lehren n helfen m läßt

teach2-inf help1-inf lets

¥¥¥ German fragment as string language: a mb nd nc m — CFL

dat Karel Marie Piet m Jan n laat helpen m lerenn zwemmen

that Charles Mary1 Peter2 John3 lets help1-inf teach2-inf swim3-inf

¥¥¥ Dutch fragment as string language: a mb nc md n — Non-CFL

(9)

example: ‘that Charles lets Mary help Peter to teach John to swim’

daß der Karl die Maria dem Peter m den Hans n schwimmen

that Charles Mary1 Peter2-DAT John3-ACC swim3-inf

lehren n helfen m läßt

teach2-inf help1-inf lets

¥¥¥ German fragment as string language: a mb nd nc m — CFL

dat Karel Marie Piet m Jan n laat helpen m lerenn zwemmen

that Charles Mary1 Peter2 John3 lets help1-inf teach2-inf swim3-inf

¥¥¥ Dutch fragment as string language: a mb nc md n — Non-CFL

(10)

example: ‘that Charles lets Mary help Peter to teach John to swim’

dass de Karl d’Maria em Peter

m

de Hans

n

laat hälfe

m

lärne

n

that Charles Mary1 Peter2-DAT John3-ACC lets help1-inf teach3-inf

schwüme

swim3-inf

¥¥¥ Züritüütsch fragment as string language: a mb nc md n — Non-CFL

(11)

example: ‘that Charles lets Mary help Peter to teach John to swim’

dass de Karl d’Maria em Peter

m

de Hans

n

laat hälfe

m

lärne

n

that Charles Mary1 Peter2-DAT John3-ACC lets help1-inf teach3-inf

schwüme

swim3-inf

¥¥¥ Züritüütsch fragment as string language: a mb nc md n — Non-CFL

(12)

example: ‘that Charles lets Mary help Peter to teach John to swim’

dass de Karl d’Maria em Peter m de Hans n laat hälfe m lärne n

that Charles Mary1 Peter2-DAT John3-ACC lets help1-inf teach3-inf

schwüme

swim3-inf

¥¥¥ Züritüütsch fragment as string language: a mb nc md n — Non-CFL

(13)

example: ‘that Charles lets Mary help Peter to teach John to swim’

dass de Karl d’Maria em Peter m de Hans n laat hälfe m lärne n

that Charles Mary1 Peter2-DAT John3-ACC lets help1-inf teach3-inf

schwüme

swim3-inf

¥¥¥ Züritüütsch fragment as string language: a mb nc md n — Non-CFL

(14)

Swiss German example: ‘...’ the homomorphism h

h(em Peter) = a h(de Hans) = b h(hälfe) = c h(lärne) = d

h(s) = ε otherwise L the Swiss German language/Züritüütsch

h(L) ∩ {a k b l cm d n | k , l , m , n ≥ 0} = {a m b n c m d n | m , n ≥ 0} Assuming Swiss German to be context-free, therefore, would yield a

contradiction to the fact that the class of CFLs is closed under intersection with regular sets.

(15)

Swiss German example: ‘...’ the homomorphism h

h(em Peter) = a h(de Hans) = b h(hälfe) = c h(lärne) = d

h(s) = ε otherwise

L the Swiss German language/Züritüütsch h(L) ∩ {a k b l cm d n | k , l , m , n ≥ 0} = {a m b n c m d n | m , n ≥ 0}

Assuming Swiss German to be context-free, therefore, would yield a contradiction to the fact that the class of CFLs is closed under intersection with regular sets.

(16)

Swiss German example: ‘...’ the homomorphism h

h(em Peter) = a h(de Hans) = b h(hälfe) = c h(lärne) = d

h(s) = ε otherwise

L the Swiss German language/Züritüütsch

h(L) ∩ {a k b l c m d n | k, l , m , n ≥ 0} = {a m b n c m d n | m , n ≥ 0} Assuming Swiss German to be context-free, therefore, would yield a

contradiction to the fact that the class of CFLs is closed under intersection with regular sets.

(17)

Swiss German example: ‘...’ the homomorphism h

h(em Peter) = a h(de Hans) = b h(hälfe) = c h(lärne) = d

h(s) = ε otherwise

L the Swiss German language/Züritüütsch

h(L) ∩ {a k b l c m d n | k, l , m , n ≥ 0} = {a m b n c m d n | m , n ≥ 0} Assuming Swiss German to be context-free, therefore, would yield a

contradiction to the fact that the class of CFLs is closed under intersection with regular sets.

(18)

Dutch example: ‘...’ the homomorphism h

h(Piet) = a h(Hans) = b h(helpen) = c h(leren) = d

h(s) = ε otherwise L the Dutch language

h(L) ∩ {a k b l cm d n | k , l , m , n ≥ 0} = {a k b l c m d n | k + l = m + n}

¥¥¥ {aThe CFG Gk b l c m d n=| kh{S+ l,=T ,mU+, V}n}, {ais context-free, b , c, d} , R , Si “does the job,”

where R = {S → a S d | a T c | b U d | b V c | ε ,

T → a T c| b U d | b V c | ε ,U → b U d | b V c | ε , V→ b V c | ε }

(19)

Dutch example: ‘...’ the homomorphism h

h(Piet) = a h(Hans) = b h(helpen) = c h(leren) = d

h(s) = ε otherwise L the Dutch language

h(L) ∩ {a k b l cm d n | k , l , m , n ≥ 0} = {a k b l c m d n | k + l = m + n}

¥¥¥ {aThe CFG Gk b l c m d n=| kh{S+ l,=T ,mU+, V}n}, {ais context-free, b , c, d} , R , Si “does the job,”

where R = {S → a S d | a T c | b U d | b V c | ε ,

T → a T c| b U d | b V c | ε ,U → b U d | b V c | ε , V→ b V c | ε }

(20)

Dutch example: ‘...’ the homomorphism h

h(Piet) = a h(Hans) = b h(helpen) = c h(leren) = d

h(s) = ε otherwise L the Dutch language

h(L) ∩ {a k b l c m d n | k, l , m , n ≥ 0} = {a k b l c m d n | k + l = m + n}

¥¥¥ {aThe CFG Gk b l c m d n=| kh{S+ l,=T ,mU+, V}n}, {ais context-free, b , c, d} , R , Si “does the job,”

where R = {S → a S d | a T c | b U d | b V c | ε ,

T → a T c| b U d | b V c | ε ,U → b U d | b V c | ε , V→ b V c | ε }

(21)

Dutch example: ‘...’ the homomorphism h

h(Piet) = a h(Hans) = b h(helpen) = c h(leren) = d

h(s) = ε otherwise L the Dutch language

h(L) ∩ {a k b l c m d n | k, l , m , n ≥ 0} = {a k b l c m d n | k + l = m + n}

¥¥¥ {a k b l c m d n | k + l = m + n} is context-free The CFG G = h{S , T , U , V} , {a , b , c, d} , R , Si “does the job,”

where R = {S → a S d | a T c | b U d | b V c | ε ,

T → a T c| b U d | b V c | ε ,U → b U d | b V c | ε , V→ b V c | ε }

(22)

Dutch example: ‘...’ the homomorphism h

h(Piet) = a h(Hans) = b h(helpen) = c h(leren) = d

h(s) = ε otherwise L the Dutch language

h(L) ∩ {a k b l c m d n | k, l , m , n ≥ 0} = {a k b l c m d n | k + l = m + n}

{a k b l c m d n | k + l = m + n} is context-free

(23)

... ‘that we have wanted to let the children help Hans paint the house’

dass mer de chind

m

em Hans

n

es hus händ weele laa

m

that we the children1-ACC Hans2-DAT the house3 have wanted let1-inf

hälfe

n

aastriiche

help2-inf paint3-inf

¥¥¥ Züritüütsch fragment as string language: a mb nc md n — Non-CFL

(24)

... ‘that we have wanted to let the children help Hans paint the house’

dass mer de chind

m

em Hans

n

es hus händ weele laa

m

that we the children1-ACC Hans2-DAT the house3 have wanted let1-inf

hälfe

n

aastriiche

help2-inf paint3-inf

¥¥¥ Züritüütsch fragment as string language: a mb nc md n — Non-CFL

(25)

... ‘that we have wanted to let the children help Hans paint the house’

dass mer de chind m em Hans n es hus händ weele laa m

that we the children1-ACC Hans2-DAT the house3 have wanted let1-inf

hälfe n aastriiche

help2-inf paint3-inf

¥¥¥ Züritüütsch fragment as string language: a mb nc md n — Non-CFL

(26)

... ‘that we have wanted to let the children help Hans paint the house’

dass mer de chind m em Hans n es hus händ weele laa m

that we the children1-ACC Hans2-DAT the house3 have wanted let1-inf

hälfe n aastriiche

help2-inf paint3-inf

¥¥¥ Züritüütsch fragment as string language: a mb nc md n — Non-CFL

(27)

dutch example: ‘...’ revised dat Karel Marie Piet

m

Jan

n

laat helpen

m

leren

n

zwemmen

that Charles Mary1 Peter2 John3 lets help1-inf teach2-inf swim3-inf

dat velen iets iemand m alles n zagen helpen mlaten n

that many something1 someone2 everything3 saw help1-inf let2-inf

ontploffen

explode3-inf

¥¥¥ Dutch fragment as string language: a mb nc md n — Non-CFL

(28)

dutch example: ‘...’ revised dat Karel Marie Piet

m

Jan

n

laat helpen

m

leren

n

zwemmen

that Charles Mary1 Peter2 John3 lets help1-inf teach2-inf swim3-inf

dat velen iets iemand

m

alles

n

zagen helpen

m

laten

n

that many something1 someone2 everything3 saw help1-inf let2-inf

ontploffen

explode3-inf

¥¥¥ Dutch fragment as string language: a mb nc md n — Non-CFL

(29)

dutch example: ‘...’ revised dat Karel Marie Piet

m

Jan

n

laat helpen

m

leren

n

zwemmen

that Charles Mary1 Peter2 John3 lets help1-inf teach2-inf swim3-inf

dat velen iets iemand

m

alles

n

zagen helpen

m

laten

n

that many something1 someone2 everything3 saw help1-inf let2-inf

ontploffen

explode3-inf

¥¥¥ Dutch fragment as string language: a mb nc md n — Non-CFL

(30)

dutch example: ‘...’ revised dat Karel Marie Piet

m

Jan

n

laat helpen

m

leren

n

zwemmen

that Charles Mary1 Peter2 John3 lets help1-inf teach2-inf swim3-inf

dat velen iets iemand

m

alles

n

zagen helpen

m

laten

n

that many something1 someone2 everything3 saw help1-inf let2-inf

ontploffen

explode3-inf

¥¥¥ Dutch fragment as string language: a mb nc md n — Non-CFL

(31)

dutch example: ‘...’ revised

dat Karel Marie Piet m Jan n laat helpen m lerenn zwemmen

that Charles Mary1 Peter2 John3 lets help1-inf teach2-inf swim3-inf

dat velen iets iemand m alles n zagen helpen m laten n

that many something1 someone2 everything3 saw help1-inf let2-inf

ontploffen

explode3-inf

¥¥¥ Dutch fragment as string language: a mb nc md n — Non-CFL

(32)

dutch example: ‘...’ revised

dat Karel Marie Piet m Jan n laat helpen m lerenn zwemmen

that Charles Mary1 Peter2 John3 lets help1-inf teach2-inf swim3-inf

dat velen iets iemand m alles n zagen helpen m laten n

that many something1 someone2 everything3 saw help1-inf let2-inf

ontploffen

explode3-inf

Referenzen