Produce ngram report in rmd for html

ngrams_report(out, print_n, highlight_n, color = "red")

Arguments

out

list from ngrams_analysis

print_n

integer number of ngram examples to print for each ngram type

highlight_n

string "ngram4" the name of the ngram unit, for printing entire text for comparison, ngrams that are the same between texts are printed in red and uppercase.

Value

cat text which is printed below the knitr chunk

Examples