With no explanation, label each line with "O", "other-god", "art-broadcastprogram", "art-film", "art-music", "art-other", "art-painting", "art-writtenart", "building-airport" or "building-hospital" preceded by ":".
When
the
demon
Hiranyaksha
stole
the
earth
and
hid
her
in
the
primordial
waters
,
Vishnu
appeared
as
Varaha
to
rescue
her
.
When:O
the:O
demon:O
Hiranyaksha:other-god
stole:O
the:O
earth:O
and:O
hid:O
her:O
in:O
the:O
primordial:O
waters:O
,:O
Vishnu:other-god
appeared:O
as:O
Varaha:other-god
to:O
rescue:O
her:O
.:O