3f6eeb9f152b324975c6b77eade8fddfa699dfa5,snips_nlu/builtin_entities.py,,,#,123

Before Change



_PARSED_DIM_KIND_TO_ENTITY = {
    v: k
    for k, v in _ENTITY_TO_PARSED_DIM_KIND.iteritems()
}


def scope_to_dim_kinds(scope):

After Change


    kind for kinds in _RUSTLING_SUPPORTED_BUILTINS_BY_LANGUAGE.values()
    for kind in kinds)

_DIM_KIND_TO_ENTITY = {e.rustling_dim_kind: e for e in RUSTLING_ENTITIES}


def scope_to_dim_kinds(scope):
    return [entity.rustling_dim_kind for entity in scope]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: snipsco/snips-nlu
Commit Name: 3f6eeb9f152b324975c6b77eade8fddfa699dfa5
Time: 2017-06-01
Author: clement.doumouro@snips.ai
File Name: snips_nlu/builtin_entities.py
Class Name:
Method Name:


Project Name: tensorflow/transform
Commit Name: 687e31d276db17b4ac7bea08b01c1e5401168ca9
Time: 2019-01-23
Author: tf-transform-dev@google.com
File Name: tensorflow_transform/beam/impl.py
Class Name:
Method Name: _remove_columns_from_metadata


Project Name: tensorflow/cleverhans
Commit Name: f5298952a329e3e86d987ae35d1a27be2c93238e
Time: 2017-10-16
Author: fartash.faghri@gmail.com
File Name: examples/multigpu_advtrain/evaluator.py
Class Name:
Method Name: create_adv_by_name