Word 2 Vec

Setup

pip install --upgrade gensim

Pairing Intention

Solve these simple problems:

  • king - man = X (L: queen)
  • king + queen = x (N: jibberish? L: emperor, god?)
  • (king - man) + king = x (N: emperor, L: emperor)
  • king + peasant = x
  • king - peasant =