1. A method for training a recognition system that uses variable-parameter hidden Markov models (VPHMMs), comprising: clustering a collection of spline functions used by the VPHMMs into a plurality of classes; and for each class, storing a shared set of spline parameters, the shared set of spline parameters representing any spline function associated with the class.