sl_semantic_space.Rd
Create semantic space from article dataframe
sl_semantic_space(abstract_df, col_names, riv_param = c(1024, 30))
abstract_df | dataframe containing abstract info |
---|---|
col_names | names of columns containing text (e.g., title, abstract) |
riv_param | integer vector (dims,sparsity) |
list containing
dictionary_words
character vector of unique words in corpus
word_vectors
matrix of semantic vectors for each word
article_vectors
matrix of semantic vectors for each article
author_list
character vector of authors
author_vectors
matrix of semantic vectors for each author