Computes the relatedness of a context to the literal/figurative list of topics.