ryanjgallagher / shifterator

Interpretable data visualizations for understanding how texts differ at the word level
Apache License 2.0
273 stars 29 forks source link

Move all shifts into a single file #14

Closed ryanjgallagher closed 4 years ago

ryanjgallagher commented 4 years ago

I don't think that it's useful to distinguish anymore between relative and symmetric shifts, and it's more sensible to move them all into a file shift.py. It'd be great if someone could just do from shifterator import shifts as sh or from shifterator import *. Things that need to be done:

ryanjgallagher commented 4 years ago

Might be good to leave shift in its own file if you intend to have weighted average shifts and non-weighted averages (like rank divergence).