filter sentence lines from grammar during scoring