1 2 3 4 5 6 7
module.exports = function parse_term(term) { return term ? String(term) .toLowerCase() .replace(/(es|ing|ly|ed|er)?s?$/, "") : ""; };