为给定的文本生成一个2-gram语言模型。


文本：The quick brown fox jumps over the lazy dog.
2-gram语言模型是一种根据前一个单词预测下一个单词的模型。对于给定文本 "The quick brown fox jumps over the lazy dog."，生成的2-gram语言模型如下：

{
"The quick": ["brown"],
"quick brown": ["fox"],
"brown fox": ["jumps"],
"fox jumps": ["over"],
"jumps over": ["the"],
"over the": ["lazy"],
"the lazy": ["dog."]
}