Natural Language Processing

corpustools – manage, query and analyse text corpora

corpustools is a package for managing, querying and analysing collections of tokenised text. Its central component is the tCorpus class, which provides a structured representation of document collections together with token-level information and document metadata.

The package is intended to make computational text analysis more accessible, particularly in research where quantitative findings need to be examined alongside the original documents. It allows users to search corpora, compare groups of documents and investigate relationships between terms.

A distinguishing feature is its support for reconstructing and displaying textual context. Researchers can move between numerical results and the passages from which those results were derived, making it easier to interpret and validate patterns identified through computational methods.

This is free and open source software.

Key Features

  • Provides the tCorpus class for managing tokenised document collections.
  • Supports corpus preprocessing, subsetting, merging and manipulation.
  • Offers Boolean search queries for locating terms and expressions in documents.
  • Provides keyword-in-context views for inspecting search results.
  • Reconstructs original text from token-level representations.
  • Supports corpus comparison and document comparison.
  • Calculates feature frequencies, associations and comparative statistics.
  • Provides facilities for identifying characteristic vocabulary across document groups.
  • Constructs document-term matrices from tokenised corpora.
  • Supports exploration of word co-occurrence and semantic networks.
  • Offers graphical tools for browsing search results and document collections.
  • Provides visualisations of semantic relationships between terms.
  • Supports deduplication and filtering of textual collections.
  • Includes tools for inspecting and validating computational analysis results against their source texts.

Website: github.com/kasperwelbers/corpustools
Support:
Developer: Kasper Welbers
License: GNU General Public License v3.0

corpustools is written in R. Learn R with our recommended free books and free tutorials.


Related Software

R Natural Language Processing Tools
tidytextText mining using dplyr, ggplot2, and other tidy tools
quantedaR package for Quantitative Analysis of Textual Data
text2vecFramework with API for text analysis and natural language processing
tmText Mining Infrastructure in R
srtringiFast and portable character string processing in R
StringrString manipulation in R
UDPipeTokenization, Tagging, Lemmatization and Dependency Parsing
tokenizersConvert natural language text into tokens
spacyrR wrapper around the Python spaCy package
Word VectorsBuild and explore embedding models
syuzhetExtraction of sentiment and sentiment-based plot arcs from text
textTinyRText processing for small or big data
textrecipesPrepares text features for machine learning with tidymodels
stmFits structural topic models to analyse document collections
sentimentrDictionary based sentiment analysis
word2vecTrains word embedding models and explores semantic relationships
textcleanCollection of tools to clean and normalize text
TALLExplore, model, and visualize textual data
corpustoolsVarious tools for analyzing text corpora
wordvectorTrains and explores word and document vector representations
topicmodelsInterface to LDA and CTM models
textAnalyzing natural language with transformers-based large language models

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted