Text this: Unsupervised learning in second-order neural networks for motion analysis