CRAN/E | PsychWordVec

PsychWordVec

Word Embedding Research Framework for Psychological Science

Installation

About

An integrative toolbox of word embedding research that provides: (1) a collection of 'pre-trained' static word vectors in the '.RData' compressed format ; (2) a series of functions to process, analyze, and visualize word vectors; (3) a range of tests to examine conceptual associations, including the Word Embedding Association Test doi:10.1126/science.aal4230 and the Relative Norm Distance doi:10.1073/pnas.1720347115, with permutation test of significance; (4) a set of training methods to locally train (static) word vectors from text corpora, including 'Word2Vec' , 'GloVe' doi:10.3115/v1/D14-1162, and 'FastText' ; (5) a group of functions to download 'pre-trained' language models (e.g., 'GPT', 'BERT') and extract contextualized (dynamic) word vectors (based on the R package 'text').

psychbruce.github.io/PsychWordVec/
Bug report File report

Key Metrics

Version 2023.9
R ≥ 4.0.0
Published 2023-09-27 216 days ago
Needs compilation? no
License GPL-3
CRAN checks PsychWordVec results

Downloads

Yesterday 9 0%
Last 7 days 86 -18%
Last 30 days 358 -9%
Last 90 days 1.108 -17%
Last 365 days 4.497 +85%

Maintainer

Maintainer

Han-Wu-Shuang Bao

baohws@foxmail.com

Authors

Han-Wu-Shuang Bao

aut / cre

Material

README
NEWS
Reference manual
Package source

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

PsychWordVec archive

Depends

R ≥ 4.0.0

Imports

bruceR
dplyr
stringr
data.table
purrr
vroom
cli
ggplot2
ggrepel
corrplot
psych
Rtsne
rgl
qgraph
rsparse
text2vec
word2vec
fastTextR
text
reticulate

Suggests

wordsalad
sweater
glue

Reverse Imports

FMAT