With no explanation, label each line with "location-GPE", "person-soldier", "O", "person-politician", "art-broadcastprogram", "art-film", "art-music", "art-other", "art-painting" or "art-writtenart" preceded by ":".
The
empire
briefly
recovered
from
the
attacks
under
Samuil
,
but
this
ended
when
Byzantine
emperor
Basil
II
defeated
the
Bulgarian
army
at
Klyuch
in
1014
.
The:O
empire:O
briefly:O
recovered:O
from:O
the:O
attacks:O
under:O
Samuil:person-soldier
,:O
but:O
this:O
ended:O
when:O
Byzantine:location-GPE
emperor:O
Basil:person-politician
II:person-politician
defeated:O
the:O
Bulgarian:location-GPE
army:O
at:O
Klyuch:location-GPE
in:O
1014:O
.:O