Verb class catalogues: schema #
Typed schema for a book's catalogue of verb classes: for each class, the section number and title
the book prints, its members, and its properties, each an alternation of the book's catalogue of
alternations, named by its section number, or a further property, with the diacritic and scope the
book gives it. Generated catalogues live in Data/VerbClasses/<Book>.lean, emitted from the
canonical <Book>.json by scripts/gen_verb_classes.py.
This is data: it imports nothing from Linglib/ and states no theorems. The vocabulary is that of
Levin's catalogue: an alternation is named by its section number in her Part One, and the further
properties are those her class descriptions name. A catalogue with another vocabulary, such as
VerbNet's thematic roles and frames, needs its own schema.
References #
Equations
- Data.VerbClasses.instDecidableEqDiacritic x✝ y✝ = if h : x✝.ctorIdx = y✝.ctorIdx then isTrue ⋯ else isFalse ⋯
Equations
- Data.VerbClasses.instReprDiacritic = { reprPrec := Data.VerbClasses.instReprDiacritic.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.
Equations
Equations
- Data.VerbClasses.instDecidableEqScope x✝ y✝ = if h : x✝.ctorIdx = y✝.ctorIdx then isTrue ⋯ else isFalse ⋯
Equations
- Data.VerbClasses.instReprScope = { reprPrec := Data.VerbClasses.instReprScope.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.
Equations
A derived nominal may have only its active or only its passive interpretation.
- active : NominalReading
- passive : NominalReading
Instances For
Equations
- Data.VerbClasses.instDecidableEqNominalReading x✝ y✝ = if h : x✝.ctorIdx = y✝.ctorIdx then isTrue ⋯ else isFalse ⋯
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Equations
- One or more equations did not get rendered due to their size.
The goal of a verb of communication is expressed by an object or by a to phrase.
- object : GoalPhrase
- toPhrase : GoalPhrase
Instances For
Equations
- Data.VerbClasses.instDecidableEqGoalPhrase x✝ y✝ = if h : x✝.ctorIdx = y✝.ctorIdx then isTrue ⋯ else isFalse ⋯
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Data.VerbClasses.instReprGoalPhrase = { reprPrec := Data.VerbClasses.instReprGoalPhrase.repr }
Equations
- One or more equations did not get rendered due to their size.
A sentential complement's goal is expressed as the book leaves it, not at all, by a required phrase, or by an optional one.
- unspecified : GoalRealization
- absent : GoalRealization
- required (g : GoalPhrase) : GoalRealization
- optional (g : GoalPhrase) : GoalRealization
Instances For
Equations
- One or more equations did not get rendered due to their size.
- Data.VerbClasses.instDecidableEqGoalRealization.decEq Data.VerbClasses.GoalRealization.unspecified Data.VerbClasses.GoalRealization.unspecified = isTrue ⋯
- Data.VerbClasses.instDecidableEqGoalRealization.decEq Data.VerbClasses.GoalRealization.unspecified (Data.VerbClasses.GoalRealization.required g) = isFalse ⋯
- Data.VerbClasses.instDecidableEqGoalRealization.decEq Data.VerbClasses.GoalRealization.unspecified (Data.VerbClasses.GoalRealization.optional g) = isFalse ⋯
- Data.VerbClasses.instDecidableEqGoalRealization.decEq Data.VerbClasses.GoalRealization.absent Data.VerbClasses.GoalRealization.absent = isTrue ⋯
- Data.VerbClasses.instDecidableEqGoalRealization.decEq Data.VerbClasses.GoalRealization.absent (Data.VerbClasses.GoalRealization.required g) = isFalse ⋯
- Data.VerbClasses.instDecidableEqGoalRealization.decEq Data.VerbClasses.GoalRealization.absent (Data.VerbClasses.GoalRealization.optional g) = isFalse ⋯
- Data.VerbClasses.instDecidableEqGoalRealization.decEq (Data.VerbClasses.GoalRealization.required g) Data.VerbClasses.GoalRealization.unspecified = isFalse ⋯
- Data.VerbClasses.instDecidableEqGoalRealization.decEq (Data.VerbClasses.GoalRealization.required g) Data.VerbClasses.GoalRealization.absent = isFalse ⋯
- Data.VerbClasses.instDecidableEqGoalRealization.decEq (Data.VerbClasses.GoalRealization.required a) (Data.VerbClasses.GoalRealization.required b) = if h : a = b then h ▸ isTrue ⋯ else isFalse ⋯
- Data.VerbClasses.instDecidableEqGoalRealization.decEq (Data.VerbClasses.GoalRealization.required g) (Data.VerbClasses.GoalRealization.optional g_1) = isFalse ⋯
- Data.VerbClasses.instDecidableEqGoalRealization.decEq (Data.VerbClasses.GoalRealization.optional g) Data.VerbClasses.GoalRealization.unspecified = isFalse ⋯
- Data.VerbClasses.instDecidableEqGoalRealization.decEq (Data.VerbClasses.GoalRealization.optional g) Data.VerbClasses.GoalRealization.absent = isFalse ⋯
- Data.VerbClasses.instDecidableEqGoalRealization.decEq (Data.VerbClasses.GoalRealization.optional g) (Data.VerbClasses.GoalRealization.required g_1) = isFalse ⋯
- Data.VerbClasses.instDecidableEqGoalRealization.decEq (Data.VerbClasses.GoalRealization.optional a) (Data.VerbClasses.GoalRealization.optional b) = if h : a = b then h ▸ isTrue ⋯ else isFalse ⋯
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
A property the book lists for a class that is not one of its alternations.
- zeroRelatedNominal : PageProperty
- erNominal : PageProperty
- ingNominal : PageProperty
- processNominal : PageProperty
- resultNominal : PageProperty
- derivedNominal (reading : NominalReading) : PageProperty
- ableAdjective : PageProperty
- zeroRelatedAdjective : PageProperty
- sententialComplement (goal : GoalRealization) : PageProperty
- extraposition : PageProperty
- directSpeech : PageProperty
- parentheticalUse : PageProperty
- infinitivalCopularClause : PageProperty
- measurePhrase : PageProperty
- pathPhrase : PageProperty
- depictivePhrase : PageProperty
- substanceObject : PageProperty
- bodyPartObject : PageProperty
- collectiveNPSubject : PageProperty
- impersonalPassive : PageProperty
- passivePrepositionChoice : PageProperty
- fromPhrase : PageProperty
- withAlternatesWithIn : PageProperty
- ofAlternatesWithOut : PageProperty
- unspecifiedObjectPlusLocativePP : PageProperty
- coreferentialInterpretationVaries : PageProperty
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Equations
- One or more equations did not get rendered due to their size.
Instances For
A property line names an alternation by its section number in the book's catalogue of alternations, or a further property.
- alternation (number : List ℕ) : Heading
- property (p : PageProperty) : Heading
Instances For
Equations
- Data.VerbClasses.instDecidableEqHeading.decEq (Data.VerbClasses.Heading.alternation a) (Data.VerbClasses.Heading.alternation b) = if h : a = b then h ▸ isTrue ⋯ else isFalse ⋯
- Data.VerbClasses.instDecidableEqHeading.decEq (Data.VerbClasses.Heading.alternation number) (Data.VerbClasses.Heading.property p) = isFalse ⋯
- Data.VerbClasses.instDecidableEqHeading.decEq (Data.VerbClasses.Heading.property p) (Data.VerbClasses.Heading.alternation number) = isFalse ⋯
- Data.VerbClasses.instDecidableEqHeading.decEq (Data.VerbClasses.Heading.property a) (Data.VerbClasses.Heading.property b) = if h : a = b then h ▸ isTrue ⋯ else isFalse ⋯
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Data.VerbClasses.instReprHeading = { reprPrec := Data.VerbClasses.instReprHeading.repr }
A line of a class's property table records what it names, its diacritic and scope, and any further qualifier the book prints with it, such as "based on with variant" or "except kill".
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Equations
- One or more equations did not get rendered due to their size.
Instances For
A verb class as the book describes it has the section number and title the book prints, the page on which the class begins, the members and those of them the book marks as doubtful, and the property table in the book's order.
- number : String
- title : String
- page : ℕ
- members : List String
- doubtful : List String
- properties : List PropertyLine
Instances For
Equations
- Data.VerbClasses.instReprVerbClass = { reprPrec := Data.VerbClasses.instReprVerbClass.repr }
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Data.VerbClasses.instInhabitedVerbClass = { default := { number := "", title := "", page := 0, members := [], doubtful := [], properties := [] } }