I tried training a classifier, then found a better solution.