An example word embedding matrix containing words used in examples. The embeddings are taken from the glove.6B.300d.txt file from https://nlp.stanford.edu/projects/glove/.

data(embedding_matrix_example)

Format

A data.frame in the format needed for formatWordEmbeddings

References

Jeffrey Pennington, Richard Socher, and Christopher D. Manning. 2014. GloVe: Global Vectors for Word Representation. https://nlp.stanford.edu/projects/glove/.