barzerman / barzer

barzer engine code
MIT License
2 stars 0 forks source link

weird spelling correction #562

Closed barzerman closed 11 years ago

barzerman commented 11 years ago

in user ev_all the word "fluff" is corrected to "агама" this is scary because translit appears to work correctly and given the radom nature of such correction it's hard to tell what else is fucked up

0xd34df00d commented 11 years ago
  1. fluff
  2. fuff (got from variator around bzspell.cpp:673)
  3. агаа (got from correction callback with d_tryTranslit == true around bzspell.cpp:200)
  4. агама (got as агама with one omitted letter)

So it's not random in a buggy sense, it's rather a perverted sequence of perversions over the poor old string :( Generally speaking, the old variator/omitter/etc spellchecker is fucked up.

I still wonder why do we even have this old spellchecker stuff enabled still. I had it cleared away some months ago, but that code never got merged into master and now it's outdated beyond all hope to rebase on top of current master.

0xd34df00d commented 11 years ago

Where do we stand here?