Robust and efficient parsing for applications such as text-to-speech conversion