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: penman.model.Model

A no-operation model that mostly leaves things alone.

This model is like the default Model except that NoOpModel.deinvert() always returns the original triple, even if it was inverted.

deinvert(triple)[source]

Return triple (does not deinvert).

penman.models.noop.model

An instance of the NoOpModel class.