We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b3b661 commit 29faea2Copy full SHA for 29faea2
tests/extensions.py
@@ -220,13 +220,6 @@ def score_chain(chain):
220
221
222
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
230
d = {}
231
for m, h in enumerate(parse):
232
if m == h:
@@ -255,13 +248,6 @@ def _is_multi_root(parse):
255
248
256
249
257
250
def _is_projective(parse):
258
259
- Is the parse tree projective?
260
261
262
- projective : bool
263
- True if a projective tree.
264
265
251
266
252
for m2, h2 in enumerate(parse):
267
253
if m2 == m:
0 commit comments