With no explanation, label each line with "O", "art-broadcastprogram", "art-film", "art-music", "art-other", "art-painting", "art-writtenart", "building-airport", "building-hospital" or "building-hotel" preceded by ":".
Both
countries
signed
a
treaty
in
1902
to
end
the
arms
race
.
Both:O
countries:O
signed:O
a:O
treaty:O
in:O
1902:O
to:O
end:O
the:O
arms:O
race:O
.:O