corpustools: Managing, Querying and Analyzing Tokenized Text

Provides text analysis in R, focusing on the use of a tokenized text format. In this format, the positions of tokens are maintained, and each token can be annotated (e.g., part-of-speech tags, dependency relations). Prominent features include advanced Lucene-like querying for specific tokens or contexts (e.g., documents, sentences), similarity statistics for words and documents, exporting to DTM for compatibility with many text analysis packages, and the possibility to reconstruct original text from tokens to facilitate interpretation.

Package details

AuthorKasper Welbers and Wouter van Atteveldt
MaintainerKasper Welbers <kasperwelbers@gmail.com>
LicenseGPL-3
Version0.5.1
URL https://github.com/kasperwelbers/corpustools
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("corpustools")

Try the corpustools package in your browser

Any scripts or data that you put into this service are public.

corpustools documentation built on May 31, 2023, 8:45 p.m.