diff --git a/src/2-two/preTagger/compute/tagger/2nd-pass/01-case.js b/src/2-two/preTagger/compute/tagger/2nd-pass/01-case.js index c43adcf..3cf5379 100644 --- a/src/2-two/preTagger/compute/tagger/2nd-pass/01-case.js +++ b/src/2-two/preTagger/compute/tagger/2nd-pass/01-case.js @@ -20,7 +20,7 @@ const nope = { } // if it's a unknown titlecase word, it's a propernoun -const checkCase = function (terms, i, model, afterColon) { +const checkCase = function (terms, i, model) { const term = terms[i] // assume terms are already indexed term.index ||= [0, 0] @@ -40,12 +40,6 @@ const checkCase = function (terms, i, model, afterColon) { if (/["']$/.test(term.pre)) { return null } - // gerund after a colon - 'Tutorial: Creating a cake' - const before = terms[i - 1] - const hasColon = before ? /:/.test(before.post) : afterColon - if (hasColon && term.tags.has('Gerund')) { - return null - } if (term.normal === 'the') { return null }