Lexicalized Tree-Adjoining Grammars (LTAG) - ad-teaching.infor...

Lexicalized Tree-Adjoining Grammars (LTAG) - ad-teaching.infor... Lexicalized Tree-Adjoining Grammars (LTAG) - ad-teaching.infor...

ad.teaching.informatik.uni.freiburg.de
from ad.teaching.informatik.uni.freiburg.de More from this publisher
16.01.2015 Views

Outline of the Algorithm Initialize the chart C with items of the form [α, 0, la, 0, −, −, 0, ⊥], where α ∈ I , root label S. Then use 4 types of operations to add new items to C: Scan, Predict, Complete, Adjoin Operations stated as inference rules: item 1 · · · item m item ∗ conditions Add item ∗ to C if item 1 ,· · ·, item m ∈ C and conditions are met. Accept input string c 1 · · · c n if C contains at least one item [α, 0, ra, 0, −, −, n, ⊥], where α ∈ I , root label S. 36 / 52

Scan Operations Input string: c 1 · · · c n Input TAG: G = (N, T , I , A, S) 1 [γ, adr, la, i, j, k, l, ⊥] [γ, adr, ra, i, j, k, l + 1, ⊥] γ(adr) ∈ T , γ(adr) = c l+1 a = c l + 1 a [i,j,k,l,⊥] a [i,j,k,l+1,⊥] 2 [γ, adr, la, i, j, k, l, ⊥] [γ, adr, ra, i, j, k, l, ⊥] γ(adr) = ε ε [i,j,k,l,⊥] ε [i,j,k,l,⊥] 37 / 52

Scan Operations<br />

Input string: c 1 · · · c n<br />

Input TAG: G = (N, T , I , A, S)<br />

1<br />

[γ, <strong>ad</strong>r, la, i, j, k, l, ⊥]<br />

[γ, <strong>ad</strong>r, ra, i, j, k, l + 1, ⊥]<br />

γ(<strong>ad</strong>r) ∈ T ,<br />

γ(<strong>ad</strong>r) = c l+1<br />

a = c l + 1<br />

a<br />

[i,j,k,l,⊥]<br />

a<br />

[i,j,k,l+1,⊥]<br />

2<br />

[γ, <strong>ad</strong>r, la, i, j, k, l, ⊥]<br />

[γ, <strong>ad</strong>r, ra, i, j, k, l, ⊥]<br />

γ(<strong>ad</strong>r) = ε<br />

ε<br />

[i,j,k,l,⊥]<br />

ε<br />

[i,j,k,l,⊥]<br />

37 / 52

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

Saved successfully!

Ooh no, something went wrong!