Using a Manual Editor and a Semi-Automatic Parser of Source Texts to Build a Corpus of Game Scripts
Main Article Content
Abstract
A practical approach is proposed for building a specialized corpus of game scripts based on a combination of manual annotation and semi-automatic parsing of the source texts. The method integrates a graphical editor for expert annotation, a modular parser that performs initial structuring of the source texts using formal rules and heuristics, and a visualization of links between scenes. This combination provides an iterative cycle of expert validation necessary to obtain a correct and reproducible corpus.
Keywords:
Article Details
References
2. Oliver G. Renegade or Paragon?: Categorizing Narrative Choice in Video Game Storylines // Dialogue: The Interdisciplinary Journal of Popular Culture and Pedagogy. 2020. Vol. 7, Iss. 1. No. 9. P. 1-13.
3. Goh E., Al-Tabbaa O., Khan Z. Unravelling the complexity of the Video Game Industry: An integrative framework and future research directions // Telematics and Informatics Reports. 2023. Vol. 12. No. 100100. P. 1–18.
4. Ashby T., Webb B. K., Knapp G., Searle J., Fulda N. Personalized Quest and Dialogue Generation in Role-Playing Games: A Knowledge Graph- and Language Model-based Approach // Proceedings of the 2023 CHI Conference on Human Factors in Computing Systems (CHI ’23). 2023. P. 1–20.
5. Burgess J., Jones C. Exploring Player Understandings of Historical Accuracy and Historical Authenticity in Video Games // Games and Culture: A Journal of Interactive Media. 2022. Vol. 17. Iss. 5. P. 816–835.
6. Erb V., Lee S., Doh Y.Y. Player-Character Relationship and Game Satisfaction in Narrative Game: Focus on Player Experience of Character Switch in The Last of Us Part II // Frontiers in Psychology. 2021. Vol. 12. No. 709926. P. 1–11.
7. Zhang X., Huang Q., Shi Z., Zhang K. How Cultural Elements Shape Game Evaluations: The Role of Cultural Authenticity and Perceived Effort // Computers in Human Behavior. 2024. Vol. 162. No. 108452.
8. Inworld AI. Xbox partners with Inworld AI to build generative AI tools for game development. URL: https://inworld.ai/blog/xbox-partners-with-inworld-ai-to-build-generative-ai-tools-for-game-development
9. Microsoft. Project Explora, powered by Inworld AI & Microsoft. URL: https://developer.microsoft.com/en-us/games/products/project-explora/.
10. Klose T. Inworld AI. Will Bring Generative AI to Microsoft Xbox Game Development. URL: https://voicebot.ai/2023/11/13/inworld-ai-will-bring-generative-ai-to-microsoft-xbox-game-development/
11. Microsoft. Xbox and Inworld AI partner to empower game creators with the potential of Generative AI. URL: https://developer.microsoft.com/en-us/games/articles/2023/11/xbox-and-inworld-ai-partnership-announcement/
12. Huang J. Generating Dynamic and Lifelike NPC Dialogs in Role-Playing Games Using Large Language Models. Lappeenranta: LUT University, 2024. 78 p.
13. IGDA Localization SIG. Best Practices for Game Localization. URL: https://igda-website.s3.us-east-2.amazonaws.com/wp-content/uploads/2021/04/09142137/Best-Practices-for-Game-Localization-v22.pdf
14. Deterding S. Contextual Autonomy Support in Video Game Play: A Grounded Theory // Proceedings of the 2016 CHI Conference on Human Factors in Computing Systems New York: ACM, 2016. P. 3931–3943.
15. McEnery T., Hardie A. Corpus Linguistics: Method, Theory and Practice Cambridge: Cambridge University Press, 2011. 295 p.
16. Small S., Stromer-Galley J., Strzalkowski T. Multi-modal annotation of quest games in Second Life // Proceedings of the 49th annual meeting of the association for computational linguistics: human language technologies. 2011. P. 171–179.
17. Summerville A., Snodgrass S., Guzdial M., Holmgård C., Hoover A.K., Isaksen A., Nealen A., Togelius J. Procedural Content Generation via Machine Learning (PCGML) // IEEE Transactions on Games. 2018. Vol. 10, No. 3. P. 257–270.
18. van Stegeren J., Theune M. Fantastic strings and where to find them: The quest for high-quality video game text corpora // 12th Intelligent Narrative Technologies Workshop (INT 2020) CEUR. 2021. P. 1–8.
19. Rennick S., Roberts S. The video game dialogue corpus // Corpora. 2024. Vol. 19, No. 1. P. 93–106.
20. van Stegeren J., Myśliwiec J. Fine-tuning GPT-2 on annotated RPG quests for NPC dialogue generation // Proceedings of the 16th International Conference on the Foundations of Digital Games. 2021. P. 1–8.
21. Kybartas B., Bidarra R. A survey on story generation techniques for authoring computational narratives // IEEE Transactions on Computational Intelligence and AI in Games. 2016. Vol. 9, No. 3. P. 239–253.
22. Riedl M.O., Young R.M. Narrative planning: Balancing plot and character // Journal of Artificial Intelligence Research. 2010. Vol. 39. P. 217–268.
23. Ginel M.R., Theroine S. Machine Translation and Gender Biases in Video Game Localisation: A Corpus-Based Analysis // Journal of Data Mining & Digital Humanities. 2022. P. 1–10.
24. Hansen D., Houlmont P.Y. A Snapshot into the Possibility of Video Game Machine Translation // Proceedings of the 15th Biennial Conference of the Association for Machine Translation in the Americas (Volume 2: Users and Providers Track and Government Track). 2022. Vol. З. P. 257–269.
25. How Developers Localize Game Characters’ Names, Voices, and More: Facts & Finer Points. URL: https://igda.org/resources-archive/how-developers-localize-game-characters-names-voices-and-more-facts-finer-points/
26. Nathan D. Sound and Unsound Practices in Documentary Linguistics: Towards an Epistemology for Audio and Video Corpora // Language Documentation and Description. 2010. Vol. 7. P. 262–288.
27. Pirrone M., D’Ulizia A. The Localization of Software and Video Games: Current State and Future Perspectives // Information. 2024. Vol. 15. No. 10.
28. Raja R., Vats A. Parallel Corpora for Machine Translation in Low-Resource Indic Languages: A Comprehensive Review // Proceedings of the Eighth Workshop on Technologies for Machine Translation of Low-Resource Languages (LoResMT 2025). 2025. P. 129–143.
29. Liu X., Xie Z., Jiang S. Personalized Non-Player Characters: A Framework for Character-Consistent Dialogue Generation // AI. 2025. Vol. 6. No. 5.
30. Bergsma T., van Stegeren J., Theune M. Creating a Sentiment Lexicon with Game-Specific Words for Analyzing NPC Dialogue in The Elder Scrolls V: Skyrim // Workshop on Games and Natural Language Processing. 2020. P. 1–9.
31. Gruber T.R. A Translation Approach to Portable Ontology Specifications // Knowledge Acquisition. 1993. Vol. 5, No. 2. P. 199–220.
32. Noy N.F. et al. Ontology Development 101: A Guide to Creating Your First Ontology. 2001. P. 1–28.
33. Snow R. et al. Cheap and Fast – But Is It Good? Evaluating Non-Expert Annotations for Natural Language Tasks // Proceedings of the 2008 Conference on Empirical Methods in Natural Language Processing. 2008. P. 254–263.
34. Mintz M. et al. Distant Supervision for Relation Extraction without Labeled Data // Proceedings of the Joint Conference of the 47th Annual Meeting of the ACL and the 4th International Joint Conference on Natural Language Processing. 2009. P. 1003–1011.
35. Ratner A.J. et al. Data Programming: Creating Large Training Sets, Quickly // Advances in Neural Information Processing Systems. 2016. Vol. 29. P. 1–9.
36. Anastassiou P. et al. Seed-tts: A family of high-quality versatile speech generation models // arXiv. 2024. No. arXiv:2406.02430. P. 1–18.
37. Nurlygaianov N.R., Kugurakova V.V. A New Approach to Creating a Corpus of Video Game Texts // Russian Digital Libraries Journal. 2024. Vol. 27, No. 4. P. 578–597.
38. Tarjan R.E. Depth-First Search and Linear Graph Algorithms // SIAM Journal on Computing. 1972. Vol. 1, No. 2. P. 146–160.
39. Nurlygaianov N.R., Kugurakova V.V., Shubin A.V. Interaktivnyi redaktor dlya predstavleniya stsenariev komp'iuternykh igr v vide JSON s dannymi o dialogakh, ikh zavisimostyakh i personazhakh: svidetel'stvo o gosudarstvennoi registratsii programmy dlya EVM RU No. 2025684890 ot 18.09.2025 / pravoobladatel': federal'noe gosudarstvennoe avtonomnoe obrazovatel'noe uchrezhdenie vysshego obrazovaniya "Kazanskii (Privolzhskii) federal'nyi universitet". Zayavka No. 2025683882 ot 20.08.2025.
40. Nurlygaianov N.R., Kugurakova V.V., Shubin A.V. Programmnyi kompleks dlya vizualizatsii, interaktivnogo analiza i redaktirovaniya dialogovykh struktur v igrovykh stsenariyakh: svidetel'stvo o gosudarstvennoi registratsii programmy dlya EVM RU No. 2025685255 ot 22.09.2025 / pravoobladatel': federal'noe gosudarstvennoe avtonomnoe obrazovatel'noe uchrezhdenie vysshego obrazovaniya "Kazanskii (Privolzhskii) federal'nyi universitet". Zayavka No. 2025684052 ot 25.08.2025.
41. Perrone G., Unpingco J., Lu H. Network Visualizations with Pyvis and VisJS // arXiv. 2020. No. arXiv:2006.04951. P. 1–10.
42. Sanh V. et al. DistilBERT: A Distilled Version of BERT // arXiv. 2019. No. arXiv:1910.01108. P. 1–5.
43. Barbieri F., Anke L.E., Camacho-Collados J. XLM-T: Multilingual Language Models in Twitter for Sentiment Analysis and Beyond // Proceedings of the Thirteenth Language Resources and Evaluation Conference. 2021. P. 258–266.
44. Devlin J. et al. BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding // Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics. 2019. P. 4171–4186.

This work is licensed under a Creative Commons Attribution 4.0 International License.
Presenting an article for publication in the Russian Digital Libraries Journal (RDLJ), the authors automatically give consent to grant a limited license to use the materials of the Kazan (Volga) Federal University (KFU) (of course, only if the article is accepted for publication). This means that KFU has the right to publish an article in the next issue of the journal (on the website or in printed form), as well as to reprint this article in the archives of RDLJ CDs or to include in a particular information system or database, produced by KFU.
All copyrighted materials are placed in RDLJ with the consent of the authors. In the event that any of the authors have objected to its publication of materials on this site, the material can be removed, subject to notification to the Editor in writing.
Documents published in RDLJ are protected by copyright and all rights are reserved by the authors. Authors independently monitor compliance with their rights to reproduce or translate their papers published in the journal. If the material is published in RDLJ, reprinted with permission by another publisher or translated into another language, a reference to the original publication.
By submitting an article for publication in RDLJ, authors should take into account that the publication on the Internet, on the one hand, provide unique opportunities for access to their content, but on the other hand, are a new form of information exchange in the global information society where authors and publishers is not always provided with protection against unauthorized copying or other use of materials protected by copyright.
RDLJ is copyrighted. When using materials from the log must indicate the URL: index.phtml page = elbib / rus / journal?. Any change, addition or editing of the author's text are not allowed. Copying individual fragments of articles from the journal is allowed for distribute, remix, adapt, and build upon article, even commercially, as long as they credit that article for the original creation.
Request for the right to reproduce or use any of the materials published in RDLJ should be addressed to the Editor-in-Chief A.M. Elizarov at the following address: amelizarov@gmail.com.
The publishers of RDLJ is not responsible for the view, set out in the published opinion articles.
We suggest the authors of articles downloaded from this page, sign it and send it to the journal publisher's address by e-mail scan copyright agreements on the transfer of non-exclusive rights to use the work.