Korean
Linking, nasalization, tensification, palatalization and other standard rules are applied to the whole line before it is written in the target script. That is why 십년 동안 기다렸던 약속 becomes simnyeon dongan gidaryeottteon yakssok rather than a letter-by-letter spelling.
Singers sometimes stretch or soften sounds for the melody. The output follows standard pronunciation, which is what most lines are sung with.