Implement language model learning