With no explanation, label each line with "O", "person-other", "art-broadcastprogram", "art-film", "art-music", "art-other", "art-painting", "art-writtenart", "building-airport" or "building-hospital" preceded by ":".
A
battle
ensued
with
Toghrul
and
Jamukha
taking
the
offensive
by
attacking
Qasar
and
defeating
his
army
.
A:O
battle:O
ensued:O
with:O
Toghrul:person-other
and:O
Jamukha:person-other
taking:O
the:O
offensive:O
by:O
attacking:O
Qasar:person-other
and:O
defeating:O
his:O
army:O
.:O