Text this: A statistical approach to adaptive problem solving.