HPSG Interpretation of Fragment Entries #
@cite{pollard-sag-1994}, @cite{sag-wasow-bender-2003}
Maps Fragment lexical entries to HPSG Signs (words with appropriate Synsem).
This is the theory interpretation layer: Fragment entries are theory-neutral, and this module provides the HPSG-specific interpretation.
Design #
VerbEntry → Sign: based on complement type, sets HEAD and VALPronounEntry → Sign: NP-like signs with MODE content featureNounEntry → Sign: N or NP depending on proper/common; [MODE ref]QuantifierEntry → Sign: determiners
MODE Mapping (per @cite{sag-wasow-bender-2003} Ch. 7) #
- Reflexives/reciprocals → [MODE ana]
- Personal pronouns → [MODE ref]
- R-expressions (names) → [MODE ref]
Map a VerbEntry's complement type to an HPSG Valence.
The mapping follows standard HPSG practice:
- Intransitive: SUBJ ⟨NP⟩, COMPS ⟨⟩
- Transitive: SUBJ ⟨NP⟩, COMPS ⟨NP⟩
- Ditransitive: SUBJ ⟨NP⟩, COMPS ⟨NP, NP⟩
- Clause-embedding: SUBJ ⟨NP⟩, COMPS ⟨S⟩
Equations
- One or more equations did not get rendered due to their size.
Instances For
Map a VerbEntry to an HPSG Sign.
Equations
- HPSG.FromFragments.verbToSign v = HPSG.Sign.word v.toWord3sg { cat := UD.UPOS.VERB, val := HPSG.FromFragments.verbToValence v }
Instances For
Map a NounEntry to an HPSG Sign.
Proper names are NP (saturated); common nouns are N (unsaturated, needing a determiner). All nouns are [MODE ref].
Equations
- HPSG.FromFragments.nounToSign n = if n.proper = true then HPSG.Sign.word n.toWordSg { cat := UD.UPOS.PROPN } else HPSG.Sign.word n.toWordSg { cat := UD.UPOS.NOUN }
Instances For
Derive HPSG content features from a PronounType.
Per @cite{sag-wasow-bender-2003} Ch. 7:
- reflexive/reciprocal → [MODE ana]
- personal and all others → [MODE ref]
Equations
Instances For
Map a PronounEntry to an HPSG Sign with MODE content feature.
Equations
- HPSG.FromFragments.pronounToSign p = HPSG.Sign.word p.toWord { cat := UD.UPOS.PRON, cont := HPSG.FromFragments.pronounTypeToContent p.pronounType }
Instances For
Map a QuantifierEntry to an HPSG Sign.
Determiners select an N complement and yield an NP.
Equations
- HPSG.FromFragments.determinerToSign d = HPSG.Sign.word d.toWord { cat := UD.UPOS.DET, val := { comps := [UD.UPOS.NOUN] } }
Instances For
Map a unified LexResult to an HPSG Sign.
Equations
- HPSG.FromFragments.lexResultToSign (Fragments.English.Lexicon.LexResult.verb v) = HPSG.FromFragments.verbToSign v
- HPSG.FromFragments.lexResultToSign (Fragments.English.Lexicon.LexResult.pronoun p) = HPSG.FromFragments.pronounToSign p
- HPSG.FromFragments.lexResultToSign (Fragments.English.Lexicon.LexResult.noun n) = HPSG.FromFragments.nounToSign n
- HPSG.FromFragments.lexResultToSign (Fragments.English.Lexicon.LexResult.determiner d) = HPSG.FromFragments.determinerToSign d
Instances For
Build an HPSG lexicon (list of Signs) from all Fragment verbs.
Equations
Instances For
Build an HPSG lexicon from all Fragment pronouns.
Equations
Instances For
Build an HPSG lexicon from all Fragment nouns.
Equations
Instances For
Complete HPSG lexicon derived from all Fragments.