Regularization and probabilistic learning in the acquisition of linguistic variation