Here are the spelling rules based on the examples:
- walk - walking: For most verbs, simply add '-ing' to the base form.
- dance - dancing: If the verb ends in a silent 'e', drop the 'e' before adding '-ing'.
- swim - swimming: If the verb ends in a consonant-vowel-consonant pattern and the last syllable is stressed, double the final consonant before adding '-ing'.