With no explanation, label each line with "O", "event-election", "organization-politicalparty", "person-politician", "organization-government/governmentagency", "art-broadcastprogram", "art-film", "art-music", "art-other" or "art-painting" preceded by ":".
At
the
New
York
state
election
,
1879
,
he
was
defeated
for
re-election
by
Republican
Hamilton
Ward
Sr
.
At
the
New
York
state
election
,
1881
,
he
ran
for
the
New
York
Court
of
Appeals
but
was
defeated
by
Republican
Francis
M.
Finch
.
At:O
the:O
New:event-election
York:event-election
state:event-election
election:event-election
,:O
1879:O
,:O
he:O
was:O
defeated:O
for:O
re-election:O
by:O
Republican:organization-politicalparty
Hamilton:person-politician
Ward:person-politician
Sr:person-politician
.:O
At:O
the:O
New:event-election
York:event-election
state:event-election
election:event-election
,:O
1881:O
,:O
he:O
ran:O
for:O
the:O
New:organization-government/governmentagency
York:organization-government/governmentagency
Court:organization-government/governmentagency
of:organization-government/governmentagency
Appeals:organization-government/governmentagency
but:O
was:O
defeated:O
by:O
Republican:organization-politicalparty
Francis:person-politician
M.:person-politician
Finch:person-politician
.:O