Skip to content

Commit 29faea2

Browse files
authored
Update extensions.py
1 parent 7b3b661 commit 29faea2

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

tests/extensions.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -220,13 +220,6 @@ def score_chain(chain):
220220

221221

222222
def _is_spanning(parse):
223-
"""
224-
Is the parse tree a valid spanning tree?
225-
Returns
226-
--------
227-
spanning : bool
228-
True if a valid spanning tree.
229-
"""
230223
d = {}
231224
for m, h in enumerate(parse):
232225
if m == h:
@@ -255,13 +248,6 @@ def _is_multi_root(parse):
255248

256249

257250
def _is_projective(parse):
258-
"""
259-
Is the parse tree projective?
260-
Returns
261-
--------
262-
projective : bool
263-
True if a projective tree.
264-
"""
265251
for m, h in enumerate(parse):
266252
for m2, h2 in enumerate(parse):
267253
if m2 == m:

0 commit comments

Comments
 (0)