goodmami / penman

PENMAN notation (e.g. AMR) in Python
https://penman.readthedocs.io/
MIT License
139 stars 27 forks source link

Function to check graphs for model compliance #55

Closed goodmami closed 4 years ago

goodmami commented 4 years ago

The model describes valid roles and transformations but there is not yet any automatic way to check for model compliance. At a minimum, this should check if all roles are described by the model and if the graph is connected. In the future it would be nice to also check the concepts and the roles used on each node, but currently the model does not have this information.