diff --git a/src/pie_modules/taskmodules/token_classification.py b/src/pie_modules/taskmodules/token_classification.py index b4a5d2699..717813efe 100644 --- a/src/pie_modules/taskmodules/token_classification.py +++ b/src/pie_modules/taskmodules/token_classification.py @@ -177,7 +177,7 @@ def _prepare(self, documents: Sequence[DocumentType]) -> None: self.labels = sorted(labels) def _post_prepare(self): - # creat the real token labels (BIO scheme) from the labels + # create the real token labels (BIO scheme) from the labels self.label_to_id = {"O": 0} current_id = 1 for label in sorted(self.labels):