Text this: Adaptive measurement of cognitive function based on multidimensional item response theory