Prototype Development of a Python-Based Application for Allegory Detection in Electronic News Coverage

Authors

  • Yossy Fadly Universitas Pembangunan Panca Budi
  • Dedi Purwanto Universitas Pembangunan Panca Budi
  • Ranti Eka Putri Universitas Pembangunan Panca Budi

DOI:

https://doi.org/10.62712/juktisi.v4i2.722

Keywords:

Allegory detection, figurative language processing, Python application, critical discourse analysis, electronic news, NLP

Abstract

Allegory represents an extended figurative construction in which narrative elements—characters, actions, events, and symbolic structures—encode meanings beyond their literal level. In electronic news reporting, allegory may be used to simplify complex issues, frame institutional identity, and convey ideological nuances through symbolic narratives. This study aims to develop a Python-based prototype capable of detecting allegorical expressions in electronic news texts and analyzing their discursive implications through a Critical Discourse Analysis (CDA) perspective. The research integrates text preprocessing, narrative pattern recognition, symbolic cue extraction, and lexical-semantic analysis to identify indicators of allegorical structures. The corpus consists of online news articles related to institutional coverage published between 2020–2025. The CDA framework, particularly Fairclough’s three-dimensional model, is employed to interpret the ideological and discursive functions of allegory. The prototype demonstrates preliminary accuracy in detecting allegorical patterns, particularly narrative sequences that portray institutions metaphorically as agents, guardians, vessels, or journeys. Findings indicate that allegory functions not merely as a stylistic device but as a discursive strategy to construct institutional identity, reinforce legitimacy, and shape public perception. The study contributes theoretically to discourse linguistics and figurative language analysis, and practically by providing a computational tool for identifying allegory in news media.

Downloads

Download data is not yet available.

References

N. Fairclough, Critical Discourse Analysis: The Critical Study of Language, 2nd ed. London: Routledge, 2010.

G. Lakoff and M. Johnson, Metaphors We Live By. Chicago: University of Chicago Press, 2003.

M. Quilligan, The Language of Allegory. Ithaca: Cornell University Press, 1979.

N. Frye, Anatomy of Criticism. Princeton: Princeton University Press, 1957.

S. Rimmon-Kenan, Narrative Fiction: Contemporary Poetics. London: Routledge, 1983.

J. Charteris-Black, Politicians and Rhetoric: The Persuasive Power of Metaphor. London: Palgrave Macmillan, 2011.

A. Musolff, Political Metaphor Analysis: Discourse and Scenarios. London: Bloomsbury, 2016.

E. Shutova, “Design and Evaluation of Metaphor Processing Systems,” Computational Linguistics, vol. 42, no. 4, pp. 579–623, 2016.

J. Gao et al., “Neural Metaphor Detection in Context,” in Proc. EMNLP, 2018, pp. 4424–4435.

M. Keane, “Cognitive Approaches to Allegory,” Journal of Literary Semantics, vol. 47, no. 2, pp. 95–113, 2018.

N. Hasanah and M. Lestari, “Figurative Language in Indonesian News Portals,” Journal of Linguistics, vol. 14, no. 1, pp. 55–68, 2021.

A. Purwarianti and D. Sutiono, “IndoBERT for Indonesian NLP Tasks,” in Proc. INACL, 2020.

R. Pratama, “Critical Discourse Analysis of Institutional News in Indonesia,” Jurnal Wacana Media, vol. 9, no. 2, pp. 102–115, 2022.

G. Steen, Finding Metaphor in Grammar and Usage. Amsterdam: Benjamins, 2007.

P. Ekawati, “Symbolic Representation in Indonesian Media Texts,” Bahasa & Media, vol. 10, no. 3, pp. 211–225, 2020.

F. Nurdiansyah, “Automated Detection of Figurative Language in Indonesian Text,” International Journal of Computer Linguistics, vol. 5, no. 1, pp. 33–44, 2022.

M. B. Hakim and T. Maulana, “News Framing and Ideology in Digital Journalism,” Journal of Media Studies, vol. 7, no. 2, pp. 65–78, 2023.

spaCy.io, “spaCy Documentation – Indonesian Model,” 2024.

L. Bird et al., NLTK Book, O’Reilly Media, 2009.

Downloads

Published

2025-12-09

How to Cite

Fadly, Y., Purwanto, D., & Putri, R. E. (2025). Prototype Development of a Python-Based Application for Allegory Detection in Electronic News Coverage. Jurnal Komputer Teknologi Informasi Sistem Informasi (JUKTISI), 4(2), 1509–1515. https://doi.org/10.62712/juktisi.v4i2.722