Read word embedding from file
reads the pretrained word embedding stored in text file or zip file
emb
= readWordEmbedding(filename
)filename
. The input file must be a text file with UTF-8
encoding in either the word2vec or GloVe text embedding format, or a zip file
containing a text file of this format.
If the word embedding file contains duplicate words, then the software uses the word vector corresponding to the last duplicate entry.
doc2sequence
| fastTextWordEmbedding
| tokenizedDocument
| trainWordEmbedding
| vec2word
| word2vec
| wordEmbedding
| wordEmbeddingLayer
| wordEncoding
| writeWordEmbedding