Towards the automated identification of data constraints in software documents
Ying Zhou, Miao Miao, Vlad Birsan, Oscar Chaparro, Shiyi Wei, Andrian Marcus
Key points
From the paper's conclusion- We cast the constraint identification and extraction as a text matching and classification problem.
Abstract
Data constraints are important business rules that specify the values allowed or required for the data used in a software system. These constraints are typically described in textual software artifacts ( e.g., requirements, developer documents, user manuals, etc. ). In this paper, we focus on automating the task of identifying data constraints in natural language software documents. In order to automate this task, we first study how data constraints are described in natural language. Specifically, we studied 546 data constraints described in the natural language artifacts of nine software systems. We uncovered and documented nine linguistic discourse patterns that stakeholders use to describe data constraints in natural language. We cast the constraint identification and extraction as a text matching and classification problem. We explore the suitability of traditional machine learning techniques, using the discourse patterns we discovered, together with other linguistic elements, as features, for automatically classifying sentence fragments as data constraint descriptions. The best combination of features and learner achieves 63.63% precision and 61.40% recall (62.34% F1). Automating the extraction of data constraints from natural language text is essential for automating their traceability to code, test generation, compliance analysis, etc.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Controlled Natural Language for Requirements Specification: A Systematic Literature ReviewarXiv · 2026
- Structured Extraction of Atomic Rules From Chinese Water‐Governance Regulatory Texts With Inheritance ReconstructionEngineering Reports · 2026
- Agentic induction of common data elements and information extraction from sarcoma case report abstractsarXiv · 2026
- ReqSeek: Transformer-Based Automatic Requirements Identification for Building Large Requirements DatasetsarXiv · 2026
- Code availability is not enough: schemas for documenting and extending data analysisarXiv · 2026
- Models Are Data Too: Towards Expressive Querying of Machine-Learning ModelsACM SIGMOD Record · 2026