OpenWaterFoundation / owf-app-infomapper-ng

Open Water Foundation InfoMapper web application for menu-driven maps and visualizations, using Angular
GNU General Public License v3.0
1 stars 2 forks source link

Enhance data table filter for alternate spellings #399

Open smalers opened 3 years ago

smalers commented 3 years ago

This is a low-priority enhancement but something that seems useful based on recent experience.

The address to location geocode functionality only works well when the address matches some database on the server side. To account for variations in spelling, the server algorithm must account for variations in spellings and abbreviations. For example Drive, Dr. The data table search feature has similar design limitations and if the user does not exactly type a string the pattern may not be found. Therefore, it would be useful if the search tool was smart enough to do similar things. Technical considerations are:

  1. Is there a standard published dictionary of word equivalents or public algorithm that could be used so we don't need to reinvent?
  2. Is filtering based on equivalent words reasonably fast?
  3. Would users want to exactly match a phrase and not want similar matches?
  4. Is this in an advanced tool that has things like "match case", etc.