A Model of Grammatical Category Acquisition in the Spanish Language Using Adaptation and Selection