On the Emergence of Linear Analogies in Word Embeddings