Automating Scientific Paper Screening with Backus-Naur Form (BNF) Grammars
Keywords:
formal grammars; BNF; Template Meta-Programming (TMP)Abstract
This article explores BNF grammars to streamline the automated screening of scientific papers. BNF grammars define the valid structures and sentence formats for a specific language. They act like a rulebook, ensuring consistency and allowing for analysis of elements within the language. In this case, the BNF grammar serves as a blueprint for the proper formatting of scientific papers according to publisher guidelines. The grammar defines the acceptable structure and arrangement of elements like preamble, body, and paragraphs. By leveraging a tool like Java ANTLR v.4 runtime, we can convert the BNF grammar into a custom parser. This parser can then automatically assess submitted scientific papers, verifying if they adhere to the defined formatting rules established by the BNF grammar. This approach offers a way to automate the initial screening process for scientific papers, potentially saving time and improving consistency during the review process.
References
Andrivet, S. (2014). C++11 metaprogramming applied to software obfuscation. Black Hat Europe 2014
- Amsterdam. URL: https://www.blackhat.com/docs/eu-14/materials/eu-14-Andrivet-C-plus-plus11-
Metaprogramming-Applied-To-software-Obfuscation-wp.pdf.
Collins, M. (2019). Parsing and Context-Free Grammars. Columbia University. Retrieved from
https://www.cs.columbia.edu/~mcollins/cs4705-spring2019/slides/parsing1.pdf, date: July 10, 2024.
Grimm, R. (2021). Template Metaprogramming – How it All Started. Retrieved from
https://www.modernescpp.com/index.php/template-metaprogramming-a-introduction.
Iwashokun, O. & Ade-Ibijola, A. (2024). Parsing of Research Documents into XML Using Formal
Grammars - Applied Computational Intelligence and Soft Computing. Wiley Online Library.
Pissarro, B. (2024). O nouă realitate. Inteligența artificială schimbă profund omenirea / A new reality.
Artificial intelligence is profoundly changing humanity. Retrieved from https://evz.ro/inteligentaartificiala-
solutie-servicii-guvernamentale-bune.html.
Rademacher, G. (2024). Railroad Diagram Generator - A tool for creating syntax diagrams. Retrieved
from https://rr.red-dove.com/ui.
Vassor, M. (2022). The formal-grammar package. Retrieved from https://tug.org/docs/latex/formalgrammar/
formal-grammar.pdf.
Whitney, H. & Ibanez, F. (2021). Template Metaprogramming; CS 106L. Retrieved from
https://web.stanford.edu/class/cs106l/lectures/16_tmp.pdf, date: July 17, 2024.
Source online
www1; The Labelled BNF Grammar Formalism; https://bnfc.digitalgrammars.com/.
www2; LBNF reference; https://bnfc.readthedocs.io/en/latest/lbnf.html.
www3; https://en.wikipedia.org/wiki/Template_metaprogramming.
www4; https://bnfc.digitalgrammars.com/tutorial/bnfc-tutorial.html.
www5; c++ - Does anyone use template metaprogramming in real life?
https://stackoverflow.com/questions/63494/does-anyone-use-template-metaprogramming-in-real-life.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2024 Didactica Danubiensis
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.