export function createMatches(score: undefined | FuzzyScore): IMatch[] {
return [];
}
const wordPos = score[1];
for (let i = score.length - 1; i > 1; i--) {
const pos = score[i] + wordPos;
const last = res[res.length - 1];
if (last && last.end === pos) {
last.end = pos + 1;
res.push({ start: pos, end: pos + 1 });
}
}
return res;
}
const _maxLen = 128;