Documentation

Linglib.Morphology.Word.Basic

Word tokens #

The surface token: the unit (morpho)syntax treats as a word, approximating the ms-word of the ms-word/p-word split ([KBC+26]; the p-word is Phonology/Prosody/Word.lean). The token carries no theory of how words are formed: word-internal structure is Word/Tree.lean, the word-forming correspondence Paradigm/Linkage. A property belongs on the token only when a token-level engine reads it off the token's own data.

A word token is a surface form with its UD category and morphological features, as in a CoNLL-U row.

  • form : String

    The surface form.

  • cat : UD.UPOS

    The UD category.

  • features : UD.MorphFeatures

    The UD morphological features.

Instances For
    def Morphology.instReprWord.repr :
    WordStd.Format
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      @[implicit_reducible]
      Equations
      def Morphology.instDecidableEqWord.decEq (x✝ x✝¹ : Word) :
      Decidable (x✝ = x✝¹)
      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        def Morphology.Word.mk' (form : String) (cat : UD.UPOS) :

        The featureless word with the given form and category.

        Equations
        Instances For
          @[implicit_reducible]
          Equations
          @[implicit_reducible]
          Equations
          @[implicit_reducible]
          Equations
          @[implicit_reducible]

          Words compare by form and category, ignoring features, so homographs collapse.

          Equations
          @[implicit_reducible]
          Equations