Add new word formatting logic for DNS v10

This change adds new dictation formatting code for DNS v10 and earlier.
The new code structure forms the basis for supporting dictation
formatting for DNS v11 and later.