def __init__(self, a, b, slop=1, ordered=True, mindist=1): self.a = a self.b = b self.slop = slop self.ordered = ordered self.mindist = mindist isect = binary.IntersectionMatcher(a, b) super(SpanNear.SpanNearMatcher, self).__init__(isect)
def __init__(self, a, b): self.a = a im = binary.IntersectionMatcher(a, b) super(SpanCondition._Matcher, self).__init__(im)
def __init__(self, a, b): self.a = a self.b = b im = binary.IntersectionMatcher(a, b) super(SpanBefore._Matcher, self).__init__(im)