With no explanation, label each line with "O", "person-politician", "art-broadcastprogram", "art-film", "art-music", "art-other", "art-painting", "art-writtenart", "building-airport" or "building-hospital" preceded by ":".
He
was
also
a
wartime
military
commander
while
serving
under
Tipu
Sultan
.
He:O
was:O
also:O
a:O
wartime:O
military:O
commander:O
while:O
serving:O
under:O
Tipu:person-politician
Sultan:person-politician
.:O