给定一段英文文本，请翻译成中文。 


以下是一段英文文本：“Language models are a type of artificial intelligence that can determine the likelihood of a sequence of words. They are essential for natural language processing tasks such as language translation and text-to-speech synthesis.”
语言模型是一种人工智能类型，可以确定一系列单词的可能性。它们对于自然语言处理任务非常重要，如语言翻译和文本转语音合成。