Word-based entropy calculations