Simple clause structure: a subgraph rooted at the main verb.
- subject : Word
- verb : Word
- object : Option Word
- semanticPl : Bool
Whether the subject denotes a plurality. Defaults to matching syntactic number. Override for languages where syntactic and semantic number diverge (@cite{rakosi-2019}).
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Parse a simple transitive sentence into a clause.
Equations
- One or more equations did not get rendered due to their size.
- DepGrammar.Coreference.parseSimpleClause ws = none
Instances For
Build a dependency tree from a simple clause.
Indices: 0 = subject, 1 = verb (root), 2 = object (if present). Dependencies: subject ←nsubj— verb, object ←obj— verb.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Same local domain: both subject and object are dependents of the same head (the verb), hence in the same dependency subgraph.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Path length from subject to object: count edges through the shared head (subject → verb → object).
Equations
- One or more equations did not get rendered due to their size.
Instances For
D-command: word at index i d-commands word at index j in a
dependency tree if both are dependents of the same head and i
bears the subject relation (nsubj).
Equations
- One or more equations did not get rendered due to their size.
Instances For
Subject d-commands object: derived from the dependency tree. Both are dependents of the verb, and the subject bears nsubj.
Equations
- DepGrammar.Coreference.subjectDCommandsObject clause = match clause.object with | none => false | some val => DepGrammar.Coreference.dCommands clause.toDepTree 0 2
Instances For
Object does not d-command subject: derived from the tree. The object bears obj, not nsubj, so d-command fails.
Equations
- DepGrammar.Coreference.objectDCommandsSubject clause = match clause.object with | none => false | some val => DepGrammar.Coreference.dCommands clause.toDepTree 2 0
Instances For
Reflexive is licensed if d-commanded by an agreeing antecedent in the local domain.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Reciprocals must be d-commanded by a semantically plural antecedent. The plurality requirement is semantic, not morphosyntactic (@cite{rakosi-2019}).
Equations
- One or more equations did not get rendered due to their size.
Instances For
A pronoun must not be d-commanded by a coreferent antecedent locally.
Equations
- One or more equations did not get rendered due to their size.
Instances For
R-expression freedom in dependency grammar
Equations
- One or more equations did not get rendered due to their size.
Instances For
Is a sentence grammatical for coreference under dependency binding?
Equations
- One or more equations did not get rendered due to their size.
Instances For
Check if reflexive is licensed in a sentence
Equations
- DepGrammar.Coreference.reflexiveLicensedInSentence ws = match DepGrammar.Coreference.parseSimpleClause ws with | none => false | some clause => DepGrammar.Coreference.reflexiveLicensed clause
Instances For
Check if pronoun coreference is blocked
Equations
- DepGrammar.Coreference.pronounCoreferenceBlocked ws = match DepGrammar.Coreference.parseSimpleClause ws with | none => false | some clause => !DepGrammar.Coreference.pronounLocallyFree clause
Instances For
Dependency grammar coreference configuration
- strictLocality : Bool
Whether to use strict path-length locality
Instances For
Default configuration for coreference
Equations
Instances For
Compute coreference status using d-command (dependency paths)
Equations
- One or more equations did not get rendered due to their size.