account for varying kinds of hyphens in word strings