PsychWordVec

Word Embedding Research Framework for Psychological Science.

An integrated toolkit of word embedding research that provides:

  1. A collection of pre-trained word vectors in the .RData compressed format;
  2. A variety of functions to process, analyze, and visualize word vectors;
  3. A range of tests to examine conceptual associations, including the Word Embedding Association Test (Caliskan et al., 2017) and the Relative Norm Distance (Garg et al., 2018);
  4. A set of training methods to locally train word vectors from text corpora, including Word2Vec (Mikolov et al., 2013), GloVe (Pennington et al., 2014), and FastText (Bojanowski et al., 2017).

CRAN-Version GitHub-Version R-CMD-check CRAN-Downloads GitHub-Stars

Author

Han-Wu-Shuang (Bruce) Bao 包寒吴霜

Email: baohws@foxmail.com

Homepage: psychbruce.github.io

Citation

Installation

## Method 1: Install from CRAN
install.packages("PsychWordVec")

## Method 2: Install from GitHub
install.packages("devtools")
devtools::install_github("psychbruce/PsychWordVec", force=TRUE)

Functions

See the documentation (help pages) for their usage and details.