Form and meaning coding for the DLM #
How linguistic objects feed the discriminative lexicon ([heitmeier-chuang-baayen-2026] ch. 4
and 5). A form is a symbol string; its cues are the n-grams of the string padded with one
boundary symbol on each side (#a aa ap p#, #aa aap ap#), and its row of the form matrix C
is the multiple-hot indicator of those cues over the cue inventory (Box 4.2: C holds only 1s
and 0s). The padding is one boundary symbol whatever the width, unlike the k − 1 of strictly
local grammars (boundary), so DLM trigrams are not the 3-factors of subregular phonology. A
meaning is a multiset of atomic semantic primitives, a lexeme and its inflectional functions,
and conceptualization builds its vector as the sum of the primitives' vectors (eq. 5.3): a
novel inflected word is conceptualized from known primitives (eq. 5.5, §16.3). Conceptualization
is additive in the multiset by construction, which is what makes a linear mapping respect
proportional analogy (Studies/HeitmeierChuangBaayen2026).
Main declarations #
cues k w: thek-gram cues of the stringw.multiHot inv p: the indicator row of the units satisfyingpover an inventoryinv.cueVector k inv w: the row ofCforw.conceptualize emb: the additive map from primitive multisets to meaning vectors;imputed σ εis the resulting semantics of a lexeme at a cell.
References #
- [M. Heitmeier, Y.-Y. Chuang and R. H. Baayen, The Discriminative Lexicon (2026)][heitmeier-chuang-baayen-2026]
Form side #
The k-gram cues of a form: the k-factors of the string padded with one boundary symbol
on each side, JudiLing's make_cue_matrix with grams = k.
Equations
- DiscriminativeLexicon.cues k w = List.kFactors k (boundary 2 w)
Instances For
The multiple-hot row over an inventory inv of the units satisfying p.
Equations
- DiscriminativeLexicon.multiHot inv p j = if p (inv j) then 1 else 0
Instances For
The row of the form matrix C for the form w: the indicator of its cues over the cue
inventory.
Equations
- DiscriminativeLexicon.cueVector k inv w = DiscriminativeLexicon.multiHot inv fun (x : Augmented Sym) => x ∈ DiscriminativeLexicon.cues k w
Instances For
Meaning side #
Conceptualization: the meaning vector of a multiset of semantic primitives is the sum of the primitives' vectors, additive in the multiset.
Equations
- DiscriminativeLexicon.conceptualize emb = Multiset.sumAddMonoidHom.comp (Multiset.mapAddMonoidHom emb)
Instances For
Conceptualizing a lexeme with one inflectional function is the sum of their vectors — the imputed additive semantics of a paradigm cell (eq. 5.3).
Imputed semantics: the meaning of a lexeme at a cell conceptualized from the lexeme's vector and the inflectional function's vector (eq. 5.3; the constructed meaning-to-form route of Table 12.7, which §16.6 calls imputed embeddings for stems and exponents).
Equations
- DiscriminativeLexicon.imputed σ ε a b = (DiscriminativeLexicon.conceptualize (Sum.elim σ ε)) {Sum.inl a, Sum.inr b}