With no explanation, label each line with "O", "organization-company", "organization-other", "location-GPE", "product-ship", "art-broadcastprogram", "art-film", "art-music", "art-other" or "art-painting" preceded by ":".
HMS
``
H51
``
was
a
British
H
class
submarine
built
by
HM
Dockyard
,
Pembroke
Dock
.
HMS:organization-other
``:O
H51:product-ship
``:O
was:O
a:O
British:location-GPE
H:O
class:O
submarine:O
built:O
by:O
HM:organization-company
Dockyard:organization-company
,:O
Pembroke:organization-company
Dock:organization-company
.:O