Skip to content

Commit 9c3ff4e

Browse files
committed
Remove cle-testing environment
1 parent d742a04 commit 9c3ff4e

File tree

2 files changed

+0
-122
lines changed

2 files changed

+0
-122
lines changed

modules/graphs.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,6 @@ def __init__(self, mode="sparse", head=None, dependent=None, head_form=None, dep
2323
self.head_pos = head_pos
2424
self.dependent_pos = dependent_pos
2525

26-
27-
class ManualSparseGraph: # heads has the same structure as in the other graph classes, but for addition of arcs
28-
def __init__(self):
29-
self.heads = {}
30-
31-
def add_arc(self, head, arc):
32-
try:
33-
self.heads[head].append(arc)
34-
except KeyError:
35-
self.heads[head] = [arc]
36-
37-
3826
class Graph: # sparse representation of a graph (keys: heads, values: SparseArc objects)
3927
def __init__(self, tokens, mode="sparse", feat_map=None, weight_vector=None):
4028

test-dependency-parser.py

Lines changed: 0 additions & 110 deletions
This file was deleted.

0 commit comments

Comments
 (0)