maxmilhas-org / maxmilhas-org/nodejs-trie

Make match by synonyms not perfect

Open
#11 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.