c4537a1a3f223b5129862ae41f1fa955fc6acff9,pymorphy2/tagset.py,OpencorporaTag,_init_restrictions,#Any#Any#,121
Before Change
// expand EXTRA_INCOMPATIBLE
for grammeme, g_set in cls.EXTRA_INCOMPATIBLE.items():
for g in g_set.copy():
g_set.update(children[g])
// fill GRAMMEME_INDICES and GRAMMEME_INCOMPATIBLE
for index, (name, parent) in enumerate(dict_grammemes):
cls.GRAMMEME_INDICES[name] = index
After Change
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():
GRAMMEME_INDICES[cls._from_internal_grammeme(name)] = idx
cls.GRAMMEME_INDICES = GRAMMEME_INDICES
GRAMMEME_INCOMPATIBLE = collections.defaultdict(set)
for name, value in cls.GRAMMEME_INCOMPATIBLE.items():
GRAMMEME_INCOMPATIBLE[cls._from_internal_grammeme(name)] = set([
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 5
Instances Project Name: kmike/pymorphy2
Commit Name: c4537a1a3f223b5129862ae41f1fa955fc6acff9
Time: 2012-11-23
Author: kmike84@gmail.com
File Name: pymorphy2/tagset.py
Class Name: OpencorporaTag
Method Name: _init_restrictions
Project Name: pantsbuild/pants
Commit Name: d1f9001d62b5ba6af5e9c63f70ab3cb39017d311
Time: 2018-08-01
Author: stuhood@twitter.com
File Name: src/python/pants/backend/python/interpreter_cache.py
Class Name: PythonInterpreterCache
Method Name: select_interpreter_for_targets
Project Name: dask/dask-ml
Commit Name: 0e618eae108293dd8a788821dc6c8efab8d3c954
Time: 2019-04-07
Author: stsievert@users.noreply.github.com
File Name: dask_ml/model_selection/_incremental.py
Class Name: BaseIncrementalSearchCV
Method Name: _get_cv_results
Project Name: biolab/orange3
Commit Name: 46598f5fd6b35acf43c155570e98148eb47780c0
Time: 2020-02-14
Author: tomaz.hocevar@fri.uni-lj.si
File Name: Orange/data/util.py
Class Name:
Method Name: get_unique_names_duplicates