
Find the 'projection matrix' to a semantic vector
Source:R/utils-embedding-matrices.R
find_projection.Rd"Project" each word in a word embedding matrix of \(D\) dimension along a
vector of \(D\) dimensions, extracted from the same embedding space.
The vector can be a single word, or a concept vector obtained from
get_centroid(), get_direction(), or get_regions().