davemacdo / composer-diversity

a frontend for the Composer Diversity Project
https://davemacdo.github.io/composer-diversity/
9 stars 2 forks source link

Fuzzy search #12

Closed davemacdo closed 6 years ago

davemacdo commented 6 years ago

Names can be hard to spell. Let's help.

robdeemer commented 6 years ago

Ooh…how do we help?

davemacdo commented 6 years ago

Sorry, I was being jokey. There's a concept in search called "fuzzy" search which is forgiving of misspellings. There's a pretty good library for it. It shouldn't be too hard to implement, but it's a new technique for me, so I'm putting it in the 1.1 milestone.

davemacdo commented 6 years ago

For my benefit later: http://fusejs.io/

davemacdo commented 6 years ago

The fuzzy search algorithms I tried all introduced too many problems for this particular dataset. Instead, I addressed what I think it the biggest concern: diacriticals. Diacriticals are now forgiving in searches. To test this, you'll note that searches for irene now bring up names which include Iréne, which it didn't before. Closing the issue for now.

robdeemer commented 6 years ago

Awesome—thanks!

-Rob

On Wed, May 16, 2018 at 10:53 AM, David MacDonald notifications@github.com wrote:

The fuzzy search algorithms I tried all introduced too many problems for this particular dataset. Instead, I addressed what I think it the biggest concern: diacriticals. Diacriticals are now forgiving in searches. To test this, you'll note that searches for irene now bring up names which include Iréne, which it didn't before. Closing the issue for now.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/davemacdo/composer-diversity/issues/12#issuecomment-389548308, or mute the thread https://github.com/notifications/unsubscribe-auth/AlCxlbrfJtsDivCtr2oFK623VvVlcrJrks5tzD1wgaJpZM4TtiUN .

--

Dr. Rob Deemer Head of Music Composition & Special Assistant to the President American Council on Education Fellow (2016-2017) School of Music, State University of New York at Fredonia

Chair, NYSSMA Composition & Improvisation Committee Chair-Elect, NAfME Council of Music Composition

Composer-in-Residence, Buffalo Chamber Players http://buffalochamberplayers.org/ Composer-in-Residence, Harmonia Chamber Singers https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CB4QFjAAahUKEwjmv7jhh-3IAhWLdD4KHSr2CNM&url=http%3A%2F%2Fwww.harmoniacs.org%2F&usg=AFQjCNGgWsCqj4leupJVTtIhJNwYXY26nw&sig2=TKTS2XdNhV0m9B3O3b0-jg

3162 Mason Hall • Fredonia, NY 14063 • (716) 673-3133 e-mail: deemer@fredonia.edu • web: www.robdeemer.com