Hacker News new | ask | show | jobs
by nixpulvis 3099 days ago
You're joking right?
2 comments

Isn't there a database of medications? Parse that and include it in the dictionary.

https://druginfo.nlm.nih.gov/drugportal/, for example.

Like most things, it only seems simple from a distance. Between branded, generic, ingredient, and chemical names, there is diversity and ambiguity in drug naming.
It seems you both are correct... And that's where the problem originates
My Database/Company (https://www.drugbank.ca) contains a list of CC0 names they could use that are international, and it's updated daily.
They seem to have no problem autocorrecting brand names and trademarks. Why wouldn't they do this for something as important as medication?
Given how similar drug names can be, for future proofing, you'd want the auto-correct dictionary to blacklist drug names (trademarks, international nonproprietary names, alternative chemical names if there are any, etc...).