Text this: Detection theory