Learn R Programming

wordvector (version 0.5.1)

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

429

Version

0.5.1

License

Apache License (>= 2.0)

Issues

Pull Requests

Stars

Forks

Maintainer

Kohei Watanabe

Last Published

June 20th, 2025

Functions in wordvector (0.5.1)

print.textmodel_wordvector

Print method for trained word vectors
textmodel_lsa

Latent Semantic Analysis model
as.matrix.textmodel_wordvector

Extract word vectors
probability

Compute probability of words
analogy

Convert formula to named character vector
textmodel_word2vec

Word2vec model
textmodel_doc2vec

Create distributed representation of documents
similarity

Compute similarity between word vectors
print.textmodel_docvector

Print method for trained document vectors
data_corpus_news2014

Yahoo News summaries from 2014