'Constructs a ContingencyMeasures given a NgramAssocMeasures class'

def __init__(self, measures):

    self.__class__.__name__ = ('Contingency' + measures.__class__.__name__)
    for k in dir(measures):
        if k.startswith('__'):
            continue
        v = getattr(measures, k)
        if (not k.startswith('_')):
            v = self._make_contingency_fn(measures, v)
        setattr(self, k, v)
