Danubius International Conferences, 4th International Conference on Education in the Digital Era
Automatic Content Generation Based on Predefined Grammatical Rules
Last modified: 2025-07-12
Abstract
While traditional methods rely on deciphering ancient texts and comparative linguistics, computational techniques have increasingly played a crucial role in language reconstruction. One powerful approach is using Definite Clause Grammars (DCGs) in Prolog, a Turing-complete logic programming language designed for symbolic reasoning. DCGs extend Prolog's capabilities by offering a declarative way to define grammatical rules. Unlike conventional context-free grammars, DCGs allow for additional logic and flexibility, making them well-suited for modeling natural languages. In the case of reconstructing lost languages, researchers can define grammar rules based on fragments of known linguistic evidence, such as surviving texts, inscriptions, or spoken dialects closely related to the extinct language. The significance of this study lies mostly in its potential application for detecting deceptive content, such as 'fake news.'