Documentation

Linglib.Phenomena.Negation.Basic

A negation inference test case.

  • premise : String

    The premise sentence

  • conclusion : String

    The conclusion sentence

  • setRelation : String

    The set relation licensing the inference

  • direction : String

    Direction of inference (up = subset→superset, down = superset→subset)

  • judgedValid : Bool

    Do speakers judge this as valid?

  • notes : String

    Notes on the judgment

Instances For
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For

      Negation is DE: "didn't see animal" → "didn't see dog" (downward valid).

      Given: dogs ⊆ animals If John didn't see any animal, he didn't see any dog.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For

        Negation is NOT UE: "didn't see dog" ↛ "didn't see animal" (upward invalid).

        Given: dogs ⊆ animals John could have not seen a dog but seen a cat (which is an animal).

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For

          Double negation restores UE: "didn't not see dog" → "didn't not see animal".

          DE ∘ DE = UE (proven in Core.Proposition and Entailment.Polarity)

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For

            DE blocks scalar implicature: "didn't eat some" ≠ "didn't eat some but not all".

            In UE contexts: "ate some" → "ate some but not all" (SI) In DE contexts: this implicature is blocked.

            • sentence : String

              The sentence in a DE context

            • siDerived : Bool

              Is the scalar implicature derived?

            • literalMeaning : String

              Expected meaning without SI

            • siMeaning : String

              Expected meaning with SI (if derived)

            • notes : String

              Notes

            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
                  Equations
                  • One or more equations did not get rendered due to their size.
                  Instances For

                    Negative Polarity Item licensing datum.

                    • sentence : String

                      The sentence with the NPI

                    • acceptable : Bool

                      Is it grammatical/acceptable?

                    • npi : String

                      The NPI being tested

                    • licensor : String

                      The licensing environment

                    Instances For
                      Equations
                      • One or more equations did not get rendered due to their size.
                      Instances For
                        Equations
                        Instances For
                          Equations
                          Instances For
                            Equations
                            Instances For
                              Equations
                              Instances For
                                Equations
                                • One or more equations did not get rendered due to their size.
                                Instances For