Pantun is a traditional Malay poem consisting of four lines: two lines of deliverance and two lines of messages. Each ending-line word in pantun forms an ABAB rhyme pattern. In this work, we automatically generated Indonesian pantun by applying two existing generative models: Sequential GAN (SeqGAN) and Generative Pre-trained Transformer 2 (GPT-2). We also created a 13K Indonesian pantun dataset by collecting pantun from various sources. We evaluated how well each model produced pantun by its formedness. Measured by two aspects: structure and rhyme. GPT-2 performs better with a margin of 27.57% than SeqGAN in forming the structure and 22.79% better in making rhyming patterns.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.