
semantic role labeling
Semantic role labeling is a process used in language understanding to identify the relationships between words in a sentence. It assigns labels to parts of a sentence to show who did what, to whom, when, where, and how. For example, in "Sarah sold a book to Tom," it identifies "Sarah" as the seller, "a book" as what was sold, and "Tom" as the buyer. This helps computers interpret meaning more accurately, enabling better understanding for applications like translation, question-answering, and information extraction.