Spelling correction in the Ruby implementation