Recognition of visual activities and interactions by stochastic parsing | Synapse