Documentation

Linglib.Core.ScopeTypes

Scope Types #

Theory-neutral data types for scope readings and preferences.

A scope reading: an ordering of scope-taking elements.

  • ordering : List String

    Identifiers for scope-taking elements, in scope order (widest first)

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

        The surface scope reading (linear order = scope order)

        Equations
        Instances For

          Reverse (inverse) scope reading

          Equations
          Instances For

            The set of available scope readings for a form.

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

                Singleton: only one reading available

                Equations
                Instances For

                  Binary: exactly two readings (surface and inverse)

                  Equations
                  Instances For

                    Check if a specific reading is available

                    Equations
                    Instances For

                      Is the scope ambiguous (more than one reading)?

                      Equations
                      Instances For

                        A ranked preference over scope readings.

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

                            Specialized interface for binary scope ambiguity.

                            • form : α

                              The form/derivation

                            • scopeTaker1 : String

                              First scope-taker (surface-wide)

                            • scopeTaker2 : String

                              Second scope-taker (surface-narrow)

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

                                Binary scope availability: surface only, inverse only, or both.

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