6cad1df75fa24c5bdb3286b8f680328c7326fde3,scripts/semantic_types.py,,build_library_entry,#Any#Any#,178

Before Change


    library_entry = "Parameter " \
                  + predicate \
                  + " : " \
                  + " -> ".join(linearized_type) \
                  + "."
    return library_entry

After Change


        "t", "Prop").replace(
        "e", "Entity").replace(
        "v", "Event")
    if type_str.endswith(")"):
       type_str = type_str[1:-1]
    library_entry = "Parameter " \
                  + predicate \
                  + " : " \
                  + type_str \
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: mynlp/ccg2lambda
Commit Name: 6cad1df75fa24c5bdb3286b8f680328c7326fde3
Time: 2017-05-12
Author: pascual@nii.ac.jp
File Name: scripts/semantic_types.py
Class Name:
Method Name: build_library_entry


Project Name: mynlp/ccg2lambda
Commit Name: 66a06524eba0b22d14204baeb2ca6d4c9db7d1d0
Time: 2017-05-12
Author: pascual@nii.ac.jp
File Name: scripts/semantic_types.py
Class Name:
Method Name: convert_coq_to_nltk_type


Project Name: studioml/studio
Commit Name: d7873de414ea70bd384aa099e5255d2fbeff719a
Time: 2017-12-02
Author: peter.zhokhov@sentient.ai
File Name: studio/util.py
Class Name:
Method Name: download_file_from_qualified