Learn R Programming

wordvector (version 0.3.0)

Word and Document Vector Models

Description

Create dense vector representation of words and documents using 'quanteda'. Currently implements Word2vec (Mikolov et al., 2013) and Latent Semantic Analysis (Deerwester et al., 1990) .

Copy Link

Version

Install

install.packages('wordvector')

Monthly Downloads

285

Version

0.3.0

License

Apache License (>= 2.0)

Issues

Pull Requests

Stars

Forks

Maintainer

Kohei Watanabe

Last Published

March 12th, 2025

Functions in wordvector (0.3.0)

textmodel_word2vec

Word2vec model
print.textmodel_wordvector

Print method for trained word vectors
as.matrix.textmodel_wordvector

Extract word vectors
textmodel_lsa

Latent Semantic Analysis model
probability

Compute probability of words
similarity

Compute similarity between word vectors
analogy

Convert formula to named character vector
textmodel_doc2vec

Create distributed representation of documents
weights

[experimental] Extract word vector weights
data_corpus_news2014

Yahoo News summaries from 2014
print.textmodel_docvector

Print method for trained document vectors