Adding function to lexem-ize a string