Skip to content

Commit 9e9a414

Browse files
committed
remove dead BLANC code
1 parent 76a12a0 commit 9e9a414

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

tibert/score.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -205,11 +205,6 @@ def score_blanc(
205205
p_num, p_den, r_num, r_den = pairwise(neleval_ref, neleval_pred)
206206
np_num, np_den, nr_num, nr_den = pairwise_negative(neleval_ref, neleval_pred)
207207

208-
# pred_has_one_entity = len(pred.coref_chains) == 1
209-
# pred_has_only_singletons = all([len(chain) == 1 for chain in pred.coref_chains])
210-
# ref_has_one_entity = len(ref.coref_chains) == 1
211-
# ref_has_only_singletons = all([len(chain) == 1 for chain in ref.coref_chains])
212-
213208
P_c = 0 if p_den == 0 else p_num / p_den
214209
P_n = 0 if np_den == 0 else np_num / np_den
215210

0 commit comments

Comments
 (0)