Learn R Programming

wordvector (version 0.6.1)

Word and Document Vector Models

Description

Create dense vector representation of words and documents using 'quanteda'. Implements Word2vec (Mikolov et al., 2013) , Doc2vec (Le & Mikolov, 2014) and Latent Semantic Analysis (Deerwester et al., 1990) .

Copy Link

Version

Install

install.packages('wordvector')

Monthly Downloads

171

Version

0.6.1

License

Apache License (>= 2.0)

Issues

Pull Requests

Stars

Forks

Maintainer

Kohei Watanabe

Last Published

February 25th, 2026

Functions in wordvector (0.6.1)

probability

Compute probability of words
similarity

Compute similarity between word or document vectors
textmodel_doc2vec

Doc2vec model
perplexity

Compute perplexity of a model
analogy

Convert formula to named character vector
as.matrix.textmodel_doc2vec

Extract word or document vectors
as.textmodel_doc2vec

Create distributed representation of documents
textmodel_lsa

Latent Semantic Analysis model
textmodel_word2vec

Word2vec model
print.textmodel_word2vec

Print method for trained word vectors
print.textmodel_doc2vec

Print method for trained document vectors
data_corpus_news2014

Yahoo News summaries from 2014