With no explanation, label each line with "location-GPE", "O", "person-politician", "art-broadcastprogram", "art-film", "art-music", "art-other", "art-painting", "art-writtenart" or "building-airport" preceded by ":".
Thanks
to
his
marriage
to
her
in
1402
,
Jagiello
re-legitimized
his
rule
as
King
of
Poland
after
the
death
of
his
first
wife
,
Hedwig
(
Jadwiga
)
,
who
reigned
as
King
(
not
Queen
consort
)
of
Poland
.
Thanks:O
to:O
his:O
marriage:O
to:O
her:O
in:O
1402:O
,:O
Jagiello:person-politician
re-legitimized:O
his:O
rule:O
as:O
King:O
of:O
Poland:location-GPE
after:O
the:O
death:O
of:O
his:O
first:O
wife:O
,:O
Hedwig:person-politician
(:O
Jadwiga:person-politician
):O
,:O
who:O
reigned:O
as:O
King:O
(:O
not:O
Queen:O
consort:O
):O
of:O
Poland:location-GPE
.:O