94c9fcf92cf0efd48476e3bd29a5f7619f8273af,graphbrain/agents/corefs_onto.py,CorefsOnto,input_edge,#CorefsOnto#Any#,18
Before Change
lr >= .05 and sub_to_root_dd >= .1 and
(not edge.is_atom() or len(edge.root()) > 2)):
make_corefs(hg, edge, subs[best_pos])
self.corefs += 1
def report(self):
return "{} coreferences were added.".format(str(self.corefs))
After Change
(not edge.is_atom() or len(edge.root()) > 2)):
self.corefs += 1
for op in make_corefs_ops(hg, edge, subs[best_pos]):
yield op
def report(self):
return "{} coreferences were added.".format(str(self.corefs))
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 5
Instances
Project Name: graphbrain/graphbrain
Commit Name: 94c9fcf92cf0efd48476e3bd29a5f7619f8273af
Time: 2020-08-24
Author: telmo@telmomenezes.net
File Name: graphbrain/agents/corefs_onto.py
Class Name: CorefsOnto
Method Name: input_edge
Project Name: graphbrain/graphbrain
Commit Name: 94c9fcf92cf0efd48476e3bd29a5f7619f8273af
Time: 2020-08-24
Author: telmo@telmomenezes.net
File Name: graphbrain/agents/corefs_dets.py
Class Name: CorefsDets
Method Name: input_edge
Project Name: graphbrain/graphbrain
Commit Name: 94c9fcf92cf0efd48476e3bd29a5f7619f8273af
Time: 2020-08-24
Author: telmo@telmomenezes.net
File Name: graphbrain/agents/corefs_names.py
Class Name: CorefsNames
Method Name: on_end
Project Name: graphbrain/graphbrain
Commit Name: 94c9fcf92cf0efd48476e3bd29a5f7619f8273af
Time: 2020-08-24
Author: telmo@telmomenezes.net
File Name: graphbrain/agents/corefs_unidecode.py
Class Name: CorefsUnidecode
Method Name: input_edge