Skip to content

Commit

Permalink
docs to remove cran note on elapsed time on examples
Browse files Browse the repository at this point in the history
  • Loading branch information
jwijffels committed Oct 8, 2023
1 parent 6d0dbe2 commit cafe13f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
5 changes: 2 additions & 3 deletions R/word2vec.R
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,9 @@
#' x <- subset(x, grepl(xpos, pattern = paste(LETTERS, collapse = "|")))
#' x$text <- sprintf("%s/%s", x$lemma, x$xpos)
#' x <- subset(x, !is.na(lemma))
#' x <- paste.data.frame(x, term = "text", group = "doc_id", collapse = " ")
#' x <- x$text
#' x <- split(x$text, list(x$doc_id, x$sentence_id))
#'
#' model <- word2vec(x = x, dim = 15, iter = 20, split = c(" ", ".\n?!"))
#' model <- word2vec(x = x, dim = 15, iter = 20)
#' emb <- as.matrix(model)
#' nn <- predict(model, c("cuisine/NN", "rencontrer/VB"), type = "nearest")
#' nn
Expand Down
5 changes: 2 additions & 3 deletions man/word2vec.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions man/word2vec.character.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cafe13f

Please sign in to comment.