Text this: The relationship between prosodic weakening and sound change