The incorporation of confidence measures to language understanding