owmeta.data_trans.context_merge module¶
-
class
owmeta.data_trans.context_merge.
ContextMergeDataTranslator
(*args, **kwargs)[source]¶ Bases:
owmeta.data_trans.common_data.DTMixin
,owmeta_core.datasource.DataTranslator
Input type(s):
owmeta_core.datasource.OneOrMore
(DataWithEvidenceDataSource
)Output type(s):
DataWithEvidenceDataSource
-
output_type
¶ alias of
owmeta.data_trans.data_with_evidence_ds.DataWithEvidenceDataSource
-
translate
(*sources)[source]¶ Notionally, this method takes one or more data sources, and translates them into some other data source that captures essentially the same information, but, possibly, in a different format. Additional sources can be passed in as well for auxiliary information which are not “translated” in their entirety into the output data source. Such auxiliarry data sources should be distinguished from the primary ones in the translation
Parameters: - *args
Input data sources
- **kwargs
Named input data sources
Returns: the
output
data
source
-