The task of comparing two texts and outputting a numerical score that indicates how similar or related they are to each other.