With no explanation, label each line with "O", "event-election", "organization-politicalparty", "person-politician", "location-GPE", "art-broadcastprogram", "art-film", "art-music", "art-other" or "art-painting" preceded by ":".
During
the
2008
presidential
campaign
he
served
as
foreign
policy
advisor
to
John
McCain
,
the
Republican
Party
's
nominee
for
President
of
the
United
States
in
the
2008
election
.
During:O
the:O
2008:event-election
presidential:event-election
campaign:event-election
he:O
served:O
as:O
foreign:O
policy:O
advisor:O
to:O
John:person-politician
McCain:person-politician
,:O
the:O
Republican:organization-politicalparty
Party:organization-politicalparty
's:O
nominee:O
for:O
President:O
of:O
the:O
United:location-GPE
States:location-GPE
in:O
the:O
2008:O
election:O
.:O