Import documents from a directory into Mallet format
This function takes a directory path as its only argument
and returns a
data.frame() with two columns: <id> & <text>,
which can be passed to the
data.frame() has as many rows as there are files in the
The path to a directory containing one document per file.
This function was contributed to RMallet by Dan Bowen.
1 2 3 4 5 6
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.