bfontaine / crosswords

Crosswords help in the terminal
MIT License
4 stars 1 forks source link

Special characters in word lists are not ignored #4

Open svisser opened 10 years ago

svisser commented 10 years ago

This may appear related to #2 but it is different as it applies to the handling of each word in words.get_matches.

I copied /usr/share/dict/words unchanged as words to use as list of words but it wasn't able to find the word Asunción when searching for crosswords -l words Asunci??.

From experience I've seen crossword fanatics gather words from all kinds of sources. It's therefore not practical to assume that word lists already in use will only contain words "without accents, hyphens or special chars" (as the README currently says).

bfontaine commented 10 years ago

It assumes that these lists are already stripped of special chars because the user should not copy these lists by hand but instead install them with crosswords install, which downloads a list and remove special chars. I need to add support for special chars.

svisser commented 10 years ago

Yes, though my point is that special char support is needed for this to gain widespread adoption (based on the current community). Is there value in leaving this ticket open as a reminder?

bfontaine commented 10 years ago

Yep.