implemented AlignedPatternDict.items()