Equations
- HPSG.instReprVForm.repr HPSG.VForm.finite prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "HPSG.VForm.finite")).group prec✝
- HPSG.instReprVForm.repr HPSG.VForm.infinitive prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "HPSG.VForm.infinitive")).group prec✝
- HPSG.instReprVForm.repr HPSG.VForm.gerund prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "HPSG.VForm.gerund")).group prec✝
- HPSG.instReprVForm.repr HPSG.VForm.pastParticiple prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "HPSG.VForm.pastParticiple")).group prec✝
- HPSG.instReprVForm.repr HPSG.VForm.presentParticiple prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "HPSG.VForm.presentParticiple")).group prec✝
Instances For
Equations
- HPSG.instReprVForm = { reprPrec := HPSG.instReprVForm.repr }
Equations
- HPSG.instReprInv.repr HPSG.Inv.plus prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "HPSG.Inv.plus")).group prec✝
- HPSG.instReprInv.repr HPSG.Inv.minus prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "HPSG.Inv.minus")).group prec✝
Instances For
Equations
- HPSG.instReprInv = { reprPrec := HPSG.instReprInv.repr }
The MODE feature on CONTENT, per @cite{sag-wasow-bender-2003} Ch. 7.
SWB2003 uses MODE to classify the semantic type of CONTENT:
ref: referential — pronouns, R-expressions, nounsana: anaphoric — reflexives, reciprocalsprop: propositional — declarative clausesques: question — interrogative clausesdir: directive — imperative clausesnoneMode: for elements with no MODE specification
Instances For
Equations
- HPSG.instReprMode.repr HPSG.Mode.ref prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "HPSG.Mode.ref")).group prec✝
- HPSG.instReprMode.repr HPSG.Mode.ana prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "HPSG.Mode.ana")).group prec✝
- HPSG.instReprMode.repr HPSG.Mode.prop prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "HPSG.Mode.prop")).group prec✝
- HPSG.instReprMode.repr HPSG.Mode.ques prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "HPSG.Mode.ques")).group prec✝
- HPSG.instReprMode.repr HPSG.Mode.dir prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "HPSG.Mode.dir")).group prec✝
- HPSG.instReprMode.repr HPSG.Mode.noneMode prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "HPSG.Mode.noneMode")).group prec✝
Instances For
Equations
- HPSG.instReprMode = { reprPrec := HPSG.instReprMode.repr }
Equations
- HPSG.instBEqMode.beq x✝ y✝ = (x✝.ctorIdx == y✝.ctorIdx)
Instances For
Equations
- HPSG.instBEqMode = { beq := HPSG.instBEqMode.beq }
Equations
- HPSG.instReprHeadFeatures = { reprPrec := HPSG.instReprHeadFeatures.repr }
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Content features for binding theory, per @cite{sag-wasow-bender-2003} Ch. 7.
SWB2003's binding theory uses MODE and ARG-ST outranking:
- Principle A: [MODE ana] must be outranked by a coindexed element
- Principle B: [MODE ref] must NOT be outranked by a coindexed element
This subsumes the Chomskyan three-principle system — both pronouns and R-expressions are [MODE ref], so Principle B handles both. No separate "Principle C" is needed.
- mode : Mode
MODE feature: ana for anaphors, ref for referential NPs
Referential index (for coindexation)
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- HPSG.instReprContentFeatures = { reprPrec := HPSG.instReprContentFeatures.repr }
Equations
Instances For
Equations
Instances For
Equations
Equations
- HPSG.instReprValence = { reprPrec := HPSG.instReprValence.repr }
Equations
- One or more equations did not get rendered due to their size.
Instances For
The SYNSEM value (syntax-semantics bundle).
- cat : UD.UPOS
- head : HeadFeatures
- val : Valence
- cont : ContentFeatures
MOD feature: what this sign modifies (none = not a modifier).
Per @cite{pollard-sag-1994} Ch. 1, MOD is a HEAD feature that restricts what a modifier can combine with. Relative clauses have
[MOD NP]; adjectives have[MOD N].
Instances For
Equations
- HPSG.instReprSynsem = { reprPrec := HPSG.instReprSynsem.repr }
Equations
- One or more equations did not get rendered due to their size.
Instances For
ARG-ST: the ordered list of a word's arguments, per @cite{sag-wasow-bender-2003} Ch. 7.
ARG-ST = SPR ⊕ COMPS. Outranking is defined over position in this list: element i outranks element j iff i < j.
Instances For
Equations
- HPSG.instReprArgSt.repr x✝ prec✝ = Std.Format.bracket "{ " (Std.Format.nil ++ Std.Format.text "args" ++ Std.Format.text " := " ++ (Std.Format.nest 8 (repr x✝.args)).group) " }"
Instances For
Equations
- HPSG.instReprArgSt = { reprPrec := HPSG.instReprArgSt.repr }
Does element at position i outrank element at position j on ARG-ST?
Per @cite{sag-wasow-bender-2003}: "X outranks Y iff X precedes Y on some ARG-ST list."
Instances For
Equations
- HPSG.instReprSign = { reprPrec := HPSG.instReprSign.repr }
Get the SYNSEM of a sign.
Equations
- (HPSG.Sign.word a a_1).synsem = a_1
- (HPSG.Sign.phrase a a_1).synsem = a_1
Instances For
Head-Complement Schema: head combines with its complements.
Instances For
Head-Modifier Schema: head combines with a modifier.
Per @cite{sag-wasow-bender-2003} (46), a saturated head combines with a modifier whose MOD value matches the head's category. Used for adjective modification ("tall boy"), PP modification ("book on the table"), and relative clauses ("book that John read").
- headSign : Sign
- modifier : Sign
- result : Sign
The modifier's MOD value must match the head's category
Head Feature Principle: result category = head category
Instances For
[INV +] requires aux-initial; [INV -] requires subject-initial.
Equations
- One or more equations did not get rendered due to their size.
- HPSG.satisfiesInversionConstraint (HPSG.Sign.word a a_1) = True
Instances For
Matrix questions require [INV +].
Equations
- HPSG.matrixQuestionRequiresInv s ct = (ct = ClauseType.matrixQuestion → s.synsem.head.inv = HPSG.Inv.plus)
Instances For
Embedded questions require [INV -].
Equations
Instances For
An HPSG grammar is a collection of signs with constraints.
- wellFormed (s : Sign) : s ∈ self.signs → satisfiesInversionConstraint s
Instances For
HPSG derivations are signs that satisfy all constraints.
- sign : Sign
- clauseType : ClauseType
- invOk : satisfiesInversionConstraint self.sign
- matrixOk : matrixQuestionRequiresInv self.sign self.clauseType
- embeddedOk : embeddedQuestionProhibitsInv self.sign self.clauseType
Instances For
HPSG Grammar instance.
Equations
- One or more equations did not get rendered due to their size.
[INV +] correlates with aux-before-subject order.
Equations
- HPSG.invPlusImpliesAuxFirst inv ws = (inv = HPSG.Inv.plus → auxPrecedesSubject ws = true)
Instances For
[INV -] correlates with subject-before-aux order.
Equations
- HPSG.invMinusImpliesSubjectFirst inv ws = (inv = HPSG.Inv.minus → subjectPrecedesAux ws = true)