A Grammar-Based Criterion for Learning Sufficiency in Motion Modeling | Synapse