diff --git a/caliGraph.py b/caliGraph.py index c9031ca..ed7865a 100755 --- a/caliGraph.py +++ b/caliGraph.py @@ -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)