Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map of synonyms for searching #69

Open
Johngeorgesample opened this issue Oct 4, 2024 · 0 comments
Open

Map of synonyms for searching #69

Johngeorgesample opened this issue Oct 4, 2024 · 0 comments

Comments

@Johngeorgesample
Copy link
Owner

Johngeorgesample commented Oct 4, 2024

For example, searching for 'and' should match '&' and vice versa. I can store the synonyms in a map like this

{
  "&":  ["and"]
  "café" : ["cafe", "caffe"]
}

This might replace the need to normalize the strings?

@Johngeorgesample Johngeorgesample changed the title Searching for 'and' should match '&' and vice versa Map of synonyms for searching Oct 6, 2024
@Johngeorgesample Johngeorgesample changed the title Map of synonyms for searching Bidirectional map of synonyms for searching Oct 6, 2024
@Johngeorgesample Johngeorgesample changed the title Bidirectional map of synonyms for searching Map of synonyms for searching Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant