Closed amatsuo closed 6 years ago
Thanks, this looks really good. I updated it a bit to add a package documentation object, but mainly to simply import all quanteda functions, after changing the code in quanteda (v1.0.2) to export the textmodel methods. This is better than copying the code and risking two different sets of general textmodel functions, if we change them in quanteda.
This PR includes a few things:
summary()
andprint()
uses the quanteda internal functions (copiedtextmodel-methods.R
from quanteda) and works roughly the same way as quanteda. Also the output object class is nowtextmodel_wordshoal
(remove_fitted
) following the current quanteda convention.