ESE-Peasy / NarrateMyWay

DST 5 project, creating a audio navigation tool for the visually impaired
https://ese-peasy.github.io/NarrateMyWay/
GNU General Public License v3.0
4 stars 4 forks source link

Implement intelligent lookup #42

Closed miklasr closed 3 years ago

miklasr commented 3 years ago

Goal

The intelligent lookups need to be implemented. This should include returning the most relevant code for a detected code.

Plan

  1. Add normalisation of codes, i.e., zero out fields to the right of a zero field
  2. Add fallback logic for when a code couldn't be found -- fall back to a higher category
  3. Handle a code that doesn't exist in the DB