With no explanation, label each line with "location-GPE", "O", "art-broadcastprogram", "art-film", "art-music", "art-other", "art-painting", "art-writtenart", "building-airport" or "building-hospital" preceded by ":".
In
1704
,
when
Lviv
was
occupied
by
Swedes
the
castle
was
heavily
damaged
.
In:O
1704:O
,:O
when:O
Lviv:location-GPE
was:O
occupied:O
by:O
Swedes:location-GPE
the:O
castle:O
was:O
heavily:O
damaged:O
.:O