A javascript utility that splits text into words and characters