I'm rewriting my trivia script and I'm looking for some way to match answers on a less strict basis. Does anyone know of a Tcl or module which will match text for different spelling (e.g. it will see "color" and "colour" as equivalents, etc.)?
Yes, I'm probably going to include support for multiple answers as a lot of people have asked about it.
I'm thinking maybe some sort of "dictionary" where I can map words like color=colour and maybe common misspellings as well. Trivia shouldn't be a spelling contest in my opinion, if someone essentially has the right answer, they should get credited for it, not lose out because of minor spelling errors.
Sounds good indeed. Any idea if there's a Tcl implementation somewhere out there? I saw that there was an implementation in C ... now if only I knew C, I could make an eggdrop metaphone.mod