Performs a bijective resonance swap: every open (resonant) bol becomes its closed (damped) counterpart and every closed bol becomes open in a single pass. Bols with no duality partner pass through unchanged. The transformation is its own inverse.
Input format & examples
Duality pairs (bidirectional swap):
| Closed | Open |
|---|---|
| Ka | Ga |
| Ki | Gi |
| Ke | Ge |
| Ta | Dha |
| Tin | Dhin |
Bols without a duality — Na, Tee/Ti, tit, kd, di, dhet — are left unchanged.
Standard phrases (ti ta, ti ra ki ta) are treated as atoms and never individually swapped.
Applying the swap twice returns the original phrase.
Examples
Dha Ge Na Dha ti ta Dha Ge Dhin Na Ge Na→Ta Ke Na Ta ti ta Ta Ke Tin Na Ke NaGe Ge ti ta Ge Ge Na Na→Ke Ke ti ta Ke Ke Na NaDhin Na Dha - ti Ra Ki ta Dhin Na→Tin Na Ta - ti Ra Ki ta Tin Na