generate_embedding_matrix: Generate Embedding Matrix for given word index

Description Usage Arguments Value

Description

Generate Embedding Matrix for given word index

Usage

1
2
generate_embedding_matrix(word_index, embedding_dim, max_words,
  glove_file_path)

Arguments

word_index

word index as generated by the tokenizer.

embedding_dim

Output dimension of the embedding layer.

max_words

Maximum number of words to consider using word frequency measure.

glove_file_path

File path location for glove embeddings.

Value

Embedding Matrix object


adityamangal410/deepSentimentR documentation built on June 3, 2019, 6:15 p.m.