public bool IsEpsilonAdPosition() { bool result = UpRule.Equals(MorphemeRule.Epsilon) && !RightRule.Equals(MorphemeRule.Nothing) && !LeftRule.Equals(MorphemeRule.Nothing) && !RightRule.MorphRule.Evaluate(null) && !RightRule.MorphRule.Evaluate("") && !RightRule.AttributesRule.Evaluate(0) && !LeftRule.MorphRule.Evaluate(null) && !LeftRule.MorphRule.Evaluate("") && !LeftRule.AttributesRule.Evaluate(0); return(result); }
public bool Equals(Pattern other) => UpRule.Equals(other.UpRule) && LeftRule.Equals(other.LeftRule) && RightRule.Equals(other.RightRule) && ValencyPosition == other.ValencyPosition;