-
-
Notifications
You must be signed in to change notification settings - Fork 313
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: adds term frequency to index * perf: moves parseInt function to more performant shorthand * chore(lyra): initializes new branch * feat(lyra): adds frequency map * feat: wip * feat(lyra): adds tokens number to frequency map * feat(lyra): adds tuple-based term frequencies data * feat(lyra): removes redundant data * feat(lyra): work in progress on sorting * refactor: removes dead code * feat(lyra): adds tf-idf-based results sorting * feat(lyra): completes tf-idf-based ranking * feat(lyra): adds frequencies and tokenOccurrencies to load function * feat(lyra): removes token frequencies and occurrencies on docs deletion * refactor: minor refactors * fix: fixes exports
- Loading branch information
1 parent
cc94cf3
commit b363a30
Showing
10 changed files
with
323 additions
and
164 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export { formatNanoseconds, getNanosecondsTime, intersectMany, includes } from "../src/utils"; | ||
export { formatNanoseconds, getNanosecondsTime, intersectTokenScores, includes } from "../src/utils"; | ||
export { boundedLevenshtein } from "../src/levenshtein"; | ||
export { tokenize } from "../src/tokenizer"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.