Sound Change Applier (SCA)
Define and preview diachronic sound change rules to simulate historical language evolution.
Navigate: click Sound Changes in the sidebar.
Character Mode
Define rules by specifying target and replacement characters:
Macros expand automatically: V → vowel list, C → consonant list.
Boundary markers
#: word boundary (compatible form)^: word-initial boundary alias$: word-final boundary alias
Use them to express strictly word-initial/word-final changes.
Example
"Voicing of voiceless stops between vowels":
- Target:
p t k - Replacement:
b d g - Pre-context:
V - Post-context:
V
Feature Mode
Define more precise rules based on phonetic features:
- Target features: Use
+/-to specify (e.g.,[+voiced, -stop]) - Replacement features: Specify features to set/remove
- Phoneme matching: Real-time display of all phonemes matching the specified features
- Jaccard similarity: Auto-finds the closest IPA phoneme after feature replacement
- Feature inverted index: O(1) query acceleration
Feature mode also supports boundary-aware constraints for edge-specific rules.
Preview
- Single word test: Input a word → see sound change result + step-by-step log
- Batch preview: Changed-only table with pagination over all changed items
- Apply to lexicon: Write back changed lexicon forms
- Apply to grammar rules: Optional (per-rule toggle) for inflection/derivation fields
Batch table columns
Scope: Lexicon / Inflection / DerivationTarget: entry or rule nameField: changed field (affix/infix/circumfix/ablaut etc.)Original / Result: before-after values
Step-by-step workflows
Workflow 1: Create and verify one ruleset
- Add a new ruleset (for example
Early Shift). - Add one character-mode rule:
p t k -> b d gwith contextV _ V. - Run
Single Wordpreview on 5 sample words. - Confirm changelog order and expected outputs.
- Save and proceed to batch preview.
Workflow 2: Safe batch apply to lexicon
- Switch to
Batch Preview. - Verify changed count and page through all changed rows.
- Confirm no unintended high-frequency roots are affected.
- Click
Applyto update lexicon entries.
Workflow 3: Apply to selected grammar rules (advanced)
- In
Grammar, enableAllow SCA editsonly for target rules. - Return to
SCA -> Batch Preview. - Filter mentally by
ScopeandField. - Apply and then run
Grammar -> Inflection Test. - If needed, disable toggles again.
Advanced examples
Example A: Word-final devoicing
Rule:
- target:
b d g - replacement:
p t k - after context:
$
Validation:
tab->tapdag->dak- Ensure medial
b d gremain unchanged.
Example B: Feature-based spirantization
Rule idea:
- target features: stop consonants in intervocalic position
- replacement features: remove stop, add fricative-like features
Validation:
- Test on known
VTVenvironments. - Inspect
feature detaillog for each replacement. - Confirm resulting IPA symbols are expected.