Skip to content

Add phonetic comparison to search algorithm#33

Open
nbeerbower wants to merge 1 commit into
mainfrom
claude/phonetic-search-algorithm-7mD24
Open

Add phonetic comparison to search algorithm#33
nbeerbower wants to merge 1 commit into
mainfrom
claude/phonetic-search-algorithm-7mD24

Conversation

@nbeerbower

Copy link
Copy Markdown
Contributor

Implement phonetic matching to improve search by finding similar-sounding words even with typos or misspellings (e.g., "fonetic" matches "phonetic").

Changes:

  • Add Metaphone phonetic encoding function
  • Pre-compute phonetic codes for titles and headings in search index
  • Add phonetic matching with lower priority than exact matches (score 35/25)
  • Display "sounds like" badge when phonetic match is found
  • Add CSS styling for phonetic match indicator

Implement phonetic matching to improve search by finding similar-sounding
words even with typos or misspellings (e.g., "fonetic" matches "phonetic").

Changes:
- Add Metaphone phonetic encoding function
- Pre-compute phonetic codes for titles and headings in search index
- Add phonetic matching with lower priority than exact matches (score 35/25)
- Display "sounds like" badge when phonetic match is found
- Add CSS styling for phonetic match indicator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants