Documentation

Linglib.Features.WordOrder

Word-order typology #

Framework-agnostic per-language word-order substrate (WALS chapters 81–83), under a bare-root WordOrder namespace in Features/.

Main definitions #

Implementation notes #

Each enum carries both .noDominant (a WALS-attested finding of no dominant order, e.g. German Ch 81) and .notInWALS (uncoded in that chapter); filtering on ≠ .noDominant would otherwise misread uncoded languages as nondominant. The three fields are bundled independently because WALS codes them independently (German is Ch 81 nondominant yet Ch 82 dominant), so WordOrderProfile.IsConsistent — not the type — enforces their entailments. The substrate is neutral on primacy: [Gre63] takes BasicOrder as primary, [Dry92] the OV/VO cut.

inductive HeadDirection :

Head direction of a construction: head-initial (VO, prepositions) vs head-final. Root-named (consumed across Fragments, Studies, Syntax); used for FOFC and the like.

Instances For
    def instReprHeadDirection.repr :
    HeadDirectionNatStd.Format
    Equations
    Instances For
      @[implicit_reducible]
      Equations
      @[implicit_reducible]
      Equations

      Classifications #

      WALS Ch 81: the six-way classification of basic constituent order.

      Instances For
        @[implicit_reducible]
        Equations
        def WordOrder.instReprBasicOrder.repr :
        BasicOrderNatStd.Format
        Equations
        Instances For

          WALS Ch 82: binary classification of subject–verb order.

          • sv : SVOrder
          • vs : SVOrder
          • noDominant : SVOrder

            WALS-attested "lacking a dominant order" (Ch 82).

          • notInWALS : SVOrder

            Language not coded in WALS Ch 82.

          Instances For
            @[implicit_reducible]
            Equations
            def WordOrder.instReprSVOrder.repr :
            SVOrderNatStd.Format
            Equations
            Instances For
              @[implicit_reducible]
              Equations

              WALS Ch 83: binary classification of object–verb order.

              • ov : OVOrder
              • vo : OVOrder
              • noDominant : OVOrder

                WALS-attested "lacking a dominant order" (Ch 83).

              • notInWALS : OVOrder

                Language not coded in WALS Ch 83.

              Instances For
                @[implicit_reducible]
                Equations
                @[implicit_reducible]
                Equations
                def WordOrder.instReprOVOrder.repr :
                OVOrderNatStd.Format
                Equations
                Instances For

                  A language's WALS Ch 81/82/83 word-order classifications, bundled.

                  Instances For
                    Equations
                    • One or more equations did not get rendered due to their size.
                    Instances For
                      def WordOrder.instDecidableEqWordOrderProfile.decEq (x✝ x✝¹ : WordOrderProfile) :
                      Decidable (x✝ = x✝¹)
                      Equations
                      • One or more equations did not get rendered due to their size.
                      Instances For

                        WALS converters and ISO lookups #

                        Look up Ch 81 basic order for an ISO 639-3 code. Returns .notInWALS when the language is absent from the chapter.

                        Equations
                        Instances For
                          def WordOrder.SVOrder.ofWALS (iso : String) :

                          Look up Ch 82 subject–verb order for an ISO 639-3 code. Returns .notInWALS when the language is absent from the chapter.

                          Equations
                          Instances For
                            def WordOrder.OVOrder.ofWALS (iso : String) :

                            Look up Ch 83 object–verb order for an ISO 639-3 code. Returns .notInWALS when the language is absent from the chapter.

                            Equations
                            Instances For

                              Derive a WordOrderProfile by ISO-639-3 lookup against WALS Ch 81/82/83; each field falls back to .notInWALS when its chapter has no entry. The default Fragment backend — override per field where grammars disagree with or extend WALS.

                              Equations
                              Instances For

                                Projections and consistency #

                                A profile is consistent when svOrder and ovOrder each either match what basicOrder entails or are uninformative (.noDominant / .notInWALS) — the latter for languages coded in some WALS chapters but not others.

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

                                  Classification predicates #

                                  abbrevs (transparent, so Decidable resolves via BasicOrder's DecidableEq).

                                  @[reducible, inline]

                                  b is SOV.

                                  Equations
                                  Instances For
                                    @[reducible, inline]

                                    b is SVO.

                                    Equations
                                    Instances For
                                      @[reducible, inline]

                                      b is VSO.

                                      Equations
                                      Instances For
                                        @[reducible, inline]

                                        b has Subject before Object: SOV, SVO, or VSO. [Gre63] Universal 1's antecedent.

                                        Equations
                                        Instances For
                                          @[reducible, inline]

                                          b has Object before Subject: VOS, OVS, or OSV. [Gre63] Universal 1's negative class.

                                          Equations
                                          Instances For
                                            @[reducible, inline]

                                            o is OV (object precedes verb). [Dry92]'s primary typological classification under Branching Direction Theory.

                                            Equations
                                            Instances For
                                              @[reducible, inline]

                                              o is VO (verb precedes object).

                                              Equations
                                              Instances For

                                                Verb position #

                                                Verb position in the clause, projected from object–verb order: VO ⇒ verb precedes complement (head-initial), OV ⇒ verb follows complement (head-final).

                                                • postverbal : VerbPosition

                                                  Verb precedes complement (head-initial VP).

                                                • preverbal : VerbPosition

                                                  Verb follows complement (head-final VP).

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