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:
Model
A no-operation model that mostly leaves things alone.
This model is like the default
Model
except thatNoOpModel.deinvert()
always returns the original triple, even if it was inverted.