With no explanation, label each line with "location-GPE", "O", "building-hospital", "art-broadcastprogram", "art-film", "art-music", "art-other", "art-painting", "art-writtenart" or "building-airport" preceded by ":".
After
services
were
transferred
to
the
Ministry
of
Defence
Hospital
Unit
at
Queen
Alexandra
Hospital
in
Cosham
,
Portsmouth
,
the
hospital
closed
in
2009
.
After:O
services:O
were:O
transferred:O
to:O
the:O
Ministry:building-hospital
of:building-hospital
Defence:building-hospital
Hospital:building-hospital
Unit:building-hospital
at:O
Queen:building-hospital
Alexandra:building-hospital
Hospital:building-hospital
in:O
Cosham:location-GPE
,:O
Portsmouth:location-GPE
,:O
the:O
hospital:O
closed:O
in:O
2009:O
.:O