示例#1
0
 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 = IntersectionMatcher(a, b)
     super(SpanNear.SpanNearMatcher, self).__init__(isect)
示例#2
0
 def __init__(self, a, b):
     self.a = a
     isect = IntersectionMatcher(a, b)
     super(SpanCondition._Matcher, self).__init__(isect)
示例#3
0
 def __init__(self, a, b):
     self.a = a
     self.b = b
     isect = IntersectionMatcher(a, b)
     super(SpanBefore._Matcher, self).__init__(isect)
示例#4
0
 def __init__(self, a, b):
     self.a = a
     self.b = b
     isect = IntersectionMatcher(a, b)
     super(SpanContains.SpanContainsMatcher, self).__init__(isect)