for index, (name, parent) in enumerate(dict_grammemes):
cls.GRAMMEME_INDICES[name] = index
incompatible = cls.EXTRA_INCOMPATIBLE.get(name, set())
incompatible = (incompatible | children[parent]) - set([name])
cls.GRAMMEME_INCOMPATIBLE[name] = frozenset(incompatible)
After Change
``OpencorporaTag.GRAMMEME_INCOMPATIBLE`` class attributes.
cls._init_alias_map(dict_grammemes)
super(OpencorporaTag, cls)._init_restrictions(dict_grammemes)
GRAMMEME_INDICES = collections.defaultdict(lambda: 0)
for name, idx in cls.GRAMMEME_INDICES.items():