KeyError: “word 'word' not in vocabulary” in word2vec
<p>I am using <code>word2vec</code>, wiki corpus I trained, what can I do if the word I input not in vocabulary in <code>word2vec</code>?</p>

<p><strong>Test it a bit:</strong></p>

<pre><code>model = word2vec.Word2Vec.load('model/' + 'wiki_chinese_word2vec.model')    
model['boom']
</code></pre>

<p><strong>Error:</strong></p>

<blockquote>
  <p>KeyError("word '%s' not in vocabulary" % word)</p>
</blockquote>