With no explanation, label each line with "location-GPE", "O", "other-law", "person-other", "art-broadcastprogram", "art-film", "art-music", "art-other", "art-painting" or "art-writtenart" preceded by ":".
When
neither
side
could
achieve
decisive
victory
and
Vytautas
wished
to
concentrate
his
attention
on
troubles
in
Smolensk
,
the
Treaty
of
Raciąż
was
signed
on
22
May
1404
.
When:O
neither:O
side:O
could:O
achieve:O
decisive:O
victory:O
and:O
Vytautas:person-other
wished:O
to:O
concentrate:O
his:O
attention:O
on:O
troubles:O
in:O
Smolensk:location-GPE
,:O
the:O
Treaty:other-law
of:other-law
Raciąż:other-law
was:O
signed:O
on:O
22:O
May:O
1404:O
.:O