datacommonsorg / website

Code for the Data Commons website
https://datacommons.org
Apache License 2.0
24 stars 88 forks source link

Replaces accents and more into ascii equivalents for matching algorithm. #4716

Closed gmechali closed 2 weeks ago

gmechali commented 2 weeks ago

Places like Curaçao, España, or Algérie were being unfairly demoted in scoring due to the non-ascii character. This PR replaces all special characters before determine the match score.

Screencast with the fix: https://screencast.googleplex.com/cast/NDkzOTc5NTE5MjA4NjUyOHw1N2FlYTVmMC00Zg