09506dcb3e8e383a455e6d350e1e88a213ada2dc,gb/metrics/hyper_similarity.py,,valid_symbol,#Any#,27

Before Change


        return True
    if sym.is_root(s):
        return False
    if sym.nspace(s) == "gb":
        return False
    if s[0] == "+":
        return False

After Change


        return False
    if symbol_namespace(s)[-4:] == "verb":
        return False
    if symbol_namespace(s)[-4:] == "pron":
        return False
    return True
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: graphbrain/graphbrain
Commit Name: 09506dcb3e8e383a455e6d350e1e88a213ada2dc
Time: 2018-06-23
Author: telmo@telmomenezes.net
File Name: gb/metrics/hyper_similarity.py
Class Name:
Method Name: valid_symbol


Project Name: graphbrain/graphbrain
Commit Name: 09506dcb3e8e383a455e6d350e1e88a213ada2dc
Time: 2018-06-23
Author: telmo@telmomenezes.net
File Name: gb/reader/stages/disamb.py
Class Name: Disamb
Method Name: process_entity


Project Name: graphbrain/graphbrain
Commit Name: 32d03bbc432b0f95eb03df4117d01ab65ee8af6c
Time: 2018-06-24
Author: telmo@telmomenezes.net
File Name: gb/notebook.py
Class Name:
Method Name: _edge2html


Project Name: graphbrain/graphbrain
Commit Name: 09506dcb3e8e383a455e6d350e1e88a213ada2dc
Time: 2018-06-23
Author: telmo@telmomenezes.net
File Name: gb/sense/disambiguation.py
Class Name:
Method Name: check_namespace