conText: 'a la Carte' on Text (ConText) Embedding Regression

A fast, flexible and transparent framework to estimate context-specific word and short document embeddings using the 'a la carte' embeddings approach developed by Khodak et al. (2018) <doi:10.48550/arXiv.1805.05388> and evaluate hypotheses about covariate effects on embeddings using the regression framework developed by Rodriguez et al. (2021)<doi:10.1017/S0003055422001228>. New version of the package applies a new estimator to measure the distance between word embeddings as described in Green et al. (2025) <doi:10.1017/pan.2024.22>.

Package details

AuthorPedro L. Rodriguez [aut, cph] (ORCID: <https://orcid.org/0000-0003-4762-4550>), Arthur Spirling [aut] (ORCID: <https://orcid.org/0000-0001-9959-1805>), Brandon Stewart [aut] (ORCID: <https://orcid.org/0000-0002-7657-3089>), Christopher Barrie [ctb] (ORCID: <https://orcid.org/0000-0002-9156-990X>), Sofia Avila [cre, aut] (ORCID: <https://orcid.org/0009-0007-8746-6688>)
MaintainerSofia Avila <sofiaavila@princeton.edu>
LicenseGPL-3
Version3.0.1
URL https://github.com/prodriguezsosa/conText
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("conText")

Try the conText package in your browser

Any scripts or data that you put into this service are public.

conText documentation built on April 12, 2026, 9:06 a.m.