beginning with: # parse it into sentences sent <- stringi::[stri_split_boundaries](https://rdrr.io/pkg/stringi/man/stri_split_boundaries.html)(doc, type = "sentence")[[ 1 ]] # should "doc" be "embeddings"? # also, e <- e[ , vocab] %*% t(gamma[ , vocab ]) throws an error
beginning with:
parse it into sentences
sent <- stringi::stri_split_boundaries(doc, type = "sentence")[[ 1 ]]
should "doc" be "embeddings"?
also, e <- e[ , vocab] %*% t(gamma[ , vocab ]) throws an error