penman.models.noop#
No-op semantic model definition.
- class penman.models.noop.NoOpModel(top_variable='top', top_role=':TOP', concept_role=':instance', roles=None, normalizations=None, reifications=None)[source]#
Bases:
ModelA no-operation model that mostly leaves things alone.
This model is like the default
Modelexcept thatNoOpModel.deinvert()always returns the original triple, even if it was inverted.