Text this: Preference laws for syllable structure and the explanation of sound change