title: [Word2Vec][gensim] Handling missing words in vocabulary with the parameter min_count
body: <p>Some similar questions have been asked regarding this topic, but I am not really satisfied with the replies so far; please excuse me for that first.</p>
  
  <p>I'm using the function <code>Word2Vec</code> from the python library <code>gensim</code>.</p>
  
  <p>My problem is that I <strong>can't run my model on every word of my corpus as long as I set the parameter <code>min_count</code> greater than one</strong>. Some would say it's logic cause I choose to ignore the words appearing only once. But the function is behaving weird cause it gives an <strong>error saying <em>word 'blabla' is not in the vocabulary</em></strong>, whereas this is exactly what I want ( I want this word to be out of the vocabulary).</p>
  
  <p>I can imagine this is not very clear, then find below a reproducible example:</p>
  
  <pre><code>import gensim
  from gensim.models import Word2Vec
  
  # My corpus
  corpus=[["paris","not","great","city"],
         ["praha","better","great","than","paris"],
         ["praha","not","country"]]
  
  # Load a pre-trained model - The orignal one based on google news 
  model_google = gensim.models.KeyedVectors.load_word2vec_format(r'GoogleNews-vectors-negative300.bin', binary=True)
  
  # Initializing our model and upgrading it with Google's 
  my_model = Word2Vec(size=300, min_count=2)#with min_count=1, everything works fine
  my_model.build_vocab(corpus)
  total_examples = my_model.corpus_count
  my_model.build_vocab([list(model_google.vocab.keys())], update=True)
  my_model.intersect_word2vec_format('GoogleNews-vectors-negative300.bin', binary=True, lockf=1.0)
  my_model.train(corpus, total_examples=total_examples, epochs=my_model.iter)
  
  # Show examples
  print(my_model['paris'][0:10])#works cause 'paris' is present twice
  print(my_model['country'][0:10])#does not work cause 'country' appears only once
  </code></pre>
  
  <p>You can find Google's model <a href="https://github.com/mmihaltz/word2vec-GoogleNews-vectors" rel="nofollow noreferrer">there</a> for example, but feel free to use any model or just do without, this is not the point of my post.</p>
  
  <p>As notified in the commentaries of the code: running the model on 'paris' works but not on 'country'. And of course, if I set the parameter <code>min_count</code> to 1, everything works fine.</p>
  
  <p>I hope it is clear enough.</p>
  
  <p>Thanks.</p>