Get scalar alternatives for a scale member in context.
Delegates to HornScale members filtered by semantic entailment,
polarity-aware.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Lightweight wrapper preserving the .implicatureArises accessor.
- implicatureArises : Bool
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Instances For
Does an alternative arise as a scalar implicature of a quantifier term?
Equations
- One or more equations did not get rendered due to their size.
Instances For
Example: "some" → "not all" in UE context
Equations
- One or more equations did not get rendered due to their size.
Instances For
Example: "some" → "not all" blocked in DE context
Equations
- One or more equations did not get rendered due to their size.
Instances For
Theorem: DE Blocks "Some → Not All"
In UE context, the implicature arises. In DE context, the implicature is blocked.
Theorem: In DE, "All" Has Implicatures
In DE context, "all" can implicate "not some" (reversed!).
Equations
- One or more equations did not get rendered due to their size.
Instances For
Two types of inferences from disjunction.
Exclusivity (scalar): "A or B" → "not (A and B)" Derived from Horn set ⟨or, and⟩.
Ignorance (non-scalar): "A or B" → "speaker doesn't know which" Derived from competence failure for individual disjuncts.
- exclusivity : DisjunctionInference
- ignorance : DisjunctionInference
Instances For
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
Analyze a simple disjunction in context.
Both exclusivity AND ignorance can arise together.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Theorem: Disjunction in UE Has Exclusivity
Theorem: Both Inferences Are Compatible
"A or B" can simultaneously implicate:
- "not both" (exclusivity)
- "speaker doesn't know which" (ignorance)
The long disjunction problem (@cite{geurts-2010} p.61-64).
For "A or B or C", the alternatives are not just {A, B, C}. We need ALL conjunctive closures:
- Core: A, B, C
- Binary: A∧B, A∧C, B∧C
- Full: A∧B∧C
The substitution method (replacing "or" with "and") fails to generate all necessary alternatives for n > 2.
The disjuncts
Core alternatives (individual disjuncts)
Derived alternatives (conjunctions)
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Generate the full conjunction of all terms.
Equations
- Implicature.ScalarImplicatures.fullConjunction terms = "∧".intercalate terms
Instances For
Analyze a long disjunction, computing all alternatives.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Example: Three-way disjunction
"A or B or C" has alternatives:
- Core: A, B, C
- Derived: A∧B, A∧C, B∧C, A∧B∧C
Equations
Instances For
Theorem: Three-way disjunction has 3 core alternatives
Theorem: Three-way disjunction has 4 derived alternatives
The 4 derived alternatives are: A∧B, A∧C, B∧C, A∧B∧C
Theorem: Total alternatives for 3-way = 7
Core (3) + Derived (4) = 7 alternatives
The simple substitution method: replace "or" with "and".
For "A or B": substitute to get "A and B" ✓ For "A or B or C": substitute to get "A and B and C" ✓ But MISSES: "A and B", "A and C", "B and C" ✗
This is why we need closure under conjunction.
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Compare substitution method to full closure.
Equations
Instances For
Theorem: Substitution Works for n=2
For "A or B", substitution gives "A and B" which is the only alternative.
Theorem: Substitution Fails for n=3
For "A or B or C", substitution gives 1 alternative but we need 4 (A∧B, A∧C, B∧C, A∧B∧C).
Complete scalar implicature derivation result.
- term : String
The original utterance's scalar term
Stronger alternatives found
Implicatures derived (negations of stronger alternatives)
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Derive all scalar implicatures for a term via HornScale.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Example: Complete derivation for "some" in UE context
Equations
- One or more equations did not get rendered due to their size.
Instances For
Theorem: "some" in UE derives "not(most)" and "not(all)"
Example: Complete derivation for "some" in DE context
Equations
- One or more equations did not get rendered due to their size.
Instances For
Theorem: "some" in DE derives NO implicatures
Derive scalar implicatures from a list of words. Each word is looked up in the scale registry; scalar words produce implicatures based on polarity context.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Check if any implicature in the results negates a given alternative.
Equations
- One or more equations did not get rendered due to their size.
Instances For
"some students sleep": scalar item is "some"
Equations
Instances For
"some students sleep" derives "not(all)"
"some students sleep" derives "not(most)"
"every student sleeps": "every" is scale-top, no stronger alternatives
Equations
Instances For
"every student sleeps" has no implicatures
"some students sleep" in DE: implicature blocked
Equations
Instances For
"some" in DE has no "not all" implicature
Derived: Defaultism predicts high neutral rate
Derived: Contextualism predicts moderate neutral rate
Derived: Only contextualism predicts task effect
Derived: The two variants make different predictions
This is what makes them empirically distinguishable.
Implicature's internal representation for implicature analysis.
Bundles the Standard Recipe result with context information.
- result : StandardRecipeResult
The Standard Recipe result (weak/strong implicature, competence)
- polarity : Core.NaturalLogic.ContextPolarity
Context polarity (upward vs downward entailing)
Position of the scalar item (if any)
- params : NeoGriceanParams
Which variant of Implicature (for baseline rate)
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Find the position of a scalar item in a word list
Equations
Instances For
Determine context polarity from words. Simplified: checks for negation markers.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Parse words into Implicature structure.
For now, uses a simplified analysis:
- Finds scalar item position
- Determines polarity from negation markers
- Assumes competence holds and derives strong implicature in UE
Equations
- One or more equations did not get rendered due to their size.
Instances For
Example: "some students sleep" in UE context
Equations
- Implicature.someStudentsSleepNG = { result := Implicature.applyStandardRecipe Implicature.BeliefState.disbelief, polarity := Core.NaturalLogic.ContextPolarity.upward, scalarPosition := some 0 }
Instances For
Example: "some students sleep" in DE context (under negation)
Equations
- One or more equations did not get rendered due to their size.