maxmilhas-org / maxmilhas-org/nodejs-trie
Make match by synonyms not perfect
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
When words match exactly the filter word, the score is 0, the best one, but when there's a match with a synonym, the score is also 0, but one match is better than other.
The best case scenario would be synonym matches to have a score weight, for example, like de number of differences divided by 10, where this value would be considered in the average score
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named. Start by locating the trie lookup and scoring entry points, then inspect how exact and synonym matches are currently represented. Define and test a consistent weight for synonym matches so better synonym matches produce a lower average score than weaker ones.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- search
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100