A hybrid natural language processing approach that integrates constituency parsing and dependency parsing achieves the best overall performance for extracting requirement entities from software specifications, according to a research study conducted by Sabin Amjad, Arooj Saleem, Ahmad Salman Khan, and Muhammad Waqas Anwar. In rigorous experimental evaluations performed on software requirements from the healthcare domain, the researchers found that combining extractions from both parsers yielded the highest recall and the highest F1-score while simultaneously maintaining precision comparable to that of a standalone constituency parser. The authors concluded that their hybrid method offers a more effective automated solution for entity extraction by directly leveraging the syntactic structures of sentences rather than relying on extensive domain-specific model pre-training.
Because software requirements are commonly written in natural language, they are inherently ambiguous. This fundamental ambiguity frequently results in the misinterpretation of requirement specifications, which in turn leads to incorrect implementations of software systems that fail to satisfy user needs. Consequently, it is critically important for all project stakeholders to accurately comprehend the requirements. Requirement statements fundamentally revolve around requirement entities, making the identification of these entities essential for understanding requirements. Moreover, identified requirement entities serve multiple downstream software engineering purposes, including the identification of coreferent entities, the creation of project glossaries, the generation of document summaries, feature extraction, requirements classification, and domain understanding.
Despite the critical importance of requirement entities, manual entity extraction remains an exceptionally labour-intensive task for software teams. In recent years, transformer-based models have played an important role in improving entity extraction results across computational linguistics, but these neural architectures require extensive pre-training of models on domain-specific tasks. To overcome these practical challenges, the proposed automated approach extracts requirement entities without requiring manual efforts or relying on a large dataset for pre-training. In this study, the researchers applied two widely used parsing techniques—constituency parsing and dependency parsing—to systematically extract noun phrase-based entities from natural language requirements.
To improve extraction capabilities beyond individual parsing algorithms, the investigators developed a hybrid approach comprising the combined extractions of both the constituency parser and the dependency parser. To rigorously evaluate the effectiveness of these parsing techniques, the authors compiled an experimental dataset comprising software requirements specifically drawn from the healthcare domain. This requirement dataset was manually annotated by the researchers to establish a reliable gold standard against which the extraction accuracy, completeness, and overall effectiveness of the constituency parser, dependency parser, and combined hybrid approach could be formally evaluated.
The experimental results indicated that the hybrid approach achieves the best overall extraction performance among all of the evaluated methods. When assessed independently, the constituency parser achieved the highest precision, but it exhibited comparatively lower recall. In contrast, the hybrid approach achieved the highest recall and highest F1-score while maintaining precision comparable to that of the constituency parser. These outcomes demonstrate that the hybrid approach provides a more effective solution for automatically extracting entities from natural language software requirements, capitalizing on sentence syntactic structures instead of depending on large datasets and domain-specific model training.
Subject of Research: Automated entity extraction from natural language software requirements using syntactic parsing
Article Title: Parsing-based approach for entity extraction from natural language software requirements
Article References: Amjad, S., Saleem, A., Khan, A. S., & Anwar, M. W. (2026). Parsing-based approach for entity extraction from natural language software requirements. PLOS One, 21(10), e0361105. https://doi.org/10.1371/journal.pone.0361105
Image Credits: AI Generated
DOI: 10.1371/journal.pone.0361105
Keywords: software engineering, natural language processing, entity extraction, constituency parsing, dependency parsing, requirements engineering, syntactic analysis, healthcare software, Parsing-based, approach, entity, extraction
Cite Scienmag News
Daphne Blevins. (November 12, 2026). Hybrid Parsing Approach Improves Entity Extraction from Software Requirements. Scienmag. https://scienmag.com/hybrid-parsing-approach-improves-entity-extraction-from-software-requirements/
Daphne Blevins. "Hybrid Parsing Approach Improves Entity Extraction from Software Requirements." Scienmag, 12 November 2026, https://scienmag.com/hybrid-parsing-approach-improves-entity-extraction-from-software-requirements/. Accessed 5 December 2026.
Daphne Blevins. "Hybrid Parsing Approach Improves Entity Extraction from Software Requirements." Scienmag. November 12, 2026. https://scienmag.com/hybrid-parsing-approach-improves-entity-extraction-from-software-requirements/








