textmineR icon indicating copy to clipboard operation
textmineR copied to clipboard

vignette part 5 has error?

Open bac3917 opened this issue 3 years ago • 1 comments

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

bac3917 avatar May 31 '22 18:05 bac3917

Hi there. I'll take a look at this this weekend. Thanks for bringing the issue to my attention.

On Tue, May 31, 2022 at 2:37 PM Ben @.***> wrote:

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

— Reply to this email directly, view it on GitHub https://github.com/TommyJones/textmineR/issues/91, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABGCQAREPZNCMV3WOKOSVMTVMZL75ANCNFSM5XOPJA5A . You are receiving this because you are subscribed to this thread.Message ID: @.***>

TommyJones avatar Oct 11 '22 08:10 TommyJones