Text this: Learning automation to teach mathematics