The reviewed record of science sign in
Pith

arxiv: 2605.28484 · v1 · pith:QNKDL2QT · submitted 2026-05-27 · cs.CL

Comonadic Morphophonology: A Compositional Framework for Context-Dependent Morphological Rules in Finnish

Reviewed by Pith T0 review T1 audit T2 compute T3 formal T4 kernel 2026-06-29 13:27 UTCgrok-4.3pith:QNKDL2QTrecord.jsonopen to challenge →

classification cs.CL
keywords comonadic morphophonologyWriter comonadFinnish morphologycoKleisli arrowsmorphological rulesbidirectional morphologycontext-dependent rules
0
0 comments X

The pith

Morphophonological rules in Finnish compose as coKleisli arrows under the Writer comonad.

A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.

The paper shows that each context-dependent rule such as consonant gradation or vowel harmony can be written as a function from a focused local context to one output segment. These local functions become coKleisli arrows of a Writer comonad whose deletion-tracking component lets length-changing rules compose without materializing intermediate strings. The construction replaces the 874 continuation classes used by Omorfi with only thirteen arrows while preserving the same surface behaviors. The same arrows support both analysis and generation, and a rule-only system reaches 83.92 percent UPOS accuracy on the UD Finnish-TDT treebank.

Core claim

The Writer comonad (DeletionSet × Zipper) restores strict coKleisli compositionality for length-changing morphophonological rules, so that each rule remains a local map from focused context to output segment whose global effect is recovered exactly by coKleisli extension.

What carries the argument

Writer comonad (DeletionSet x Zipper): pairs a monoid of deletions with a zipper over the word so that local rules extend to full transformations via coKleisli composition.

If this is right

  • Thirteen coKleisli arrows express the behaviors previously encoded by 874 continuation classes.
  • The same set of arrows supports both morphological analysis and generation.
  • Context-dependent rules compose without the state explosion that arises from transducer products.
  • Rule-only disambiguation yields 83.92 percent UPOS accuracy on UD Finnish-TDT.

Where Pith is reading between the lines

These are editorial extensions of the paper, not claims the author makes directly.

  • The same comonadic pattern may transfer to other languages whose morphophonology involves deletions or harmony.
  • The algebraic separation of local rules from global extension could let formal proofs replace exhaustive testing of morphological interactions.
  • Reusing analysis arrows for generation suggests a route to maintain consistency between a morphological analyzer and its generator.

Load-bearing premise

Every morphophonological rule in Finnish can be represented faithfully as a function from a focused local context to a single output segment whose global behavior is recovered exactly by coKleisli extension.

What would settle it

A Finnish word on which the thirteen coKleisli arrows produce a surface form different from the one generated by Omorfi's continuation classes.

Figures

Figures reproduced from arXiv: 2605.28484 by Yongseok Jang.

Figure 1
Figure 1. Figure 1: The ListZipper data structure for the word [PITH_FULL_IMAGE:figures/full_fig_p004_1.png] view at source ↗
Figure 2
Figure 2. Figure 2: Morphophonological pipeline as coKleisli composition. Each box is a coKleisli arrow ( [PITH_FULL_IMAGE:figures/full_fig_p004_2.png] view at source ↗
Figure 3
Figure 3. Figure 3: Step-by-step trace of consonant gradation on [PITH_FULL_IMAGE:figures/full_fig_p005_3.png] view at source ↗
read the original abstract

Composing finite-state transducers (FSTs) for context-dependent morphophonological rules -- consonant gradation, vowel harmony, possessive suffix assimilation -- leads to multiplicative state explosion; neural models sidestep the problem but provide no formal account of the rules themselves. We present the first framework where each morphophonological rule is a function from a focused local context to a single output segment -- the type of a local rule familiar from cellular automata -- and where length-changing rules compose as coKleisli arrows of a comonad. Our central contribution is the Writer comonad (DeletionSet x Zipper), a new algebraic construction that restores strict coKleisli compositionality for such rules: each rule is a coKleisli arrow, extend lifts it to a global transformation, and deletions accumulate as a monoid action rather than requiring intermediate materialization. As supporting evidence, thirteen coKleisli arrows provide an alternative formulation expressing the same morphophonological behaviors that Omorfi encodes via 874 continuation classes (67:1 reduction at the rule-representation level), and the same abstraction enables bidirectional morphology -- a MorphGenerator reuses the analysis arrows for generation. On UD Finnish-TDT, the system achieves 83.92% UPOS accuracy with rule-only disambiguation (94.66% with an external suffix tagger), validating the framework as a practical morphological engine.

Editorial analysis

A structured set of objections, weighed in public.

Desk editor's note, referee report, simulated authors' rebuttal, and a circularity audit. Tearing a paper down is the easy half of reading it; the pith above is the substance, this is the friction.

Referee Report

3 major / 2 minor

Summary. The manuscript presents a comonadic framework for Finnish morphophonology, modeling each rule as a coKleisli arrow under the Writer comonad (DeletionSet × Zipper). This allows compositional handling of length-changing rules, with 13 such arrows replacing 874 continuation classes from Omorfi (67:1 reduction), 83.92% UPOS accuracy on UD Finnish-TDT using rule-only disambiguation, and support for bidirectional morphology via reuse of analysis arrows for generation.

Significance. Should the framework be shown to correctly recover global transformations without loss, it would offer a significant algebraic alternative to finite-state methods for morphophonology, addressing state explosion while providing formal compositionality and bidirectionality. The approach could influence both theoretical linguistics and practical NLP systems by enabling machine-checkable rule systems.

major comments (3)
  1. [Abstract] Abstract: the reported 67:1 rule reduction from 874 continuation classes to 13 coKleisli arrows and the 83.92% UPOS accuracy are stated without derivation details, error analysis, baseline comparisons, or enumeration of the arrows, preventing verification of the central claim.
  2. [Writer comonad construction] The Writer comonad (DeletionSet × Zipper) section: the claim that coKleisli extension recovers exact global behavior for length-changing rules (including deletions as monoid action without information loss or incorrect handling) lacks a formal proof, machine-checked verification, or exhaustive test against Omorfi classes; this is load-bearing for both the reduction and the bidirectional reuse.
  3. [Evaluation] Evaluation: the UD Finnish-TDT results provide no error analysis or direct comparison to Omorfi, leaving open whether the local-to-global mapping via the comonad faithfully reproduces all behaviors or fails on non-local or ordering-sensitive cases.
minor comments (2)
  1. The notation for DeletionSet, Zipper, and coKleisli arrows would benefit from additional concrete examples of rule application in the main text.
  2. A table mapping the 13 arrows to representative Omorfi continuation classes would improve clarity of the claimed reduction.

Simulated Author's Rebuttal

3 responses · 2 unresolved

We thank the referee for the constructive feedback highlighting areas where additional detail would strengthen the manuscript. We address each major comment below, indicating planned revisions where appropriate. The core claims rest on the comonadic construction and empirical results, which we will clarify further.

read point-by-point responses
  1. Referee: [Abstract] Abstract: the reported 67:1 rule reduction from 874 continuation classes to 13 coKleisli arrows and the 83.92% UPOS accuracy are stated without derivation details, error analysis, baseline comparisons, or enumeration of the arrows, preventing verification of the central claim.

    Authors: The abstract is intentionally concise, but the derivation of the 13 arrows from Omorfi continuation classes is given in Section 3.2 with mappings for each rule type (consonant gradation, vowel harmony, etc.). The accuracy is computed in Section 5 from rule-only disambiguation on UD Finnish-TDT. To improve verifiability, we will add an explicit enumeration table of the 13 arrows and their coverage in an appendix and include a brief baseline note comparing to a simple FST baseline. revision: partial

  2. Referee: [Writer comonad construction] The Writer comonad (DeletionSet × Zipper) section: the claim that coKleisli extension recovers exact global behavior for length-changing rules (including deletions as monoid action without information loss or incorrect handling) lacks a formal proof, machine-checked verification, or exhaustive test against Omorfi classes; this is load-bearing for both the reduction and the bidirectional reuse.

    Authors: Section 3 defines the Writer comonad and coKleisli extension, with an argument that the monoid action on DeletionSet records deletions separately, allowing extend to reconstruct the global string without loss. A full formal proof is absent from the current version; we will add a detailed proof sketch in the revision showing that compositionality holds for length-changing cases. Machine-checked verification and exhaustive testing of all 874 classes are not provided. revision: yes

  3. Referee: [Evaluation] Evaluation: the UD Finnish-TDT results provide no error analysis or direct comparison to Omorfi, leaving open whether the local-to-global mapping via the comonad faithfully reproduces all behaviors or fails on non-local or ordering-sensitive cases.

    Authors: We agree that error analysis and direct comparison would address concerns about fidelity. In the revised manuscript we will add a breakdown of the 16.08% error cases by rule type and include a side-by-side token accuracy comparison against Omorfi on the same UD Finnish-TDT split to confirm that the comonadic mapping reproduces the expected behaviors on the evaluated data. revision: yes

standing simulated objections not resolved
  • Machine-checked verification of the coKleisli extension recovering exact global behavior for all length-changing rules.
  • Exhaustive test against all 874 Omorfi continuation classes.

Circularity Check

0 steps flagged

No circularity: algebraic construction is independent of its validation data

full rationale

The paper presents an algebraic framework defining the Writer comonad (DeletionSet × Zipper) and coKleisli arrows for morphophonological rules as a new construction. No equations, fitted parameters, or self-citations are shown that reduce the central claim (coKleisli extension recovering global behavior) to its inputs by construction. The 13-arrow formulation and UD Finnish-TDT validation are presented as external evidence rather than self-referential fits. The derivation chain remains self-contained against the stated assumptions without load-bearing self-citation or renaming of known results.

Axiom & Free-Parameter Ledger

0 free parameters · 1 axioms · 1 invented entities

The framework rests on the domain assumption that rules are strictly local context-to-segment functions and on the new algebraic entity of the Writer comonad; no free parameters or external axioms are mentioned.

axioms (1)
  • domain assumption Morphophonological rules are functions from focused local context to single output segment
    Explicitly stated as the type of a local rule familiar from cellular automata.
invented entities (1)
  • Writer comonad (DeletionSet x Zipper) no independent evidence
    purpose: Restores strict coKleisli compositionality for length-changing rules by accumulating deletions as monoid action
    Introduced as the central new algebraic construction in the abstract.

pith-pipeline@v0.9.1-grok · 5776 in / 1254 out tokens · 27119 ms · 2026-06-29T13:27:37.433304+00:00 · methodology

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Reference graph

Works this paper leans on

31 extracted references · 1 canonical work pages

  1. [1]

    online" 'onlinestring :=

    ENTRY address archivePrefix author booktitle chapter edition editor eid eprint eprinttype howpublished institution journal key month note number organization pages publisher school series title type volume year doi pubmed url lastchecked label extra.label sort.label short.list INTEGERS output.state before.all mid.sentence after.sentence after.block STRING...

  2. [2]

    write newline

    " write newline "" before.all 'output.state := FUNCTION n.dashify 't := "" t empty not t #1 #1 substring "-" = t #1 #2 substring "--" = not "--" * t #2 global.max substring 't := t #1 #1 substring "-" = "-" * t #2 global.max substring 't := while if t #1 #1 substring * t #2 global.max substring 't := if while FUNCTION word.in bbl.in capitalize " " * FUNCT...

  3. [3]

    Khuyagbaatar Batsuren, G \'a bor Bella, Aryaman Arora, Viktor Martinovic, Kyle Gorman, Zden e k Z abokrtsk \'y , Amarsanaa Ganbold, S \'a rka Dohnalov \'a , Magda S ev c \'i kov \'a , Kate r ina Pelegrinov \'a , Fausto Giunchiglia, Ryan Cotterell, and Ekaterina Vylomova. 2022. The SIGMORPHON 2022 shared task on morpheme segmentation. In Proceedings of the...

  4. [4]

    Jatayu Baxi and Brijesh Bhatt. 2024. Recent advancements in computational morphology: A comprehensive survey. arXiv preprint arXiv:2406.05424

  5. [5]

    Beesley and Lauri Karttunen

    Kenneth R. Beesley and Lauri Karttunen. 2003. Finite State Morphology. CSLI Publications, Stanford, CA

  6. [6]

    Eckhard Bick. 2000. The Parsing System ``Palavras'': Automatic Grammatical Analysis of P ortuguese in a C onstraint G rammar Framework . Aarhus University Press

  7. [7]

    Silvio Capobianco and Tarmo Uustalu. 2010. A categorical outlook on cellular automata. In Journ \'e es Automates Cellulaires ( JAC 2010) , volume 13 of TUCS Lecture Notes, pages 88--99. Turku Centre for Computer Science

  8. [8]

    Jane Chandlee. 2014. Strictly Local Phonological Processes. Ph.D. thesis, University of Delaware

  9. [9]

    Jane Chandlee and Jeffrey Heinz. 2018. Strict locality and phonological maps. Linguistic Inquiry, 49(1):23--60

  10. [10]

    Noam Chomsky and Morris Halle. 1968. The Sound Pattern of English. Harper & Row, New York

  11. [11]

    Giovanni de Felice. 2022. Categorical Tools for Natural Language Processing. Ph.D. thesis, University of Oxford

  12. [12]

    Markus Forsberg and Aarne Ranta. 2004. Functional morphology. In Proceedings of the Ninth ACM SIGPLAN International Conference on Functional Programming ( ICFP 2004) , pages 213--223, Snowbird, Utah. ACM

  13. [13]

    Omer Goldman, Khuyagbaatar Batsuren, Salam Khalifa, Aryaman Arora, Garrett Nicolai, Reut Tsarfaty, and Ekaterina Vylomova. 2023. SIGMORPHON--UniMorph 2023 shared task 0: Typologically diverse morphological inflection. In Proceedings of the 20th SIGMORPHON Workshop on Computational Research in Phonetics, Phonology, and Morphology , pages 117--125

  14. [14]

    Auli Hakulinen, Maria Vilkuna, Riitta Korhonen, Vesa Koivisto, Tarja Riitta Heinonen, and Irja Alho. 2004. Iso suomen kielioppi. Suomalaisen Kirjallisuuden Seura, Helsinki. Online edition (2008): http://scripta.kotus.fi/visk. URN:ISBN:978-952-5446-35-7

  15. [15]

    Katri Haverinen, Jenna Nyblom, Timo Viljanen, Veronika Laippala, Samuel Kohonen, Anna Missil \"a , Stina Ojala, Tapio Salakoski, and Filip Ginter. 2014. Building the essential resources for F innish: The T urku D ependency T reebank. Language Resources and Evaluation, 48(3):493--531

  16. [16]

    Jeffrey Heinz. 2018. The computational nature of phonological generalizations. In Larry M. Hyman and Frans Plank, editors, Phonological Typology, pages 126--195. De Gruyter Mouton

  17. [17]

    G \'e rard Huet. 1997. The zipper. Journal of Functional Programming, 7(5):549--554

  18. [18]

    Mans Hulden. 2009. Foma: A finite-state compiler and library. In Proceedings of the 12th Conference of the E uropean Chapter of the ACL : Demonstrations ( EACL 2009) , pages 29--32

  19. [19]

    Jenna Kanerva, Filip Ginter, Niko Miekka, Akseli Leino, and Tapio Salakoski. 2018. T urku N eural P arser P ipeline: An end-to-end system for the CoNLL 2018 shared task. In Proceedings of the CoNLL 2018 Shared Task: Multilingual Parsing from Raw Text to Universal Dependencies , pages 133--142, Brussels, Belgium. Association for Computational Linguistics

  20. [20]

    Kaplan and Martin Kay

    Ronald M. Kaplan and Martin Kay. 1994. Regular models of phonological rule systems. Computational Linguistics, 20(3):331--378

  21. [21]

    Fred Karlsson. 1990. Constraint grammar as a framework for parsing running text. In Proceedings of the 13th International Conference on Computational Linguistics ( COLING 1990)

  22. [22]

    Jordan Kodner, Salam Khalifa, Khuyagbaatar Batsuren, Hossep Dolatian, Ryan Cotterell, Faruk Akkus, Antonios Anastasopoulos, Taras Andrushko, Aryaman Arora, Nona Atanalov, G \'a bor Bella, Elena Budianskaya, Yustinus Ghanggo Ate, Omer Goldman, David Guriel, Simon Guriel, Silvia Guriel-Agiashvili, Witold Kieras, Andrew Krizhanovsky, and 11 others. 2022. SIG...

  23. [23]

    Kimmo Koskenniemi. 1983. Two-Level Morphology: A General Computational Model for Word-Form Recognition and Production. Ph.D. thesis, University of Helsinki. Publication No. 11, Department of General Linguistics

  24. [24]

    Pirinen, and Miikka Silfverberg

    Krister Lind \'e n, Erik Axelson, Senka Drobac, Sam Hardwick, Juha Kuokkala, Jyrki Niemi, Tommi A. Pirinen, and Miikka Silfverberg. 2013. HFST ---a system for creating NLP tools. In Systems and Frameworks for Computational Morphology, volume 380 of Communications in Computer and Information Science, pages 53--71. Springer

  25. [25]

    Minh Van Nguyen, Viet Dac Lai, Amir Pouran Ben Veyseh, and Thien Huu Nguyen. 2021. T rankit: A light-weight T ransformer-based toolkit for multilingual natural language processing. In Proceedings of the 16th Conference of the E uropean Chapter of the Association for Computational Linguistics: System Demonstrations ( EACL 2021) , pages 80--90. Association ...

  26. [26]

    Dominic Orchard and Alan Mycroft. 2012. A notation for comonads. In Implementation and Application of Functional Languages ( IFL 2012) , volume 8241 of LNCS, pages 1--17. Springer

  27. [27]

    Tommi A. Pirinen. 2015. Omorfi---free and open source morphological lexical database for F innish. In Proceedings of the 20th Nordic Conference of Computational Linguistics ( NODALIDA 2015) , pages 313--315. Link \"o ping University Electronic Press

  28. [28]

    Tommi A. Pirinen. 2019. Neural and rule-based F innish NLP models---expectations, experiments and experiences. In Proceedings of the Fifth International Workshop on Computational Linguistics for Uralic Languages, pages 104--114, Tartu, Estonia. Association for Computational Linguistics

  29. [29]

    a nen. 2006. Hunspell-fi in Kes\

    Harri Pitk \"a nen. 2006. Hunspell-fi in Kes\"akoodi 2006: Final report. Technical report, Finnish Centre for Open Source Solutions (COSS). Available at https://www.puimula.org/htp/archive/kesakoodi2006-report.pdf

  30. [30]

    Alan Prince and Paul Smolensky. 2004. Optimality Theory: Constraint Interaction in Generative Grammar. Blackwell, Malden, MA

  31. [31]

    Tarmo Uustalu and Varmo Vene. 2005. The essence of dataflow programming. In Programming Languages and Systems: Third A sian Symposium ( APLAS 2005) , volume 3780 of LNCS, pages 2--18. Springer