Embed texts using an embedder
Examples
emb <- embed_tfidf(c("the cat sat", "the dog ran"))
mat <- embed_texts(emb, c("cat sat", "dog ran"))
nrow(mat)
#> [1] 2
Embed texts using an embedder
emb <- embed_tfidf(c("the cat sat", "the dog ran"))
mat <- embed_texts(emb, c("cat sat", "dog ran"))
nrow(mat)
#> [1] 2