Teaching learnable grammar