Text this: Advancing Shannon Entropy for Measuring Diversity in Systems