Text tool for computing and visualizing entropies, patterns and structure