Folktale Classification using Learning to Rank Dong Nguyen, Dolf Trieschnigg, and Mariët Theune University of Twente
Folktales • Fairy tales • Riddles • Legends • Urban legends • Jokes • Etc..
Folktale researchers • Folktales are a resource to research – Variation in tales – Shifting moral values, beliefs, identities etc. – Intertextuality
Classification systems • Folktale researchers have developed classification systems • To compare and analyze stories • To organize stories
Classification systems • Folktale researchers have developed classification systems • To compare and analyze stories • To organize stories Story types ¡
The Vanishing Hitchhiker (BRUN 01000) � � A ghostly or heavenly hitchhiker that vanishes � from a vehicle, sometimes after giving warning or prophecy. �
A car driver picks up a hitchhiker. They talk about spiritual topics in life. � Suddenly the hitchhiker vanishes. The police tell � him they have heard the � story earlier that day. � The Vanishing Hitchhiker (BRUN 01000) � � A ghostly or heavenly hitchhiker that vanishes � from a vehicle, sometimes after giving warning or prophecy. �
A car driver picks up a A guy bikes through the park � hitchhiker. They talk about at night. He encounters a � spiritual topics in life. � girl covered in blood. � Suddenly the hitchhiker On their way to the � vanishes. The police tell � police, she suddenly � him they have heard the � disappears. She resembles a story earlier that day. � murdered girl… � The Vanishing Hitchhiker (BRUN 01000) � � A ghostly or heavenly hitchhiker that vanishes � from a vehicle, sometimes after giving warning or prophecy. �
A car driver picks up a A guy bikes through the park � hitchhiker. They talk about at night. He encounters a � spiritual topics in life. � girl covered in blood. � Suddenly the hitchhiker On their way to the � vanishes. The police tell � police, she suddenly � him they have heard the � disappears. She resembles a story earlier that day. � murdered girl… � The Vanishing Hitchhiker (BRUN 01000) � � A ghostly or heavenly hitchhiker that vanishes � from a vehicle, sometimes after giving warning or prophecy. � A car driver picks up a hitchhiker and borrows her � his sweater. When he stops � by to pick up the sweater, � he discovers she passed � away due to a car accident � a while ago. He finds � his sweater on her grave. �
A car driver picks up a A guy bikes through the park � hitchhiker. They talk about at night. He encounters a � spiritual topics in life. � girl covered in blood. � Suddenly the hitchhiker On their way to the � vanishes. The police tell � police, she suddenly � him they have heard the � disappears. She resembles a story earlier that day. � murdered girl… � The Vanishing Hitchhiker (BRUN 01000) � � A ghostly or heavenly hitchhiker that vanishes � from a vehicle, sometimes after giving warning or prophecy. � A car driver picks up a A car driver picks up a girl hitchhiker and borrows her � wearing a white dress. He his sweater. When he stops � accidently spills red wine on by to pick up the sweater, � her dress. The next day � he discovers she passed � he finds out she died a � away due to a car accident � year ago. When the police open � a while ago. He finds � her grave, they find the white � his sweater on her grave. � dress with the red wine spot. �
A car driver picks up a A guy bikes through the park � hitchhiker. They talk about at night. He encounters a � spiritual topics in life. � girl covered in blood. � Suddenly the hitchhiker On their way to the � vanishes. The police tell � police, she suddenly � him they have heard the � disappears. She resembles a story earlier that day. � murdered girl … � The Vanishing Hitchhiker (BRUN 01000) � � A ghostly or heavenly hitchhiker that vanishes � from a vehicle, sometimes after giving warning or prophecy. � A car driver picks up a A car driver picks up a girl hitchhiker and borrows her � wearing a white dress. He his sweater. When he stops � accidently spills red wine on by to pick up the sweater, � her dress. The next day � he discovers she passed � he finds out she died a � away due to a car accident � year ago . When the police open � a while ago. He finds � her grave, they find the white � his sweater on her grave. � dress with the red wine spot. �
A car driver picks up a A guy bikes through the park � hitchhiker. They talk about at night. He encounters a � spiritual topics in life. � girl covered in blood. � Suddenly the hitchhiker On their way to the � vanishes. The police tell � police, she suddenly � him they have heard the � disappears. She resembles a story earlier that day. � murdered girl… � The Vanishing Hitchhiker (BRUN 01000) � � A ghostly or heavenly hitchhiker that vanishes � from a vehicle, sometimes after giving warning or prophecy. � A car driver picks up a A car driver picks up a girl hitchhiker and borrows her � wearing a white dress. He his sweater. When he stops � accidently spills red wine on by to pick up the sweater, � her dress. The next day � he discovers she passed � he finds out she died a � away due to a car accident � year ago. When the police open � a while ago. He finds � her grave, they find the white � his sweater on her grave. � dress with the red wine spot. �
A car driver picks up a A guy bikes through the park � hitchhiker. They talk about at night. He encounters a � spiritual topics in life. � girl covered in blood. � Suddenly the hitchhiker On their way to the � vanishes. The police tell � police, she suddenly � him they have heard the � disappears. She resembles a story earlier that day. � murdered girl… � The Vanishing Hitchhiker (BRUN 01000) � � A ghostly or heavenly hitchhiker that vanishes � from a vehicle, sometimes after giving warning or prophecy. � A car driver picks up a A car driver picks up a girl hitchhiker and borrows her � wearing a white dress . He his sweater. When he stops � accidently spills red wine on by to pick up the sweater , � her dress. The next day � he discovers she passed � he finds out she died a � away due to a car accident � year ago. When the police open � a while ago. He finds � her grave, they find the white � his sweater on her grave. � dress with the red wine spot. �
Story Type Indexes: ATU Aarne-‑Thompson-‑Uther ¡ ¡ classifica4on ¡system ¡(ATU) ¡ ¡ Red ¡Riding ¡Hood ¡ ¡(ATU ¡0333), ¡ ¡ The ¡Race ¡between ¡Hare ¡and ¡ Tortoise ¡ (ATU ¡0275A), ¡etc.
Story Type Indexes: Brunvand Urban ¡legends ¡ ¡ The ¡Microwaved ¡Pet ¡(BRUN ¡02000), ¡ The ¡Kidney ¡Heist ¡(BRUN ¡06305), ¡ ¡ The ¡Killer ¡in ¡the ¡Backseat ¡ ¡ ¡ ¡ ¡(BRUN ¡01305), ¡ ¡ The ¡Vanishing ¡Hitchhiker ¡ ¡ ¡ ¡ ¡ ¡(BRUN ¡01000), ¡ etc.
Automatic Identification of Story Types • Increasing digitalization • Discover relationships between stories
Outline • Problem ¡descrip4on, ¡corpora ¡ • Experimental ¡setup ¡ – Baselines, ¡Learning ¡to ¡Rank ¡ ¡ • Results ¡ – Baselines, ¡Feature ¡analysis, ¡Error ¡analysis ¡ • Discussion/Conclusion ¡
Goal and Evaluation Given an input story, return a ranking of story types 1 • Semi automatic setting ¡Reciprocal ¡Rank ¡(MRR) ¡ rank i ¡ • Classifica4on ¡ – Simula4ng ¡a ¡classifica4on ¡seRng. ¡The ¡highest ¡ranked ¡ label ¡is ¡then ¡taken ¡as ¡the ¡predicted ¡class. ¡ ¡ ¡A ccuracy
Folktale database • Dutch Folktale Database (http://www.verhalenbank.nl) • Over 42.000 stories • In our experiments: only stories written in standard Dutch
Dataset I Number of storytypes Number of storytypes 60 60 40 40 20 20 0 0 0 20 40 60 0 20 40 60 Number of stories Number of stories (a) ATU (b) Brunvand Fig. 1. Story type frequencies
Dataset II Index ¡ Train ¡ Dev ¡ Test ¡ Nr ¡documents ¡ 400 ¡ ¡ 75 ¡ ¡ 25 ¡ 50 ¡ Nr ¡story ¡types ¡ 98 ¡ 59 ¡ ¡ 24 ¡ 43 ¡ ATU ¡ Index ¡ Train ¡ Dev ¡ Test ¡ Nr ¡documents ¡ 687 ¡ ¡ 175 ¡ 50 ¡ 75 ¡ Nr ¡story ¡types ¡ 125 ¡ ¡ 92 ¡ 40 ¡ 50 ¡ Brunvand ¡
Baselines: big doc Input ¡document ¡(query) ¡ Vanishing ¡ Hitchiker ¡ ¡ Killer ¡in ¡the ¡ Backseat ¡ Microwaved ¡ ¡ Pet ¡ Ranking ¡ Killer ¡in ¡the ¡ Backseat ¡
Baselines: small doc Input ¡document ¡(query) ¡ Vanishing ¡ Hitchiker ¡ Vanishing ¡ Hitchiker ¡ Microwaved ¡ Pet ¡ Killer ¡in ¡the ¡ Microwaved ¡ Backseat ¡ Pet ¡ Ranking ¡ Killer ¡in ¡the ¡ Backseat ¡ When ¡taking ¡the ¡top ¡ranked ¡label ¡as ¡the ¡class, ¡ ¡this ¡is ¡the ¡same ¡as ¡a ¡Nearest ¡Neighbour ¡classifier ¡(k=1). ¡ ¡
Recommend
More recommend