// Basque Base Phonetic Rules
// ==========================
// Phonetic rules for Basque (Euskara).
// Basque is a language isolate with unique phonology.
//
// Key features:
// - Simple Latin orthography
// - Digraphs: tx, ts, tz, tt, dd, rr
// - X = "sh" sound
// - Z = "s" sound (NOT like English "z"!)
// - No F, V in native words
// - Palatalized consonants: tt, dd
//
// Rule IDs: 4950-4999
@name "Basque Base Phonetic Rules"
@version "1.0.0"
@author "liblevenshtein"
@description "Phonetic normalization rules for Basque"
// ============================================================
// DIGRAPHS (highest priority - must match before single letters)
// ============================================================
// Tx → t͡ʃ (like English "ch")
[id: 4950, name: "tx digraph", weight: 0.05, group: basque_digraphs, ipa: "/t͡ʃ/"]
tx -> t͡ʃ;
// Ts → t͡s (voiceless alveolar affricate)
[id: 4953, name: "ts digraph", weight: 0.05, group: basque_digraphs, ipa: "/t͡s/"]
ts -> t͡s;
// Tz → t͡s̻ (laminal alveolar affricate)
[id: 4956, name: "tz digraph", weight: 0.05, group: basque_digraphs, ipa: "/t͡s̻/"]
tz -> t͡s̻;
// Tt → c (voiceless palatal plosive)
[id: 4959, name: "tt digraph", weight: 0.05, group: basque_digraphs, ipa: "/c/"]
tt -> c;
// Dd → ɟ (voiced palatal plosive)
[id: 4961, name: "dd digraph", weight: 0.05, group: basque_digraphs, ipa: "/ɟ/"]
dd -> ɟ;
// Rr → r (trilled r)
[id: 4963, name: "rr digraph", weight: 0.05, group: basque_digraphs, ipa: "/r/"]
rr -> r;
// ============================================================
// SPECIAL CONSONANTS
// ============================================================
// X → ʃ (like English "sh")
[id: 4965, name: "x to ʃ", weight: 0.1, group: basque_special, ipa: "/ʃ/"]
x -> ʃ;
// Z → s̻ (laminal alveolar, NOT "z"!)
[id: 4967, name: "z to s̻", weight: 0.1, group: basque_special, ipa: "/s̻/"]
z -> s̻;
// S → s̺ (apical alveolar "s")
[id: 4969, name: "s consonant", weight: 0.1, group: basque_special, ipa: "/s̺/"]
s -> s̺;
// ============================================================
// CONSONANTS
// ============================================================
// Ñ → ɲ (palatal nasal, like Spanish ñ)
[id: 3249, name: "n tilde to ɲ", weight: 0.2, group: basque_consonants, ipa: "/ɲ/"]
ñ -> ɲ;
// R → ɾ (single tap)
[id: 3253, name: "r consonant", weight: 0.2, group: basque_consonants, ipa: "/ɾ/"]
r -> ɾ;
// V → b (v rare, often = b in loanwords)
[id: 3257, name: "v to b", weight: 0.2, group: basque_consonants]
v -> b;
// W → u (loanwords)
[id: 3259, name: "w to u", weight: 0.2, group: basque_consonants]
w -> u;
// Y → i (loanwords)
[id: 3261, name: "y to i", weight: 0.2, group: basque_consonants]
y -> i;