PolMine / polmineR

R-package for text mining with the Corpus Workbench (CWB) as backend
49 stars 9 forks source link

show-method for ngrams-class #27

Closed PolMine closed 5 years ago

PolMine commented 7 years ago

At present, showing an object of ngrams class will just throw the full content of the S4 object. Make it look nice, and invormative.

PolMine commented 5 years ago

The solution for the time being is to have a (new) show()-method for textstat objects. In an RSTUDIO session, the view()-method will be called, so you will see the table in the object immediately. In a terminal session you just learn that it is an ngrams object.