def __init__(self, obj): CldfDataset.__init__(self, obj) self.concepticon = {} if Concepticon: concepticon = Concepticon(_venvs.joinpath('concepticon', 'concepticon-data')) for concept in concepticon.conceptlist('Haspelmath-2009-1460'): self.concepticon[concept['WOLD_ID']] = concept['CONCEPTICON_ID']
def value_query(self): return CldfDataset.value_query(self).options(joinedload_all( Counterpart.word, Unit.unitvalues, UnitValue.unitparameter))