/shifterator

Interpretable data visualizations for understanding how texts differ at the word level

Primary LanguagePythonApache License 2.0Apache-2.0

Shifterator

The Shifterator package provides functionality for constructing word shift graphs, vertical bart charts that quantify which words contribute to a pairwise difference between two texts and how they contribute. By allowing you to look at changes in how words are used, word shifts help you to conduct analyses of sentiment, entropy, and divergence that are fundamentally more interpretable.

This code is still under development. Please open an issue on Github if you find any errors.

Install

Python code to produce shift graphs can be downloaded via pip.

pip install shifterator

Producing Word Shift Graphs

Under construction.