Evaluating Neural Networks as Cognitive Models for Learning Quasi-regularities in Language