cleaning up the code in PhoneticSegment.__eq__()