With no explanation, label each line with "O", "location-road/railway/highway/transit", "organization-company", "art-broadcastprogram", "art-film", "art-music", "art-other", "art-painting", "art-writtenart" or "building-airport" preceded by ":".
It
then
spent
three
years
as
E
&
amp
;
N
Railfreight
,
an
internal
short
line
within
then
owner
Canadian
Pacific
Railway
.
It:O
then:O
spent:O
three:O
years:O
as:O
E:location-road/railway/highway/transit
&:location-road/railway/highway/transit
amp:location-road/railway/highway/transit
;:location-road/railway/highway/transit
N:location-road/railway/highway/transit
Railfreight:location-road/railway/highway/transit
,:O
an:O
internal:O
short:O
line:O
within:O
then:O
owner:O
Canadian:organization-company
Pacific:organization-company
Railway:organization-company
.:O