Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self, left, right, slash):
super(ForwardComposition, self).__init__(RuleType.FC)
self.left_slash = left
self.right_slash = right
self.result_slash = slash
def __init__(self):
super(BackwardApplication, self).__init__(RuleType.BA)
def __init__(self):
super(UnaryRule, self).__init__(RuleType.UNARY)
def __init__(self):
super(RemovePunctuationLeft, self).__init__(RuleType.LP)
def __init__(self, left, right, result, head_is_left):
super(SpecialCombinator, self).__init__(RuleType.NOISE)
self.left = left
self.right = right
self.result = result
self.head_is_left = head_is_left
def __init__(self):
super(ForwardApplication, self).__init__(RuleType.FA)
def __init__(self, left, right, slash):
super(GeneralizedForwardComposition, self).__init__(RuleType.GFC)
self.left_slash = left
self.right_slash = right
self.result_slash = slash
def __init__(self):
super(Conjunction, self).__init__(RuleType.CONJ)
def __init__(self, punct_is_left):
super(RemovePunctuation, self).__init__(RuleType.RP)
self.punct_is_left = punct_is_left
def __init__(self, left, right, slash):
super(GeneralizedBackwardComposition, self).__init__(RuleType.GBX)
self.left_slash = left
self.right_slash = right
self.result_slash = slash