Skip to content

Commit

Permalink
Further fixing conditional examples
Browse files Browse the repository at this point in the history
  • Loading branch information
jwijffels committed Oct 10, 2020
1 parent c5e3b2e commit f215581
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/textrank.R
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,6 @@ textrank_candidates_all <- function(x){
#' tr <- textrank_sentences(data = sentences, terminology = terminology)
#' summary(tr, n = 2)
#' summary(tr, n = 5, keep.sentence.order = TRUE)
#' \dontshow{\} # End of main if statement running only if the required packages are installed}
#'
#' \dontrun{
#' ## Using minhash to reduce sentence combinations - relevant if you have a lot of sentences
Expand All @@ -195,6 +194,7 @@ textrank_candidates_all <- function(x){
#' tr <- textrank_sentences(data = sentences, terminology = terminology, max = 100)
#' tr
#' summary(tr, n = 2)
#' \dontshow{\} # End of main if statement running only if the required packages are installed}
textrank_sentences <- function(data, terminology,
textrank_dist = textrank_jaccard,
textrank_candidates = textrank_candidates_all(data$textrank_id),
Expand Down
2 changes: 1 addition & 1 deletion man/textrank_sentences.Rd

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

0 comments on commit f215581

Please sign in to comment.