Package: PsychWordVec 2023.9
PsychWordVec: Word Embedding Research Framework for Psychological Science
An integrative toolbox of word embedding research that provides: (1) a collection of 'pre-trained' static word vectors in the '.RData' compressed format <https://psychbruce.github.io/WordVector_RData.pdf>; (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' <arxiv:1301.3781>, 'GloVe' <doi:10.3115/v1/D14-1162>, and 'FastText' <arxiv:1607.04606>; (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').
Authors:
PsychWordVec_2023.9.tar.gz
PsychWordVec_2023.9.zip(r-4.5)PsychWordVec_2023.9.zip(r-4.4)PsychWordVec_2023.9.zip(r-4.3)
PsychWordVec_2023.9.tgz(r-4.4-any)PsychWordVec_2023.9.tgz(r-4.3-any)
PsychWordVec_2023.9.tar.gz(r-4.5-noble)PsychWordVec_2023.9.tar.gz(r-4.4-noble)
PsychWordVec_2023.9.tgz(r-4.4-emscripten)PsychWordVec_2023.9.tgz(r-4.3-emscripten)
PsychWordVec.pdf |PsychWordVec.html✨
PsychWordVec/json (API)
NEWS
# Install 'PsychWordVec' in R: |
install.packages('PsychWordVec', repos = c('https://psychbruce.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/psychbruce/psychwordvec/issues
- demodata - Demo data (pre-trained using word2vec on Google News; 8000 vocab, 300 dims).
bertcosine-similarityfasttextglovegptlanguage-modelnatural-language-processingnlppretrained-modelspsychologysemantic-analysistext-analysistext-miningtsneword-embeddingsword-vectorsword2vec
Last updated 1 years agofrom:0f1b53e2fb. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 25 2024 |
R-4.5-win | OK | Oct 25 2024 |
R-4.5-linux | OK | Oct 25 2024 |
R-4.4-win | OK | Oct 25 2024 |
R-4.4-mac | OK | Oct 25 2024 |
R-4.3-win | OK | Oct 25 2024 |
R-4.3-mac | OK | Oct 25 2024 |
Exports:as_embedas_wordveccccos_distcos_simcosine_similaritydata_transformdata_wordvec_loaddata_wordvec_subsetdict_expanddict_reliabilityget_wordvecload_embedload_wordvecmost_similarnormalizeorth_procrustespair_similaritypatternplot_networkplot_similarityplot_wordvecplot_wordvec_tSNEsum_wordvectab_similaritytest_RNDtest_WEATtext_inittext_model_downloadtext_model_removetext_to_vectext_unmasktokenizetrain_wordvec
Dependencies:abindafexaskpassbackportsbase64encbayestestRbitbit64bootbriobroombroom.mixedbruceRbslibcachemcallrcarcarDatacellrangercheckmateclassclicliprclockclustercodacodetoolscolorspacecorpcorcorrplotcowplotcpp11crayoncurldata.tabledatawizardDerivdescdiagramdialsDiceDesigndiffobjdigestdoBydoFuturedplyreffectsizeemmeansestimabilityevaluatefansifarverfastmapfastTextRfdrtoolfloatfontawesomeforcatsforeachforeignFormulafsfurrrfuturefuture.applygenericsggplot2ggrepelglassoglobalsgluegowerGPArotationGPfitgridExtragtablegtoolshardhathavenherehighrHmischmshtmlTablehtmltoolshtmlwidgetshttrigraphinsightinteractionsipredisobanditeratorsjpegjquerylibjsonlitejtoolsKernSmoothknitrlabelinglatticelavalavaanlgrlhslifecyclelistenvlme4lmerTestlpSolvelubridatemagrittrMASSMatrixMatrixExtraMatrixModelsmediationmemoisemgcvmicrobenchmarkmimeminqamlapimnormtmodelenvmodelrmunsellmvtnormnlmenloptrnnetnumDerivopenssloverlappingpanderparallellyparametersparsnippbapplypbivnormpbkrtestperformancepillarpkgbuildpkgconfigpkgloadplyrpngpraiseprettyunitsprocessxprodlimprogressprogressrpspsychpurrrqgraphquadprogquantregR.methodsS3R.ooR.utilsR6rappdirsRColorBrewerRcppRcppArmadilloRcppEigenRcppProgressRcppTOMLreadrreadxlrecipesrematchrematch2reshape2reticulaterglRhpcBLASctlriorlangrmarkdownrpartrprojrootrsamplersparserstudioapiRtsnesandwichsassscalessfdshapeslamsliderSparseMSQUAREMstringistringrsurvivalsystestthattexregtexttext2vectibbletidyrtidyselecttimechangetimeDatetinytextunetzdbutf8vctrsviridisviridisLitevroomwaldowarpwithrword2vecworkflowswritexlxfunyamlyardstickzoo