CornellNLP/ConvoKit

ConvoKit is a toolkit for extracting conversational features and analyzing social phenomena in conversations. It includes several large conversational datasets along with scripts exemplifying the use of the toolkit on these datasets.

What it solves

ConvoKit provides a standardized, unified framework for analyzing social and linguistic phenomena in large-scale conversational datasets. It simplifies the complex task of extracting meaningful features from dialogue, such as power dynamics, politeness, and conversational structure, allowing researchers to move quickly from raw data to analysis.

How it works

Inspired by the scikit-learn API, ConvoKit uses a consistent object-oriented interface to manage conversational data. Users load data into a Corpus object, which can then be processed by various "transformers" that compute specific metrics—like linguistic coordination or conversational flow—or by "forecasters" that predict outcomes like derailment. It includes built-in support for loading numerous pre-curated datasets, ranging from movie scripts and parliamentary records to Reddit threads.

Who it’s for

This toolkit is designed for researchers, computational social scientists, and developers working in natural language processing (NLP) who need to analyze large volumes of human-to-human interaction to understand social behavior.

Highlights

  • Unified API: Consistent interface for data loading, feature extraction, and analysis.
  • Extensive Library of Metrics: Includes tools for measuring linguistic coordination, politeness, conversational diversity, and structural hypergraphs.
  • Ready-to-use Datasets: Ships with dozens of pre-formatted corpora including Reddit, Wikipedia talk pages, Supreme Court arguments, and movie scripts.
  • Predictive Modeling: Includes the CRAFT model for forecasting conversational outcomes like personal attacks in real-time.
  • Extensible: Easily supports custom datasets via the Corpus object structure.

Related

  • Project
  • Project
  • Project
  • Project