Probabilistic State-Dependent Grammars for Plan Recognition | Synapse