Implicature Theory #
Abstract interface for scalar implicature predictions.
The possible implicature outcomes for a scalar position.
- triggered : ImplicatureStatus
Implicature is derived (Bel_S(¬ψ) or P > threshold)
- possible : ImplicatureStatus
Implicature is available but not required
- blocked : ImplicatureStatus
Implicature is blocked (DE context, no competence)
- absent : ImplicatureStatus
No scalar item / irrelevant position
Instances For
Equations
Equations
- One or more equations did not get rendered due to their size.
Instances For
A theory that makes predictions about scalar implicatures.
- Structure : Type
The theory's internal representation of an utterance in context
Parse words into the theory's representation. Returns
noneif the theory can't parse this input.- implicatureStatus : Structure T → Nat → ImplicatureStatus
Predict the implicature status for a scalar position.
Position indexes into the word list:
- "some students sleep" → position 0 = some (scalar item)
Returns the theory's prediction about whether an implicature arises.
Optional: strength/probability (0-100 scale).
NeoGricean: baseline rate (e.g., 35% for contextualism) RSA: L1 probability converted to percentage
Returns
noneif the theory doesn't provide quantitative predictions.- predictsDEBlocking : Bool
Does the theory predict implicature blocked in downward-entailing contexts?
- predictsTaskEffect : Bool
Does the theory predict a task effect (asking about SI raises rate)?
- predictedBaselineRate : Nat
Predicted baseline implicature rate (%) in neutral contexts
Instances
Check if implicature is derived at position pos
Equations
- Interfaces.derivesImplicature s pos = match Interfaces.ImplicatureTheory.implicatureStatus s pos with | Interfaces.ImplicatureStatus.triggered => true | x => false
Instances For
Check if implicature is blocked at position pos
Equations
- Interfaces.blocksImplicature s pos = match Interfaces.ImplicatureTheory.implicatureStatus s pos with | Interfaces.ImplicatureStatus.blocked => true | x => false
Instances For
Check if implicature is possible (but not required) at position pos
Equations
- Interfaces.possibleImplicature s pos = match Interfaces.ImplicatureTheory.implicatureStatus s pos with | Interfaces.ImplicatureStatus.possible => true | x => false
Instances For
Check if any implicature arises (triggered or possible) at position pos
Equations
- One or more equations did not get rendered due to their size.
Instances For
Two theories agree on a sentence at a position if they make the same status prediction
Equations
- One or more equations did not get rendered due to their size.
Instances For
Two theories agree on whether an implicature is derived
Equations
- One or more equations did not get rendered due to their size.
Instances For
Two theories agree on DE blocking prediction
Equations
Instances For
Two theories agree on task effect prediction
Equations
Instances For
Compare a theory's predicted rate to empirical data.
Equations
Instances For
Which theory's baseline is closer to observed data?
Equations
- One or more equations did not get rendered due to their size.
Instances For
Coverage status for a phenomenon.
- complete : CoverageStatus
- incomplete : CoverageStatus
- outOfScope : CoverageStatus
- wrong : CoverageStatus
Instances For
Equations
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Equations
- Interfaces.instBEqCoverageStatus.beq x✝ y✝ = (x✝.ctorIdx == y✝.ctorIdx)
Instances For
Pragmatic phenomena that theories might cover
- scalarImplicature : PragmaticPhenomenon
- deBlocking : PragmaticPhenomenon
- taskEffect : PragmaticPhenomenon
- referenceGames : PragmaticPhenomenon
- knowledgeCancellation : PragmaticPhenomenon
- exhaustivity : PragmaticPhenomenon
- freeChoice : PragmaticPhenomenon
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Interfaces.instBEqPragmaticPhenomenon.beq x✝ y✝ = (x✝.ctorIdx == y✝.ctorIdx)
Instances For
Coverage report for a single phenomenon
- phenomenon : PragmaticPhenomenon
- status : CoverageStatus
- notes : String
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Full coverage report for a theory
- theoryName : String
- phenomena : List PhenomenonCoverage
Instances For
Equations
Equations
- One or more equations did not get rendered due to their size.
Instances For
Get status for a phenomenon (helper)
Equations
- tc.statusFor p = Option.map (fun (x : Interfaces.PhenomenonCoverage) => x.status) (List.find? (fun (x : Interfaces.PhenomenonCoverage) => x.phenomenon == p) tc.phenomena)
Instances For
Count phenomena by status
Equations
- tc.countByStatus s = (List.filter (fun (x : Interfaces.PhenomenonCoverage) => x.status == s) tc.phenomena).length
Instances For
List incomplete phenomena
Equations
- One or more equations did not get rendered due to their size.
Instances For
List out-of-scope phenomena
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
Equations
Generate coverage summary for a theory
Equations
- One or more equations did not get rendered due to their size.
Instances For
A DE blocking test case derived from empirical data.
- ueDescription : String
Description of the UE example
- deDescription : String
Description of the DE example
- scalarTerm : String
The scalar term
- expectedUE : Bool
Expected: implicature arises in UE
- expectedDE : Bool
Expected: implicature blocked in DE
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Equations
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
Test a theory against a DE blocking test case
Equations
- One or more equations did not get rendered due to their size.
Instances For
Result of testing a theory against task effect data
- theoryPredictsTaskEffect : Bool
Does the theory predict task effect?
- dataShowsTaskEffect : Bool
Does the data show task effect?
- predictedRate : Nat
Theory's predicted baseline rate
- observedRate : Nat
Observed rate (verification task)
- rateDifference : Nat
Difference between predicted and observed
- isMatch : Bool
Does theory match data?
Instances For
Equations
Equations
- One or more equations did not get rendered due to their size.
Instances For
Test a theory against task effect data
Equations
- One or more equations did not get rendered due to their size.
Instances For
A theory captures DE blocking data if its prediction isMatch the pattern.
- testCase : DEBlockingTestCase
The test case from empirical data
Proof that theory isMatch data
Instances
A theory captures task effect data if its predictions match the observations
- taskEffectData : TaskEffectTestCase
The task effect data
- tolerance : Nat
Tolerance for rate matching
- taskEffectMatches : ((testTaskEffect (taskEffectData T) (tolerance T)).theoryPredictsTaskEffect == (testTaskEffect (taskEffectData T) (tolerance T)).dataShowsTaskEffect) = true
Proof that theory isMatch task effect pattern
- rateWithinTolerance : (testTaskEffect (taskEffectData T) (tolerance T)).rateDifference ≤ tolerance T
Proof that predicted rate is close to observed
Instances
Compare a theory's baseline rate to observed data.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Which of two theories is closer to observed rate?
Equations
- One or more equations did not get rendered due to their size.