Skip to main content

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.

Install

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

pip install shifterator

Documentation

The documentation details how to create various kinds of word shift graphs with Shifterator, and includes a detailed cookbook for how to interpret, visualize, and work with word shifts.

See the following paper for more details on word shifts, and please cite it if you use them in your work:

Gallagher, R. J., Frank, M. R., Mitchell, Lewis, Schwartz, A. J., Reagan, A. J., Danforth, C. M., Dodds, P. S. (2021). Generalized Word Shift Graphs: A Method for Visualizing and Explaining Pairwise Comparisons Between Texts. EPJ Data Science, 10(4).

Metadata

Release files for shifterator 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for shifterator 0.3.0
File Size Uploaded
shifterator-0.3.0.tar.gz 39.9 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for shifterator 0.3.0
File Interpreter ABI Platform
shifterator-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 80.3 MB

Release files / shifterator-0.3.0.tar.gz

Download URL shifterator-0.3.0.tar.gz
Size 39.9 MB
Tags Source
SHA-256 checksum
How to use checksums
3d82238c631d7722242ea8f143fe24bd7bb856288bfef855f1a6e2712ebcca02
BLAKE2b-256 checksum
How to use checksums
30056568f3dab702f8f948e4522662e95fda67c9cb6e15689fc3a6cf0d4f8808
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

Release files / shifterator-0.3.0-py3-none-any.whl

Download URL shifterator-0.3.0-py3-none-any.whl
Size 40.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
c2f1da6f9d883431b4d5e0173bd799ac8fa71ded000d716805b9f9479c84df19
BLAKE2b-256 checksum
How to use checksums
d6877667c99ce6304de11e2390fe8d510f6dabbf9da3bb8e34bc1f62bc0d59e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page