Print methods.
# S4 method for ngram
print(x, output = "summary")# S4 method for ngram
show(object)
An ngram object.
a character string; determines what exactly is printed. Options are "summary", "truncated", and "full".
If output=="summary"
, then just a simple representation of the n-gram
object will be printed; for example, "An ngram object with 5 2-grams".
If output=="truncated"
, then the n-grams will be printed up to a
maximum of 5 total.
If output=="full"
then all n-grams will be printed.
ngram, babble