Skip to content

Commit

Permalink
Resolved typo in log message
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaarsen committed Oct 27, 2021
1 parent ad3c84c commit edf47c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nltk/metrics/agreement.py
Expand Up @@ -296,7 +296,7 @@ def alpha(self):
if len(self.K) == 0:
raise ValueError("Cannot calculate alpha, no data present!")
if len(self.K) == 1:
log.debug("Only one annotation value, allpha returning 1.")
log.debug("Only one annotation value, alpha returning 1.")
return 1
if len(self.C) == 1 and len(self.I) == 1:
raise ValueError("Cannot calculate alpha, only one coder and item present!")
Expand Down

0 comments on commit edf47c0

Please sign in to comment.