Speedy Word Embedding Association Test and Extras Using R


[Up] [Top]

Documentation for package ‘sweater’ version 0.1.8

Help Pages

calculate_es Calculate the effect size of a query
ect Embedding Coherence Test
ect_es Calculate the Spearman Coefficient of an ECT result
glove_math A subset of the pretrained GLoVE word vectors
googlenews A subset of the pretrained word2vec word vectors
mac Mean average cosine similarity
mac_es Calculation of MAC Effect Size
nas Calculate Normalized Association Score
plot.sweater Visualize the bias of words in S
plot_bias Visualize the bias of words in S
plot_ect Plot an ECT result on a two-dimensional plane
print.sweater A common interface for making query
query A common interface for making query
read_word2vec A helper function for reading word2vec format
rnd Relative Norm Distance
rnd_es Calculation of sum of all relative norm distances
rnsb Relative Negative Sentiment Bias
rnsb_es Calculation the Kullback-Leibler divergence
semaxis Characterise word semantics using the SemAxis framework
small_reddit A subset of the pretrained word2vec word vectors on Reddit
weat Speedy Word Embedding Association Test
weat_es Calculation of WEAT effect size
weat_exact Test of significance for WEAT
weat_resampling Test of significance for WEAT