Skip to content

An R package for estimating and doing statistical inference on context-specific word embeddings.

Notifications You must be signed in to change notification settings

prodriguezsosa/conText

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

An R package for computing feature embeddings a la carte and estimating text embedding regression models as described in Rodriguez, Spirling and Stewart (2021).

How to Install

devtools::install_github("prodriguezsosa/conText")

Datasets

To use conText you will need three datasets:

  1. A (quanteda) corpus with the documents and corresponding document variables you want to evaluate.
  2. A set of (GloVe) pre-trained embeddings.
  3. A transformation matrix specific to the pre-trained embeddings.

In this Dropbox folder (see the /data folder) we have included the three datasets we use in the Quick Start Guide along with their documentation (see the /man folder) and source files (see the /data-raw folder).

Quick Start Guides

Check out this Quick Start Guide to get going with conText.

About

An R package for estimating and doing statistical inference on context-specific word embeddings.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published