git404hub

what is welsh-mutation fr?

subsetpark/welsh-mutation — explained in plain English

Analysis updated 2026-05-18

0TypeScriptAudience · researcherComplexity · 3/5LicenseSetup · moderate

tl;dr

A tool that models and checks Welsh soft mutation grammar rules, predicting and verifying letter changes in real Welsh sentences.

vibe map

mindmap
  root((welsh-mutation))
    What it does
      Models Welsh soft mutation
      Predicts mutated forms
      Flags theory mismatches
    Tech stack
      TypeScript
      Node.js
    Use cases
      Check mutation correctness
      Predict mutated sentences
      Study literate report
      Export structured JSON
    Licensing
      BSD-3-Clause code
      CC BY-SA lexicon
      GPL optional lexicon
    Audience
      Linguists and researchers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Check whether a Welsh sentence follows soft, aspirate, or nasal mutation rules correctly.

VIBE 2

Predict the correctly mutated form of an unmutated Welsh sentence.

VIBE 3

Study a literate report that documents and tests a linguistic theory against real text.

VIBE 4

Export mutation analysis as structured JSON for use in other linguistics tooling.

what's the stack?

TypeScriptNode.js

how it stacks up fr

subsetpark/welsh-mutation0xkinno/astraea0xkinno/halcyon
Stars000
LanguageTypeScriptTypeScriptTypeScript
Setup difficultymoderatehardhard
Complexity3/54/54/5
Audienceresearcherdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · moderate time til it works · 30min

Requires downloading a Universal Dependencies Welsh dataset via npm scripts to build the word lexicon before use.

in plain english

This project is a working, testable model of a grammar rule in Welsh called soft mutation, where the first letter of a word changes depending on what comes before it in a sentence. The repository contains two connected parts: a written explanation of the linguistic theory behind why these letter changes happen, and a text processing tool that actually applies the theory to real Welsh sentences, checking each word to see whether it was mutated correctly and flagging any place where the theory's prediction disagrees with the real text. The tool can take a Welsh sentence and mark which letters were changed and why, name the specific grammatical rule responsible, and even predict what the correctly mutated form of a sentence should look like if you feed it unmutated text. It can output its reasoning as a readable tree showing each word's evidence and verdict, or as structured data for other programs to use. A separate written report walks through worked examples, and the project is set up so that report is automatically checked against the program's actual output when it is built, so the documentation cannot describe behavior the code does not actually have. Setting it up involves installing dependencies with npm and downloading a Welsh language dataset called Universal Dependencies, which the tool uses to build its word list. An optional, larger word list can also be built from a separate open source Welsh dictionary project, though that dataset carries a different license and is deliberately kept out of the repository itself. The project's own code is released under the BSD-3-Clause license. The main Welsh word list is licensed CC BY-SA 4.0 because it is built from another project's data, and the optional larger word list uses GPL-3.0 and is never included directly, only fetched locally when needed.

prompts (copy fr)

prompt 1
Walk me through installing welsh-mutation and running the CLI examples shown in its README.
prompt 2
Explain what the trigger/exception data and theory folder in welsh-mutation represent, based on its README.
prompt 3
Show me how welsh-mutation flags disagreements between predicted and observed mutations in Welsh text.
prompt 4
Explain the different licenses used for the code, the main lexicon, and the optional Apertium lexicon in this repo.

Frequently asked questions

what is welsh-mutation fr?

A tool that models and checks Welsh soft mutation grammar rules, predicting and verifying letter changes in real Welsh sentences.

What language is welsh-mutation written in?

Mainly TypeScript. The stack also includes TypeScript, Node.js.

How hard is welsh-mutation to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is welsh-mutation for?

Mainly researcher.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.