Text this: A Computational Study of the Tool Replacement Problem.