Text this: Elucidating the selection mechanisms in context-dependent computation through low-rank neural network modeling