infer_generalizations
- infer_generalizations(mappings: list[Mapping], *, progress: bool = False) list[Mapping][source]
Apply generalization rules.
- Parameters:
mappings – Mappings to process
progress – Should a progress bar be used?
- Returns:
Mappings that have been mutated to relax relations configured by
semra.rules.GENERALIZATIONS
See also
Rules definition in SSSOM https://mapping-commons.github.io/sssom/chaining-rules/#generalisation-rules