{
  "_id": "6a227a54cd65a98ecbd4cbf4",
  "Package": "PsychWordVec",
  "Title": "Word Embedding Research Framework for Psychological Science",
  "Version": "2025.11",
  "Date": "2025-11-30",
  "Authors@R": "c(person(given = \"Han Wu Shuang\",\nfamily = \"Bao\",\nrole = c(\"aut\", \"cre\"),\nemail = \"baohws@foxmail.com\",\ncomment = c(ORCID = \"0000-0003-3043-710X\")))",
  "Maintainer": "Han Wu Shuang Bao <baohws@foxmail.com>",
  "Description": "An integrative toolbox of word embedding research that\nprovides: (1) a collection of 'pre-trained' static word vectors\nin the '.RData' compressed format\n<https://psychbruce.github.io/WordVector_RData.pdf>; (2) a\ngroup of functions to process, analyze, and visualize word\nvectors; (3) a range of tests to examine conceptual\nassociations, including the Word Embedding Association Test\n<doi:10.1126/science.aal4230> and the Relative Norm Distance\n<doi:10.1073/pnas.1720347115>, with permutation test of\nsignificance; and (4) a set of training methods to locally\ntrain (static) word vectors from text corpora, including\n'Word2Vec' <doi:10.48550/arXiv.1301.3781>, 'GloVe'\n<doi:10.3115/v1/D14-1162>, and 'FastText'\n<doi:10.48550/arXiv.1607.04606>.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "LazyDataCompression": "xz",
  "URL": "https://psychbruce.github.io/PsychWordVec/",
  "BugReports": "https://github.com/psychbruce/PsychWordVec/issues",
  "RoxygenNote": "7.3.3",
  "Roxygen": "list(markdown = TRUE)",
  "Config/pak/sysreqs": "cmake libfreetype6-dev libglpk-dev libglu1-mesa-dev\nmake texlive libicu-dev libjpeg-dev libpng-dev libuv1-dev\nlibxml2-dev libgl1-mesa-dev libssl-dev libx11-dev zlib1g-dev",
  "Repository": "https://psychbruce.r-universe.dev",
  "Date/Publication": "2026-03-07 08:46:43 UTC",
  "RemoteUrl": "https://github.com/psychbruce/psychwordvec",
  "RemoteRef": "HEAD",
  "RemoteSha": "9276201d5273ca3d6bef166ac93edfcd0c6d4eec",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-05 07:18:13 UTC",
    "User": "root"
  },
  "Author": "Han Wu Shuang Bao [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-3043-710X>)",
  "MD5sum": "d6666b97d3f276a2d29e30b334a548ac",
  "_user": "psychbruce",
  "_type": "src",
  "_file": "PsychWordVec_2025.11.tar.gz",
  "_fileid": "a2e8bf2fb5a204dc87efe44785f50f397c4e37b9afef20f6a446c0c61076efa6",
  "_filesize": 4057781,
  "_sha256": "a2e8bf2fb5a204dc87efe44785f50f397c4e37b9afef20f6a446c0c61076efa6",
  "_created": "2026-06-05T07:18:13.000Z",
  "_published": "2026-06-05T07:27:15.985Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79682187071,
      "time": 264,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7431031820"
    },
    {
      "job": 79682187065,
      "time": 257,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7431029423"
    },
    {
      "job": 79682187036,
      "time": 123,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7431095174"
    },
    {
      "job": 79682187070,
      "time": 170,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7431035706"
    },
    {
      "job": 79681530895,
      "time": 298,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7430962188"
    },
    {
      "job": 79682187103,
      "time": 226,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7431021644"
    },
    {
      "job": 79682187097,
      "time": 138,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7430998943"
    },
    {
      "job": 79682187082,
      "time": 158,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7431004146"
    },
    {
      "job": 79682187099,
      "time": 110,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7430992022"
    }
  ],
  "_buildurl": "https://github.com/r-universe/psychbruce/actions/runs/27001089858",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/psychbruce/psychwordvec",
  "_commit": {
    "id": "9276201d5273ca3d6bef166ac93edfcd0c6d4eec",
    "author": "Bruce <psychbruce@qq.com>",
    "committer": "Bruce <psychbruce@qq.com>",
    "message": "[2025.11]\n",
    "time": 1772873203
  },
  "_maintainer": {
    "name": "Han Wu Shuang Bao",
    "email": "baohws@foxmail.com",
    "login": "psychbruce",
    "twitter": "@BaoHWS",
    "description": "🔮 Social Computing & Causal Discovery | Assistant Professor @ ECNU",
    "uuid": 34391475,
    "orcid": "0000-0003-3043-710X"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "bruceR",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "vroom",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "ggrepel",
      "role": "Imports"
    },
    {
      "package": "corrplot",
      "role": "Imports"
    },
    {
      "package": "psych",
      "role": "Imports"
    },
    {
      "package": "Rtsne",
      "role": "Imports"
    },
    {
      "package": "rgl",
      "role": "Imports"
    },
    {
      "package": "qgraph",
      "role": "Imports"
    },
    {
      "package": "text",
      "role": "Suggests"
    },
    {
      "package": "text2vec",
      "role": "Suggests"
    },
    {
      "package": "word2vec",
      "role": "Suggests"
    },
    {
      "package": "rsparse",
      "role": "Suggests"
    },
    {
      "package": "fastTextR",
      "role": "Suggests"
    },
    {
      "package": "wordsalad",
      "role": "Suggests"
    },
    {
      "package": "sweater",
      "role": "Suggests"
    },
    {
      "package": "glue",
      "role": "Suggests"
    }
  ],
  "_owner": "psychbruce",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-23",
      "n": 1
    },
    {
      "week": "2025-29",
      "n": 1
    },
    {
      "week": "2025-34",
      "n": 1
    },
    {
      "week": "2026-10",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "bert",
    "cosine-similarity",
    "fasttext",
    "glove",
    "gpt",
    "language-model",
    "natural-language-processing",
    "nlp",
    "pretrained-models",
    "psychology",
    "semantic-analysis",
    "text-analysis",
    "text-mining",
    "tsne",
    "word-embeddings",
    "word-vectors",
    "word2vec"
  ],
  "_stars": 25,
  "_userbio": {
    "uuid": 34391475,
    "type": "user",
    "name": "Bruce H. W. S. Bao",
    "description": "🔮 Social Computing & Causal Discovery | Assistant Professor @ ECNU"
  },
  "_downloads": {
    "count": 209,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/PsychWordVec"
  },
  "_devurl": "https://github.com/psychbruce/psychwordvec",
  "_pkgdown": "https://psychbruce.github.io/PsychWordVec/",
  "_searchresults": 9,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/PsychWordVec.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/psychbruce/psychwordvec",
  "_realowner": "psychbruce",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2022-08-22"
    },
    {
      "version": "0.1.2",
      "date": "2022-11-03"
    },
    {
      "version": "0.2.0",
      "date": "2022-12-01"
    },
    {
      "version": "0.3.0",
      "date": "2022-12-15"
    },
    {
      "version": "0.3.1",
      "date": "2023-03-03"
    },
    {
      "version": "0.3.2",
      "date": "2023-03-04"
    },
    {
      "version": "2023.8",
      "date": "2023-08-08"
    },
    {
      "version": "2023.9",
      "date": "2023-09-27"
    },
    {
      "version": "2025.3",
      "date": "2025-03-30"
    },
    {
      "version": "2025.8",
      "date": "2025-08-19"
    },
    {
      "version": "2025.11",
      "date": "2025-11-30"
    }
  ],
  "_exports": [
    "as_embed",
    "as_wordvec",
    "cc",
    "cos_dist",
    "cos_sim",
    "cosine_similarity",
    "data_transform",
    "data_wordvec_load",
    "data_wordvec_subset",
    "dict_expand",
    "dict_reliability",
    "get_wordvec",
    "load_embed",
    "load_wordvec",
    "most_similar",
    "normalize",
    "orth_procrustes",
    "pair_similarity",
    "pattern",
    "plot_network",
    "plot_similarity",
    "plot_wordvec",
    "plot_wordvec_tSNE",
    "sum_wordvec",
    "tab_similarity",
    "test_RND",
    "test_WEAT",
    "tokenize",
    "train_wordvec"
  ],
  "_datasets": [
    {
      "name": "demodata",
      "title": "Demo data (pre-trained using word2vec on Google News; 8000 vocab, 300 dims).",
      "object": "demodata",
      "class": [
        "wordvec",
        "data.table",
        "data.frame"
      ],
      "fields": [
        "word",
        "vec"
      ],
      "rows": 8000,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "as_embed",
      "title": "Word vectors data class: 'wordvec' and 'embed'.",
      "topics": [
        "as_embed",
        "as_wordvec",
        "pattern",
        "[.embed"
      ]
    },
    {
      "page": "cosine_similarity",
      "title": "Cosine similarity/distance between two vectors.",
      "topics": [
        "cosine_similarity",
        "cos_dist",
        "cos_sim"
      ]
    },
    {
      "page": "data_transform",
      "title": "Transform plain text of word vectors into 'wordvec' (data.table) or 'embed' (matrix), saved in a compressed \".RData\" file.",
      "topics": [
        "data_transform"
      ]
    },
    {
      "page": "data_wordvec_load",
      "title": "Load word vectors data ('wordvec' or 'embed') from \".RData\" file.",
      "topics": [
        "data_wordvec_load",
        "load_embed",
        "load_wordvec"
      ]
    },
    {
      "page": "data_wordvec_subset",
      "title": "[S3 method] Extract a subset of word vectors data.",
      "topics": [
        "data_wordvec_subset",
        "subset.embed",
        "subset.wordvec"
      ]
    },
    {
      "page": "demodata",
      "title": "Demo data (pre-trained using word2vec on Google News; 8000 vocab, 300 dims).",
      "topics": [
        "demodata"
      ]
    },
    {
      "page": "dict_expand",
      "title": "Expand a dictionary from the most similar words.",
      "topics": [
        "dict_expand"
      ]
    },
    {
      "page": "dict_reliability",
      "title": "Reliability analysis and PCA of a dictionary.",
      "topics": [
        "dict_reliability"
      ]
    },
    {
      "page": "get_wordvec",
      "title": "Extract word vector(s).",
      "topics": [
        "get_wordvec"
      ]
    },
    {
      "page": "most_similar",
      "title": "Find the Top-N most similar words.",
      "topics": [
        "most_similar"
      ]
    },
    {
      "page": "normalize",
      "title": "Normalize all word vectors to the unit length 1.",
      "topics": [
        "normalize"
      ]
    },
    {
      "page": "orth_procrustes",
      "title": "Orthogonal Procrustes rotation for matrix alignment.",
      "topics": [
        "orth_procrustes"
      ]
    },
    {
      "page": "pair_similarity",
      "title": "Compute a matrix of cosine similarity/distance of word pairs.",
      "topics": [
        "pair_similarity"
      ]
    },
    {
      "page": "plot_network",
      "title": "Visualize a (partial correlation) network graph of words.",
      "topics": [
        "plot_network"
      ]
    },
    {
      "page": "plot_similarity",
      "title": "Visualize cosine similarity of word pairs.",
      "topics": [
        "plot_similarity"
      ]
    },
    {
      "page": "plot_wordvec",
      "title": "Visualize word vectors.",
      "topics": [
        "plot_wordvec"
      ]
    },
    {
      "page": "plot_wordvec_tSNE",
      "title": "Visualize word vectors with dimensionality reduced using t-SNE.",
      "topics": [
        "plot_wordvec_tSNE"
      ]
    },
    {
      "page": "sum_wordvec",
      "title": "Calculate the sum vector of multiple words.",
      "topics": [
        "sum_wordvec"
      ]
    },
    {
      "page": "tab_similarity",
      "title": "Tabulate cosine similarity/distance of word pairs.",
      "topics": [
        "tab_similarity"
      ]
    },
    {
      "page": "test_RND",
      "title": "Relative Norm Distance (RND) analysis.",
      "topics": [
        "test_RND"
      ]
    },
    {
      "page": "test_WEAT",
      "title": "Word Embedding Association Test (WEAT) and Single-Category WEAT.",
      "topics": [
        "test_WEAT"
      ]
    },
    {
      "page": "tokenize",
      "title": "Tokenize raw text for training word embeddings.",
      "topics": [
        "tokenize"
      ]
    },
    {
      "page": "train_wordvec",
      "title": "Train static word embeddings using the Word2Vec, GloVe, or FastText algorithm.",
      "topics": [
        "train_wordvec"
      ]
    }
  ],
  "_pkglogo": "https://github.com/psychbruce/psychwordvec/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/psychbruce/psychwordvec/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "afex",
    "askpass",
    "backports",
    "base64enc",
    "bayestestR",
    "bit",
    "bit64",
    "boot",
    "broom",
    "broom.mixed",
    "bruceR",
    "bslib",
    "cachem",
    "car",
    "carData",
    "cellranger",
    "checkmate",
    "cli",
    "clipr",
    "cluster",
    "coda",
    "codetools",
    "colorspace",
    "corpcor",
    "corrplot",
    "cowplot",
    "cpp11",
    "crayon",
    "curl",
    "data.table",
    "datawizard",
    "Deriv",
    "digest",
    "doBy",
    "dplyr",
    "effectsize",
    "emmeans",
    "estimability",
    "evaluate",
    "farver",
    "fastmap",
    "fdrtool",
    "fontawesome",
    "forcats",
    "forecast",
    "foreign",
    "Formula",
    "fracdiff",
    "fs",
    "furrr",
    "future",
    "generics",
    "ggplot2",
    "ggrepel",
    "glasso",
    "globals",
    "glue",
    "GPArotation",
    "gridExtra",
    "gtable",
    "gtools",
    "haven",
    "highr",
    "Hmisc",
    "hms",
    "htmlTable",
    "htmltools",
    "htmlwidgets",
    "httr",
    "igraph",
    "insight",
    "interactions",
    "isoband",
    "jpeg",
    "jquerylib",
    "jsonlite",
    "jtools",
    "knitr",
    "labeling",
    "lattice",
    "lavaan",
    "lifecycle",
    "listenv",
    "lme4",
    "lmerTest",
    "lmtest",
    "lpSolve",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "mediation",
    "memoise",
    "mgcv",
    "microbenchmark",
    "mime",
    "minqa",
    "mnormt",
    "modelr",
    "mvtnorm",
    "nlme",
    "nloptr",
    "nnet",
    "numDeriv",
    "openssl",
    "pander",
    "parallelly",
    "parameters",
    "pbapply",
    "pbivnorm",
    "pbkrtest",
    "performance",
    "pillar",
    "pkgconfig",
    "plyr",
    "png",
    "prettyunits",
    "progress",
    "psych",
    "purrr",
    "qgraph",
    "quadprog",
    "quantreg",
    "R.methodsS3",
    "R.oo",
    "R.utils",
    "R6",
    "rappdirs",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "Rdpack",
    "readr",
    "readxl",
    "reformulas",
    "rematch",
    "reshape2",
    "rgl",
    "rio",
    "rlang",
    "rmarkdown",
    "rpart",
    "rstudioapi",
    "Rtsne",
    "S7",
    "sandwich",
    "sass",
    "scales",
    "SparseM",
    "stringi",
    "stringr",
    "survival",
    "sys",
    "texreg",
    "tibble",
    "tidyr",
    "tidyselect",
    "timeDate",
    "tinytex",
    "tzdb",
    "urca",
    "utf8",
    "vctrs",
    "viridisLite",
    "vroom",
    "withr",
    "writexl",
    "xfun",
    "yaml",
    "zoo"
  ],
  "_score": 4.698970004336019,
  "_indexed": true,
  "_nocasepkg": "psychwordvec",
  "_universes": [
    "psychbruce"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2025.11",
      "date": "2026-06-05T07:22:25.000Z",
      "distro": "noble",
      "commit": "9276201d5273ca3d6bef166ac93edfcd0c6d4eec",
      "fileid": "9a40026efdcb9881cd9bee797a9e8f0ad7947b0c36ea1316a92b439d0f5915c4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/psychbruce/actions/runs/27001089858"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2025.11",
      "date": "2026-06-05T07:22:20.000Z",
      "distro": "noble",
      "commit": "9276201d5273ca3d6bef166ac93edfcd0c6d4eec",
      "fileid": "dc4240b2b4734dcca47e08750ffe6261db1c8f666572c0d009443557b693d71a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/psychbruce/actions/runs/27001089858"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2025.11",
      "date": "2026-06-05T07:26:30.000Z",
      "commit": "9276201d5273ca3d6bef166ac93edfcd0c6d4eec",
      "fileid": "ae400900bca797b846fc63120cc4d7796db55781547427262237b7ce736a07d4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/psychbruce/actions/runs/27001089858"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2025.11",
      "date": "2026-06-05T07:22:30.000Z",
      "commit": "9276201d5273ca3d6bef166ac93edfcd0c6d4eec",
      "fileid": "3ae62f8b7c7ccc0b4c32cf6d624df97d9b1cff70ccc5adb6a3d8f637e6676906",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/psychbruce/actions/runs/27001089858"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2025.11",
      "date": "2026-06-05T07:22:22.000Z",
      "commit": "9276201d5273ca3d6bef166ac93edfcd0c6d4eec",
      "fileid": "66fdd338e6ab3dc92a6f95abd2fcd35949a9a44be9a3c66132536caca13f75c7",
      "status": "success",
      "buildurl": "https://github.com/r-universe/psychbruce/actions/runs/27001089858"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2025.11",
      "date": "2026-06-05T07:20:15.000Z",
      "commit": "9276201d5273ca3d6bef166ac93edfcd0c6d4eec",
      "fileid": "95f909494425d7a672afb3dd691e19036973160ae82854ac8da0715941d17e63",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/psychbruce/actions/runs/27001089858"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2025.11",
      "date": "2026-06-05T07:20:34.000Z",
      "commit": "9276201d5273ca3d6bef166ac93edfcd0c6d4eec",
      "fileid": "339dd5787264ae33593fef132cd791b1d22403e95bc53a81b1b985017675359a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/psychbruce/actions/runs/27001089858"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2025.11",
      "date": "2026-06-05T07:19:53.000Z",
      "commit": "9276201d5273ca3d6bef166ac93edfcd0c6d4eec",
      "fileid": "dbb217ce2c76cf7b659ebd8acfa0574cae4c74b7fb3cfcc54407996f4e661d1a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/psychbruce/actions/runs/27001089858"
    }
  ]
}