Package: conText 3.0.1

Sofia Avila
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>.
Authors:
conText_3.0.1.tar.gz
conText_3.0.1.zip(r-4.7)conText_3.0.1.zip(r-4.6)conText_3.0.1.zip(r-4.5)
conText_3.0.1.tgz(r-4.6-any)conText_3.0.1.tgz(r-4.5-any)
conText_3.0.1.tar.gz(r-4.7-any)conText_3.0.1.tar.gz(r-4.6-any)
conText_3.0.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
conText/json (API)
| # Install 'conText' in R: |
| install.packages('conText', repos = c('https://prodriguezsosa.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/prodriguezsosa/context/issues
- cr_glove_subset - GloVe subset
- cr_sample_corpus - Congressional Record sample corpus
- cr_transform - Transformation matrix
Last updated from:f6e1629d36. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 180 | ||
| source / vignettes | OK | 285 | ||
| linux-release-x86_64 | OK | 192 | ||
| macos-release-arm64 | OK | 156 | ||
| macos-oldrel-arm64 | OK | 185 | ||
| windows-devel | OK | 131 | ||
| windows-release | OK | 127 | ||
| windows-oldrel | OK | 140 | ||
| wasm-release | OK | 124 |
Exports:bootstrap_contrastbootstrap_nnscompute_contrastcompute_transformconTextcontrast_nnscos_simdemdem_groupdem_sampleembed_targetfeature_simfemfind_nnsget_contextget_cos_simget_grouped_similarityget_local_vocabget_ncsget_nnsget_nns_ratioget_seq_cos_simncsnnsnns_ratiopermute_contrastplot_nns_ratioprototypical_contexttokens_context
Dependencies:backportsbroomclicodetoolscpp11data.tabledigestdplyrestimatrfarverfastDummiesfastmatchfloatforeachFormulagenericsggplot2gluegtableisobandISOcodesiteratorsjsonlitelabelinglatticelgrlifecyclemagrittrMatrixMatrixExtramlapipillarpkgconfigplyrpurrrquantedaR6RColorBrewerRcppRcppArmadilloRcppEigenreshape2RhpcBLASctlrlangrsparseS7scalesSnowballCstopwordsstringistringrtext2vectibbletidyrtidyselectutf8vctrsviridisLitewithrxml2yaml