The Rosette API Categorization endpoint recognizes the contextual categories based on its analysis of the content of a string in English.