We want a number to let the computer understand us.
For that, we want to convert words into numeric representations (vectors or matrices).
If you are converting text into numerical embeddings you have 2 options →
Consider these 2 sentences
the cat sat on the mat
the dog sat on the cat