Artificial language learning and feature-based generalization