With no explanation, label each line with "O", "art-broadcastprogram", "art-film", "art-music", "art-other", "art-painting", "art-writtenart", "building-airport", "building-hospital" or "building-hotel" preceded by ":".
He
is
a
dentist
and
former
professor
.
He:O
is:O
a:O
dentist:O
and:O
former:O
professor:O
.:O