<p> 假设将单词保存在变量word中,使用一个字典类型counts={},统计单词出现的次数可采用以下代码:( )</p>
<p> counts[word] = count[word] + 1</p>
<p> counts[word] = 1</p>
<p> counts[word] = count.get(word,1) + 1</p>
<p> counts[word] = count.get(word,0) + 1</p>