Hyphenated words not being considered as words


As shown in the attached screenshot, hyphenated words are not being considered as words. I’m thinking this is because of the “-” being misinterpreted. How do you go around this?


- is not an alphanumeric character, so it won’t pass the .isalpha() test


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.