kasperwelbers/tcorpus: 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.

Getting started

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 GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("kasperwelbers/tcorpus")
kasperwelbers/tcorpus documentation built on May 10, 2023, 5:10 p.m.