With no explanation, label each line with "location-GPE", "O", "person-politician", "art-broadcastprogram", "art-film", "art-music", "art-other", "art-painting", "art-writtenart" or "building-airport" preceded by ":".
However
,
Rudolf
III
sought
closer
relations
with
the
Habsburgs
which
made
an
enemy
of
the
nearby
town
of
Bern
.
However:O
,:O
Rudolf:person-politician
III:person-politician
sought:O
closer:O
relations:O
with:O
the:O
Habsburgs:location-GPE
which:O
made:O
an:O
enemy:O
of:O
the:O
nearby:O
town:O
of:O
Bern:location-GPE
.:O