3 ms·
Ask HN: How do you standardise strings to search against list of tags?
I want to be able to match words from a search API against list of tags / categories so would like to know what are your best practises and if you know of any good python libaries ?
What are the best approaches ?
- tokenisation
- stemming
- lemmatization
- bjourne 7y agoIt depends on your use case. Who are your users? What is your data? Do you want phrase queries? Etc. NLTK is a good library to start with.