🤼 groundwork for automatcher

This commit is contained in:
2021-06-01 07:40:31 -07:00
parent 5effa08342
commit 68194898d4
5 changed files with 17 additions and 61 deletions

View File

@@ -44,8 +44,8 @@ export function tokenize(inputString) {
}
export function refineQuery(queryString) {
let queryObj = tokenize(queryString);
let removedYears = _.xor(
const queryObj = tokenize(queryString);
const removedYears = _.xor(
queryObj.sentences.normalized,
queryObj.years.yearMatches,
);