e45e93c11d6c87716b828e4bd4b08fa9d96d5c50,conceptnet5/nodes.py,,standardized_concept_uri,#Any#Any#,98

Before Change



    text = preprocess_text(text.replace("_", " "), lang)
    norm_text = standardize_text(text, token_filter)
    more_text = [standardize_text(item, token_filter) for item in more
                 if item is not None]
    return concept_uri(lang, norm_text, *more_text)


normalized_concept_uri = standardized_concept_uri

After Change


    more_text = []
    for item in more:
        if item is not None:
            tokens = simple_tokenize(item.replace("_", " "))
            if token_filter is not None:
                tokens = token_filter(tokens)
            more_text.append("_".join(tokens))
    
    return concept_uri(lang, norm_text, *more_text)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: commonsense/conceptnet5
Commit Name: e45e93c11d6c87716b828e4bd4b08fa9d96d5c50
Time: 2018-04-17
Author: rbeaudoin@luminoso.com
File Name: conceptnet5/nodes.py
Class Name:
Method Name: standardized_concept_uri


Project Name: D2KLab/entity2rec
Commit Name: f089384f349d06ff3d2933843266a1805b69dba8
Time: 2018-07-18
Author: enricopalumbo0@gmail.com
File Name: entity2rec/sparql.py
Class Name: Sparql
Method Name: _define_properties


Project Name: estnltk/estnltk
Commit Name: cd1167b2085bbc51f606e9bac647c8ac0ad21576
Time: 2015-07-06
Author: amatsin@gmail.com
File Name: estnltk/wiki/internalLink.py
Class Name:
Method Name: addIntLinks