With no explanation, label each line with "O", "location-road/railway/highway/transit", "art-broadcastprogram", "art-film", "art-music", "art-other", "art-painting", "art-writtenart", "building-airport" or "building-hospital" preceded by ":".
The
Central
Somerset
Railway
merged
with
the
Dorset
Central
Railway
to
become
the
Somerset
and
Dorset
Railway
.
The:O
Central:location-road/railway/highway/transit
Somerset:location-road/railway/highway/transit
Railway:location-road/railway/highway/transit
merged:O
with:O
the:O
Dorset:location-road/railway/highway/transit
Central:location-road/railway/highway/transit
Railway:location-road/railway/highway/transit
to:O
become:O
the:O
Somerset:location-road/railway/highway/transit
and:location-road/railway/highway/transit
Dorset:location-road/railway/highway/transit
Railway:location-road/railway/highway/transit
.:O