module MoreMath::Entropy

def entropy_ratio(text)

def entropy_ratio(text)
  size = text.each_char.size
  size <= 1 and return 0.0
  entropy(text) / entropy_ideal(size)
end