Learn Before
Applying IOB Encoding for a Single Entity
You are building a system to identify mentions of a specific type of entity, 'CITY'. Given the following tokenized sentence, provide the corresponding sequence of IOB labels. Your labels should only be 'B' (for the beginning of a CITY span), 'I' (for inside a CITY span), or 'O' (for outside any CITY span).
Sentence Tokens: ['She', 'flew', 'from', 'San', 'Francisco', 'to', 'Paris', '.']
0
1
Tags
Data Science
Foundations of Large Language Models Course
Computing Sciences
Application in Bloom's Taxonomy
Cognitive Psychology
Psychology
Social Science
Empirical Science
Science
Related
A text processing system needs to identify spans of text that correspond to a person's name. Given the tokenized sentence: ['Dr.', 'Evelyn', 'Reed', 'published', 'her', 'findings', '.'], which sequence of labels correctly applies the B-I-O tagging scheme to identify 'Evelyn Reed' as the person's name?
A system is designed to identify spans of text corresponding to an 'ORGANIZATION'. It processes the tokenized sentence:
['The', 'report', 'from', 'the', 'World', 'Health', 'Organization', 'was', 'released']and produces the following labels:['O', 'O', 'O', 'O', 'B-ORGANIZATION', 'B-ORGANIZATION', 'B-ORGANIZATION', 'O', 'O']. Analyze this output. What is the primary error in how the labeling scheme was applied to the entity 'World Health Organization'?Applying IOB Encoding for a Single Entity