@karhu/core
Advanced tools
Comparing version 0.2.3 to 0.3.0
@@ -13,28 +13,62 @@ "use strict"; | ||
}; | ||
var __values = (this && this.__values) || function (o) { | ||
var m = typeof Symbol === "function" && o[Symbol.iterator], i = 0; | ||
if (m) return m.call(o); | ||
return { | ||
next: function () { | ||
if (o && i >= o.length) o = void 0; | ||
return { value: o && o[i++], done: !o }; | ||
} | ||
}; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var types_1 = require("./types"); | ||
function classifyMatches(commands, input) { | ||
var normInput = input.toLowerCase(); | ||
var normInputWords = input.toLowerCase().split(' '); | ||
var out = commands.map(function (c) { | ||
var bestMatch = noMatch(c.id); | ||
c.keywords.forEach(function (rawKw) { | ||
var kw = rawKw.toLowerCase(); | ||
var currentMatch = noMatch(c.id); | ||
if (normInput.length > kw.length) { | ||
currentMatch = noMatch(c.id); | ||
var e_1, _a; | ||
var bestMatches = []; | ||
normInputWords.forEach(function (inputWord) { | ||
var bestMatch = noMatch(c.id); | ||
c.keywords.forEach(function (rawKw) { | ||
var kw = rawKw.toLowerCase(); | ||
var currentMatch = noMatch(c.id); | ||
if (inputWord.length > kw.length) { | ||
currentMatch = noMatch(c.id); | ||
} | ||
else if (inputWord === kw) { | ||
currentMatch = exactMatch(c.id); | ||
} | ||
else if (kw.indexOf(inputWord) === 0) { | ||
currentMatch = startsMatch(c.id); | ||
} | ||
else if (kw.indexOf(inputWord) >= 0) { | ||
currentMatch = containsMatch(c.id); | ||
} | ||
if (currentMatch.score > bestMatch.score) { | ||
bestMatch = currentMatch; | ||
} | ||
}); | ||
bestMatches.push(bestMatch); | ||
}); | ||
var totalScore = types_1.MatchClass.NO; | ||
try { | ||
for (var bestMatches_1 = __values(bestMatches), bestMatches_1_1 = bestMatches_1.next(); !bestMatches_1_1.done; bestMatches_1_1 = bestMatches_1.next()) { | ||
var bestMatch = bestMatches_1_1.value; | ||
if (bestMatch.score === types_1.MatchClass.NO) { | ||
totalScore = types_1.MatchClass.NO; | ||
break; | ||
} | ||
totalScore += bestMatch.score; | ||
} | ||
else if (normInput === kw) { | ||
currentMatch = exactMatch(c.id); | ||
} | ||
catch (e_1_1) { e_1 = { error: e_1_1 }; } | ||
finally { | ||
try { | ||
if (bestMatches_1_1 && !bestMatches_1_1.done && (_a = bestMatches_1.return)) _a.call(bestMatches_1); | ||
} | ||
else if (kw.indexOf(normInput) === 0) { | ||
currentMatch = startsMatch(c.id); | ||
} | ||
else if (kw.indexOf(normInput) >= 0) { | ||
currentMatch = containsMatch(c.id); | ||
} | ||
if (currentMatch.score > bestMatch.score) { | ||
bestMatch = currentMatch; | ||
} | ||
}); | ||
return bestMatch; | ||
finally { if (e_1) throw e_1.error; } | ||
} | ||
var meanScore = Math.floor(totalScore / bestMatches.length); | ||
return customMatch(c.id, meanScore); | ||
}); | ||
@@ -68,2 +102,8 @@ return out; | ||
} | ||
function customMatch(id, score) { | ||
return { | ||
id: id, | ||
score: score, | ||
}; | ||
} | ||
function updateEntryGraph(initialGraph, input, cmdId) { | ||
@@ -117,2 +157,2 @@ var letters = input.split(''); | ||
exports.findCommandsInEntryGraph = findCommandsInEntryGraph; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbHMuanMiLCJzb3VyY2VSb290IjoiLi8iLCJzb3VyY2VzIjpbInV0aWxzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7QUFBQSxpQ0FBZ0g7QUFFaEgsU0FBZ0IsZUFBZSxDQUFDLFFBQW1CLEVBQUUsS0FBYTtJQUNoRSxJQUFNLFNBQVMsR0FBRyxLQUFLLENBQUMsV0FBVyxFQUFFLENBQUM7SUFDdEMsSUFBTSxHQUFHLEdBQXNCLFFBQVEsQ0FBQyxHQUFHLENBQUMsVUFBQSxDQUFDO1FBQzNDLElBQUksU0FBUyxHQUFvQixPQUFPLENBQUMsQ0FBQyxDQUFDLEVBQUUsQ0FBQyxDQ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QUFDLENBQUMsQ0FBQyxFQUFFO1lBQzVCLE9BQU8sRUFBRSxDQUFDO1NBQ1g7UUFDRCxXQUFXLEdBQUcsV0FBVyxDQUFDLE9BQU8sQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDO0tBQ3ZDO0lBQ0QsSUFBSSxXQUFXLENBQUMsY0FBYyxDQUFDLFVBQVUsQ0FBQyxFQUFFO1FBQzFDLE9BQU8sV0FBVyxDQUFDLFVBQVUsQ0FBQyxDQUFDLEdBQUcsQ0FBQyxVQUFDLEdBQXFCO1lBQ3ZELE9BQU87Z0JBQ0wsRUFBRSxFQUFFLEdBQUcsQ0FBQyxFQUFFO2dCQUNWLEtBQUssRUFBRSxrQkFBVSxDQUFDLE9BQU8sR0FBRyxHQUFHLENBQUMsS0FBSzthQUN0QyxDQUFDO1FBQ0osQ0FBQyxDQUFDLENBQUM7S0FDSjtJQUNELE9BQU8sRUFBRSxDQUFDO0FBQ1osQ0FBQztBQWxCRCw0REFrQkMifQ== |
{ | ||
"name": "@karhu/core", | ||
"version": "0.2.3", | ||
"version": "0.3.0", | ||
"description": "Core package for Karhu, the lib for powering web app productivity tools", | ||
@@ -25,3 +25,3 @@ "author": "Oskar Hane <oh@oskarhane.com>", | ||
}, | ||
"gitHead": "f2e70aea1e0cab6549a7d6a7a1137130113bcef4" | ||
"gitHead": "0b6c1284b44264e00b0776c5503645ca2a532215" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
37389
364