97487f74065dad00021a381db86567551c4f95b5,underthesea/word_tokenize/tagged_feature.py,,template2features,#Any#Any#Any#Any#,71

Before Change


    columns = []
    for j in range(len(sent[0])):
        columns.append([t[j] for t in sent])
    matched = re.match(
        "T\[(?P<index1>\-?\d+)(\,(?P<index2>\-?\d+))?\](\[(?P<column>.*)\])?(\.(?P<function>.*))?",
        token_syntax)
    column = matched.group("column")
    column = int(column) if column else 0
    index1 = int(matched.group("index1"))
    index2 = matched.group("index2")
    index2 = int(index2) if index2 else None
    func = matched.group("function")
    if debug:
        prefix = "%s=" % token_syntax
    else:

After Change


    columns = []
    for j in range(len(sent[0])):
        columns.append([t[j] for t in sent])
    column, index1, index2, func, token_syntax = token_function
    if debug:
        prefix = "%s=" % token_syntax
    else:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: undertheseanlp/underthesea
Commit Name: 97487f74065dad00021a381db86567551c4f95b5
Time: 2018-04-12
Author: anhv.ict91@gmail.com
File Name: underthesea/word_tokenize/tagged_feature.py
Class Name:
Method Name: template2features


Project Name: polyaxon/polyaxon
Commit Name: 8d4140e264a0a47d3d690a5adc6386c027e2f8e2
Time: 2019-07-13
Author: mouradmourafiq@gmail.com
File Name: polystores/stores/azure_store.py
Class Name: AzureStore
Method Name: parse_wasbs_url


Project Name: has2k1/plotnine
Commit Name: 4ee8f67612e87a6ece9c939ccac64901fc712c08
Time: 2017-09-21
Author: has2k1@gmail.com
File Name: plotnine/facets/facet_grid.py
Class Name:
Method Name: parse_grid_facets