Prune Recommender on Analyze
This commit is contained in:
parent
7c1585120e
commit
ab97f8e390
@ -883,6 +883,8 @@ def analyze(G, type_name, name, dist=2.7):
|
||||
for n in list(G.nodes):
|
||||
if n not in menge:
|
||||
G.remove_node(n)
|
||||
if dist >= 2:
|
||||
removeThinRecs(G, 2)
|
||||
removeHighSpanTags(G, 12)
|
||||
if dist > 1:
|
||||
removeDangling(G, True)
|
||||
|
Loading…
Reference in New Issue
Block a user