Text this: On Shannon entropy and its applications