mirror of
https://github.com/samsonjs/spirit-tracker.git
synced 2026-03-25 09:25:51 +00:00
link sku
This commit is contained in:
parent
9e59fecc0d
commit
b0af55b8c5
1 changed files with 0 additions and 13 deletions
|
|
@ -51,19 +51,6 @@ export function topSuggestions(allAgg, limit, otherPinnedSku, mappedSkus) {
|
|||
return scored.slice(0, limit).map((x) => x.it);
|
||||
}
|
||||
|
||||
|
||||
// viz/app/linker/suggestions.js
|
||||
import { tokenizeQuery, normSearchText } from "../sku.js";
|
||||
import {
|
||||
smwsKeyFromName,
|
||||
extractAgeFromText,
|
||||
filterSimTokens,
|
||||
tokenContainmentScore,
|
||||
fastSimilarityScore,
|
||||
similarityScore,
|
||||
} from "./similarity.js";
|
||||
import { topSuggestions } from "./suggestions.js"; // if in same file, remove this line
|
||||
|
||||
export function recommendSimilar(
|
||||
allAgg,
|
||||
pinned,
|
||||
|
|
|
|||
Loading…
Reference in a new issue