bootstrap_contrast | Bootstrap similarity and ratio computations |
bootstrap_nns | Bootstrap nearest neighbors |
bootstrap_ols | Bootstrap OLS |
bootstrap_similarity | Boostrap similarity vector |
build_conText | build a 'conText-class' object |
build_dem | build a 'dem-class' object |
build_fem | build a 'fem-class' object |
compute_contrast | Compute similarity and similarity ratios |
compute_similarity | Compute similarity vector (sub-function of... |
compute_transform | Compute transformation matrix A |
conText | Embedding regression |
conText-class | Virtual class "conText" for a conText regression output |
contrast_nns | Contrast nearest neighbors |
cos_sim | Compute the cosine similarity between one or more ALC... |
cr_glove_subset | GloVe subset |
cr_sample_corpus | Congressional Record sample corpus |
cr_transform | Transformation matrix |
dem | Build a document-embedding matrix |
dem-class | Virtual class "dem" for a document-embedding matrix |
dem_group | Average document-embeddings in a dem by a grouping variable |
dem_sample | Randomly sample documents from a dem |
embed_target | Embed target using either: (a) a la carte OR (b) simple... |
feature_sim | Given two feature-embedding-matrices, compute "parallel"... |
fem | Create an feature-embedding matrix |
fem-class | Virtual class "fem" for a feature-embedding matrix |
find_cos_sim | Find cosine similarities between target and candidate words |
find_nns | Return nearest neighbors based on cosine similarity |
get_context | Get context words (words within a symmetric window around the... |
get_cos_sim | Given a tokenized corpus, compute the cosine similarities of... |
get_local_vocab | Identify words common to a collection of texts and a set of... |
get_ncs | Given a set of tokenized contexts, find the top N nearest... |
get_nns | Given a tokenized corpus and a set of candidate neighbors,... |
get_nns_ratio | Given a corpus and a binary grouping variable, computes the... |
get_seq_cos_sim | Calculate cosine similarities between target word and... |
ncs | Given a set of embeddings and a set of tokenized contexts,... |
nns | Given a set of embeddings and a set of candidate neighbors,... |
nns_ratio | Computes the ratio of cosine similarities for two embeddings... |
permute_contrast | Permute similarity and ratio computations |
permute_ols | Permute OLS |
plot_nns_ratio | Plot output of 'get_nns_ratio()' |
prototypical_context | Find most "prototypical" contexts. |
run_ols | Run OLS |
tokens_context | Get the tokens of contexts sorrounding user defined patterns |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.