Skip to content

Commit c304bc9

Browse files
committed
docs
1 parent 970e0b6 commit c304bc9

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

R/paragraph2vec.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@
4343
#' data(belgium_parliament, package = "tokenizers.bpe")
4444
#' str(belgium_parliament)
4545
#' x <- subset(belgium_parliament, language %in% "french")
46-
#' x$text <- tolower(x$text)
47-
#' x$text <- gsub("[^[:alpha:]]", " ", x$text)
48-
#' x$text <- gsub("[[:space:]]+", " ", x$text)
49-
#' x$text <- trimws(x$text)
46+
#' x$text <- tolower(x$text)
47+
#' x$text <- gsub("[^[:alpha:]]", " ", x$text)
48+
#' x$text <- gsub("[[:space:]]+", " ", x$text)
49+
#' x$text <- trimws(x$text)
5050
#' x$nwords <- txt_count(x$text, pattern = " ")
5151
#' x <- subset(x, nwords < 1000 & nchar(text) > 0)
5252
#'

man/paragraph2vec.Rd

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)