Skip to content

Commit 6cddc1f

Browse files
committed
bugfix: parsing SplitAnte
1 parent 9ce505f commit 6cddc1f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

udapi/core/coref.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -310,9 +310,9 @@ def load_coref_from_misc(doc):
310310
split_antes.append(clusters[ante_str])
311311
else:
312312
# split cataphora, e.g. "We, that is you and me..."
313-
cluster = CorefCluster(ante_str)
314-
clusters[ante_str] = cluster
315-
split_antes.append(cluster)
313+
ante_cl = CorefCluster(ante_str)
314+
clusters[ante_str] = ante_cl
315+
split_antes.append(ante_cl)
316316
cluster.split_ante = split_antes
317317

318318
mention.misc = node.misc["MentionMisc" + index_str]

0 commit comments

Comments
 (0)