rjca
is an R package to drive the jca
java tools for content analysis (bundled with it). These tools count words, apply content analysis dictionaries to documents, construct concordances, and a few other things. The little introductory vignette
has a worked example.
The package relies on Java 1.8 or higher. Installation is described in the installation vignette. Installation can, it must be admitted, be a bit challenging on a Mac. See the vignette for details.