static int applyNGramScorer(S expr, S input) { Pair parsed = parseNGramScorerExpression(expr); ret substringsScoreICPosNeg(s, parsed.a, parsed.b); }