Silent letters are problematic, and some letters can behave differently depending on their context (in English, consonants such as m, y, and l can act as vowels in certain situations).
it is difficult to generate ONC tags for orthographic forms without at least a cursory knowledge of the language and its principles.