Head-driven Phrase Structure Grammar I

Head-driven Phrase Structure Grammar I Head-driven Phrase Structure Grammar I

icst.pku.edu.cn
from icst.pku.edu.cn More from this publisher
10.01.2015 Views

Basic Idea Typed feature structure HPSG: First glance Unification: Formal definition (skip) Definition Suppose F, F ′ ∈ FS such that F = 〈Q, r, θ, δ〉, F ′ = 〈Q ′ , r ′ , θ ′ , δ ′ 〉, and Q ∩ Q ′ = ∅. We first define an equivalence relation ⊲⊳ on Q ∪ Q ′ as the least equivalence relation such that: ◮ r ⊲⊳ r ′ ◮ δ(f, q) ⊲⊳ δ(f, q ′ ) if both are defined and r ⊲⊳ r ′ The unification of F and F ′ is defined as: F ⊔ F ′ = 〈(Q ∪ Q ′ )/ ⊲⊳ , [r] ⊲⊳ , θ ⊲⊳ , δ ⊲⊳ 〉 where: θ ⊲⊳ ([q] ⊲⊳ ) = ∪{(θ ∪ θ ′ )(q ′ )|q ′ ⊲⊳ q} and ⎧ ⎨ [(δ ∪ δ ′ )(f, q)] ⊲⊳ if (δ ∪ δ ′ )(f, q) is a well δ ⊲⊳ (f, [q] ⊲⊳ ) = defined function ⎩ undefined otherwise Similarly, [(δ ∪ δ ′ )(f, q)] ⊲⊳ denotes ∪{〈q ′ , (δ ∪ δ ′ )(q ′ )〉|q ′ ⊲⊳ q}. Weiwei Sun Head-driven Phrase Structure Grammar I 35/61

Basic Idea Typed feature structure HPSG: First glance Unification: An example (1) q 1 AGR q 2 P ERS q 3 q 0 SUBJ q 6 P RED P ERS q 4 AGR q 5 NUM q 7 ◮ Q = {q 0 , q 1 , q 2 , q 3 , q 4 , q 5 , q 6 , q 7 } ◮ r = q 0 ◮ θ = {q 0 → predicate, q 1 → noun, q 2 → agreement, q 3 → 3rd, q 4 → verb, q 5 → agreement, q 6 → 3rd, q 7 → singular} ◮ δ = {(SUBJ, q 0 ) → q 1 , (P RED, q 0 ) → q 4 , (AGR, q 1 ) → q 2 , (P ERS, q 2 ) → q 3 , (AGR, q 4 ) → q 5 , (P ERS, q 5 ) → q 6 , (NUM, q 5 ) → q 7 } Weiwei Sun Head-driven Phrase Structure Grammar I 36/61

Basic Idea Typed feature structure HPSG: First glance<br />

Unification: Formal definition (skip)<br />

Definition<br />

Suppose F, F ′ ∈ FS such that F = 〈Q, r, θ, δ〉, F ′ =<br />

〈Q ′ , r ′ , θ ′ , δ ′ 〉, and Q ∩ Q ′ = ∅. We first define an equivalence<br />

relation ⊲⊳ on Q ∪ Q ′ as the least equivalence relation such that:<br />

◮ r ⊲⊳ r ′<br />

◮ δ(f, q) ⊲⊳ δ(f, q ′ ) if both are defined and r ⊲⊳ r ′<br />

The unification of F and F ′ is defined as:<br />

F ⊔ F ′ = 〈(Q ∪ Q ′ )/ ⊲⊳ , [r] ⊲⊳ , θ ⊲⊳ , δ ⊲⊳ 〉<br />

where: θ ⊲⊳ ([q] ⊲⊳ ) = ∪{(θ ∪ θ ′ )(q ′ )|q ′ ⊲⊳ q} and<br />

⎧<br />

⎨ [(δ ∪ δ ′ )(f, q)] ⊲⊳ if (δ ∪ δ ′ )(f, q) is a well<br />

δ ⊲⊳ (f, [q] ⊲⊳ ) =<br />

defined function<br />

⎩<br />

undefined otherwise<br />

Similarly, [(δ ∪ δ ′ )(f, q)] ⊲⊳ denotes ∪{〈q ′ , (δ ∪ δ ′ )(q ′ )〉|q ′ ⊲⊳ q}.<br />

Weiwei Sun <strong>Head</strong>-<strong>driven</strong> <strong>Phrase</strong> <strong>Structure</strong> <strong>Grammar</strong> I 35/61

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

Saved successfully!

Ooh no, something went wrong!