updated ruby lexical_diversity