TextLearner vs language_model_learner fastai

Hi everyone

Can anyone explain what the difference is between TextLearner() and language_model_learner() in the fastai library? I can’t figure it out from the docs.

I am trying to train a language model from scratch, which one would be better for this application?

Thanks!