Closed nchepanov closed 11 years ago
this was caused by switching to 'featured' correction. before stemCorrection was done first and if it yielded result , it was accepted. right now we only get lev-based feature correction which sort of scuks as we dont depress suffixes I am going to add stem correction to the current spell correction first
no, actually FeaturedMatchComparator::operator() computes levdist from a mixed case string . thats why Пермь loses out .. will fix that
i got the fix. taking ownership of the ticket
first fix was a fuckup
deployed to venik
I was testing ev_all user from eu.barzer.net query:
купить в перми
with previous version of barzer we had:
before="перми" after="пермь"
and the city entity was matched correctlywith latest version of barzer:
before="перми" after="пером"
and wrong entity from different subclass was matchedthe same behavior is now online here http://eu.barzer.net/sandbox/ev_all/