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>.">

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

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>.

Version:

3.0.0

Depends:

R (≥ 3.6.0)

Imports:

dplyr, Matrix (≥ 1.3-2), quanteda (≥ 3.0.0), text2vec (≥ 0.6), reshape2 (≥ 1.4.4), fastDummies (≥ 1.6.3), stringr (≥ 1.4.0), tidyr (≥ 1.1.3), ggplot2, broom, foreach, methods, estimatr, utils, stats, tidyselect

Suggests:

SnowballC (≥ 0.7.0), hunspell, knitr, rmarkdown, formatR, testthat (≥ 3.0.0), doParallel, data.table, RcppParallel

Published:

2025-09-03

DOI:

10.32614/CRAN.package.conText

Author:

Pedro L. RodriguezORCID iD [aut, cph], Arthur Spirling ORCID iD [aut], Brandon Stewart ORCID iD [aut], Christopher BarrieORCID iD [ctb], Sofia Avila ORCID iD [cre, aut]

Maintainer:

Sofia Avila

BugReports:

https://github.com/prodriguezsosa/ConText/issues

License:

GPL-3

URL:

https://github.com/prodriguezsosa/conText

NeedsCompilation:

no

Language:

en-US

Materials:

README

CRAN checks:

conText results