seb
|
e2aacaf54b
|
Refactor similarity_search.c to improve memory management and word splitting logic. Simplify split_into_words function to use a single allocation and update free_words to handle memory more efficiently. Enhance levenshtein_distance calculation with dynamic memory allocation and optimize similarity scoring in calculate_similarity function for better accuracy and performance.
|
2025-04-18 18:55:37 +02:00 |
|
seb
|
0dd17b794f
|
Update README.md to enhance documentation on similarity metrics and usage. Add dependencies section and clarify return values for methods. Modify test.js to reflect updated search scenarios and improve clarity in search results.
|
2025-04-18 11:03:07 +02:00 |
|
seb
|
92a7bad2b6
|
Implement Levenshtein distance calculation for improved word similarity in similarity_search.c. Adjust similarity thresholds and scoring logic to enhance accuracy, particularly for prefix matches and varying word lengths. Update test.js to reflect new search scenarios with lower similarity thresholds.
|
2025-04-18 09:47:58 +02:00 |
|
seb
|
e94c034927
|
Refine word similarity calculation in similarity_search.c by enforcing exact matches for short words and adjusting similarity thresholds. Increase weight of word matches in overall similarity score calculation.
|
2025-04-18 09:32:44 +02:00 |
|
seb
|
53da84fbcf
|
Update version to 1.0.1 in package.json for release.
|
2025-04-18 09:24:41 +02:00 |
|
seb
|
cd41ca2f52
|
Add word similarity calculation to enhance overall similarity scoring in calculate_similarity function. Implement character matching logic and boost score for same-length words.
|
2025-04-18 09:20:44 +02:00 |
|
seb
|
6091cc0b80
|
Increase default capacity in SearchIndexWrapper and enhance similarity calculation in calculate_similarity function to boost similarity score when all query words are found. Update MAX_WORDS and MAX_STRING_LEN definitions for improved handling.
|
2025-04-18 09:16:26 +02:00 |
|
seb
|
ca2c86ce33
|
upd
|
2025-04-18 09:06:34 +02:00 |
|
seb
|
da5e7476a0
|
Implement input validation for string length and index capacity in similarity_search_addon.cc and similarity_search.c; enhance memory management in search_index function.
|
2025-04-18 08:57:35 +02:00 |
|
seb
|
de950fa11c
|
Enhance string handling in similarity_search.c with input validation and memory management improvements; update test.js to utilize new SimilaritySearch class for index creation.
|
2025-04-18 08:52:18 +02:00 |
|
seb
|
8c51ff23f6
|
Remove compiled binaries and package-lock.json from the project.
|
2025-04-18 08:23:44 +02:00 |
|
seb
|
51a3cc6c2d
|
genesis
|
2025-04-18 08:22:35 +02:00 |
|