ngram-print {ngram} | R Documentation |
ngram printing
Description
Print methods.
Usage
## S4 method for signature 'ngram'
print(x, output = "summary")
## S4 method for signature 'ngram'
show(object)
Arguments
x , object |
An ngram object. |
output |
a character string; determines what exactly is printed. Options are "summary", "truncated", and "full". |
Details
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.
See Also
[Package ngram version 3.2.3 Index]