Documentation

Linglib.Core.Lexical.Word

Word #

@cite{biberauer-roberts-2014} @cite{dryer-1992}

The lexical unit and its building blocks: morphological feature types (aliased to Universal Dependencies), the Features bundle, and the Word structure.

Universal Dependencies Integration #

Morphological features are aliased to UD types:

Syntactic categories use UD.UPOS directly (the 17 universal POS tags).

Types without UD equivalents remain defined here:

@[reducible, inline]
abbrev Number :

Grammatical number. Aliased to UD.Number for cross-linguistic compatibility.

Equations
Instances For
    @[reducible, match_pattern, inline]

    Singular (compatibility alias for UD.Number.Sing)

    Equations
    Instances For
      @[reducible, match_pattern, inline]

      Plural (compatibility alias for UD.Number.Plur)

      Equations
      Instances For
        @[reducible, inline]
        abbrev Person :

        Grammatical person. Aliased to UD.Person for cross-linguistic compatibility.

        Constructors are: .first, .second, .third, .zero (no compatibility aliases needed - names match)

        Equations
        Instances For
          @[reducible, inline]
          abbrev Case :

          Grammatical case. Aliased to UD.Case for cross-linguistic compatibility.

          Equations
          Instances For
            @[reducible, inline]
            abbrev Case.nom :

            Nominative (compatibility alias)

            Equations
            Instances For
              @[reducible, inline]
              abbrev Case.acc :

              Accusative (compatibility alias)

              Equations
              Instances For
                @[reducible, inline]
                abbrev Case.gen :

                Genitive (compatibility alias)

                Equations
                Instances For
                  @[reducible, inline]
                  abbrev Voice :

                  Voice: active vs passive. Aliased to UD.Voice.

                  Equations
                  Instances For
                    @[reducible, inline]

                    Active voice (compatibility alias)

                    Equations
                    Instances For
                      @[reducible, inline]

                      Passive voice (compatibility alias)

                      Equations
                      Instances For
                        @[reducible, inline]
                        abbrev VForm :

                        Verb form. Aliased to UD.VerbForm.

                        Equations
                        Instances For
                          @[reducible, inline]

                          Finite (compatibility alias)

                          Equations
                          Instances For
                            @[reducible, inline]

                            Infinitive (compatibility alias)

                            Equations
                            Instances For
                              @[reducible, inline]

                              Past participle (compatibility alias - maps to Part)

                              Equations
                              Instances For
                                @[reducible, inline]

                                Present participle (compatibility alias - maps to Part)

                                Equations
                                Instances For
                                  @[reducible, inline]
                                  abbrev Tense :

                                  Tense. Aliased to UD.Tense.

                                  Equations
                                  Instances For
                                    @[reducible, inline]

                                    Past tense (compatibility alias)

                                    Equations
                                    Instances For
                                      @[reducible, inline]

                                      Present tense (compatibility alias)

                                      Equations
                                      Instances For
                                        @[reducible, inline]

                                        Future tense (compatibility alias)

                                        Equations
                                        Instances For
                                          inductive MassCount :

                                          Morphosyntactic mass/count feature. No direct UD equivalent.

                                          A formal feature parallel to grammatical gender — not an ontological distinction. Determines kind-anaphor morphology: [MASS] → it, [COUNT] → they. Evidence: pollen[MASS] → it vs pollen grains[COUNT] → they for the same referent (@cite{krifka-2026} §2).

                                          Instances For
                                            Equations
                                            Instances For
                                              Equations
                                              Equations
                                              Instances For
                                                inductive Valence :

                                                Transitivity / argument structure. No direct UD equivalent.

                                                Instances For
                                                  Equations
                                                  Instances For
                                                    Equations
                                                    inductive HeadDirection :

                                                    Head direction of a syntactic construction. Used for word-order typology and constraints like FOFC.

                                                    Instances For
                                                      structure Features :

                                                      Feature bundle for words. Uses aliased UD types.

                                                      Instances For
                                                        Equations
                                                        • One or more equations did not get rendered due to their size.
                                                        Instances For
                                                          def instDecidableEqFeatures.decEq (x✝ x✝¹ : Features) :
                                                          Decidable (x✝ = x✝¹)
                                                          Equations
                                                          • One or more equations did not get rendered due to their size.
                                                          Instances For
                                                            structure Word :

                                                            A word: form + category + features.

                                                            Instances For
                                                              Equations
                                                              • One or more equations did not get rendered due to their size.
                                                              Instances For
                                                                def Word.mk' (form : String) (cat : UD.UPOS) :

                                                                Convenience constructor for a featureless word (form + category only).

                                                                Equations
                                                                Instances For

                                                                  Derive a passive variant: sets voice to passive, valence to intransitive. Used to compose with VerbEntry.toWordPastPart for passive constructions.

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

                                                                    Convert a word list to a readable string.

                                                                    Equations
                                                                    Instances For