title: How to use word2vec to calculate the similarity distance by giving 2 words?
body: <p>Word2vec is a open source tool to calculate the words distance provided by Google. It can be used by inputting a word and output the ranked word lists according to the similarity. E.g.</p>
  
  <p>Input:</p>
  
  <pre><code>france
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>            Word       Cosine distance
  
              spain              0.678515
            belgium              0.665923
        netherlands              0.652428
              italy              0.633130
        switzerland              0.622323
         luxembourg              0.610033
           portugal              0.577154
             russia              0.571507
            germany              0.563291
          catalonia              0.534176
  </code></pre>
  
  <p>However, what I need to do is to calculate the similarity distance by giving 2 words. If I give the 'france' and 'spain', how can I get the score 0.678515 without reading the whole words list by giving just 'france'.</p>