Layman's tutorial to word embeddings, explained in detail at: https://algobeans.com/2021/10/29/mapping-global-cuisine-with-word-embeddings
Word Embeddings generate similarity scores to deduce how distinct each word is relative to other words. Using these similarity scores, we can plot the words on a map, with more similar words being closer to each other. For example, the following is a word map generated by shortlisting the top 17 words most similar to Flatbread:


The code used can be found here: https://github.com/algobeans/Word-Embeddings/blob/main/word-embeddings.ipynb
A simplified example of the word embedding algorithm, based on two sentences and two target words:

For more details, see the full post at: https://algobeans.com/2021/10/29/mapping-global-cuisine-with-word-embeddings