SplitAndFilter processes scored grammars.