With no explanation, label each line with "location-GPE", "O", "art-broadcastprogram", "art-film", "art-music", "art-other", "art-painting", "art-writtenart", "building-airport" or "building-hospital" preceded by ":".
However
,
it
only
regained
its
importance
under
the
rule
of
Aleppo-based
Hamdanid
dynasty
.
However:O
,:O
it:O
only:O
regained:O
its:O
importance:O
under:O
the:O
rule:O
of:O
Aleppo-based:location-GPE
Hamdanid:location-GPE
dynasty:location-GPE
.:O