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 ":".
An
initial
naval
assault
was
defeated
by
mines
and
coastal
fortresses
,
and
the
subsequent
land
assault
was
also
defeated
,
but
with
heavy
casualties
on
both
sides
.
An:O
initial:O
naval:O
assault:O
was:O
defeated:O
by:O
mines:O
and:O
coastal:O
fortresses:O
,:O
and:O
the:O
subsequent:O
land:O
assault:O
was:O
also:O
defeated:O
,:O
but:O
with:O
heavy:O
casualties:O
on:O
both:O
sides:O
.:O