Text this: Quantifying information flow