Skip to content

An NLP project based on implementing and assessing the EARS (Easy Approach to Requirement Syntax) rules employed for software requirement specification. This was developed for the Natural Language Processing and Text Mining (521158S) course at the University of Oulu.

License

Notifications You must be signed in to change notification settings

chubozeko/EARS-Rule-Detection

Repository files navigation

EARS Rule Detection

This project involves identifying the basic structure of EARS rules used in expressing requirements. Once a text file is loaded, the scripts perform some language processing on each sentence/statement and checks if they follow the EARS requirement structures, such as:

  • Ubiquitous requirement
  • Event-driven requirement
  • State-driven requirement
  • Unwanted behaviour requirement
  • Optional feature requirement
  • Complex requirement

Running the Scripts

Each of Python scripts can be run individually when the dataset text file (.txt) is in the same directory. python ears_ubiquitous.py python ears_event_driven.py python ears_state_driven.py

Tools Used

This project was developed in Python, using the following libraries:

Further requirements found in requirements.txt.

References

About

An NLP project based on implementing and assessing the EARS (Easy Approach to Requirement Syntax) rules employed for software requirement specification. This was developed for the Natural Language Processing and Text Mining (521158S) course at the University of Oulu.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages