{
  "_id": "6a311d323efcd9bda435c209",
  "Package": "semanticfa",
  "Title": "Semantic Factor Analysis of Language Model Embeddings",
  "Version": "0.1.0",
  "Authors@R": "c(\nperson(\"Devon\", \"Yanitski\", , \"dyanitsk@ualberta.ca\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0009-0006-1568-3387\")),\nperson(\"Chris\", \"Westbury\", role = \"aut\")\n)",
  "Description": "Performs exploratory factor analysis on language model\nembeddings of psychological scale items. Embeds item text with\nsentence transformers or other language models, transforms the\nembeddings into item-by-item similarity matrices, and extracts\nlatent factor structure via standard exploratory factor\nanalysis. Supports embedding-adapted parallel analysis, several\nsimilarity transforms (atomic reversed, SQuID centering,\nmean-centered Pearson), and fit diagnostics tailored to\nembedding matrices (TEFI, RMSR, CAF, McDonald's omega). The\nunderlying methods are documented with full citations in the\ncorresponding function help pages. Returns objects compatible\nwith 'psych' and 'EFAtools' workflows.",
  "License": "GPL (>= 3)",
  "URL": "https://github.com/devon7y/semanticfa",
  "BugReports": "https://github.com/devon7y/semanticfa/issues",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "Config/pak/sysreqs": "libpng-dev python3",
  "Repository": "https://devon7y.r-universe.dev",
  "Date/Publication": "2026-06-08 23:55:10 UTC",
  "RemoteUrl": "https://github.com/devon7y/semanticfa",
  "RemoteRef": "HEAD",
  "RemoteSha": "df270c5e538160164277bb71a7de74900e15e850",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-16 09:49:30 UTC",
    "User": "root"
  },
  "Author": "Devon Yanitski [aut, cre] (ORCID:\n<https://orcid.org/0009-0006-1568-3387>),\nChris Westbury [aut]",
  "Maintainer": "Devon Yanitski <dyanitsk@ualberta.ca>",
  "MD5sum": "65a284598e613226223fb1804e6c7cc2",
  "_user": "devon7y",
  "_type": "src",
  "_file": "semanticfa_0.1.0.tar.gz",
  "_fileid": "34f063a3c358aa51d973dd2285f3d7d18749f4a45248e0a41344a06e62f00475",
  "_filesize": 514921,
  "_sha256": "34f063a3c358aa51d973dd2285f3d7d18749f4a45248e0a41344a06e62f00475",
  "_created": "2026-06-16T09:49:30.000Z",
  "_published": "2026-06-16T09:53:54.201Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 81628667855,
      "time": 218,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7663263419"
    },
    {
      "job": 81628667813,
      "time": 227,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7663267326"
    },
    {
      "job": 81628667871,
      "time": 183,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7663238394"
    },
    {
      "job": 81628667869,
      "time": 168,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7663232384"
    },
    {
      "job": 81627816299,
      "time": 264,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7663172110"
    },
    {
      "job": 81628667946,
      "time": 155,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7663236890"
    },
    {
      "job": 81628667979,
      "time": 164,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7663242832"
    },
    {
      "job": 81628667914,
      "time": 132,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7663227644"
    },
    {
      "job": 81628667891,
      "time": 155,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7663237084"
    }
  ],
  "_buildurl": "https://github.com/r-universe/devon7y/actions/runs/27608843795",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/devon7y/semanticfa",
  "_commit": {
    "id": "df270c5e538160164277bb71a7de74900e15e850",
    "author": "devon7y <devon7y@gmail.com>",
    "committer": "devon7y <devon7y@gmail.com>",
    "message": "README: document the full toolkit, not just factor analysis\n\nRewrite around the complete response-free pipeline (embed -> recover -> interpret\n-> refine -> visualize), covering all 21 exported functions grouped by stage:\nembedding/similarity (incl. NLI + .npz loading), retention/dimension selection,\nstructure interpretation (anchoring, projection, congruence, jingle-jangle),\nscale refinement (redundancy, simplification, item vetting), and visualization\n(corplot, itemplot, scree). Verified the quick-start example runs end to end.\n\nCo-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>\n",
    "time": 1780962910
  },
  "_maintainer": {
    "name": "Devon Yanitski",
    "email": "dyanitsk@ualberta.ca",
    "login": "devon7y",
    "description": "I code sometimes",
    "uuid": 34050701
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "GPArotation",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "psych",
      "role": "Imports"
    },
    {
      "package": "reticulate",
      "version": ">= 1.41.0",
      "role": "Imports"
    },
    {
      "package": "Rtsne",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "uwot",
      "role": "Imports"
    },
    {
      "package": "withr",
      "role": "Imports"
    },
    {
      "package": "digest",
      "role": "Suggests"
    },
    {
      "package": "EFAtools",
      "role": "Suggests"
    },
    {
      "package": "EGAnet",
      "role": "Suggests"
    },
    {
      "package": "httr2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "devon7y",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-23",
      "n": 16
    },
    {
      "week": "2026-24",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "devon7y",
      "count": 17,
      "uuid": 34050701
    }
  ],
  "_userbio": {
    "uuid": 34050701,
    "type": "user",
    "name": "Devon Yanitski",
    "followers": 1,
    "description": "I code sometimes"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/semanticfa"
  },
  "_devurl": "https://github.com/devon7y/semanticfa",
  "_searchresults": 5,
  "_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/readme.html",
    "extra/readme.md",
    "extra/semanticfa.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/devon7y/semanticfa",
  "_realowner": "devon7y",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-06-15"
    }
  ],
  "_exports": [
    "as_psych",
    "sfa",
    "sfa_anchor",
    "sfa_clear_cache",
    "sfa_congruence",
    "sfa_corplot",
    "sfa_dimselect",
    "sfa_embed",
    "sfa_install_python",
    "sfa_item_fit",
    "sfa_itemplot",
    "sfa_jinglejangle",
    "sfa_load_npz",
    "sfa_nfactors",
    "sfa_nli_matrix",
    "sfa_parallel",
    "sfa_project",
    "sfa_redundancy",
    "sfa_similarity",
    "sfa_simplify",
    "sfa_tsneplot"
  ],
  "_datasets": [
    {
      "name": "big5",
      "title": "IPIP Big Five 50-Item Inventory with Sentence-BERT Embeddings",
      "object": "big5",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "semanticfa-package",
      "title": "semanticfa: Semantic Factor Analysis of Language Model Embeddings",
      "topics": [
        "semanticfa-package",
        "semanticfa"
      ]
    },
    {
      "page": "as_psych",
      "title": "Coerce to psych fa Object",
      "topics": [
        "as_psych",
        "as_psych.sfa"
      ]
    },
    {
      "page": "big5",
      "title": "IPIP Big Five 50-Item Inventory with Sentence-BERT Embeddings",
      "topics": [
        "big5"
      ]
    },
    {
      "page": "sfa",
      "title": "Semantic Factor Analysis",
      "topics": [
        "sfa"
      ]
    },
    {
      "page": "sfa_anchor",
      "title": "Construct-Label and Centroid Anchoring",
      "topics": [
        "sfa_anchor"
      ]
    },
    {
      "page": "sfa_clear_cache",
      "title": "Clear Embedding Cache",
      "topics": [
        "sfa_clear_cache"
      ]
    },
    {
      "page": "sfa_congruence",
      "title": "Compare Semantic and Empirical Factor Structures",
      "topics": [
        "sfa_congruence"
      ]
    },
    {
      "page": "sfa_corplot",
      "title": "Heatmap of an Item-by-Item Similarity Matrix",
      "topics": [
        "sfa_corplot"
      ]
    },
    {
      "page": "sfa_dimselect",
      "title": "Embedding-Dimension Selection by EGA Depth Optimization",
      "topics": [
        "sfa_dimselect"
      ]
    },
    {
      "page": "sfa_embed",
      "title": "Embed Item Text with a Language Model",
      "topics": [
        "sfa_embed"
      ]
    },
    {
      "page": "sfa_install_python",
      "title": "Provision the Python Environment for Embedding",
      "topics": [
        "sfa_install_python"
      ]
    },
    {
      "page": "sfa_item_fit",
      "title": "Vet a Candidate Scale Item Before Data Collection",
      "topics": [
        "sfa_item_fit"
      ]
    },
    {
      "page": "sfa_itemplot",
      "title": "2-D Item Map (t-SNE, UMAP, PCA, or MDS)",
      "topics": [
        "sfa_itemplot",
        "sfa_tsneplot"
      ]
    },
    {
      "page": "sfa_jinglejangle",
      "title": "Detect Jingle and Jangle Fallacies Across Scales",
      "topics": [
        "sfa_jinglejangle"
      ]
    },
    {
      "page": "sfa_load_npz",
      "title": "Load Pre-generated Embeddings from a NumPy .npz File",
      "topics": [
        "sfa_load_npz"
      ]
    },
    {
      "page": "sfa_nfactors",
      "title": "Unified Factor Retention Diagnostics",
      "topics": [
        "sfa_nfactors"
      ]
    },
    {
      "page": "sfa_nli_matrix",
      "title": "Signed Item Similarity from Natural Language Inference",
      "topics": [
        "sfa_nli_matrix"
      ]
    },
    {
      "page": "sfa_parallel",
      "title": "Embedding-Adapted Parallel Analysis",
      "topics": [
        "sfa_parallel"
      ]
    },
    {
      "page": "sfa_project",
      "title": "Semantic Projection onto Bipolar Axes",
      "topics": [
        "sfa_project"
      ]
    },
    {
      "page": "sfa_redundancy",
      "title": "Detect Redundant (Near-Duplicate) Items",
      "topics": [
        "sfa_redundancy"
      ]
    },
    {
      "page": "sfa_similarity",
      "title": "Compute Embedding Similarity Matrix",
      "topics": [
        "sfa_similarity"
      ]
    },
    {
      "page": "sfa_simplify",
      "title": "Response-Free Scale Simplification",
      "topics": [
        "sfa_simplify"
      ]
    }
  ],
  "_readme": "https://github.com/devon7y/semanticfa/raw/HEAD/README.md",
  "_rundeps": [
    "BH",
    "dqrng",
    "FNN",
    "GPArotation",
    "here",
    "irlba",
    "jsonlite",
    "lattice",
    "Matrix",
    "mnormt",
    "nlme",
    "png",
    "psych",
    "rappdirs",
    "Rcpp",
    "RcppAnnoy",
    "RcppEigen",
    "RcppProgress",
    "RcppTOML",
    "reticulate",
    "rlang",
    "rprojroot",
    "RSpectra",
    "Rtsne",
    "sitmo",
    "uwot",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "introduction.Rmd",
      "filename": "introduction.html",
      "title": "Getting Started with semanticfa",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Quick start with bundled data",
        "Factor retention",
        "Encoding methods",
        "Visualization",
        "Comparing with empirical factor analysis",
        "Using your own embeddings"
      ],
      "created": "2026-06-03 19:36:51",
      "modified": "2026-06-05 19:42:05",
      "commits": 2
    }
  ],
  "_score": 4,
  "_indexed": true,
  "_nocasepkg": "semanticfa",
  "_universes": [
    "devon7y"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-16T09:52:38.000Z",
      "distro": "noble",
      "commit": "df270c5e538160164277bb71a7de74900e15e850",
      "fileid": "c356993b7e5a1bf04f1430456271f4e5ece8269c0765e5d488fd7deabfbe3e73",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/devon7y/actions/runs/27608843795"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-16T09:52:45.000Z",
      "distro": "noble",
      "commit": "df270c5e538160164277bb71a7de74900e15e850",
      "fileid": "785fb1127b8dfaf297432d3bd2f341e9dea8cf80c1176aa86aaac1383e841cc2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/devon7y/actions/runs/27608843795"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-16T09:51:59.000Z",
      "commit": "df270c5e538160164277bb71a7de74900e15e850",
      "fileid": "a19f9a97eecb99cbeb112e0040cd8def843475e4f7adba3b7764343e2f3a0c10",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/devon7y/actions/runs/27608843795"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-16T09:51:40.000Z",
      "commit": "df270c5e538160164277bb71a7de74900e15e850",
      "fileid": "ba14dc76b1da2efec1def2d9cb2838cd2ef59a269b02057532e814187b818a20",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/devon7y/actions/runs/27608843795"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-06-16T09:52:22.000Z",
      "commit": "df270c5e538160164277bb71a7de74900e15e850",
      "fileid": "026ddc2773e2e740ba9932c2362bc2f0d84637b3f6bf9213ae734638de223f9f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/devon7y/actions/runs/27608843795"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-16T09:51:33.000Z",
      "commit": "df270c5e538160164277bb71a7de74900e15e850",
      "fileid": "bb040901ad64762a6421b9dd959a66e34417d5bef760751efe485e5449c3f53b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/devon7y/actions/runs/27608843795"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-16T09:51:10.000Z",
      "commit": "df270c5e538160164277bb71a7de74900e15e850",
      "fileid": "e80fdc58cc536de45e684e707a2f3ea1cb6bc9d6f75b3bd3e1c31d1df7863f9e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/devon7y/actions/runs/27608843795"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-16T09:51:26.000Z",
      "commit": "df270c5e538160164277bb71a7de74900e15e850",
      "fileid": "bfda75206e41897af61ba6707ea10b3bc7ed924801926192a448e23fedb5e962",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/devon7y/actions/runs/27608843795"
    }
  ]
}